Delay base decl's alignment adjustment until transformation happens
[official-gcc.git] / libstdc++-v3 / configure
blobf3b4b13ecd72a4bd65adad8563b6a0d13512b42b
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*|ppc*-*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 ppc64-*linux*|powerpc64-*linux*)
7147 LD="${LD-ld} -m elf32ppclinux"
7149 s390x-*linux*)
7150 LD="${LD-ld} -m elf_s390"
7152 sparc64-*linux*)
7153 LD="${LD-ld} -m elf32_sparc"
7155 esac
7157 *64-bit*)
7158 case $host in
7159 x86_64-*kfreebsd*-gnu)
7160 LD="${LD-ld} -m elf_x86_64_fbsd"
7162 x86_64-*linux*)
7163 LD="${LD-ld} -m elf_x86_64"
7165 ppc*-*linux*|powerpc*-*linux*)
7166 LD="${LD-ld} -m elf64ppc"
7168 s390*-*linux*|s390*-*tpf*)
7169 LD="${LD-ld} -m elf64_s390"
7171 sparc*-*linux*)
7172 LD="${LD-ld} -m elf64_sparc"
7174 esac
7176 esac
7178 rm -rf conftest*
7181 *-*-sco3.2v5*)
7182 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7183 SAVE_CFLAGS="$CFLAGS"
7184 CFLAGS="$CFLAGS -belf"
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7186 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7187 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7188 $as_echo_n "(cached) " >&6
7189 else
7190 ac_ext=c
7191 ac_cpp='$CPP $CPPFLAGS'
7192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7196 if test x$gcc_no_link = xyes; then
7197 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7200 /* end confdefs.h. */
7203 main ()
7207 return 0;
7209 _ACEOF
7210 if ac_fn_c_try_link "$LINENO"; then :
7211 lt_cv_cc_needs_belf=yes
7212 else
7213 lt_cv_cc_needs_belf=no
7215 rm -f core conftest.err conftest.$ac_objext \
7216 conftest$ac_exeext conftest.$ac_ext
7217 ac_ext=c
7218 ac_cpp='$CPP $CPPFLAGS'
7219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7225 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7226 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7227 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7228 CFLAGS="$SAVE_CFLAGS"
7231 sparc*-*solaris*)
7232 # Find out which ABI we are using.
7233 echo 'int i;' > conftest.$ac_ext
7234 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7235 (eval $ac_compile) 2>&5
7236 ac_status=$?
7237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7238 test $ac_status = 0; }; then
7239 case `/usr/bin/file conftest.o` in
7240 *64-bit*)
7241 case $lt_cv_prog_gnu_ld in
7242 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7244 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7245 LD="${LD-ld} -64"
7248 esac
7250 esac
7252 rm -rf conftest*
7254 esac
7256 need_locks="$enable_libtool_lock"
7259 case $host_os in
7260 rhapsody* | darwin*)
7261 if test -n "$ac_tool_prefix"; then
7262 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7263 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7265 $as_echo_n "checking for $ac_word... " >&6; }
7266 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7267 $as_echo_n "(cached) " >&6
7268 else
7269 if test -n "$DSYMUTIL"; then
7270 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7271 else
7272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7273 for as_dir in $PATH
7275 IFS=$as_save_IFS
7276 test -z "$as_dir" && as_dir=.
7277 for ac_exec_ext in '' $ac_executable_extensions; do
7278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7279 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7281 break 2
7283 done
7284 done
7285 IFS=$as_save_IFS
7289 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7290 if test -n "$DSYMUTIL"; then
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7292 $as_echo "$DSYMUTIL" >&6; }
7293 else
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7295 $as_echo "no" >&6; }
7300 if test -z "$ac_cv_prog_DSYMUTIL"; then
7301 ac_ct_DSYMUTIL=$DSYMUTIL
7302 # Extract the first word of "dsymutil", so it can be a program name with args.
7303 set dummy dsymutil; ac_word=$2
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7305 $as_echo_n "checking for $ac_word... " >&6; }
7306 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7307 $as_echo_n "(cached) " >&6
7308 else
7309 if test -n "$ac_ct_DSYMUTIL"; then
7310 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7311 else
7312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7313 for as_dir in $PATH
7315 IFS=$as_save_IFS
7316 test -z "$as_dir" && as_dir=.
7317 for ac_exec_ext in '' $ac_executable_extensions; do
7318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7319 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7321 break 2
7323 done
7324 done
7325 IFS=$as_save_IFS
7329 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7330 if test -n "$ac_ct_DSYMUTIL"; then
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7332 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7333 else
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7335 $as_echo "no" >&6; }
7338 if test "x$ac_ct_DSYMUTIL" = x; then
7339 DSYMUTIL=":"
7340 else
7341 case $cross_compiling:$ac_tool_warned in
7342 yes:)
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7345 ac_tool_warned=yes ;;
7346 esac
7347 DSYMUTIL=$ac_ct_DSYMUTIL
7349 else
7350 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7353 if test -n "$ac_tool_prefix"; then
7354 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7355 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7357 $as_echo_n "checking for $ac_word... " >&6; }
7358 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7359 $as_echo_n "(cached) " >&6
7360 else
7361 if test -n "$NMEDIT"; then
7362 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7363 else
7364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7365 for as_dir in $PATH
7367 IFS=$as_save_IFS
7368 test -z "$as_dir" && as_dir=.
7369 for ac_exec_ext in '' $ac_executable_extensions; do
7370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7371 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7373 break 2
7375 done
7376 done
7377 IFS=$as_save_IFS
7381 NMEDIT=$ac_cv_prog_NMEDIT
7382 if test -n "$NMEDIT"; then
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7384 $as_echo "$NMEDIT" >&6; }
7385 else
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7387 $as_echo "no" >&6; }
7392 if test -z "$ac_cv_prog_NMEDIT"; then
7393 ac_ct_NMEDIT=$NMEDIT
7394 # Extract the first word of "nmedit", so it can be a program name with args.
7395 set dummy nmedit; ac_word=$2
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7397 $as_echo_n "checking for $ac_word... " >&6; }
7398 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7399 $as_echo_n "(cached) " >&6
7400 else
7401 if test -n "$ac_ct_NMEDIT"; then
7402 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7403 else
7404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7405 for as_dir in $PATH
7407 IFS=$as_save_IFS
7408 test -z "$as_dir" && as_dir=.
7409 for ac_exec_ext in '' $ac_executable_extensions; do
7410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7411 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7413 break 2
7415 done
7416 done
7417 IFS=$as_save_IFS
7421 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7422 if test -n "$ac_ct_NMEDIT"; then
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7424 $as_echo "$ac_ct_NMEDIT" >&6; }
7425 else
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7427 $as_echo "no" >&6; }
7430 if test "x$ac_ct_NMEDIT" = x; then
7431 NMEDIT=":"
7432 else
7433 case $cross_compiling:$ac_tool_warned in
7434 yes:)
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7437 ac_tool_warned=yes ;;
7438 esac
7439 NMEDIT=$ac_ct_NMEDIT
7441 else
7442 NMEDIT="$ac_cv_prog_NMEDIT"
7445 if test -n "$ac_tool_prefix"; then
7446 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7447 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7449 $as_echo_n "checking for $ac_word... " >&6; }
7450 if test "${ac_cv_prog_LIPO+set}" = set; then :
7451 $as_echo_n "(cached) " >&6
7452 else
7453 if test -n "$LIPO"; then
7454 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7455 else
7456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7457 for as_dir in $PATH
7459 IFS=$as_save_IFS
7460 test -z "$as_dir" && as_dir=.
7461 for ac_exec_ext in '' $ac_executable_extensions; do
7462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7463 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7465 break 2
7467 done
7468 done
7469 IFS=$as_save_IFS
7473 LIPO=$ac_cv_prog_LIPO
7474 if test -n "$LIPO"; then
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7476 $as_echo "$LIPO" >&6; }
7477 else
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7479 $as_echo "no" >&6; }
7484 if test -z "$ac_cv_prog_LIPO"; then
7485 ac_ct_LIPO=$LIPO
7486 # Extract the first word of "lipo", so it can be a program name with args.
7487 set dummy lipo; ac_word=$2
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7489 $as_echo_n "checking for $ac_word... " >&6; }
7490 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7491 $as_echo_n "(cached) " >&6
7492 else
7493 if test -n "$ac_ct_LIPO"; then
7494 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7495 else
7496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7497 for as_dir in $PATH
7499 IFS=$as_save_IFS
7500 test -z "$as_dir" && as_dir=.
7501 for ac_exec_ext in '' $ac_executable_extensions; do
7502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7503 ac_cv_prog_ac_ct_LIPO="lipo"
7504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7505 break 2
7507 done
7508 done
7509 IFS=$as_save_IFS
7513 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7514 if test -n "$ac_ct_LIPO"; then
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7516 $as_echo "$ac_ct_LIPO" >&6; }
7517 else
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7519 $as_echo "no" >&6; }
7522 if test "x$ac_ct_LIPO" = x; then
7523 LIPO=":"
7524 else
7525 case $cross_compiling:$ac_tool_warned in
7526 yes:)
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7529 ac_tool_warned=yes ;;
7530 esac
7531 LIPO=$ac_ct_LIPO
7533 else
7534 LIPO="$ac_cv_prog_LIPO"
7537 if test -n "$ac_tool_prefix"; then
7538 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7539 set dummy ${ac_tool_prefix}otool; ac_word=$2
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7541 $as_echo_n "checking for $ac_word... " >&6; }
7542 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7543 $as_echo_n "(cached) " >&6
7544 else
7545 if test -n "$OTOOL"; then
7546 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7547 else
7548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7549 for as_dir in $PATH
7551 IFS=$as_save_IFS
7552 test -z "$as_dir" && as_dir=.
7553 for ac_exec_ext in '' $ac_executable_extensions; do
7554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7555 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7557 break 2
7559 done
7560 done
7561 IFS=$as_save_IFS
7565 OTOOL=$ac_cv_prog_OTOOL
7566 if test -n "$OTOOL"; then
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7568 $as_echo "$OTOOL" >&6; }
7569 else
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7571 $as_echo "no" >&6; }
7576 if test -z "$ac_cv_prog_OTOOL"; then
7577 ac_ct_OTOOL=$OTOOL
7578 # Extract the first word of "otool", so it can be a program name with args.
7579 set dummy otool; ac_word=$2
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7581 $as_echo_n "checking for $ac_word... " >&6; }
7582 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7583 $as_echo_n "(cached) " >&6
7584 else
7585 if test -n "$ac_ct_OTOOL"; then
7586 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7587 else
7588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7589 for as_dir in $PATH
7591 IFS=$as_save_IFS
7592 test -z "$as_dir" && as_dir=.
7593 for ac_exec_ext in '' $ac_executable_extensions; do
7594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7595 ac_cv_prog_ac_ct_OTOOL="otool"
7596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7597 break 2
7599 done
7600 done
7601 IFS=$as_save_IFS
7605 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7606 if test -n "$ac_ct_OTOOL"; then
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7608 $as_echo "$ac_ct_OTOOL" >&6; }
7609 else
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7611 $as_echo "no" >&6; }
7614 if test "x$ac_ct_OTOOL" = x; then
7615 OTOOL=":"
7616 else
7617 case $cross_compiling:$ac_tool_warned in
7618 yes:)
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7621 ac_tool_warned=yes ;;
7622 esac
7623 OTOOL=$ac_ct_OTOOL
7625 else
7626 OTOOL="$ac_cv_prog_OTOOL"
7629 if test -n "$ac_tool_prefix"; then
7630 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7631 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7633 $as_echo_n "checking for $ac_word... " >&6; }
7634 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7635 $as_echo_n "(cached) " >&6
7636 else
7637 if test -n "$OTOOL64"; then
7638 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7639 else
7640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7641 for as_dir in $PATH
7643 IFS=$as_save_IFS
7644 test -z "$as_dir" && as_dir=.
7645 for ac_exec_ext in '' $ac_executable_extensions; do
7646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7647 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7649 break 2
7651 done
7652 done
7653 IFS=$as_save_IFS
7657 OTOOL64=$ac_cv_prog_OTOOL64
7658 if test -n "$OTOOL64"; then
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7660 $as_echo "$OTOOL64" >&6; }
7661 else
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7663 $as_echo "no" >&6; }
7668 if test -z "$ac_cv_prog_OTOOL64"; then
7669 ac_ct_OTOOL64=$OTOOL64
7670 # Extract the first word of "otool64", so it can be a program name with args.
7671 set dummy otool64; ac_word=$2
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7673 $as_echo_n "checking for $ac_word... " >&6; }
7674 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7675 $as_echo_n "(cached) " >&6
7676 else
7677 if test -n "$ac_ct_OTOOL64"; then
7678 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7679 else
7680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7681 for as_dir in $PATH
7683 IFS=$as_save_IFS
7684 test -z "$as_dir" && as_dir=.
7685 for ac_exec_ext in '' $ac_executable_extensions; do
7686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7687 ac_cv_prog_ac_ct_OTOOL64="otool64"
7688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7689 break 2
7691 done
7692 done
7693 IFS=$as_save_IFS
7697 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7698 if test -n "$ac_ct_OTOOL64"; then
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7700 $as_echo "$ac_ct_OTOOL64" >&6; }
7701 else
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7703 $as_echo "no" >&6; }
7706 if test "x$ac_ct_OTOOL64" = x; then
7707 OTOOL64=":"
7708 else
7709 case $cross_compiling:$ac_tool_warned in
7710 yes:)
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7713 ac_tool_warned=yes ;;
7714 esac
7715 OTOOL64=$ac_ct_OTOOL64
7717 else
7718 OTOOL64="$ac_cv_prog_OTOOL64"
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7748 $as_echo_n "checking for -single_module linker flag... " >&6; }
7749 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7750 $as_echo_n "(cached) " >&6
7751 else
7752 lt_cv_apple_cc_single_mod=no
7753 if test -z "${LT_MULTI_MODULE}"; then
7754 # By default we will add the -single_module flag. You can override
7755 # by either setting the environment variable LT_MULTI_MODULE
7756 # non-empty at configure time, or by adding -multi_module to the
7757 # link flags.
7758 rm -rf libconftest.dylib*
7759 echo "int foo(void){return 1;}" > conftest.c
7760 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7761 -dynamiclib -Wl,-single_module conftest.c" >&5
7762 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7763 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7764 _lt_result=$?
7765 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7766 lt_cv_apple_cc_single_mod=yes
7767 else
7768 cat conftest.err >&5
7770 rm -rf libconftest.dylib*
7771 rm -f conftest.*
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7775 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7777 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7778 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7779 $as_echo_n "(cached) " >&6
7780 else
7781 lt_cv_ld_exported_symbols_list=no
7782 save_LDFLAGS=$LDFLAGS
7783 echo "_main" > conftest.sym
7784 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7785 if test x$gcc_no_link = xyes; then
7786 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7789 /* end confdefs.h. */
7792 main ()
7796 return 0;
7798 _ACEOF
7799 if ac_fn_c_try_link "$LINENO"; then :
7800 lt_cv_ld_exported_symbols_list=yes
7801 else
7802 lt_cv_ld_exported_symbols_list=no
7804 rm -f core conftest.err conftest.$ac_objext \
7805 conftest$ac_exeext conftest.$ac_ext
7806 LDFLAGS="$save_LDFLAGS"
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7810 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7812 $as_echo_n "checking for -force_load linker flag... " >&6; }
7813 if test "${lt_cv_ld_force_load+set}" = set; then :
7814 $as_echo_n "(cached) " >&6
7815 else
7816 lt_cv_ld_force_load=no
7817 cat > conftest.c << _LT_EOF
7818 int forced_loaded() { return 2;}
7819 _LT_EOF
7820 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7821 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7822 echo "$AR cru libconftest.a conftest.o" >&5
7823 $AR cru libconftest.a conftest.o 2>&5
7824 cat > conftest.c << _LT_EOF
7825 int main() { return 0;}
7826 _LT_EOF
7827 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7828 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7829 _lt_result=$?
7830 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7831 lt_cv_ld_force_load=yes
7832 else
7833 cat conftest.err >&5
7835 rm -f conftest.err libconftest.a conftest conftest.c
7836 rm -rf conftest.dSYM
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7840 $as_echo "$lt_cv_ld_force_load" >&6; }
7841 case $host_os in
7842 rhapsody* | darwin1.[012])
7843 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7844 darwin1.*)
7845 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7846 darwin*) # darwin 5.x on
7847 # if running on 10.5 or later, the deployment target defaults
7848 # to the OS version, if on x86, and 10.4, the deployment
7849 # target defaults to 10.4. Don't you love it?
7850 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7851 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7852 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7853 10.[012]*)
7854 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7855 10.*)
7856 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7857 esac
7859 esac
7860 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7861 _lt_dar_single_mod='$single_module'
7863 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7864 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7865 else
7866 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7868 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7869 _lt_dsymutil='~$DSYMUTIL $lib || :'
7870 else
7871 _lt_dsymutil=
7874 esac
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7877 $as_echo_n "checking for ANSI C header files... " >&6; }
7878 if test "${ac_cv_header_stdc+set}" = set; then :
7879 $as_echo_n "(cached) " >&6
7880 else
7881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7882 /* end confdefs.h. */
7883 #include <stdlib.h>
7884 #include <stdarg.h>
7885 #include <string.h>
7886 #include <float.h>
7889 main ()
7893 return 0;
7895 _ACEOF
7896 if ac_fn_c_try_compile "$LINENO"; then :
7897 ac_cv_header_stdc=yes
7898 else
7899 ac_cv_header_stdc=no
7901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7903 if test $ac_cv_header_stdc = yes; then
7904 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7906 /* end confdefs.h. */
7907 #include <string.h>
7909 _ACEOF
7910 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7911 $EGREP "memchr" >/dev/null 2>&1; then :
7913 else
7914 ac_cv_header_stdc=no
7916 rm -f conftest*
7920 if test $ac_cv_header_stdc = yes; then
7921 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7923 /* end confdefs.h. */
7924 #include <stdlib.h>
7926 _ACEOF
7927 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7928 $EGREP "free" >/dev/null 2>&1; then :
7930 else
7931 ac_cv_header_stdc=no
7933 rm -f conftest*
7937 if test $ac_cv_header_stdc = yes; then
7938 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7939 if test "$cross_compiling" = yes; then :
7941 else
7942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7943 /* end confdefs.h. */
7944 #include <ctype.h>
7945 #include <stdlib.h>
7946 #if ((' ' & 0x0FF) == 0x020)
7947 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7948 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7949 #else
7950 # define ISLOWER(c) \
7951 (('a' <= (c) && (c) <= 'i') \
7952 || ('j' <= (c) && (c) <= 'r') \
7953 || ('s' <= (c) && (c) <= 'z'))
7954 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7955 #endif
7957 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7959 main ()
7961 int i;
7962 for (i = 0; i < 256; i++)
7963 if (XOR (islower (i), ISLOWER (i))
7964 || toupper (i) != TOUPPER (i))
7965 return 2;
7966 return 0;
7968 _ACEOF
7969 if ac_fn_c_try_run "$LINENO"; then :
7971 else
7972 ac_cv_header_stdc=no
7974 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7975 conftest.$ac_objext conftest.beam conftest.$ac_ext
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7981 $as_echo "$ac_cv_header_stdc" >&6; }
7982 if test $ac_cv_header_stdc = yes; then
7984 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7988 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7989 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7990 inttypes.h stdint.h unistd.h
7991 do :
7992 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7993 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7995 eval as_val=\$$as_ac_Header
7996 if test "x$as_val" = x""yes; then :
7997 cat >>confdefs.h <<_ACEOF
7998 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7999 _ACEOF
8003 done
8006 for ac_header in dlfcn.h
8007 do :
8008 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8010 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8011 cat >>confdefs.h <<_ACEOF
8012 #define HAVE_DLFCN_H 1
8013 _ACEOF
8017 done
8024 # Set options
8029 enable_win32_dll=no
8032 # Check whether --enable-shared was given.
8033 if test "${enable_shared+set}" = set; then :
8034 enableval=$enable_shared; p=${PACKAGE-default}
8035 case $enableval in
8036 yes) enable_shared=yes ;;
8037 no) enable_shared=no ;;
8039 enable_shared=no
8040 # Look at the argument we got. We use all the common list separators.
8041 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8042 for pkg in $enableval; do
8043 IFS="$lt_save_ifs"
8044 if test "X$pkg" = "X$p"; then
8045 enable_shared=yes
8047 done
8048 IFS="$lt_save_ifs"
8050 esac
8051 else
8052 enable_shared=yes
8063 # Check whether --enable-static was given.
8064 if test "${enable_static+set}" = set; then :
8065 enableval=$enable_static; p=${PACKAGE-default}
8066 case $enableval in
8067 yes) enable_static=yes ;;
8068 no) enable_static=no ;;
8070 enable_static=no
8071 # Look at the argument we got. We use all the common list separators.
8072 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8073 for pkg in $enableval; do
8074 IFS="$lt_save_ifs"
8075 if test "X$pkg" = "X$p"; then
8076 enable_static=yes
8078 done
8079 IFS="$lt_save_ifs"
8081 esac
8082 else
8083 enable_static=yes
8095 # Check whether --with-pic was given.
8096 if test "${with_pic+set}" = set; then :
8097 withval=$with_pic; pic_mode="$withval"
8098 else
8099 pic_mode=default
8103 test -z "$pic_mode" && pic_mode=default
8111 # Check whether --enable-fast-install was given.
8112 if test "${enable_fast_install+set}" = set; then :
8113 enableval=$enable_fast_install; p=${PACKAGE-default}
8114 case $enableval in
8115 yes) enable_fast_install=yes ;;
8116 no) enable_fast_install=no ;;
8118 enable_fast_install=no
8119 # Look at the argument we got. We use all the common list separators.
8120 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8121 for pkg in $enableval; do
8122 IFS="$lt_save_ifs"
8123 if test "X$pkg" = "X$p"; then
8124 enable_fast_install=yes
8126 done
8127 IFS="$lt_save_ifs"
8129 esac
8130 else
8131 enable_fast_install=yes
8144 # This can be used to rebuild libtool when needed
8145 LIBTOOL_DEPS="$ltmain"
8147 # Always use our own libtool.
8148 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8175 test -z "$LN_S" && LN_S="ln -s"
8190 if test -n "${ZSH_VERSION+set}" ; then
8191 setopt NO_GLOB_SUBST
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8195 $as_echo_n "checking for objdir... " >&6; }
8196 if test "${lt_cv_objdir+set}" = set; then :
8197 $as_echo_n "(cached) " >&6
8198 else
8199 rm -f .libs 2>/dev/null
8200 mkdir .libs 2>/dev/null
8201 if test -d .libs; then
8202 lt_cv_objdir=.libs
8203 else
8204 # MS-DOS does not allow filenames that begin with a dot.
8205 lt_cv_objdir=_libs
8207 rmdir .libs 2>/dev/null
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8210 $as_echo "$lt_cv_objdir" >&6; }
8211 objdir=$lt_cv_objdir
8217 cat >>confdefs.h <<_ACEOF
8218 #define LT_OBJDIR "$lt_cv_objdir/"
8219 _ACEOF
8224 case $host_os in
8225 aix3*)
8226 # AIX sometimes has problems with the GCC collect2 program. For some
8227 # reason, if we set the COLLECT_NAMES environment variable, the problems
8228 # vanish in a puff of smoke.
8229 if test "X${COLLECT_NAMES+set}" != Xset; then
8230 COLLECT_NAMES=
8231 export COLLECT_NAMES
8234 esac
8236 # Global variables:
8237 ofile=libtool
8238 can_build_shared=yes
8240 # All known linkers require a `.a' archive for static linking (except MSVC,
8241 # which needs '.lib').
8242 libext=a
8244 with_gnu_ld="$lt_cv_prog_gnu_ld"
8246 old_CC="$CC"
8247 old_CFLAGS="$CFLAGS"
8249 # Set sane defaults for various variables
8250 test -z "$CC" && CC=cc
8251 test -z "$LTCC" && LTCC=$CC
8252 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8253 test -z "$LD" && LD=ld
8254 test -z "$ac_objext" && ac_objext=o
8256 for cc_temp in $compiler""; do
8257 case $cc_temp in
8258 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8259 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8260 \-*) ;;
8261 *) break;;
8262 esac
8263 done
8264 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8267 # Only perform the check for file, if the check method requires it
8268 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8269 case $deplibs_check_method in
8270 file_magic*)
8271 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8273 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8274 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8275 $as_echo_n "(cached) " >&6
8276 else
8277 case $MAGIC_CMD in
8278 [\\/*] | ?:[\\/]*)
8279 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8282 lt_save_MAGIC_CMD="$MAGIC_CMD"
8283 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8284 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8285 for ac_dir in $ac_dummy; do
8286 IFS="$lt_save_ifs"
8287 test -z "$ac_dir" && ac_dir=.
8288 if test -f $ac_dir/${ac_tool_prefix}file; then
8289 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8290 if test -n "$file_magic_test_file"; then
8291 case $deplibs_check_method in
8292 "file_magic "*)
8293 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8294 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8295 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8296 $EGREP "$file_magic_regex" > /dev/null; then
8298 else
8299 cat <<_LT_EOF 1>&2
8301 *** Warning: the command libtool uses to detect shared libraries,
8302 *** $file_magic_cmd, produces output that libtool cannot recognize.
8303 *** The result is that libtool may fail to recognize shared libraries
8304 *** as such. This will affect the creation of libtool libraries that
8305 *** depend on shared libraries, but programs linked with such libtool
8306 *** libraries will work regardless of this problem. Nevertheless, you
8307 *** may want to report the problem to your system manager and/or to
8308 *** bug-libtool@gnu.org
8310 _LT_EOF
8311 fi ;;
8312 esac
8314 break
8316 done
8317 IFS="$lt_save_ifs"
8318 MAGIC_CMD="$lt_save_MAGIC_CMD"
8320 esac
8323 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8324 if test -n "$MAGIC_CMD"; then
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8326 $as_echo "$MAGIC_CMD" >&6; }
8327 else
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8329 $as_echo "no" >&6; }
8336 if test -z "$lt_cv_path_MAGIC_CMD"; then
8337 if test -n "$ac_tool_prefix"; then
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8339 $as_echo_n "checking for file... " >&6; }
8340 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8341 $as_echo_n "(cached) " >&6
8342 else
8343 case $MAGIC_CMD in
8344 [\\/*] | ?:[\\/]*)
8345 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8348 lt_save_MAGIC_CMD="$MAGIC_CMD"
8349 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8350 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8351 for ac_dir in $ac_dummy; do
8352 IFS="$lt_save_ifs"
8353 test -z "$ac_dir" && ac_dir=.
8354 if test -f $ac_dir/file; then
8355 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8356 if test -n "$file_magic_test_file"; then
8357 case $deplibs_check_method in
8358 "file_magic "*)
8359 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8360 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8361 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8362 $EGREP "$file_magic_regex" > /dev/null; then
8364 else
8365 cat <<_LT_EOF 1>&2
8367 *** Warning: the command libtool uses to detect shared libraries,
8368 *** $file_magic_cmd, produces output that libtool cannot recognize.
8369 *** The result is that libtool may fail to recognize shared libraries
8370 *** as such. This will affect the creation of libtool libraries that
8371 *** depend on shared libraries, but programs linked with such libtool
8372 *** libraries will work regardless of this problem. Nevertheless, you
8373 *** may want to report the problem to your system manager and/or to
8374 *** bug-libtool@gnu.org
8376 _LT_EOF
8377 fi ;;
8378 esac
8380 break
8382 done
8383 IFS="$lt_save_ifs"
8384 MAGIC_CMD="$lt_save_MAGIC_CMD"
8386 esac
8389 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8390 if test -n "$MAGIC_CMD"; then
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8392 $as_echo "$MAGIC_CMD" >&6; }
8393 else
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8395 $as_echo "no" >&6; }
8399 else
8400 MAGIC_CMD=:
8406 esac
8408 # Use C for the default configuration in the libtool script
8410 lt_save_CC="$CC"
8411 ac_ext=c
8412 ac_cpp='$CPP $CPPFLAGS'
8413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8418 # Source file extension for C test sources.
8419 ac_ext=c
8421 # Object file extension for compiled C test sources.
8422 objext=o
8423 objext=$objext
8425 # Code to be used in simple compile tests
8426 lt_simple_compile_test_code="int some_variable = 0;"
8428 # Code to be used in simple link tests
8429 lt_simple_link_test_code='int main(){return(0);}'
8437 # If no C compiler was specified, use CC.
8438 LTCC=${LTCC-"$CC"}
8440 # If no C compiler flags were specified, use CFLAGS.
8441 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8443 # Allow CC to be a program name with arguments.
8444 compiler=$CC
8446 # Save the default compiler, since it gets overwritten when the other
8447 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8448 compiler_DEFAULT=$CC
8450 # save warnings/boilerplate of simple test code
8451 ac_outfile=conftest.$ac_objext
8452 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8453 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8454 _lt_compiler_boilerplate=`cat conftest.err`
8455 $RM conftest*
8457 ac_outfile=conftest.$ac_objext
8458 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8459 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8460 _lt_linker_boilerplate=`cat conftest.err`
8461 $RM -r conftest*
8464 ## CAVEAT EMPTOR:
8465 ## There is no encapsulation within the following macros, do not change
8466 ## the running order or otherwise move them around unless you know exactly
8467 ## what you are doing...
8468 if test -n "$compiler"; then
8470 lt_prog_compiler_no_builtin_flag=
8472 if test "$GCC" = yes; then
8473 case $cc_basename in
8474 nvcc*)
8475 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8477 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8478 esac
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8481 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8482 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8483 $as_echo_n "(cached) " >&6
8484 else
8485 lt_cv_prog_compiler_rtti_exceptions=no
8486 ac_outfile=conftest.$ac_objext
8487 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8488 lt_compiler_flag="-fno-rtti -fno-exceptions"
8489 # Insert the option either (1) after the last *FLAGS variable, or
8490 # (2) before a word containing "conftest.", or (3) at the end.
8491 # Note that $ac_compile itself does not contain backslashes and begins
8492 # with a dollar sign (not a hyphen), so the echo should work correctly.
8493 # The option is referenced via a variable to avoid confusing sed.
8494 lt_compile=`echo "$ac_compile" | $SED \
8495 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8496 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8497 -e 's:$: $lt_compiler_flag:'`
8498 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8499 (eval "$lt_compile" 2>conftest.err)
8500 ac_status=$?
8501 cat conftest.err >&5
8502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8503 if (exit $ac_status) && test -s "$ac_outfile"; then
8504 # The compiler can only warn and ignore the option if not recognized
8505 # So say no if there are warnings other than the usual output.
8506 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8507 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8508 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8509 lt_cv_prog_compiler_rtti_exceptions=yes
8512 $RM conftest*
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8516 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8518 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8519 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8520 else
8531 lt_prog_compiler_wl=
8532 lt_prog_compiler_pic=
8533 lt_prog_compiler_static=
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8536 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8538 if test "$GCC" = yes; then
8539 lt_prog_compiler_wl='-Wl,'
8540 lt_prog_compiler_static='-static'
8542 case $host_os in
8543 aix*)
8544 # All AIX code is PIC.
8545 if test "$host_cpu" = ia64; then
8546 # AIX 5 now supports IA64 processor
8547 lt_prog_compiler_static='-Bstatic'
8549 lt_prog_compiler_pic='-fPIC'
8552 amigaos*)
8553 case $host_cpu in
8554 powerpc)
8555 # see comment about AmigaOS4 .so support
8556 lt_prog_compiler_pic='-fPIC'
8558 m68k)
8559 # FIXME: we need at least 68020 code to build shared libraries, but
8560 # adding the `-m68020' flag to GCC prevents building anything better,
8561 # like `-m68040'.
8562 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8564 esac
8567 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8568 # PIC is the default for these OSes.
8571 mingw* | cygwin* | pw32* | os2* | cegcc*)
8572 # This hack is so that the source file can tell whether it is being
8573 # built for inclusion in a dll (and should export symbols for example).
8574 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8575 # (--disable-auto-import) libraries
8576 lt_prog_compiler_pic='-DDLL_EXPORT'
8579 darwin* | rhapsody*)
8580 # PIC is the default on this platform
8581 # Common symbols not allowed in MH_DYLIB files
8582 lt_prog_compiler_pic='-fno-common'
8585 haiku*)
8586 # PIC is the default for Haiku.
8587 # The "-static" flag exists, but is broken.
8588 lt_prog_compiler_static=
8591 hpux*)
8592 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8593 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8594 # sets the default TLS model and affects inlining.
8595 case $host_cpu in
8596 hppa*64*)
8597 # +Z the default
8600 lt_prog_compiler_pic='-fPIC'
8602 esac
8605 interix[3-9]*)
8606 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8607 # Instead, we relocate shared libraries at runtime.
8610 msdosdjgpp*)
8611 # Just because we use GCC doesn't mean we suddenly get shared libraries
8612 # on systems that don't support them.
8613 lt_prog_compiler_can_build_shared=no
8614 enable_shared=no
8617 *nto* | *qnx*)
8618 # QNX uses GNU C++, but need to define -shared option too, otherwise
8619 # it will coredump.
8620 lt_prog_compiler_pic='-fPIC -shared'
8623 sysv4*MP*)
8624 if test -d /usr/nec; then
8625 lt_prog_compiler_pic=-Kconform_pic
8630 lt_prog_compiler_pic='-fPIC'
8632 esac
8634 case $cc_basename in
8635 nvcc*) # Cuda Compiler Driver 2.2
8636 lt_prog_compiler_wl='-Xlinker '
8637 lt_prog_compiler_pic='-Xcompiler -fPIC'
8639 esac
8640 else
8641 # PORTME Check for flag to pass linker flags through the system compiler.
8642 case $host_os in
8643 aix*)
8644 lt_prog_compiler_wl='-Wl,'
8645 if test "$host_cpu" = ia64; then
8646 # AIX 5 now supports IA64 processor
8647 lt_prog_compiler_static='-Bstatic'
8648 else
8649 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8653 mingw* | cygwin* | pw32* | os2* | cegcc*)
8654 # This hack is so that the source file can tell whether it is being
8655 # built for inclusion in a dll (and should export symbols for example).
8656 lt_prog_compiler_pic='-DDLL_EXPORT'
8659 hpux9* | hpux10* | hpux11*)
8660 lt_prog_compiler_wl='-Wl,'
8661 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8662 # not for PA HP-UX.
8663 case $host_cpu in
8664 hppa*64*|ia64*)
8665 # +Z the default
8668 lt_prog_compiler_pic='+Z'
8670 esac
8671 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8672 lt_prog_compiler_static='${wl}-a ${wl}archive'
8675 irix5* | irix6* | nonstopux*)
8676 lt_prog_compiler_wl='-Wl,'
8677 # PIC (with -KPIC) is the default.
8678 lt_prog_compiler_static='-non_shared'
8681 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8682 case $cc_basename in
8683 # old Intel for x86_64 which still supported -KPIC.
8684 ecc*)
8685 lt_prog_compiler_wl='-Wl,'
8686 lt_prog_compiler_pic='-KPIC'
8687 lt_prog_compiler_static='-static'
8689 # icc used to be incompatible with GCC.
8690 # ICC 10 doesn't accept -KPIC any more.
8691 icc* | ifort*)
8692 lt_prog_compiler_wl='-Wl,'
8693 lt_prog_compiler_pic='-fPIC'
8694 lt_prog_compiler_static='-static'
8696 # Lahey Fortran 8.1.
8697 lf95*)
8698 lt_prog_compiler_wl='-Wl,'
8699 lt_prog_compiler_pic='--shared'
8700 lt_prog_compiler_static='--static'
8702 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8703 # Portland Group compilers (*not* the Pentium gcc compiler,
8704 # which looks to be a dead project)
8705 lt_prog_compiler_wl='-Wl,'
8706 lt_prog_compiler_pic='-fpic'
8707 lt_prog_compiler_static='-Bstatic'
8709 ccc*)
8710 lt_prog_compiler_wl='-Wl,'
8711 # All Alpha code is PIC.
8712 lt_prog_compiler_static='-non_shared'
8714 xl* | bgxl* | bgf* | mpixl*)
8715 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8716 lt_prog_compiler_wl='-Wl,'
8717 lt_prog_compiler_pic='-qpic'
8718 lt_prog_compiler_static='-qstaticlink'
8721 case `$CC -V 2>&1 | sed 5q` in
8722 *Sun\ F* | *Sun*Fortran*)
8723 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8724 lt_prog_compiler_pic='-KPIC'
8725 lt_prog_compiler_static='-Bstatic'
8726 lt_prog_compiler_wl=''
8728 *Sun\ C*)
8729 # Sun C 5.9
8730 lt_prog_compiler_pic='-KPIC'
8731 lt_prog_compiler_static='-Bstatic'
8732 lt_prog_compiler_wl='-Wl,'
8734 esac
8736 esac
8739 newsos6)
8740 lt_prog_compiler_pic='-KPIC'
8741 lt_prog_compiler_static='-Bstatic'
8744 *nto* | *qnx*)
8745 # QNX uses GNU C++, but need to define -shared option too, otherwise
8746 # it will coredump.
8747 lt_prog_compiler_pic='-fPIC -shared'
8750 osf3* | osf4* | osf5*)
8751 lt_prog_compiler_wl='-Wl,'
8752 # All OSF/1 code is PIC.
8753 lt_prog_compiler_static='-non_shared'
8756 rdos*)
8757 lt_prog_compiler_static='-non_shared'
8760 solaris*)
8761 lt_prog_compiler_pic='-KPIC'
8762 lt_prog_compiler_static='-Bstatic'
8763 case $cc_basename in
8764 f77* | f90* | f95*)
8765 lt_prog_compiler_wl='-Qoption ld ';;
8767 lt_prog_compiler_wl='-Wl,';;
8768 esac
8771 sunos4*)
8772 lt_prog_compiler_wl='-Qoption ld '
8773 lt_prog_compiler_pic='-PIC'
8774 lt_prog_compiler_static='-Bstatic'
8777 sysv4 | sysv4.2uw2* | sysv4.3*)
8778 lt_prog_compiler_wl='-Wl,'
8779 lt_prog_compiler_pic='-KPIC'
8780 lt_prog_compiler_static='-Bstatic'
8783 sysv4*MP*)
8784 if test -d /usr/nec ;then
8785 lt_prog_compiler_pic='-Kconform_pic'
8786 lt_prog_compiler_static='-Bstatic'
8790 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8791 lt_prog_compiler_wl='-Wl,'
8792 lt_prog_compiler_pic='-KPIC'
8793 lt_prog_compiler_static='-Bstatic'
8796 unicos*)
8797 lt_prog_compiler_wl='-Wl,'
8798 lt_prog_compiler_can_build_shared=no
8801 uts4*)
8802 lt_prog_compiler_pic='-pic'
8803 lt_prog_compiler_static='-Bstatic'
8807 lt_prog_compiler_can_build_shared=no
8809 esac
8812 case $host_os in
8813 # For platforms which do not support PIC, -DPIC is meaningless:
8814 *djgpp*)
8815 lt_prog_compiler_pic=
8818 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8820 esac
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8822 $as_echo "$lt_prog_compiler_pic" >&6; }
8830 # Check to make sure the PIC flag actually works.
8832 if test -n "$lt_prog_compiler_pic"; then
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8834 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8835 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8836 $as_echo_n "(cached) " >&6
8837 else
8838 lt_cv_prog_compiler_pic_works=no
8839 ac_outfile=conftest.$ac_objext
8840 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8841 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8842 # Insert the option either (1) after the last *FLAGS variable, or
8843 # (2) before a word containing "conftest.", or (3) at the end.
8844 # Note that $ac_compile itself does not contain backslashes and begins
8845 # with a dollar sign (not a hyphen), so the echo should work correctly.
8846 # The option is referenced via a variable to avoid confusing sed.
8847 lt_compile=`echo "$ac_compile" | $SED \
8848 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8849 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8850 -e 's:$: $lt_compiler_flag:'`
8851 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8852 (eval "$lt_compile" 2>conftest.err)
8853 ac_status=$?
8854 cat conftest.err >&5
8855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8856 if (exit $ac_status) && test -s "$ac_outfile"; then
8857 # The compiler can only warn and ignore the option if not recognized
8858 # So say no if there are warnings other than the usual output.
8859 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8860 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8861 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8862 lt_cv_prog_compiler_pic_works=yes
8865 $RM conftest*
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8869 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8871 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8872 case $lt_prog_compiler_pic in
8873 "" | " "*) ;;
8874 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8875 esac
8876 else
8877 lt_prog_compiler_pic=
8878 lt_prog_compiler_can_build_shared=no
8889 # Check to make sure the static flag actually works.
8891 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8893 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8894 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8895 $as_echo_n "(cached) " >&6
8896 else
8897 lt_cv_prog_compiler_static_works=no
8898 save_LDFLAGS="$LDFLAGS"
8899 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8900 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8901 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8902 # The linker can only warn and ignore the option if not recognized
8903 # So say no if there are warnings
8904 if test -s conftest.err; then
8905 # Append any errors to the config.log.
8906 cat conftest.err 1>&5
8907 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8908 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8909 if diff conftest.exp conftest.er2 >/dev/null; then
8910 lt_cv_prog_compiler_static_works=yes
8912 else
8913 lt_cv_prog_compiler_static_works=yes
8916 $RM -r conftest*
8917 LDFLAGS="$save_LDFLAGS"
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8921 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8923 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8925 else
8926 lt_prog_compiler_static=
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8936 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8937 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8938 $as_echo_n "(cached) " >&6
8939 else
8940 lt_cv_prog_compiler_c_o=no
8941 $RM -r conftest 2>/dev/null
8942 mkdir conftest
8943 cd conftest
8944 mkdir out
8945 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8947 lt_compiler_flag="-o out/conftest2.$ac_objext"
8948 # Insert the option either (1) after the last *FLAGS variable, or
8949 # (2) before a word containing "conftest.", or (3) at the end.
8950 # Note that $ac_compile itself does not contain backslashes and begins
8951 # with a dollar sign (not a hyphen), so the echo should work correctly.
8952 lt_compile=`echo "$ac_compile" | $SED \
8953 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8954 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8955 -e 's:$: $lt_compiler_flag:'`
8956 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8957 (eval "$lt_compile" 2>out/conftest.err)
8958 ac_status=$?
8959 cat out/conftest.err >&5
8960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8962 then
8963 # The compiler can only warn and ignore the option if not recognized
8964 # So say no if there are warnings
8965 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8966 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8967 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8968 lt_cv_prog_compiler_c_o=yes
8971 chmod u+w . 2>&5
8972 $RM conftest*
8973 # SGI C++ compiler will create directory out/ii_files/ for
8974 # template instantiation
8975 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8976 $RM out/* && rmdir out
8977 cd ..
8978 $RM -r conftest
8979 $RM conftest*
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8983 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8991 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8992 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8993 $as_echo_n "(cached) " >&6
8994 else
8995 lt_cv_prog_compiler_c_o=no
8996 $RM -r conftest 2>/dev/null
8997 mkdir conftest
8998 cd conftest
8999 mkdir out
9000 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9002 lt_compiler_flag="-o out/conftest2.$ac_objext"
9003 # Insert the option either (1) after the last *FLAGS variable, or
9004 # (2) before a word containing "conftest.", or (3) at the end.
9005 # Note that $ac_compile itself does not contain backslashes and begins
9006 # with a dollar sign (not a hyphen), so the echo should work correctly.
9007 lt_compile=`echo "$ac_compile" | $SED \
9008 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9009 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9010 -e 's:$: $lt_compiler_flag:'`
9011 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9012 (eval "$lt_compile" 2>out/conftest.err)
9013 ac_status=$?
9014 cat out/conftest.err >&5
9015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9016 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9017 then
9018 # The compiler can only warn and ignore the option if not recognized
9019 # So say no if there are warnings
9020 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9021 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9022 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9023 lt_cv_prog_compiler_c_o=yes
9026 chmod u+w . 2>&5
9027 $RM conftest*
9028 # SGI C++ compiler will create directory out/ii_files/ for
9029 # template instantiation
9030 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9031 $RM out/* && rmdir out
9032 cd ..
9033 $RM -r conftest
9034 $RM conftest*
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9038 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9043 hard_links="nottested"
9044 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9045 # do not overwrite the value of need_locks provided by the user
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9047 $as_echo_n "checking if we can lock with hard links... " >&6; }
9048 hard_links=yes
9049 $RM conftest*
9050 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9051 touch conftest.a
9052 ln conftest.a conftest.b 2>&5 || hard_links=no
9053 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9055 $as_echo "$hard_links" >&6; }
9056 if test "$hard_links" = no; then
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9058 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9059 need_locks=warn
9061 else
9062 need_locks=no
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9071 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9073 runpath_var=
9074 allow_undefined_flag=
9075 always_export_symbols=no
9076 archive_cmds=
9077 archive_expsym_cmds=
9078 compiler_needs_object=no
9079 enable_shared_with_static_runtimes=no
9080 export_dynamic_flag_spec=
9081 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9082 hardcode_automatic=no
9083 hardcode_direct=no
9084 hardcode_direct_absolute=no
9085 hardcode_libdir_flag_spec=
9086 hardcode_libdir_flag_spec_ld=
9087 hardcode_libdir_separator=
9088 hardcode_minus_L=no
9089 hardcode_shlibpath_var=unsupported
9090 inherit_rpath=no
9091 link_all_deplibs=unknown
9092 module_cmds=
9093 module_expsym_cmds=
9094 old_archive_from_new_cmds=
9095 old_archive_from_expsyms_cmds=
9096 thread_safe_flag_spec=
9097 whole_archive_flag_spec=
9098 # include_expsyms should be a list of space-separated symbols to be *always*
9099 # included in the symbol list
9100 include_expsyms=
9101 # exclude_expsyms can be an extended regexp of symbols to exclude
9102 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9103 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9104 # as well as any symbol that contains `d'.
9105 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9106 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9107 # platforms (ab)use it in PIC code, but their linkers get confused if
9108 # the symbol is explicitly referenced. Since portable code cannot
9109 # rely on this symbol name, it's probably fine to never include it in
9110 # preloaded symbol tables.
9111 # Exclude shared library initialization/finalization symbols.
9112 extract_expsyms_cmds=
9114 case $host_os in
9115 cygwin* | mingw* | pw32* | cegcc*)
9116 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9117 # When not using gcc, we currently assume that we are using
9118 # Microsoft Visual C++.
9119 if test "$GCC" != yes; then
9120 with_gnu_ld=no
9123 interix*)
9124 # we just hope/assume this is gcc and not c89 (= MSVC++)
9125 with_gnu_ld=yes
9127 openbsd*)
9128 with_gnu_ld=no
9130 esac
9132 ld_shlibs=yes
9134 # On some targets, GNU ld is compatible enough with the native linker
9135 # that we're better off using the native interface for both.
9136 lt_use_gnu_ld_interface=no
9137 if test "$with_gnu_ld" = yes; then
9138 case $host_os in
9139 aix*)
9140 # The AIX port of GNU ld has always aspired to compatibility
9141 # with the native linker. However, as the warning in the GNU ld
9142 # block says, versions before 2.19.5* couldn't really create working
9143 # shared libraries, regardless of the interface used.
9144 case `$LD -v 2>&1` in
9145 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9146 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9147 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9149 lt_use_gnu_ld_interface=yes
9151 esac
9154 lt_use_gnu_ld_interface=yes
9156 esac
9159 if test "$lt_use_gnu_ld_interface" = yes; then
9160 # If archive_cmds runs LD, not CC, wlarc should be empty
9161 wlarc='${wl}'
9163 # Set some defaults for GNU ld with shared library support. These
9164 # are reset later if shared libraries are not supported. Putting them
9165 # here allows them to be overridden if necessary.
9166 runpath_var=LD_RUN_PATH
9167 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9168 export_dynamic_flag_spec='${wl}--export-dynamic'
9169 # ancient GNU ld didn't support --whole-archive et. al.
9170 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9171 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9172 else
9173 whole_archive_flag_spec=
9175 supports_anon_versioning=no
9176 case `$LD -v 2>&1` in
9177 *GNU\ gold*) supports_anon_versioning=yes ;;
9178 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9179 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9180 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9181 *\ 2.11.*) ;; # other 2.11 versions
9182 *) supports_anon_versioning=yes ;;
9183 esac
9185 # See if GNU ld supports shared libraries.
9186 case $host_os in
9187 aix[3-9]*)
9188 # On AIX/PPC, the GNU linker is very broken
9189 if test "$host_cpu" != ia64; then
9190 ld_shlibs=no
9191 cat <<_LT_EOF 1>&2
9193 *** Warning: the GNU linker, at least up to release 2.19, is reported
9194 *** to be unable to reliably create shared libraries on AIX.
9195 *** Therefore, libtool is disabling shared libraries support. If you
9196 *** really care for shared libraries, you may want to install binutils
9197 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9198 *** You will then need to restart the configuration process.
9200 _LT_EOF
9204 amigaos*)
9205 case $host_cpu in
9206 powerpc)
9207 # see comment about AmigaOS4 .so support
9208 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9209 archive_expsym_cmds=''
9211 m68k)
9212 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)'
9213 hardcode_libdir_flag_spec='-L$libdir'
9214 hardcode_minus_L=yes
9216 esac
9219 beos*)
9220 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9221 allow_undefined_flag=unsupported
9222 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9223 # support --undefined. This deserves some investigation. FIXME
9224 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9225 else
9226 ld_shlibs=no
9230 cygwin* | mingw* | pw32* | cegcc*)
9231 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9232 # as there is no search path for DLLs.
9233 hardcode_libdir_flag_spec='-L$libdir'
9234 export_dynamic_flag_spec='${wl}--export-all-symbols'
9235 allow_undefined_flag=unsupported
9236 always_export_symbols=no
9237 enable_shared_with_static_runtimes=yes
9238 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9240 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9241 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9242 # If the export-symbols file already is a .def file (1st line
9243 # is EXPORTS), use it as is; otherwise, prepend...
9244 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9245 cp $export_symbols $output_objdir/$soname.def;
9246 else
9247 echo EXPORTS > $output_objdir/$soname.def;
9248 cat $export_symbols >> $output_objdir/$soname.def;
9250 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9251 else
9252 ld_shlibs=no
9256 haiku*)
9257 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9258 link_all_deplibs=yes
9261 interix[3-9]*)
9262 hardcode_direct=no
9263 hardcode_shlibpath_var=no
9264 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9265 export_dynamic_flag_spec='${wl}-E'
9266 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9267 # Instead, shared libraries are loaded at an image base (0x10000000 by
9268 # default) and relocated if they conflict, which is a slow very memory
9269 # consuming and fragmenting process. To avoid this, we pick a random,
9270 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9271 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9272 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9273 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'
9276 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9277 tmp_diet=no
9278 if test "$host_os" = linux-dietlibc; then
9279 case $cc_basename in
9280 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9281 esac
9283 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9284 && test "$tmp_diet" = no
9285 then
9286 tmp_addflag=
9287 tmp_sharedflag='-shared'
9288 case $cc_basename,$host_cpu in
9289 pgcc*) # Portland Group C compiler
9290 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'
9291 tmp_addflag=' $pic_flag'
9293 pgf77* | pgf90* | pgf95* | pgfortran*)
9294 # Portland Group f77 and f90 compilers
9295 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'
9296 tmp_addflag=' $pic_flag -Mnomain' ;;
9297 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9298 tmp_addflag=' -i_dynamic' ;;
9299 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9300 tmp_addflag=' -i_dynamic -nofor_main' ;;
9301 ifc* | ifort*) # Intel Fortran compiler
9302 tmp_addflag=' -nofor_main' ;;
9303 lf95*) # Lahey Fortran 8.1
9304 whole_archive_flag_spec=
9305 tmp_sharedflag='--shared' ;;
9306 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9307 tmp_sharedflag='-qmkshrobj'
9308 tmp_addflag= ;;
9309 nvcc*) # Cuda Compiler Driver 2.2
9310 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'
9311 compiler_needs_object=yes
9313 esac
9314 case `$CC -V 2>&1 | sed 5q` in
9315 *Sun\ C*) # Sun C 5.9
9316 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'
9317 compiler_needs_object=yes
9318 tmp_sharedflag='-G' ;;
9319 *Sun\ F*) # Sun Fortran 8.3
9320 tmp_sharedflag='-G' ;;
9321 esac
9322 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9324 if test "x$supports_anon_versioning" = xyes; then
9325 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9326 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9327 echo "local: *; };" >> $output_objdir/$libname.ver~
9328 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9331 case $cc_basename in
9332 xlf* | bgf* | bgxlf* | mpixlf*)
9333 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9334 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9335 hardcode_libdir_flag_spec=
9336 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9337 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9338 if test "x$supports_anon_versioning" = xyes; then
9339 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9340 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9341 echo "local: *; };" >> $output_objdir/$libname.ver~
9342 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9345 esac
9346 else
9347 ld_shlibs=no
9351 netbsd*)
9352 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9353 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9354 wlarc=
9355 else
9356 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9357 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9361 solaris*)
9362 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9363 ld_shlibs=no
9364 cat <<_LT_EOF 1>&2
9366 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9367 *** create shared libraries on Solaris systems. Therefore, libtool
9368 *** is disabling shared libraries support. We urge you to upgrade GNU
9369 *** binutils to release 2.9.1 or newer. Another option is to modify
9370 *** your PATH or compiler configuration so that the native linker is
9371 *** used, and then restart.
9373 _LT_EOF
9374 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9375 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9376 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9377 else
9378 ld_shlibs=no
9382 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9383 case `$LD -v 2>&1` in
9384 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9385 ld_shlibs=no
9386 cat <<_LT_EOF 1>&2
9388 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9389 *** reliably create shared libraries on SCO systems. Therefore, libtool
9390 *** is disabling shared libraries support. We urge you to upgrade GNU
9391 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9392 *** your PATH or compiler configuration so that the native linker is
9393 *** used, and then restart.
9395 _LT_EOF
9398 # For security reasons, it is highly recommended that you always
9399 # use absolute paths for naming shared libraries, and exclude the
9400 # DT_RUNPATH tag from executables and libraries. But doing so
9401 # requires that you compile everything twice, which is a pain.
9402 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9403 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9404 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9405 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9406 else
9407 ld_shlibs=no
9410 esac
9413 sunos4*)
9414 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9415 wlarc=
9416 hardcode_direct=yes
9417 hardcode_shlibpath_var=no
9421 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9422 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9423 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9424 else
9425 ld_shlibs=no
9428 esac
9430 if test "$ld_shlibs" = no; then
9431 runpath_var=
9432 hardcode_libdir_flag_spec=
9433 export_dynamic_flag_spec=
9434 whole_archive_flag_spec=
9436 else
9437 # PORTME fill in a description of your system's linker (not GNU ld)
9438 case $host_os in
9439 aix3*)
9440 allow_undefined_flag=unsupported
9441 always_export_symbols=yes
9442 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'
9443 # Note: this linker hardcodes the directories in LIBPATH if there
9444 # are no directories specified by -L.
9445 hardcode_minus_L=yes
9446 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9447 # Neither direct hardcoding nor static linking is supported with a
9448 # broken collect2.
9449 hardcode_direct=unsupported
9453 aix[4-9]*)
9454 if test "$host_cpu" = ia64; then
9455 # On IA64, the linker does run time linking by default, so we don't
9456 # have to do anything special.
9457 aix_use_runtimelinking=no
9458 exp_sym_flag='-Bexport'
9459 no_entry_flag=""
9460 else
9461 # If we're using GNU nm, then we don't want the "-C" option.
9462 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9463 # Also, AIX nm treats weak defined symbols like other global
9464 # defined symbols, whereas GNU nm marks them as "W".
9465 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9466 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'
9467 else
9468 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'
9470 aix_use_runtimelinking=no
9472 # Test if we are trying to use run time linking or normal
9473 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9474 # need to do runtime linking.
9475 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9476 for ld_flag in $LDFLAGS; do
9477 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9478 aix_use_runtimelinking=yes
9479 break
9481 done
9483 esac
9485 exp_sym_flag='-bexport'
9486 no_entry_flag='-bnoentry'
9489 # When large executables or shared objects are built, AIX ld can
9490 # have problems creating the table of contents. If linking a library
9491 # or program results in "error TOC overflow" add -mminimal-toc to
9492 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9493 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9495 archive_cmds=''
9496 hardcode_direct=yes
9497 hardcode_direct_absolute=yes
9498 hardcode_libdir_separator=':'
9499 link_all_deplibs=yes
9500 file_list_spec='${wl}-f,'
9502 if test "$GCC" = yes; then
9503 case $host_os in aix4.[012]|aix4.[012].*)
9504 # We only want to do this on AIX 4.2 and lower, the check
9505 # below for broken collect2 doesn't work under 4.3+
9506 collect2name=`${CC} -print-prog-name=collect2`
9507 if test -f "$collect2name" &&
9508 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9509 then
9510 # We have reworked collect2
9512 else
9513 # We have old collect2
9514 hardcode_direct=unsupported
9515 # It fails to find uninstalled libraries when the uninstalled
9516 # path is not listed in the libpath. Setting hardcode_minus_L
9517 # to unsupported forces relinking
9518 hardcode_minus_L=yes
9519 hardcode_libdir_flag_spec='-L$libdir'
9520 hardcode_libdir_separator=
9523 esac
9524 shared_flag='-shared'
9525 if test "$aix_use_runtimelinking" = yes; then
9526 shared_flag="$shared_flag "'${wl}-G'
9528 else
9529 # not using gcc
9530 if test "$host_cpu" = ia64; then
9531 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9532 # chokes on -Wl,-G. The following line is correct:
9533 shared_flag='-G'
9534 else
9535 if test "$aix_use_runtimelinking" = yes; then
9536 shared_flag='${wl}-G'
9537 else
9538 shared_flag='${wl}-bM:SRE'
9543 export_dynamic_flag_spec='${wl}-bexpall'
9544 # It seems that -bexpall does not export symbols beginning with
9545 # underscore (_), so it is better to generate a list of symbols to export.
9546 always_export_symbols=yes
9547 if test "$aix_use_runtimelinking" = yes; then
9548 # Warning - without using the other runtime loading flags (-brtl),
9549 # -berok will link without error, but may produce a broken library.
9550 allow_undefined_flag='-berok'
9551 # Determine the default libpath from the value encoded in an
9552 # empty executable.
9553 if test x$gcc_no_link = xyes; then
9554 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9557 /* end confdefs.h. */
9560 main ()
9564 return 0;
9566 _ACEOF
9567 if ac_fn_c_try_link "$LINENO"; then :
9569 lt_aix_libpath_sed='
9570 /Import File Strings/,/^$/ {
9571 /^0/ {
9572 s/^0 *\(.*\)$/\1/
9576 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9577 # Check for a 64-bit object if we didn't find anything.
9578 if test -z "$aix_libpath"; then
9579 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9582 rm -f core conftest.err conftest.$ac_objext \
9583 conftest$ac_exeext conftest.$ac_ext
9584 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9586 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9587 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"
9588 else
9589 if test "$host_cpu" = ia64; then
9590 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9591 allow_undefined_flag="-z nodefs"
9592 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"
9593 else
9594 # Determine the default libpath from the value encoded in an
9595 # empty executable.
9596 if test x$gcc_no_link = xyes; then
9597 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9600 /* end confdefs.h. */
9603 main ()
9607 return 0;
9609 _ACEOF
9610 if ac_fn_c_try_link "$LINENO"; then :
9612 lt_aix_libpath_sed='
9613 /Import File Strings/,/^$/ {
9614 /^0/ {
9615 s/^0 *\(.*\)$/\1/
9619 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9620 # Check for a 64-bit object if we didn't find anything.
9621 if test -z "$aix_libpath"; then
9622 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9625 rm -f core conftest.err conftest.$ac_objext \
9626 conftest$ac_exeext conftest.$ac_ext
9627 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9629 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9630 # Warning - without using the other run time loading flags,
9631 # -berok will link without error, but may produce a broken library.
9632 no_undefined_flag=' ${wl}-bernotok'
9633 allow_undefined_flag=' ${wl}-berok'
9634 if test "$with_gnu_ld" = yes; then
9635 # We only use this code for GNU lds that support --whole-archive.
9636 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9637 else
9638 # Exported symbols can be pulled into shared objects from archives
9639 whole_archive_flag_spec='$convenience'
9641 archive_cmds_need_lc=yes
9642 # This is similar to how AIX traditionally builds its shared libraries.
9643 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'
9648 amigaos*)
9649 case $host_cpu in
9650 powerpc)
9651 # see comment about AmigaOS4 .so support
9652 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9653 archive_expsym_cmds=''
9655 m68k)
9656 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)'
9657 hardcode_libdir_flag_spec='-L$libdir'
9658 hardcode_minus_L=yes
9660 esac
9663 bsdi[45]*)
9664 export_dynamic_flag_spec=-rdynamic
9667 cygwin* | mingw* | pw32* | cegcc*)
9668 # When not using gcc, we currently assume that we are using
9669 # Microsoft Visual C++.
9670 # hardcode_libdir_flag_spec is actually meaningless, as there is
9671 # no search path for DLLs.
9672 hardcode_libdir_flag_spec=' '
9673 allow_undefined_flag=unsupported
9674 # Tell ltmain to make .lib files, not .a files.
9675 libext=lib
9676 # Tell ltmain to make .dll files, not .so files.
9677 shrext_cmds=".dll"
9678 # FIXME: Setting linknames here is a bad hack.
9679 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9680 # The linker will automatically build a .lib file if we build a DLL.
9681 old_archive_from_new_cmds='true'
9682 # FIXME: Should let the user specify the lib program.
9683 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9684 fix_srcfile_path='`cygpath -w "$srcfile"`'
9685 enable_shared_with_static_runtimes=yes
9688 darwin* | rhapsody*)
9691 archive_cmds_need_lc=no
9692 hardcode_direct=no
9693 hardcode_automatic=yes
9694 hardcode_shlibpath_var=unsupported
9695 if test "$lt_cv_ld_force_load" = "yes"; then
9696 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\"`'
9697 else
9698 whole_archive_flag_spec=''
9700 link_all_deplibs=yes
9701 allow_undefined_flag="$_lt_dar_allow_undefined"
9702 case $cc_basename in
9703 ifort*) _lt_dar_can_shared=yes ;;
9704 *) _lt_dar_can_shared=$GCC ;;
9705 esac
9706 if test "$_lt_dar_can_shared" = "yes"; then
9707 output_verbose_link_cmd=func_echo_all
9708 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9709 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9710 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}"
9711 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}"
9713 else
9714 ld_shlibs=no
9719 dgux*)
9720 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9721 hardcode_libdir_flag_spec='-L$libdir'
9722 hardcode_shlibpath_var=no
9725 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9726 # support. Future versions do this automatically, but an explicit c++rt0.o
9727 # does not break anything, and helps significantly (at the cost of a little
9728 # extra space).
9729 freebsd2.2*)
9730 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9731 hardcode_libdir_flag_spec='-R$libdir'
9732 hardcode_direct=yes
9733 hardcode_shlibpath_var=no
9736 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9737 freebsd2.*)
9738 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9739 hardcode_direct=yes
9740 hardcode_minus_L=yes
9741 hardcode_shlibpath_var=no
9744 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9745 freebsd* | dragonfly*)
9746 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9747 hardcode_libdir_flag_spec='-R$libdir'
9748 hardcode_direct=yes
9749 hardcode_shlibpath_var=no
9752 hpux9*)
9753 if test "$GCC" = yes; then
9754 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'
9755 else
9756 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'
9758 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9759 hardcode_libdir_separator=:
9760 hardcode_direct=yes
9762 # hardcode_minus_L: Not really in the search PATH,
9763 # but as the default location of the library.
9764 hardcode_minus_L=yes
9765 export_dynamic_flag_spec='${wl}-E'
9768 hpux10*)
9769 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9770 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9771 else
9772 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9774 if test "$with_gnu_ld" = no; then
9775 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9776 hardcode_libdir_flag_spec_ld='+b $libdir'
9777 hardcode_libdir_separator=:
9778 hardcode_direct=yes
9779 hardcode_direct_absolute=yes
9780 export_dynamic_flag_spec='${wl}-E'
9781 # hardcode_minus_L: Not really in the search PATH,
9782 # but as the default location of the library.
9783 hardcode_minus_L=yes
9787 hpux11*)
9788 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9789 case $host_cpu in
9790 hppa*64*)
9791 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9793 ia64*)
9794 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9797 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9799 esac
9800 else
9801 case $host_cpu in
9802 hppa*64*)
9803 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9805 ia64*)
9806 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9810 # Older versions of the 11.00 compiler do not understand -b yet
9811 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9813 $as_echo_n "checking if $CC understands -b... " >&6; }
9814 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9815 $as_echo_n "(cached) " >&6
9816 else
9817 lt_cv_prog_compiler__b=no
9818 save_LDFLAGS="$LDFLAGS"
9819 LDFLAGS="$LDFLAGS -b"
9820 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9821 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9822 # The linker can only warn and ignore the option if not recognized
9823 # So say no if there are warnings
9824 if test -s conftest.err; then
9825 # Append any errors to the config.log.
9826 cat conftest.err 1>&5
9827 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9828 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9829 if diff conftest.exp conftest.er2 >/dev/null; then
9830 lt_cv_prog_compiler__b=yes
9832 else
9833 lt_cv_prog_compiler__b=yes
9836 $RM -r conftest*
9837 LDFLAGS="$save_LDFLAGS"
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9841 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9843 if test x"$lt_cv_prog_compiler__b" = xyes; then
9844 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9845 else
9846 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9850 esac
9852 if test "$with_gnu_ld" = no; then
9853 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9854 hardcode_libdir_separator=:
9856 case $host_cpu in
9857 hppa*64*|ia64*)
9858 hardcode_direct=no
9859 hardcode_shlibpath_var=no
9862 hardcode_direct=yes
9863 hardcode_direct_absolute=yes
9864 export_dynamic_flag_spec='${wl}-E'
9866 # hardcode_minus_L: Not really in the search PATH,
9867 # but as the default location of the library.
9868 hardcode_minus_L=yes
9870 esac
9874 irix5* | irix6* | nonstopux*)
9875 if test "$GCC" = yes; then
9876 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'
9877 # Try to use the -exported_symbol ld option, if it does not
9878 # work, assume that -exports_file does not work either and
9879 # implicitly export all symbols.
9880 save_LDFLAGS="$LDFLAGS"
9881 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9882 if test x$gcc_no_link = xyes; then
9883 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9886 /* end confdefs.h. */
9887 int foo(void) {}
9888 _ACEOF
9889 if ac_fn_c_try_link "$LINENO"; then :
9890 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'
9893 rm -f core conftest.err conftest.$ac_objext \
9894 conftest$ac_exeext conftest.$ac_ext
9895 LDFLAGS="$save_LDFLAGS"
9896 else
9897 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'
9898 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'
9900 archive_cmds_need_lc='no'
9901 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9902 hardcode_libdir_separator=:
9903 inherit_rpath=yes
9904 link_all_deplibs=yes
9907 netbsd*)
9908 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9909 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9910 else
9911 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9913 hardcode_libdir_flag_spec='-R$libdir'
9914 hardcode_direct=yes
9915 hardcode_shlibpath_var=no
9918 newsos6)
9919 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9920 hardcode_direct=yes
9921 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9922 hardcode_libdir_separator=:
9923 hardcode_shlibpath_var=no
9926 *nto* | *qnx*)
9929 openbsd*)
9930 if test -f /usr/libexec/ld.so; then
9931 hardcode_direct=yes
9932 hardcode_shlibpath_var=no
9933 hardcode_direct_absolute=yes
9934 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9935 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9936 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9937 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9938 export_dynamic_flag_spec='${wl}-E'
9939 else
9940 case $host_os in
9941 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9942 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9943 hardcode_libdir_flag_spec='-R$libdir'
9946 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9947 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9949 esac
9951 else
9952 ld_shlibs=no
9956 os2*)
9957 hardcode_libdir_flag_spec='-L$libdir'
9958 hardcode_minus_L=yes
9959 allow_undefined_flag=unsupported
9960 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'
9961 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9964 osf3*)
9965 if test "$GCC" = yes; then
9966 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9967 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'
9968 else
9969 allow_undefined_flag=' -expect_unresolved \*'
9970 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'
9972 archive_cmds_need_lc='no'
9973 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9974 hardcode_libdir_separator=:
9977 osf4* | osf5*) # as osf3* with the addition of -msym flag
9978 if test "$GCC" = yes; then
9979 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9980 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'
9981 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9982 else
9983 allow_undefined_flag=' -expect_unresolved \*'
9984 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'
9985 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~
9986 $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'
9988 # Both c and cxx compiler support -rpath directly
9989 hardcode_libdir_flag_spec='-rpath $libdir'
9991 archive_cmds_need_lc='no'
9992 hardcode_libdir_separator=:
9995 solaris*)
9996 no_undefined_flag=' -z defs'
9997 if test "$GCC" = yes; then
9998 wlarc='${wl}'
9999 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10000 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10001 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10002 else
10003 case `$CC -V 2>&1` in
10004 *"Compilers 5.0"*)
10005 wlarc=''
10006 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10007 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10008 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10011 wlarc='${wl}'
10012 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10013 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10014 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10016 esac
10018 hardcode_libdir_flag_spec='-R$libdir'
10019 hardcode_shlibpath_var=no
10020 case $host_os in
10021 solaris2.[0-5] | solaris2.[0-5].*) ;;
10023 # The compiler driver will combine and reorder linker options,
10024 # but understands `-z linker_flag'. GCC discards it without `$wl',
10025 # but is careful enough not to reorder.
10026 # Supported since Solaris 2.6 (maybe 2.5.1?)
10027 if test "$GCC" = yes; then
10028 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10029 else
10030 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10033 esac
10034 link_all_deplibs=yes
10037 sunos4*)
10038 if test "x$host_vendor" = xsequent; then
10039 # Use $CC to link under sequent, because it throws in some extra .o
10040 # files that make .init and .fini sections work.
10041 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10042 else
10043 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10045 hardcode_libdir_flag_spec='-L$libdir'
10046 hardcode_direct=yes
10047 hardcode_minus_L=yes
10048 hardcode_shlibpath_var=no
10051 sysv4)
10052 case $host_vendor in
10053 sni)
10054 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10055 hardcode_direct=yes # is this really true???
10057 siemens)
10058 ## LD is ld it makes a PLAMLIB
10059 ## CC just makes a GrossModule.
10060 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10061 reload_cmds='$CC -r -o $output$reload_objs'
10062 hardcode_direct=no
10064 motorola)
10065 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10066 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10068 esac
10069 runpath_var='LD_RUN_PATH'
10070 hardcode_shlibpath_var=no
10073 sysv4.3*)
10074 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10075 hardcode_shlibpath_var=no
10076 export_dynamic_flag_spec='-Bexport'
10079 sysv4*MP*)
10080 if test -d /usr/nec; then
10081 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10082 hardcode_shlibpath_var=no
10083 runpath_var=LD_RUN_PATH
10084 hardcode_runpath_var=yes
10085 ld_shlibs=yes
10089 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10090 no_undefined_flag='${wl}-z,text'
10091 archive_cmds_need_lc=no
10092 hardcode_shlibpath_var=no
10093 runpath_var='LD_RUN_PATH'
10095 if test "$GCC" = yes; then
10096 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10097 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10098 else
10099 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10100 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10104 sysv5* | sco3.2v5* | sco5v6*)
10105 # Note: We can NOT use -z defs as we might desire, because we do not
10106 # link with -lc, and that would cause any symbols used from libc to
10107 # always be unresolved, which means just about no library would
10108 # ever link correctly. If we're not using GNU ld we use -z text
10109 # though, which does catch some bad symbols but isn't as heavy-handed
10110 # as -z defs.
10111 no_undefined_flag='${wl}-z,text'
10112 allow_undefined_flag='${wl}-z,nodefs'
10113 archive_cmds_need_lc=no
10114 hardcode_shlibpath_var=no
10115 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10116 hardcode_libdir_separator=':'
10117 link_all_deplibs=yes
10118 export_dynamic_flag_spec='${wl}-Bexport'
10119 runpath_var='LD_RUN_PATH'
10121 if test "$GCC" = yes; then
10122 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10123 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10124 else
10125 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10126 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10130 uts4*)
10131 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10132 hardcode_libdir_flag_spec='-L$libdir'
10133 hardcode_shlibpath_var=no
10137 ld_shlibs=no
10139 esac
10141 if test x$host_vendor = xsni; then
10142 case $host in
10143 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10144 export_dynamic_flag_spec='${wl}-Blargedynsym'
10146 esac
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10151 $as_echo "$ld_shlibs" >&6; }
10152 test "$ld_shlibs" = no && can_build_shared=no
10154 with_gnu_ld=$with_gnu_ld
10171 # Do we need to explicitly link libc?
10173 case "x$archive_cmds_need_lc" in
10174 x|xyes)
10175 # Assume -lc should be added
10176 archive_cmds_need_lc=yes
10178 if test "$enable_shared" = yes && test "$GCC" = yes; then
10179 case $archive_cmds in
10180 *'~'*)
10181 # FIXME: we may have to deal with multi-command sequences.
10183 '$CC '*)
10184 # Test whether the compiler implicitly links with -lc since on some
10185 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10186 # to ld, don't add -lc before -lgcc.
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10188 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10189 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10190 $as_echo_n "(cached) " >&6
10191 else
10192 $RM conftest*
10193 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10195 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10196 (eval $ac_compile) 2>&5
10197 ac_status=$?
10198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10199 test $ac_status = 0; } 2>conftest.err; then
10200 soname=conftest
10201 lib=conftest
10202 libobjs=conftest.$ac_objext
10203 deplibs=
10204 wl=$lt_prog_compiler_wl
10205 pic_flag=$lt_prog_compiler_pic
10206 compiler_flags=-v
10207 linker_flags=-v
10208 verstring=
10209 output_objdir=.
10210 libname=conftest
10211 lt_save_allow_undefined_flag=$allow_undefined_flag
10212 allow_undefined_flag=
10213 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10214 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10215 ac_status=$?
10216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10217 test $ac_status = 0; }
10218 then
10219 lt_cv_archive_cmds_need_lc=no
10220 else
10221 lt_cv_archive_cmds_need_lc=yes
10223 allow_undefined_flag=$lt_save_allow_undefined_flag
10224 else
10225 cat conftest.err 1>&5
10227 $RM conftest*
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10231 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10232 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10234 esac
10237 esac
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10396 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10398 if test "$GCC" = yes; then
10399 case $host_os in
10400 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10401 *) lt_awk_arg="/^libraries:/" ;;
10402 esac
10403 case $host_os in
10404 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10405 *) lt_sed_strip_eq="s,=/,/,g" ;;
10406 esac
10407 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10408 case $lt_search_path_spec in
10409 *\;*)
10410 # if the path contains ";" then we assume it to be the separator
10411 # otherwise default to the standard path separator (i.e. ":") - it is
10412 # assumed that no part of a normal pathname contains ";" but that should
10413 # okay in the real world where ";" in dirpaths is itself problematic.
10414 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10417 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10419 esac
10420 # Ok, now we have the path, separated by spaces, we can step through it
10421 # and add multilib dir if necessary.
10422 lt_tmp_lt_search_path_spec=
10423 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10424 for lt_sys_path in $lt_search_path_spec; do
10425 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10426 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10427 else
10428 test -d "$lt_sys_path" && \
10429 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10431 done
10432 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10433 BEGIN {RS=" "; FS="/|\n";} {
10434 lt_foo="";
10435 lt_count=0;
10436 for (lt_i = NF; lt_i > 0; lt_i--) {
10437 if ($lt_i != "" && $lt_i != ".") {
10438 if ($lt_i == "..") {
10439 lt_count++;
10440 } else {
10441 if (lt_count == 0) {
10442 lt_foo="/" $lt_i lt_foo;
10443 } else {
10444 lt_count--;
10449 if (lt_foo != "") { lt_freq[lt_foo]++; }
10450 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10452 # AWK program above erroneously prepends '/' to C:/dos/paths
10453 # for these hosts.
10454 case $host_os in
10455 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10456 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10457 esac
10458 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10459 else
10460 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10462 library_names_spec=
10463 libname_spec='lib$name'
10464 soname_spec=
10465 shrext_cmds=".so"
10466 postinstall_cmds=
10467 postuninstall_cmds=
10468 finish_cmds=
10469 finish_eval=
10470 shlibpath_var=
10471 shlibpath_overrides_runpath=unknown
10472 version_type=none
10473 dynamic_linker="$host_os ld.so"
10474 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10475 need_lib_prefix=unknown
10476 hardcode_into_libs=no
10478 # when you set need_version to no, make sure it does not cause -set_version
10479 # flags to be left without arguments
10480 need_version=unknown
10482 case $host_os in
10483 aix3*)
10484 version_type=linux
10485 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10486 shlibpath_var=LIBPATH
10488 # AIX 3 has no versioning support, so we append a major version to the name.
10489 soname_spec='${libname}${release}${shared_ext}$major'
10492 aix[4-9]*)
10493 version_type=linux
10494 need_lib_prefix=no
10495 need_version=no
10496 hardcode_into_libs=yes
10497 if test "$host_cpu" = ia64; then
10498 # AIX 5 supports IA64
10499 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10500 shlibpath_var=LD_LIBRARY_PATH
10501 else
10502 # With GCC up to 2.95.x, collect2 would create an import file
10503 # for dependence libraries. The import file would start with
10504 # the line `#! .'. This would cause the generated library to
10505 # depend on `.', always an invalid library. This was fixed in
10506 # development snapshots of GCC prior to 3.0.
10507 case $host_os in
10508 aix4 | aix4.[01] | aix4.[01].*)
10509 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10510 echo ' yes '
10511 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10513 else
10514 can_build_shared=no
10517 esac
10518 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10519 # soname into executable. Probably we can add versioning support to
10520 # collect2, so additional links can be useful in future.
10521 if test "$aix_use_runtimelinking" = yes; then
10522 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10523 # instead of lib<name>.a to let people know that these are not
10524 # typical AIX shared libraries.
10525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10526 else
10527 # We preserve .a as extension for shared libraries through AIX4.2
10528 # and later when we are not doing run time linking.
10529 library_names_spec='${libname}${release}.a $libname.a'
10530 soname_spec='${libname}${release}${shared_ext}$major'
10532 shlibpath_var=LIBPATH
10536 amigaos*)
10537 case $host_cpu in
10538 powerpc)
10539 # Since July 2007 AmigaOS4 officially supports .so libraries.
10540 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10541 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10543 m68k)
10544 library_names_spec='$libname.ixlibrary $libname.a'
10545 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10546 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'
10548 esac
10551 beos*)
10552 library_names_spec='${libname}${shared_ext}'
10553 dynamic_linker="$host_os ld.so"
10554 shlibpath_var=LIBRARY_PATH
10557 bsdi[45]*)
10558 version_type=linux
10559 need_version=no
10560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10561 soname_spec='${libname}${release}${shared_ext}$major'
10562 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10563 shlibpath_var=LD_LIBRARY_PATH
10564 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10565 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10566 # the default ld.so.conf also contains /usr/contrib/lib and
10567 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10568 # libtool to hard-code these into programs
10571 cygwin* | mingw* | pw32* | cegcc*)
10572 version_type=windows
10573 shrext_cmds=".dll"
10574 need_version=no
10575 need_lib_prefix=no
10577 case $GCC,$host_os in
10578 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10579 library_names_spec='$libname.dll.a'
10580 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10581 postinstall_cmds='base_file=`basename \${file}`~
10582 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10583 dldir=$destdir/`dirname \$dlpath`~
10584 test -d \$dldir || mkdir -p \$dldir~
10585 $install_prog $dir/$dlname \$dldir/$dlname~
10586 chmod a+x \$dldir/$dlname~
10587 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10588 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10590 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10591 dlpath=$dir/\$dldll~
10592 $RM \$dlpath'
10593 shlibpath_overrides_runpath=yes
10595 case $host_os in
10596 cygwin*)
10597 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10598 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10600 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10602 mingw* | cegcc*)
10603 # MinGW DLLs use traditional 'lib' prefix
10604 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10606 pw32*)
10607 # pw32 DLLs use 'pw' prefix rather than 'lib'
10608 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10610 esac
10614 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10616 esac
10617 dynamic_linker='Win32 ld.exe'
10618 # FIXME: first we should search . and the directory the executable is in
10619 shlibpath_var=PATH
10622 darwin* | rhapsody*)
10623 dynamic_linker="$host_os dyld"
10624 version_type=darwin
10625 need_lib_prefix=no
10626 need_version=no
10627 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10628 soname_spec='${libname}${release}${major}$shared_ext'
10629 shlibpath_overrides_runpath=yes
10630 shlibpath_var=DYLD_LIBRARY_PATH
10631 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10633 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10634 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10637 dgux*)
10638 version_type=linux
10639 need_lib_prefix=no
10640 need_version=no
10641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10642 soname_spec='${libname}${release}${shared_ext}$major'
10643 shlibpath_var=LD_LIBRARY_PATH
10646 freebsd* | dragonfly*)
10647 # DragonFly does not have aout. When/if they implement a new
10648 # versioning mechanism, adjust this.
10649 if test -x /usr/bin/objformat; then
10650 objformat=`/usr/bin/objformat`
10651 else
10652 case $host_os in
10653 freebsd[23].*) objformat=aout ;;
10654 *) objformat=elf ;;
10655 esac
10657 version_type=freebsd-$objformat
10658 case $version_type in
10659 freebsd-elf*)
10660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10661 need_version=no
10662 need_lib_prefix=no
10664 freebsd-*)
10665 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10666 need_version=yes
10668 esac
10669 shlibpath_var=LD_LIBRARY_PATH
10670 case $host_os in
10671 freebsd2.*)
10672 shlibpath_overrides_runpath=yes
10674 freebsd3.[01]* | freebsdelf3.[01]*)
10675 shlibpath_overrides_runpath=yes
10676 hardcode_into_libs=yes
10678 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10679 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10680 shlibpath_overrides_runpath=no
10681 hardcode_into_libs=yes
10683 *) # from 4.6 on, and DragonFly
10684 shlibpath_overrides_runpath=yes
10685 hardcode_into_libs=yes
10687 esac
10690 gnu*)
10691 version_type=linux
10692 need_lib_prefix=no
10693 need_version=no
10694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10695 soname_spec='${libname}${release}${shared_ext}$major'
10696 shlibpath_var=LD_LIBRARY_PATH
10697 hardcode_into_libs=yes
10700 haiku*)
10701 version_type=linux
10702 need_lib_prefix=no
10703 need_version=no
10704 dynamic_linker="$host_os runtime_loader"
10705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10706 soname_spec='${libname}${release}${shared_ext}$major'
10707 shlibpath_var=LIBRARY_PATH
10708 shlibpath_overrides_runpath=yes
10709 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10710 hardcode_into_libs=yes
10713 hpux9* | hpux10* | hpux11*)
10714 # Give a soname corresponding to the major version so that dld.sl refuses to
10715 # link against other versions.
10716 version_type=sunos
10717 need_lib_prefix=no
10718 need_version=no
10719 case $host_cpu in
10720 ia64*)
10721 shrext_cmds='.so'
10722 hardcode_into_libs=yes
10723 dynamic_linker="$host_os dld.so"
10724 shlibpath_var=LD_LIBRARY_PATH
10725 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10727 soname_spec='${libname}${release}${shared_ext}$major'
10728 if test "X$HPUX_IA64_MODE" = X32; then
10729 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10730 else
10731 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10733 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10735 hppa*64*)
10736 shrext_cmds='.sl'
10737 hardcode_into_libs=yes
10738 dynamic_linker="$host_os dld.sl"
10739 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10740 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10742 soname_spec='${libname}${release}${shared_ext}$major'
10743 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10744 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10747 shrext_cmds='.sl'
10748 dynamic_linker="$host_os dld.sl"
10749 shlibpath_var=SHLIB_PATH
10750 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10752 soname_spec='${libname}${release}${shared_ext}$major'
10754 esac
10755 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10756 postinstall_cmds='chmod 555 $lib'
10757 # or fails outright, so override atomically:
10758 install_override_mode=555
10761 interix[3-9]*)
10762 version_type=linux
10763 need_lib_prefix=no
10764 need_version=no
10765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10766 soname_spec='${libname}${release}${shared_ext}$major'
10767 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10768 shlibpath_var=LD_LIBRARY_PATH
10769 shlibpath_overrides_runpath=no
10770 hardcode_into_libs=yes
10773 irix5* | irix6* | nonstopux*)
10774 case $host_os in
10775 nonstopux*) version_type=nonstopux ;;
10777 if test "$lt_cv_prog_gnu_ld" = yes; then
10778 version_type=linux
10779 else
10780 version_type=irix
10781 fi ;;
10782 esac
10783 need_lib_prefix=no
10784 need_version=no
10785 soname_spec='${libname}${release}${shared_ext}$major'
10786 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10787 case $host_os in
10788 irix5* | nonstopux*)
10789 libsuff= shlibsuff=
10792 case $LD in # libtool.m4 will add one of these switches to LD
10793 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10794 libsuff= shlibsuff= libmagic=32-bit;;
10795 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10796 libsuff=32 shlibsuff=N32 libmagic=N32;;
10797 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10798 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10799 *) libsuff= shlibsuff= libmagic=never-match;;
10800 esac
10802 esac
10803 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10804 shlibpath_overrides_runpath=no
10805 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10806 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10807 hardcode_into_libs=yes
10810 # No shared lib support for Linux oldld, aout, or coff.
10811 linux*oldld* | linux*aout* | linux*coff*)
10812 dynamic_linker=no
10815 # This must be Linux ELF.
10816 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10817 version_type=linux
10818 need_lib_prefix=no
10819 need_version=no
10820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10821 soname_spec='${libname}${release}${shared_ext}$major'
10822 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10823 shlibpath_var=LD_LIBRARY_PATH
10824 shlibpath_overrides_runpath=no
10826 # Some binutils ld are patched to set DT_RUNPATH
10827 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10828 $as_echo_n "(cached) " >&6
10829 else
10830 lt_cv_shlibpath_overrides_runpath=no
10831 save_LDFLAGS=$LDFLAGS
10832 save_libdir=$libdir
10833 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10834 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10835 if test x$gcc_no_link = xyes; then
10836 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10839 /* end confdefs.h. */
10842 main ()
10846 return 0;
10848 _ACEOF
10849 if ac_fn_c_try_link "$LINENO"; then :
10850 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10851 lt_cv_shlibpath_overrides_runpath=yes
10854 rm -f core conftest.err conftest.$ac_objext \
10855 conftest$ac_exeext conftest.$ac_ext
10856 LDFLAGS=$save_LDFLAGS
10857 libdir=$save_libdir
10861 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10863 # This implies no fast_install, which is unacceptable.
10864 # Some rework will be needed to allow for fast_install
10865 # before this can be enabled.
10866 hardcode_into_libs=yes
10868 # Append ld.so.conf contents to the search path
10869 if test -f /etc/ld.so.conf; then
10870 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' ' '`
10871 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10874 # We used to test for /lib/ld.so.1 and disable shared libraries on
10875 # powerpc, because MkLinux only supported shared libraries with the
10876 # GNU dynamic linker. Since this was broken with cross compilers,
10877 # most powerpc-linux boxes support dynamic linking these days and
10878 # people can always --disable-shared, the test was removed, and we
10879 # assume the GNU/Linux dynamic linker is in use.
10880 dynamic_linker='GNU/Linux ld.so'
10883 netbsd*)
10884 version_type=sunos
10885 need_lib_prefix=no
10886 need_version=no
10887 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10889 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10890 dynamic_linker='NetBSD (a.out) ld.so'
10891 else
10892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10893 soname_spec='${libname}${release}${shared_ext}$major'
10894 dynamic_linker='NetBSD ld.elf_so'
10896 shlibpath_var=LD_LIBRARY_PATH
10897 shlibpath_overrides_runpath=yes
10898 hardcode_into_libs=yes
10901 newsos6)
10902 version_type=linux
10903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10904 shlibpath_var=LD_LIBRARY_PATH
10905 shlibpath_overrides_runpath=yes
10908 *nto* | *qnx*)
10909 version_type=qnx
10910 need_lib_prefix=no
10911 need_version=no
10912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10913 soname_spec='${libname}${release}${shared_ext}$major'
10914 shlibpath_var=LD_LIBRARY_PATH
10915 shlibpath_overrides_runpath=no
10916 hardcode_into_libs=yes
10917 dynamic_linker='ldqnx.so'
10920 openbsd*)
10921 version_type=sunos
10922 sys_lib_dlsearch_path_spec="/usr/lib"
10923 need_lib_prefix=no
10924 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10925 case $host_os in
10926 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10927 *) need_version=no ;;
10928 esac
10929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10930 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10931 shlibpath_var=LD_LIBRARY_PATH
10932 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10933 case $host_os in
10934 openbsd2.[89] | openbsd2.[89].*)
10935 shlibpath_overrides_runpath=no
10938 shlibpath_overrides_runpath=yes
10940 esac
10941 else
10942 shlibpath_overrides_runpath=yes
10946 os2*)
10947 libname_spec='$name'
10948 shrext_cmds=".dll"
10949 need_lib_prefix=no
10950 library_names_spec='$libname${shared_ext} $libname.a'
10951 dynamic_linker='OS/2 ld.exe'
10952 shlibpath_var=LIBPATH
10955 osf3* | osf4* | osf5*)
10956 version_type=osf
10957 need_lib_prefix=no
10958 need_version=no
10959 soname_spec='${libname}${release}${shared_ext}$major'
10960 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10961 shlibpath_var=LD_LIBRARY_PATH
10962 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10963 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10966 rdos*)
10967 dynamic_linker=no
10970 solaris*)
10971 version_type=linux
10972 need_lib_prefix=no
10973 need_version=no
10974 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10975 soname_spec='${libname}${release}${shared_ext}$major'
10976 shlibpath_var=LD_LIBRARY_PATH
10977 shlibpath_overrides_runpath=yes
10978 hardcode_into_libs=yes
10979 # ldd complains unless libraries are executable
10980 postinstall_cmds='chmod +x $lib'
10983 sunos4*)
10984 version_type=sunos
10985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10986 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10987 shlibpath_var=LD_LIBRARY_PATH
10988 shlibpath_overrides_runpath=yes
10989 if test "$with_gnu_ld" = yes; then
10990 need_lib_prefix=no
10992 need_version=yes
10995 sysv4 | sysv4.3*)
10996 version_type=linux
10997 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10998 soname_spec='${libname}${release}${shared_ext}$major'
10999 shlibpath_var=LD_LIBRARY_PATH
11000 case $host_vendor in
11001 sni)
11002 shlibpath_overrides_runpath=no
11003 need_lib_prefix=no
11004 runpath_var=LD_RUN_PATH
11006 siemens)
11007 need_lib_prefix=no
11009 motorola)
11010 need_lib_prefix=no
11011 need_version=no
11012 shlibpath_overrides_runpath=no
11013 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11015 esac
11018 sysv4*MP*)
11019 if test -d /usr/nec ;then
11020 version_type=linux
11021 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11022 soname_spec='$libname${shared_ext}.$major'
11023 shlibpath_var=LD_LIBRARY_PATH
11027 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11028 version_type=freebsd-elf
11029 need_lib_prefix=no
11030 need_version=no
11031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11032 soname_spec='${libname}${release}${shared_ext}$major'
11033 shlibpath_var=LD_LIBRARY_PATH
11034 shlibpath_overrides_runpath=yes
11035 hardcode_into_libs=yes
11036 if test "$with_gnu_ld" = yes; then
11037 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11038 else
11039 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11040 case $host_os in
11041 sco3.2v5*)
11042 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11044 esac
11046 sys_lib_dlsearch_path_spec='/usr/lib'
11049 tpf*)
11050 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11051 version_type=linux
11052 need_lib_prefix=no
11053 need_version=no
11054 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11055 shlibpath_var=LD_LIBRARY_PATH
11056 shlibpath_overrides_runpath=no
11057 hardcode_into_libs=yes
11060 uts4*)
11061 version_type=linux
11062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11063 soname_spec='${libname}${release}${shared_ext}$major'
11064 shlibpath_var=LD_LIBRARY_PATH
11068 dynamic_linker=no
11070 esac
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11072 $as_echo "$dynamic_linker" >&6; }
11073 test "$dynamic_linker" = no && can_build_shared=no
11075 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11076 if test "$GCC" = yes; then
11077 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11080 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11081 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11083 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11084 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11179 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11180 hardcode_action=
11181 if test -n "$hardcode_libdir_flag_spec" ||
11182 test -n "$runpath_var" ||
11183 test "X$hardcode_automatic" = "Xyes" ; then
11185 # We can hardcode non-existent directories.
11186 if test "$hardcode_direct" != no &&
11187 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11188 # have to relink, otherwise we might link with an installed library
11189 # when we should be linking with a yet-to-be-installed one
11190 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11191 test "$hardcode_minus_L" != no; then
11192 # Linking always hardcodes the temporary library directory.
11193 hardcode_action=relink
11194 else
11195 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11196 hardcode_action=immediate
11198 else
11199 # We cannot hardcode anything, or else we can only hardcode existing
11200 # directories.
11201 hardcode_action=unsupported
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11204 $as_echo "$hardcode_action" >&6; }
11206 if test "$hardcode_action" = relink ||
11207 test "$inherit_rpath" = yes; then
11208 # Fast installation is not supported
11209 enable_fast_install=no
11210 elif test "$shlibpath_overrides_runpath" = yes ||
11211 test "$enable_shared" = no; then
11212 # Fast installation is not necessary
11213 enable_fast_install=needless
11221 if test "x$enable_dlopen" != xyes; then
11222 enable_dlopen=unknown
11223 enable_dlopen_self=unknown
11224 enable_dlopen_self_static=unknown
11225 else
11226 lt_cv_dlopen=no
11227 lt_cv_dlopen_libs=
11229 case $host_os in
11230 beos*)
11231 lt_cv_dlopen="load_add_on"
11232 lt_cv_dlopen_libs=
11233 lt_cv_dlopen_self=yes
11236 mingw* | pw32* | cegcc*)
11237 lt_cv_dlopen="LoadLibrary"
11238 lt_cv_dlopen_libs=
11241 cygwin*)
11242 lt_cv_dlopen="dlopen"
11243 lt_cv_dlopen_libs=
11246 darwin*)
11247 # if libdl is installed we need to link against it
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11249 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11250 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11251 $as_echo_n "(cached) " >&6
11252 else
11253 ac_check_lib_save_LIBS=$LIBS
11254 LIBS="-ldl $LIBS"
11255 if test x$gcc_no_link = xyes; then
11256 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11259 /* end confdefs.h. */
11261 /* Override any GCC internal prototype to avoid an error.
11262 Use char because int might match the return type of a GCC
11263 builtin and then its argument prototype would still apply. */
11264 #ifdef __cplusplus
11265 extern "C"
11266 #endif
11267 char dlopen ();
11269 main ()
11271 return dlopen ();
11273 return 0;
11275 _ACEOF
11276 if ac_fn_c_try_link "$LINENO"; then :
11277 ac_cv_lib_dl_dlopen=yes
11278 else
11279 ac_cv_lib_dl_dlopen=no
11281 rm -f core conftest.err conftest.$ac_objext \
11282 conftest$ac_exeext conftest.$ac_ext
11283 LIBS=$ac_check_lib_save_LIBS
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11286 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11287 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11288 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11289 else
11291 lt_cv_dlopen="dyld"
11292 lt_cv_dlopen_libs=
11293 lt_cv_dlopen_self=yes
11300 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11301 if test "x$ac_cv_func_shl_load" = x""yes; then :
11302 lt_cv_dlopen="shl_load"
11303 else
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11305 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11306 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11307 $as_echo_n "(cached) " >&6
11308 else
11309 ac_check_lib_save_LIBS=$LIBS
11310 LIBS="-ldld $LIBS"
11311 if test x$gcc_no_link = xyes; then
11312 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11315 /* end confdefs.h. */
11317 /* Override any GCC internal prototype to avoid an error.
11318 Use char because int might match the return type of a GCC
11319 builtin and then its argument prototype would still apply. */
11320 #ifdef __cplusplus
11321 extern "C"
11322 #endif
11323 char shl_load ();
11325 main ()
11327 return shl_load ();
11329 return 0;
11331 _ACEOF
11332 if ac_fn_c_try_link "$LINENO"; then :
11333 ac_cv_lib_dld_shl_load=yes
11334 else
11335 ac_cv_lib_dld_shl_load=no
11337 rm -f core conftest.err conftest.$ac_objext \
11338 conftest$ac_exeext conftest.$ac_ext
11339 LIBS=$ac_check_lib_save_LIBS
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11342 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11343 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11344 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11345 else
11346 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11347 if test "x$ac_cv_func_dlopen" = x""yes; then :
11348 lt_cv_dlopen="dlopen"
11349 else
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11351 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11352 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11353 $as_echo_n "(cached) " >&6
11354 else
11355 ac_check_lib_save_LIBS=$LIBS
11356 LIBS="-ldl $LIBS"
11357 if test x$gcc_no_link = xyes; then
11358 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11361 /* end confdefs.h. */
11363 /* Override any GCC internal prototype to avoid an error.
11364 Use char because int might match the return type of a GCC
11365 builtin and then its argument prototype would still apply. */
11366 #ifdef __cplusplus
11367 extern "C"
11368 #endif
11369 char dlopen ();
11371 main ()
11373 return dlopen ();
11375 return 0;
11377 _ACEOF
11378 if ac_fn_c_try_link "$LINENO"; then :
11379 ac_cv_lib_dl_dlopen=yes
11380 else
11381 ac_cv_lib_dl_dlopen=no
11383 rm -f core conftest.err conftest.$ac_objext \
11384 conftest$ac_exeext conftest.$ac_ext
11385 LIBS=$ac_check_lib_save_LIBS
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11388 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11389 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11390 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11391 else
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11393 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11394 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11395 $as_echo_n "(cached) " >&6
11396 else
11397 ac_check_lib_save_LIBS=$LIBS
11398 LIBS="-lsvld $LIBS"
11399 if test x$gcc_no_link = xyes; then
11400 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11405 /* Override any GCC internal prototype to avoid an error.
11406 Use char because int might match the return type of a GCC
11407 builtin and then its argument prototype would still apply. */
11408 #ifdef __cplusplus
11409 extern "C"
11410 #endif
11411 char dlopen ();
11413 main ()
11415 return dlopen ();
11417 return 0;
11419 _ACEOF
11420 if ac_fn_c_try_link "$LINENO"; then :
11421 ac_cv_lib_svld_dlopen=yes
11422 else
11423 ac_cv_lib_svld_dlopen=no
11425 rm -f core conftest.err conftest.$ac_objext \
11426 conftest$ac_exeext conftest.$ac_ext
11427 LIBS=$ac_check_lib_save_LIBS
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11430 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11431 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11432 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11433 else
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11435 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11436 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11437 $as_echo_n "(cached) " >&6
11438 else
11439 ac_check_lib_save_LIBS=$LIBS
11440 LIBS="-ldld $LIBS"
11441 if test x$gcc_no_link = xyes; then
11442 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11445 /* end confdefs.h. */
11447 /* Override any GCC internal prototype to avoid an error.
11448 Use char because int might match the return type of a GCC
11449 builtin and then its argument prototype would still apply. */
11450 #ifdef __cplusplus
11451 extern "C"
11452 #endif
11453 char dld_link ();
11455 main ()
11457 return dld_link ();
11459 return 0;
11461 _ACEOF
11462 if ac_fn_c_try_link "$LINENO"; then :
11463 ac_cv_lib_dld_dld_link=yes
11464 else
11465 ac_cv_lib_dld_dld_link=no
11467 rm -f core conftest.err conftest.$ac_objext \
11468 conftest$ac_exeext conftest.$ac_ext
11469 LIBS=$ac_check_lib_save_LIBS
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11472 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11473 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11474 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11493 esac
11495 if test "x$lt_cv_dlopen" != xno; then
11496 enable_dlopen=yes
11497 else
11498 enable_dlopen=no
11501 case $lt_cv_dlopen in
11502 dlopen)
11503 save_CPPFLAGS="$CPPFLAGS"
11504 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11506 save_LDFLAGS="$LDFLAGS"
11507 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11509 save_LIBS="$LIBS"
11510 LIBS="$lt_cv_dlopen_libs $LIBS"
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11513 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11514 if test "${lt_cv_dlopen_self+set}" = set; then :
11515 $as_echo_n "(cached) " >&6
11516 else
11517 if test "$cross_compiling" = yes; then :
11518 lt_cv_dlopen_self=cross
11519 else
11520 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11521 lt_status=$lt_dlunknown
11522 cat > conftest.$ac_ext <<_LT_EOF
11523 #line 11523 "configure"
11524 #include "confdefs.h"
11526 #if HAVE_DLFCN_H
11527 #include <dlfcn.h>
11528 #endif
11530 #include <stdio.h>
11532 #ifdef RTLD_GLOBAL
11533 # define LT_DLGLOBAL RTLD_GLOBAL
11534 #else
11535 # ifdef DL_GLOBAL
11536 # define LT_DLGLOBAL DL_GLOBAL
11537 # else
11538 # define LT_DLGLOBAL 0
11539 # endif
11540 #endif
11542 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11543 find out it does not work in some platform. */
11544 #ifndef LT_DLLAZY_OR_NOW
11545 # ifdef RTLD_LAZY
11546 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11547 # else
11548 # ifdef DL_LAZY
11549 # define LT_DLLAZY_OR_NOW DL_LAZY
11550 # else
11551 # ifdef RTLD_NOW
11552 # define LT_DLLAZY_OR_NOW RTLD_NOW
11553 # else
11554 # ifdef DL_NOW
11555 # define LT_DLLAZY_OR_NOW DL_NOW
11556 # else
11557 # define LT_DLLAZY_OR_NOW 0
11558 # endif
11559 # endif
11560 # endif
11561 # endif
11562 #endif
11564 /* When -fvisbility=hidden is used, assume the code has been annotated
11565 correspondingly for the symbols needed. */
11566 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11567 void fnord () __attribute__((visibility("default")));
11568 #endif
11570 void fnord () { int i=42; }
11571 int main ()
11573 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11574 int status = $lt_dlunknown;
11576 if (self)
11578 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11579 else
11581 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11582 else puts (dlerror ());
11584 /* dlclose (self); */
11586 else
11587 puts (dlerror ());
11589 return status;
11591 _LT_EOF
11592 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11593 (eval $ac_link) 2>&5
11594 ac_status=$?
11595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11596 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11597 (./conftest; exit; ) >&5 2>/dev/null
11598 lt_status=$?
11599 case x$lt_status in
11600 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11601 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11602 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11603 esac
11604 else :
11605 # compilation failed
11606 lt_cv_dlopen_self=no
11609 rm -fr conftest*
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11614 $as_echo "$lt_cv_dlopen_self" >&6; }
11616 if test "x$lt_cv_dlopen_self" = xyes; then
11617 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11619 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11620 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11621 $as_echo_n "(cached) " >&6
11622 else
11623 if test "$cross_compiling" = yes; then :
11624 lt_cv_dlopen_self_static=cross
11625 else
11626 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11627 lt_status=$lt_dlunknown
11628 cat > conftest.$ac_ext <<_LT_EOF
11629 #line 11629 "configure"
11630 #include "confdefs.h"
11632 #if HAVE_DLFCN_H
11633 #include <dlfcn.h>
11634 #endif
11636 #include <stdio.h>
11638 #ifdef RTLD_GLOBAL
11639 # define LT_DLGLOBAL RTLD_GLOBAL
11640 #else
11641 # ifdef DL_GLOBAL
11642 # define LT_DLGLOBAL DL_GLOBAL
11643 # else
11644 # define LT_DLGLOBAL 0
11645 # endif
11646 #endif
11648 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11649 find out it does not work in some platform. */
11650 #ifndef LT_DLLAZY_OR_NOW
11651 # ifdef RTLD_LAZY
11652 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11653 # else
11654 # ifdef DL_LAZY
11655 # define LT_DLLAZY_OR_NOW DL_LAZY
11656 # else
11657 # ifdef RTLD_NOW
11658 # define LT_DLLAZY_OR_NOW RTLD_NOW
11659 # else
11660 # ifdef DL_NOW
11661 # define LT_DLLAZY_OR_NOW DL_NOW
11662 # else
11663 # define LT_DLLAZY_OR_NOW 0
11664 # endif
11665 # endif
11666 # endif
11667 # endif
11668 #endif
11670 /* When -fvisbility=hidden is used, assume the code has been annotated
11671 correspondingly for the symbols needed. */
11672 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11673 void fnord () __attribute__((visibility("default")));
11674 #endif
11676 void fnord () { int i=42; }
11677 int main ()
11679 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11680 int status = $lt_dlunknown;
11682 if (self)
11684 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11685 else
11687 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11688 else puts (dlerror ());
11690 /* dlclose (self); */
11692 else
11693 puts (dlerror ());
11695 return status;
11697 _LT_EOF
11698 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11699 (eval $ac_link) 2>&5
11700 ac_status=$?
11701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11702 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11703 (./conftest; exit; ) >&5 2>/dev/null
11704 lt_status=$?
11705 case x$lt_status in
11706 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11707 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11708 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11709 esac
11710 else :
11711 # compilation failed
11712 lt_cv_dlopen_self_static=no
11715 rm -fr conftest*
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11720 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11723 CPPFLAGS="$save_CPPFLAGS"
11724 LDFLAGS="$save_LDFLAGS"
11725 LIBS="$save_LIBS"
11727 esac
11729 case $lt_cv_dlopen_self in
11730 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11731 *) enable_dlopen_self=unknown ;;
11732 esac
11734 case $lt_cv_dlopen_self_static in
11735 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11736 *) enable_dlopen_self_static=unknown ;;
11737 esac
11756 striplib=
11757 old_striplib=
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11759 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11760 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11761 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11762 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11764 $as_echo "yes" >&6; }
11765 else
11766 # FIXME - insert some real tests, host_os isn't really good enough
11767 case $host_os in
11768 darwin*)
11769 if test -n "$STRIP" ; then
11770 striplib="$STRIP -x"
11771 old_striplib="$STRIP -S"
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11773 $as_echo "yes" >&6; }
11774 else
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11776 $as_echo "no" >&6; }
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11781 $as_echo "no" >&6; }
11783 esac
11797 # Report which library types will actually be built
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11799 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11801 $as_echo "$can_build_shared" >&6; }
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11804 $as_echo_n "checking whether to build shared libraries... " >&6; }
11805 test "$can_build_shared" = "no" && enable_shared=no
11807 # On AIX, shared libraries and static libraries use the same namespace, and
11808 # are all built from PIC.
11809 case $host_os in
11810 aix3*)
11811 test "$enable_shared" = yes && enable_static=no
11812 if test -n "$RANLIB"; then
11813 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11814 postinstall_cmds='$RANLIB $lib'
11818 aix[4-9]*)
11819 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11820 test "$enable_shared" = yes && enable_static=no
11823 esac
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11825 $as_echo "$enable_shared" >&6; }
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11828 $as_echo_n "checking whether to build static libraries... " >&6; }
11829 # Make sure either enable_shared or enable_static is yes.
11830 test "$enable_shared" = yes || enable_static=yes
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11832 $as_echo "$enable_static" >&6; }
11838 ac_ext=c
11839 ac_cpp='$CPP $CPPFLAGS'
11840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11844 CC="$lt_save_CC"
11846 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11847 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11848 (test "X$CXX" != "Xg++"))) ; then
11849 ac_ext=cpp
11850 ac_cpp='$CXXCPP $CPPFLAGS'
11851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11855 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11856 if test -z "$CXXCPP"; then
11857 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11858 $as_echo_n "(cached) " >&6
11859 else
11860 # Double quotes because CXXCPP needs to be expanded
11861 for CXXCPP in "$CXX -E" "/lib/cpp"
11863 ac_preproc_ok=false
11864 for ac_cxx_preproc_warn_flag in '' yes
11866 # Use a header file that comes with gcc, so configuring glibc
11867 # with a fresh cross-compiler works.
11868 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11869 # <limits.h> exists even on freestanding compilers.
11870 # On the NeXT, cc -E runs the code through the compiler's parser,
11871 # not just through cpp. "Syntax error" is here to catch this case.
11872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h. */
11874 #ifdef __STDC__
11875 # include <limits.h>
11876 #else
11877 # include <assert.h>
11878 #endif
11879 Syntax error
11880 _ACEOF
11881 if ac_fn_cxx_try_cpp "$LINENO"; then :
11883 else
11884 # Broken: fails on valid input.
11885 continue
11887 rm -f conftest.err conftest.$ac_ext
11889 # OK, works on sane cases. Now check whether nonexistent headers
11890 # can be detected and how.
11891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11892 /* end confdefs.h. */
11893 #include <ac_nonexistent.h>
11894 _ACEOF
11895 if ac_fn_cxx_try_cpp "$LINENO"; then :
11896 # Broken: success on invalid input.
11897 continue
11898 else
11899 # Passes both tests.
11900 ac_preproc_ok=:
11901 break
11903 rm -f conftest.err conftest.$ac_ext
11905 done
11906 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11907 rm -f conftest.err conftest.$ac_ext
11908 if $ac_preproc_ok; then :
11909 break
11912 done
11913 ac_cv_prog_CXXCPP=$CXXCPP
11916 CXXCPP=$ac_cv_prog_CXXCPP
11917 else
11918 ac_cv_prog_CXXCPP=$CXXCPP
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11921 $as_echo "$CXXCPP" >&6; }
11922 ac_preproc_ok=false
11923 for ac_cxx_preproc_warn_flag in '' yes
11925 # Use a header file that comes with gcc, so configuring glibc
11926 # with a fresh cross-compiler works.
11927 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11928 # <limits.h> exists even on freestanding compilers.
11929 # On the NeXT, cc -E runs the code through the compiler's parser,
11930 # not just through cpp. "Syntax error" is here to catch this case.
11931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11932 /* end confdefs.h. */
11933 #ifdef __STDC__
11934 # include <limits.h>
11935 #else
11936 # include <assert.h>
11937 #endif
11938 Syntax error
11939 _ACEOF
11940 if ac_fn_cxx_try_cpp "$LINENO"; then :
11942 else
11943 # Broken: fails on valid input.
11944 continue
11946 rm -f conftest.err conftest.$ac_ext
11948 # OK, works on sane cases. Now check whether nonexistent headers
11949 # can be detected and how.
11950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11951 /* end confdefs.h. */
11952 #include <ac_nonexistent.h>
11953 _ACEOF
11954 if ac_fn_cxx_try_cpp "$LINENO"; then :
11955 # Broken: success on invalid input.
11956 continue
11957 else
11958 # Passes both tests.
11959 ac_preproc_ok=:
11960 break
11962 rm -f conftest.err conftest.$ac_ext
11964 done
11965 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11966 rm -f conftest.err conftest.$ac_ext
11967 if $ac_preproc_ok; then :
11969 else
11970 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11972 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11973 See \`config.log' for more details." "$LINENO" 5; }
11976 ac_ext=c
11977 ac_cpp='$CPP $CPPFLAGS'
11978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11982 else
11983 _lt_caught_CXX_error=yes
11986 ac_ext=cpp
11987 ac_cpp='$CXXCPP $CPPFLAGS'
11988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11992 archive_cmds_need_lc_CXX=no
11993 allow_undefined_flag_CXX=
11994 always_export_symbols_CXX=no
11995 archive_expsym_cmds_CXX=
11996 compiler_needs_object_CXX=no
11997 export_dynamic_flag_spec_CXX=
11998 hardcode_direct_CXX=no
11999 hardcode_direct_absolute_CXX=no
12000 hardcode_libdir_flag_spec_CXX=
12001 hardcode_libdir_flag_spec_ld_CXX=
12002 hardcode_libdir_separator_CXX=
12003 hardcode_minus_L_CXX=no
12004 hardcode_shlibpath_var_CXX=unsupported
12005 hardcode_automatic_CXX=no
12006 inherit_rpath_CXX=no
12007 module_cmds_CXX=
12008 module_expsym_cmds_CXX=
12009 link_all_deplibs_CXX=unknown
12010 old_archive_cmds_CXX=$old_archive_cmds
12011 reload_flag_CXX=$reload_flag
12012 reload_cmds_CXX=$reload_cmds
12013 no_undefined_flag_CXX=
12014 whole_archive_flag_spec_CXX=
12015 enable_shared_with_static_runtimes_CXX=no
12017 # Source file extension for C++ test sources.
12018 ac_ext=cpp
12020 # Object file extension for compiled C++ test sources.
12021 objext=o
12022 objext_CXX=$objext
12024 # No sense in running all these tests if we already determined that
12025 # the CXX compiler isn't working. Some variables (like enable_shared)
12026 # are currently assumed to apply to all compilers on this platform,
12027 # and will be corrupted by setting them based on a non-working compiler.
12028 if test "$_lt_caught_CXX_error" != yes; then
12029 # Code to be used in simple compile tests
12030 lt_simple_compile_test_code="int some_variable = 0;"
12032 # Code to be used in simple link tests
12033 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12035 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12042 # If no C compiler was specified, use CC.
12043 LTCC=${LTCC-"$CC"}
12045 # If no C compiler flags were specified, use CFLAGS.
12046 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12048 # Allow CC to be a program name with arguments.
12049 compiler=$CC
12052 # save warnings/boilerplate of simple test code
12053 ac_outfile=conftest.$ac_objext
12054 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12055 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12056 _lt_compiler_boilerplate=`cat conftest.err`
12057 $RM conftest*
12059 ac_outfile=conftest.$ac_objext
12060 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12061 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12062 _lt_linker_boilerplate=`cat conftest.err`
12063 $RM -r conftest*
12066 # Allow CC to be a program name with arguments.
12067 lt_save_CC=$CC
12068 lt_save_LD=$LD
12069 lt_save_GCC=$GCC
12070 GCC=$GXX
12071 lt_save_with_gnu_ld=$with_gnu_ld
12072 lt_save_path_LD=$lt_cv_path_LD
12073 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12074 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12075 else
12076 $as_unset lt_cv_prog_gnu_ld
12078 if test -n "${lt_cv_path_LDCXX+set}"; then
12079 lt_cv_path_LD=$lt_cv_path_LDCXX
12080 else
12081 $as_unset lt_cv_path_LD
12083 test -z "${LDCXX+set}" || LD=$LDCXX
12084 CC=${CXX-"c++"}
12085 compiler=$CC
12086 compiler_CXX=$CC
12087 for cc_temp in $compiler""; do
12088 case $cc_temp in
12089 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12090 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12091 \-*) ;;
12092 *) break;;
12093 esac
12094 done
12095 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12098 if test -n "$compiler"; then
12099 # We don't want -fno-exception when compiling C++ code, so set the
12100 # no_builtin_flag separately
12101 if test "$GXX" = yes; then
12102 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12103 else
12104 lt_prog_compiler_no_builtin_flag_CXX=
12107 if test "$GXX" = yes; then
12108 # Set up default GNU C++ configuration
12112 # Check whether --with-gnu-ld was given.
12113 if test "${with_gnu_ld+set}" = set; then :
12114 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12115 else
12116 with_gnu_ld=no
12119 ac_prog=ld
12120 if test "$GCC" = yes; then
12121 # Check if gcc -print-prog-name=ld gives a path.
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12123 $as_echo_n "checking for ld used by $CC... " >&6; }
12124 case $host in
12125 *-*-mingw*)
12126 # gcc leaves a trailing carriage return which upsets mingw
12127 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12129 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12130 esac
12131 case $ac_prog in
12132 # Accept absolute paths.
12133 [\\/]* | ?:[\\/]*)
12134 re_direlt='/[^/][^/]*/\.\./'
12135 # Canonicalize the pathname of ld
12136 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12137 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12138 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12139 done
12140 test -z "$LD" && LD="$ac_prog"
12143 # If it fails, then pretend we aren't using GCC.
12144 ac_prog=ld
12147 # If it is relative, then search for the first ld in PATH.
12148 with_gnu_ld=unknown
12150 esac
12151 elif test "$with_gnu_ld" = yes; then
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12153 $as_echo_n "checking for GNU ld... " >&6; }
12154 else
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12156 $as_echo_n "checking for non-GNU ld... " >&6; }
12158 if test "${lt_cv_path_LD+set}" = set; then :
12159 $as_echo_n "(cached) " >&6
12160 else
12161 if test -z "$LD"; then
12162 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12163 for ac_dir in $PATH; do
12164 IFS="$lt_save_ifs"
12165 test -z "$ac_dir" && ac_dir=.
12166 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12167 lt_cv_path_LD="$ac_dir/$ac_prog"
12168 # Check to see if the program is GNU ld. I'd rather use --version,
12169 # but apparently some variants of GNU ld only accept -v.
12170 # Break only if it was the GNU/non-GNU ld that we prefer.
12171 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12172 *GNU* | *'with BFD'*)
12173 test "$with_gnu_ld" != no && break
12176 test "$with_gnu_ld" != yes && break
12178 esac
12180 done
12181 IFS="$lt_save_ifs"
12182 else
12183 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12187 LD="$lt_cv_path_LD"
12188 if test -n "$LD"; then
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12190 $as_echo "$LD" >&6; }
12191 else
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12193 $as_echo "no" >&6; }
12195 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12197 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12198 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12199 $as_echo_n "(cached) " >&6
12200 else
12201 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12202 case `$LD -v 2>&1 </dev/null` in
12203 *GNU* | *'with BFD'*)
12204 lt_cv_prog_gnu_ld=yes
12207 lt_cv_prog_gnu_ld=no
12209 esac
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12212 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12213 with_gnu_ld=$lt_cv_prog_gnu_ld
12221 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12222 # archiving commands below assume that GNU ld is being used.
12223 if test "$with_gnu_ld" = yes; then
12224 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12225 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'
12227 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12228 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12230 # If archive_cmds runs LD, not CC, wlarc should be empty
12231 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12232 # investigate it a little bit more. (MM)
12233 wlarc='${wl}'
12235 # ancient GNU ld didn't support --whole-archive et. al.
12236 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12237 $GREP 'no-whole-archive' > /dev/null; then
12238 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12239 else
12240 whole_archive_flag_spec_CXX=
12242 else
12243 with_gnu_ld=no
12244 wlarc=
12246 # A generic and very simple default shared library creation
12247 # command for GNU C++ for the case where it uses the native
12248 # linker, instead of GNU ld. If possible, this setting should
12249 # overridden to take advantage of the native linker features on
12250 # the platform it is being used on.
12251 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12254 # Commands to make compiler produce verbose output that lists
12255 # what "hidden" libraries, object files and flags are used when
12256 # linking a shared library.
12257 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12259 else
12260 GXX=no
12261 with_gnu_ld=no
12262 wlarc=
12265 # PORTME: fill in a description of your system's C++ link characteristics
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12267 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12268 ld_shlibs_CXX=yes
12269 case $host_os in
12270 aix3*)
12271 # FIXME: insert proper C++ library support
12272 ld_shlibs_CXX=no
12274 aix[4-9]*)
12275 if test "$host_cpu" = ia64; then
12276 # On IA64, the linker does run time linking by default, so we don't
12277 # have to do anything special.
12278 aix_use_runtimelinking=no
12279 exp_sym_flag='-Bexport'
12280 no_entry_flag=""
12281 else
12282 aix_use_runtimelinking=no
12284 # Test if we are trying to use run time linking or normal
12285 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12286 # need to do runtime linking.
12287 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12288 for ld_flag in $LDFLAGS; do
12289 case $ld_flag in
12290 *-brtl*)
12291 aix_use_runtimelinking=yes
12292 break
12294 esac
12295 done
12297 esac
12299 exp_sym_flag='-bexport'
12300 no_entry_flag='-bnoentry'
12303 # When large executables or shared objects are built, AIX ld can
12304 # have problems creating the table of contents. If linking a library
12305 # or program results in "error TOC overflow" add -mminimal-toc to
12306 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12307 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12309 archive_cmds_CXX=''
12310 hardcode_direct_CXX=yes
12311 hardcode_direct_absolute_CXX=yes
12312 hardcode_libdir_separator_CXX=':'
12313 link_all_deplibs_CXX=yes
12314 file_list_spec_CXX='${wl}-f,'
12316 if test "$GXX" = yes; then
12317 case $host_os in aix4.[012]|aix4.[012].*)
12318 # We only want to do this on AIX 4.2 and lower, the check
12319 # below for broken collect2 doesn't work under 4.3+
12320 collect2name=`${CC} -print-prog-name=collect2`
12321 if test -f "$collect2name" &&
12322 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12323 then
12324 # We have reworked collect2
12326 else
12327 # We have old collect2
12328 hardcode_direct_CXX=unsupported
12329 # It fails to find uninstalled libraries when the uninstalled
12330 # path is not listed in the libpath. Setting hardcode_minus_L
12331 # to unsupported forces relinking
12332 hardcode_minus_L_CXX=yes
12333 hardcode_libdir_flag_spec_CXX='-L$libdir'
12334 hardcode_libdir_separator_CXX=
12336 esac
12337 shared_flag='-shared'
12338 if test "$aix_use_runtimelinking" = yes; then
12339 shared_flag="$shared_flag "'${wl}-G'
12341 else
12342 # not using gcc
12343 if test "$host_cpu" = ia64; then
12344 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12345 # chokes on -Wl,-G. The following line is correct:
12346 shared_flag='-G'
12347 else
12348 if test "$aix_use_runtimelinking" = yes; then
12349 shared_flag='${wl}-G'
12350 else
12351 shared_flag='${wl}-bM:SRE'
12356 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12357 # It seems that -bexpall does not export symbols beginning with
12358 # underscore (_), so it is better to generate a list of symbols to
12359 # export.
12360 always_export_symbols_CXX=yes
12361 if test "$aix_use_runtimelinking" = yes; then
12362 # Warning - without using the other runtime loading flags (-brtl),
12363 # -berok will link without error, but may produce a broken library.
12364 allow_undefined_flag_CXX='-berok'
12365 # Determine the default libpath from the value encoded in an empty
12366 # executable.
12367 if test x$gcc_no_link = xyes; then
12368 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12371 /* end confdefs.h. */
12374 main ()
12378 return 0;
12380 _ACEOF
12381 if ac_fn_cxx_try_link "$LINENO"; then :
12383 lt_aix_libpath_sed='
12384 /Import File Strings/,/^$/ {
12385 /^0/ {
12386 s/^0 *\(.*\)$/\1/
12390 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12391 # Check for a 64-bit object if we didn't find anything.
12392 if test -z "$aix_libpath"; then
12393 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12396 rm -f core conftest.err conftest.$ac_objext \
12397 conftest$ac_exeext conftest.$ac_ext
12398 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12400 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12402 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"
12403 else
12404 if test "$host_cpu" = ia64; then
12405 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12406 allow_undefined_flag_CXX="-z nodefs"
12407 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"
12408 else
12409 # Determine the default libpath from the value encoded in an
12410 # empty executable.
12411 if test x$gcc_no_link = xyes; then
12412 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12415 /* end confdefs.h. */
12418 main ()
12422 return 0;
12424 _ACEOF
12425 if ac_fn_cxx_try_link "$LINENO"; then :
12427 lt_aix_libpath_sed='
12428 /Import File Strings/,/^$/ {
12429 /^0/ {
12430 s/^0 *\(.*\)$/\1/
12434 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12435 # Check for a 64-bit object if we didn't find anything.
12436 if test -z "$aix_libpath"; then
12437 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12440 rm -f core conftest.err conftest.$ac_objext \
12441 conftest$ac_exeext conftest.$ac_ext
12442 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12444 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12445 # Warning - without using the other run time loading flags,
12446 # -berok will link without error, but may produce a broken library.
12447 no_undefined_flag_CXX=' ${wl}-bernotok'
12448 allow_undefined_flag_CXX=' ${wl}-berok'
12449 if test "$with_gnu_ld" = yes; then
12450 # We only use this code for GNU lds that support --whole-archive.
12451 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12452 else
12453 # Exported symbols can be pulled into shared objects from archives
12454 whole_archive_flag_spec_CXX='$convenience'
12456 archive_cmds_need_lc_CXX=yes
12457 # This is similar to how AIX traditionally builds its shared
12458 # libraries.
12459 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'
12464 beos*)
12465 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12466 allow_undefined_flag_CXX=unsupported
12467 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12468 # support --undefined. This deserves some investigation. FIXME
12469 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12470 else
12471 ld_shlibs_CXX=no
12475 chorus*)
12476 case $cc_basename in
12478 # FIXME: insert proper C++ library support
12479 ld_shlibs_CXX=no
12481 esac
12484 cygwin* | mingw* | pw32* | cegcc*)
12485 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12486 # as there is no search path for DLLs.
12487 hardcode_libdir_flag_spec_CXX='-L$libdir'
12488 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12489 allow_undefined_flag_CXX=unsupported
12490 always_export_symbols_CXX=no
12491 enable_shared_with_static_runtimes_CXX=yes
12493 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12494 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'
12495 # If the export-symbols file already is a .def file (1st line
12496 # is EXPORTS), use it as is; otherwise, prepend...
12497 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12498 cp $export_symbols $output_objdir/$soname.def;
12499 else
12500 echo EXPORTS > $output_objdir/$soname.def;
12501 cat $export_symbols >> $output_objdir/$soname.def;
12503 $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'
12504 else
12505 ld_shlibs_CXX=no
12508 darwin* | rhapsody*)
12511 archive_cmds_need_lc_CXX=no
12512 hardcode_direct_CXX=no
12513 hardcode_automatic_CXX=yes
12514 hardcode_shlibpath_var_CXX=unsupported
12515 if test "$lt_cv_ld_force_load" = "yes"; then
12516 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\"`'
12517 else
12518 whole_archive_flag_spec_CXX=''
12520 link_all_deplibs_CXX=yes
12521 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12522 case $cc_basename in
12523 ifort*) _lt_dar_can_shared=yes ;;
12524 *) _lt_dar_can_shared=$GCC ;;
12525 esac
12526 if test "$_lt_dar_can_shared" = "yes"; then
12527 output_verbose_link_cmd=func_echo_all
12528 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}"
12529 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12530 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}"
12531 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}"
12532 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12533 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}"
12534 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}"
12537 else
12538 ld_shlibs_CXX=no
12543 dgux*)
12544 case $cc_basename in
12545 ec++*)
12546 # FIXME: insert proper C++ library support
12547 ld_shlibs_CXX=no
12549 ghcx*)
12550 # Green Hills C++ Compiler
12551 # FIXME: insert proper C++ library support
12552 ld_shlibs_CXX=no
12555 # FIXME: insert proper C++ library support
12556 ld_shlibs_CXX=no
12558 esac
12561 freebsd2.*)
12562 # C++ shared libraries reported to be fairly broken before
12563 # switch to ELF
12564 ld_shlibs_CXX=no
12567 freebsd-elf*)
12568 archive_cmds_need_lc_CXX=no
12571 freebsd* | dragonfly*)
12572 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12573 # conventions
12574 ld_shlibs_CXX=yes
12577 gnu*)
12580 haiku*)
12581 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12582 link_all_deplibs_CXX=yes
12585 hpux9*)
12586 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12587 hardcode_libdir_separator_CXX=:
12588 export_dynamic_flag_spec_CXX='${wl}-E'
12589 hardcode_direct_CXX=yes
12590 hardcode_minus_L_CXX=yes # Not in the search PATH,
12591 # but as the default
12592 # location of the library.
12594 case $cc_basename in
12595 CC*)
12596 # FIXME: insert proper C++ library support
12597 ld_shlibs_CXX=no
12599 aCC*)
12600 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'
12601 # Commands to make compiler produce verbose output that lists
12602 # what "hidden" libraries, object files and flags are used when
12603 # linking a shared library.
12605 # There doesn't appear to be a way to prevent this compiler from
12606 # explicitly linking system object files so we need to strip them
12607 # from the output so that they don't get included in the library
12608 # dependencies.
12609 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"'
12612 if test "$GXX" = yes; then
12613 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'
12614 else
12615 # FIXME: insert proper C++ library support
12616 ld_shlibs_CXX=no
12619 esac
12622 hpux10*|hpux11*)
12623 if test $with_gnu_ld = no; then
12624 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12625 hardcode_libdir_separator_CXX=:
12627 case $host_cpu in
12628 hppa*64*|ia64*)
12631 export_dynamic_flag_spec_CXX='${wl}-E'
12633 esac
12635 case $host_cpu in
12636 hppa*64*|ia64*)
12637 hardcode_direct_CXX=no
12638 hardcode_shlibpath_var_CXX=no
12641 hardcode_direct_CXX=yes
12642 hardcode_direct_absolute_CXX=yes
12643 hardcode_minus_L_CXX=yes # Not in the search PATH,
12644 # but as the default
12645 # location of the library.
12647 esac
12649 case $cc_basename in
12650 CC*)
12651 # FIXME: insert proper C++ library support
12652 ld_shlibs_CXX=no
12654 aCC*)
12655 case $host_cpu in
12656 hppa*64*)
12657 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12659 ia64*)
12660 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12663 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12665 esac
12666 # Commands to make compiler produce verbose output that lists
12667 # what "hidden" libraries, object files and flags are used when
12668 # linking a shared library.
12670 # There doesn't appear to be a way to prevent this compiler from
12671 # explicitly linking system object files so we need to strip them
12672 # from the output so that they don't get included in the library
12673 # dependencies.
12674 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"'
12677 if test "$GXX" = yes; then
12678 if test $with_gnu_ld = no; then
12679 case $host_cpu in
12680 hppa*64*)
12681 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12683 ia64*)
12684 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12687 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'
12689 esac
12691 else
12692 # FIXME: insert proper C++ library support
12693 ld_shlibs_CXX=no
12696 esac
12699 interix[3-9]*)
12700 hardcode_direct_CXX=no
12701 hardcode_shlibpath_var_CXX=no
12702 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12703 export_dynamic_flag_spec_CXX='${wl}-E'
12704 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12705 # Instead, shared libraries are loaded at an image base (0x10000000 by
12706 # default) and relocated if they conflict, which is a slow very memory
12707 # consuming and fragmenting process. To avoid this, we pick a random,
12708 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12709 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12710 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'
12711 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'
12713 irix5* | irix6*)
12714 case $cc_basename in
12715 CC*)
12716 # SGI C++
12717 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'
12719 # Archives containing C++ object files must be created using
12720 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12721 # necessary to make sure instantiated templates are included
12722 # in the archive.
12723 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12726 if test "$GXX" = yes; then
12727 if test "$with_gnu_ld" = no; then
12728 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'
12729 else
12730 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'
12733 link_all_deplibs_CXX=yes
12735 esac
12736 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12737 hardcode_libdir_separator_CXX=:
12738 inherit_rpath_CXX=yes
12741 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12742 case $cc_basename in
12743 KCC*)
12744 # Kuck and Associates, Inc. (KAI) C++ Compiler
12746 # KCC will only create a shared library if the output file
12747 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12748 # to its proper name (with version) after linking.
12749 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'
12750 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'
12751 # Commands to make compiler produce verbose output that lists
12752 # what "hidden" libraries, object files and flags are used when
12753 # linking a shared library.
12755 # There doesn't appear to be a way to prevent this compiler from
12756 # explicitly linking system object files so we need to strip them
12757 # from the output so that they don't get included in the library
12758 # dependencies.
12759 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"'
12761 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12762 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12764 # Archives containing C++ object files must be created using
12765 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12766 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12768 icpc* | ecpc* )
12769 # Intel C++
12770 with_gnu_ld=yes
12771 # version 8.0 and above of icpc choke on multiply defined symbols
12772 # if we add $predep_objects and $postdep_objects, however 7.1 and
12773 # earlier do not add the objects themselves.
12774 case `$CC -V 2>&1` in
12775 *"Version 7."*)
12776 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12777 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'
12779 *) # Version 8.0 or newer
12780 tmp_idyn=
12781 case $host_cpu in
12782 ia64*) tmp_idyn=' -i_dynamic';;
12783 esac
12784 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12785 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'
12787 esac
12788 archive_cmds_need_lc_CXX=no
12789 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12790 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12791 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12793 pgCC* | pgcpp*)
12794 # Portland Group C++ compiler
12795 case `$CC -V` in
12796 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12797 prelink_cmds_CXX='tpldir=Template.dir~
12798 rm -rf $tpldir~
12799 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12800 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12801 old_archive_cmds_CXX='tpldir=Template.dir~
12802 rm -rf $tpldir~
12803 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12804 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12805 $RANLIB $oldlib'
12806 archive_cmds_CXX='tpldir=Template.dir~
12807 rm -rf $tpldir~
12808 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12809 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12810 archive_expsym_cmds_CXX='tpldir=Template.dir~
12811 rm -rf $tpldir~
12812 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12813 $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'
12815 *) # Version 6 and above use weak symbols
12816 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12817 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'
12819 esac
12821 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12822 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12823 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'
12825 cxx*)
12826 # Compaq C++
12827 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12828 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'
12830 runpath_var=LD_RUN_PATH
12831 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12832 hardcode_libdir_separator_CXX=:
12834 # Commands to make compiler produce verbose output that lists
12835 # what "hidden" libraries, object files and flags are used when
12836 # linking a shared library.
12838 # There doesn't appear to be a way to prevent this compiler from
12839 # explicitly linking system object files so we need to strip them
12840 # from the output so that they don't get included in the library
12841 # dependencies.
12842 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'
12844 xl* | mpixl* | bgxl*)
12845 # IBM XL 8.0 on PPC, with GNU ld
12846 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12847 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12848 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12849 if test "x$supports_anon_versioning" = xyes; then
12850 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12851 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12852 echo "local: *; };" >> $output_objdir/$libname.ver~
12853 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12857 case `$CC -V 2>&1 | sed 5q` in
12858 *Sun\ C*)
12859 # Sun C++ 5.9
12860 no_undefined_flag_CXX=' -zdefs'
12861 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12862 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'
12863 hardcode_libdir_flag_spec_CXX='-R$libdir'
12864 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'
12865 compiler_needs_object_CXX=yes
12867 # Not sure whether something based on
12868 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12869 # would be better.
12870 output_verbose_link_cmd='func_echo_all'
12872 # Archives containing C++ object files must be created using
12873 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12874 # necessary to make sure instantiated templates are included
12875 # in the archive.
12876 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12878 esac
12880 esac
12883 lynxos*)
12884 # FIXME: insert proper C++ library support
12885 ld_shlibs_CXX=no
12888 m88k*)
12889 # FIXME: insert proper C++ library support
12890 ld_shlibs_CXX=no
12893 mvs*)
12894 case $cc_basename in
12895 cxx*)
12896 # FIXME: insert proper C++ library support
12897 ld_shlibs_CXX=no
12900 # FIXME: insert proper C++ library support
12901 ld_shlibs_CXX=no
12903 esac
12906 netbsd*)
12907 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12908 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12909 wlarc=
12910 hardcode_libdir_flag_spec_CXX='-R$libdir'
12911 hardcode_direct_CXX=yes
12912 hardcode_shlibpath_var_CXX=no
12914 # Workaround some broken pre-1.5 toolchains
12915 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12918 *nto* | *qnx*)
12919 ld_shlibs_CXX=yes
12922 openbsd2*)
12923 # C++ shared libraries are fairly broken
12924 ld_shlibs_CXX=no
12927 openbsd*)
12928 if test -f /usr/libexec/ld.so; then
12929 hardcode_direct_CXX=yes
12930 hardcode_shlibpath_var_CXX=no
12931 hardcode_direct_absolute_CXX=yes
12932 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12933 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12934 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12935 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12936 export_dynamic_flag_spec_CXX='${wl}-E'
12937 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12939 output_verbose_link_cmd=func_echo_all
12940 else
12941 ld_shlibs_CXX=no
12945 osf3* | osf4* | osf5*)
12946 case $cc_basename in
12947 KCC*)
12948 # Kuck and Associates, Inc. (KAI) C++ Compiler
12950 # KCC will only create a shared library if the output file
12951 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12952 # to its proper name (with version) after linking.
12953 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'
12955 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12956 hardcode_libdir_separator_CXX=:
12958 # Archives containing C++ object files must be created using
12959 # the KAI C++ compiler.
12960 case $host in
12961 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12962 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12963 esac
12965 RCC*)
12966 # Rational C++ 2.4.1
12967 # FIXME: insert proper C++ library support
12968 ld_shlibs_CXX=no
12970 cxx*)
12971 case $host in
12972 osf3*)
12973 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12974 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'
12975 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12978 allow_undefined_flag_CXX=' -expect_unresolved \*'
12979 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'
12980 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12981 echo "-hidden">> $lib.exp~
12982 $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~
12983 $RM $lib.exp'
12984 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12986 esac
12988 hardcode_libdir_separator_CXX=:
12990 # Commands to make compiler produce verbose output that lists
12991 # what "hidden" libraries, object files and flags are used when
12992 # linking a shared library.
12994 # There doesn't appear to be a way to prevent this compiler from
12995 # explicitly linking system object files so we need to strip them
12996 # from the output so that they don't get included in the library
12997 # dependencies.
12998 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"'
13001 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13002 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13003 case $host in
13004 osf3*)
13005 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'
13008 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'
13010 esac
13012 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13013 hardcode_libdir_separator_CXX=:
13015 # Commands to make compiler produce verbose output that lists
13016 # what "hidden" libraries, object files and flags are used when
13017 # linking a shared library.
13018 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13020 else
13021 # FIXME: insert proper C++ library support
13022 ld_shlibs_CXX=no
13025 esac
13028 psos*)
13029 # FIXME: insert proper C++ library support
13030 ld_shlibs_CXX=no
13033 sunos4*)
13034 case $cc_basename in
13035 CC*)
13036 # Sun C++ 4.x
13037 # FIXME: insert proper C++ library support
13038 ld_shlibs_CXX=no
13040 lcc*)
13041 # Lucid
13042 # FIXME: insert proper C++ library support
13043 ld_shlibs_CXX=no
13046 # FIXME: insert proper C++ library support
13047 ld_shlibs_CXX=no
13049 esac
13052 solaris*)
13053 case $cc_basename in
13054 CC*)
13055 # Sun C++ 4.2, 5.x and Centerline C++
13056 archive_cmds_need_lc_CXX=yes
13057 no_undefined_flag_CXX=' -zdefs'
13058 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13059 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13060 $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'
13062 hardcode_libdir_flag_spec_CXX='-R$libdir'
13063 hardcode_shlibpath_var_CXX=no
13064 case $host_os in
13065 solaris2.[0-5] | solaris2.[0-5].*) ;;
13067 # The compiler driver will combine and reorder linker options,
13068 # but understands `-z linker_flag'.
13069 # Supported since Solaris 2.6 (maybe 2.5.1?)
13070 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13072 esac
13073 link_all_deplibs_CXX=yes
13075 output_verbose_link_cmd='func_echo_all'
13077 # Archives containing C++ object files must be created using
13078 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13079 # necessary to make sure instantiated templates are included
13080 # in the archive.
13081 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13083 gcx*)
13084 # Green Hills C++ Compiler
13085 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13087 # The C++ compiler must be used to create the archive.
13088 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13091 # GNU C++ compiler with Solaris linker
13092 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13093 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13094 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13095 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13096 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13097 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13099 # Commands to make compiler produce verbose output that lists
13100 # what "hidden" libraries, object files and flags are used when
13101 # linking a shared library.
13102 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13103 else
13104 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13105 # platform.
13106 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13107 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13108 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13110 # Commands to make compiler produce verbose output that lists
13111 # what "hidden" libraries, object files and flags are used when
13112 # linking a shared library.
13113 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13116 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13117 case $host_os in
13118 solaris2.[0-5] | solaris2.[0-5].*) ;;
13120 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13122 esac
13125 esac
13128 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13129 no_undefined_flag_CXX='${wl}-z,text'
13130 archive_cmds_need_lc_CXX=no
13131 hardcode_shlibpath_var_CXX=no
13132 runpath_var='LD_RUN_PATH'
13134 case $cc_basename in
13135 CC*)
13136 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13137 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13140 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13141 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13143 esac
13146 sysv5* | sco3.2v5* | sco5v6*)
13147 # Note: We can NOT use -z defs as we might desire, because we do not
13148 # link with -lc, and that would cause any symbols used from libc to
13149 # always be unresolved, which means just about no library would
13150 # ever link correctly. If we're not using GNU ld we use -z text
13151 # though, which does catch some bad symbols but isn't as heavy-handed
13152 # as -z defs.
13153 no_undefined_flag_CXX='${wl}-z,text'
13154 allow_undefined_flag_CXX='${wl}-z,nodefs'
13155 archive_cmds_need_lc_CXX=no
13156 hardcode_shlibpath_var_CXX=no
13157 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13158 hardcode_libdir_separator_CXX=':'
13159 link_all_deplibs_CXX=yes
13160 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13161 runpath_var='LD_RUN_PATH'
13163 case $cc_basename in
13164 CC*)
13165 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13166 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13167 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13168 '"$old_archive_cmds_CXX"
13169 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13170 '"$reload_cmds_CXX"
13173 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13174 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13176 esac
13179 tandem*)
13180 case $cc_basename in
13181 NCC*)
13182 # NonStop-UX NCC 3.20
13183 # FIXME: insert proper C++ library support
13184 ld_shlibs_CXX=no
13187 # FIXME: insert proper C++ library support
13188 ld_shlibs_CXX=no
13190 esac
13193 vxworks*)
13194 # FIXME: insert proper C++ library support
13195 ld_shlibs_CXX=no
13199 # FIXME: insert proper C++ library support
13200 ld_shlibs_CXX=no
13202 esac
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13205 $as_echo "$ld_shlibs_CXX" >&6; }
13206 test "$ld_shlibs_CXX" = no && can_build_shared=no
13208 GCC_CXX="$GXX"
13209 LD_CXX="$LD"
13211 ## CAVEAT EMPTOR:
13212 ## There is no encapsulation within the following macros, do not change
13213 ## the running order or otherwise move them around unless you know exactly
13214 ## what you are doing...
13215 # Dependencies to place before and after the object being linked:
13216 predep_objects_CXX=
13217 postdep_objects_CXX=
13218 predeps_CXX=
13219 postdeps_CXX=
13220 compiler_lib_search_path_CXX=
13222 cat > conftest.$ac_ext <<_LT_EOF
13223 class Foo
13225 public:
13226 Foo (void) { a = 0; }
13227 private:
13228 int a;
13230 _LT_EOF
13232 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13233 (eval $ac_compile) 2>&5
13234 ac_status=$?
13235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13236 test $ac_status = 0; }; then
13237 # Parse the compiler output and extract the necessary
13238 # objects, libraries and library flags.
13240 # Sentinel used to keep track of whether or not we are before
13241 # the conftest object file.
13242 pre_test_object_deps_done=no
13244 for p in `eval "$output_verbose_link_cmd"`; do
13245 case $p in
13247 -L* | -R* | -l*)
13248 # Some compilers place space between "-{L,R}" and the path.
13249 # Remove the space.
13250 if test $p = "-L" ||
13251 test $p = "-R"; then
13252 prev=$p
13253 continue
13254 else
13255 prev=
13258 if test "$pre_test_object_deps_done" = no; then
13259 case $p in
13260 -L* | -R*)
13261 # Internal compiler library paths should come after those
13262 # provided the user. The postdeps already come after the
13263 # user supplied libs so there is no need to process them.
13264 if test -z "$compiler_lib_search_path_CXX"; then
13265 compiler_lib_search_path_CXX="${prev}${p}"
13266 else
13267 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13270 # The "-l" case would never come before the object being
13271 # linked, so don't bother handling this case.
13272 esac
13273 else
13274 if test -z "$postdeps_CXX"; then
13275 postdeps_CXX="${prev}${p}"
13276 else
13277 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13282 *.$objext)
13283 # This assumes that the test object file only shows up
13284 # once in the compiler output.
13285 if test "$p" = "conftest.$objext"; then
13286 pre_test_object_deps_done=yes
13287 continue
13290 if test "$pre_test_object_deps_done" = no; then
13291 if test -z "$predep_objects_CXX"; then
13292 predep_objects_CXX="$p"
13293 else
13294 predep_objects_CXX="$predep_objects_CXX $p"
13296 else
13297 if test -z "$postdep_objects_CXX"; then
13298 postdep_objects_CXX="$p"
13299 else
13300 postdep_objects_CXX="$postdep_objects_CXX $p"
13305 *) ;; # Ignore the rest.
13307 esac
13308 done
13310 # Clean up.
13311 rm -f a.out a.exe
13312 else
13313 echo "libtool.m4: error: problem compiling CXX test program"
13316 $RM -f confest.$objext
13318 # PORTME: override above test on systems where it is broken
13319 case $host_os in
13320 interix[3-9]*)
13321 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13322 # hack all around it, let's just trust "g++" to DTRT.
13323 predep_objects_CXX=
13324 postdep_objects_CXX=
13325 postdeps_CXX=
13328 linux*)
13329 case `$CC -V 2>&1 | sed 5q` in
13330 *Sun\ C*)
13331 # Sun C++ 5.9
13333 # The more standards-conforming stlport4 library is
13334 # incompatible with the Cstd library. Avoid specifying
13335 # it if it's in CXXFLAGS. Ignore libCrun as
13336 # -library=stlport4 depends on it.
13337 case " $CXX $CXXFLAGS " in
13338 *" -library=stlport4 "*)
13339 solaris_use_stlport4=yes
13341 esac
13343 if test "$solaris_use_stlport4" != yes; then
13344 postdeps_CXX='-library=Cstd -library=Crun'
13347 esac
13350 solaris*)
13351 case $cc_basename in
13352 CC*)
13353 # The more standards-conforming stlport4 library is
13354 # incompatible with the Cstd library. Avoid specifying
13355 # it if it's in CXXFLAGS. Ignore libCrun as
13356 # -library=stlport4 depends on it.
13357 case " $CXX $CXXFLAGS " in
13358 *" -library=stlport4 "*)
13359 solaris_use_stlport4=yes
13361 esac
13363 # Adding this requires a known-good setup of shared libraries for
13364 # Sun compiler versions before 5.6, else PIC objects from an old
13365 # archive will be linked into the output, leading to subtle bugs.
13366 if test "$solaris_use_stlport4" != yes; then
13367 postdeps_CXX='-library=Cstd -library=Crun'
13370 esac
13372 esac
13375 case " $postdeps_CXX " in
13376 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13377 esac
13378 compiler_lib_search_dirs_CXX=
13379 if test -n "${compiler_lib_search_path_CXX}"; then
13380 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13413 lt_prog_compiler_wl_CXX=
13414 lt_prog_compiler_pic_CXX=
13415 lt_prog_compiler_static_CXX=
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13418 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13420 # C++ specific cases for pic, static, wl, etc.
13421 if test "$GXX" = yes; then
13422 lt_prog_compiler_wl_CXX='-Wl,'
13423 lt_prog_compiler_static_CXX='-static'
13425 case $host_os in
13426 aix*)
13427 # All AIX code is PIC.
13428 if test "$host_cpu" = ia64; then
13429 # AIX 5 now supports IA64 processor
13430 lt_prog_compiler_static_CXX='-Bstatic'
13432 lt_prog_compiler_pic_CXX='-fPIC'
13435 amigaos*)
13436 case $host_cpu in
13437 powerpc)
13438 # see comment about AmigaOS4 .so support
13439 lt_prog_compiler_pic_CXX='-fPIC'
13441 m68k)
13442 # FIXME: we need at least 68020 code to build shared libraries, but
13443 # adding the `-m68020' flag to GCC prevents building anything better,
13444 # like `-m68040'.
13445 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13447 esac
13450 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13451 # PIC is the default for these OSes.
13453 mingw* | cygwin* | os2* | pw32* | cegcc*)
13454 # This hack is so that the source file can tell whether it is being
13455 # built for inclusion in a dll (and should export symbols for example).
13456 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13457 # (--disable-auto-import) libraries
13458 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13460 darwin* | rhapsody*)
13461 # PIC is the default on this platform
13462 # Common symbols not allowed in MH_DYLIB files
13463 lt_prog_compiler_pic_CXX='-fno-common'
13465 *djgpp*)
13466 # DJGPP does not support shared libraries at all
13467 lt_prog_compiler_pic_CXX=
13469 haiku*)
13470 # PIC is the default for Haiku.
13471 # The "-static" flag exists, but is broken.
13472 lt_prog_compiler_static_CXX=
13474 interix[3-9]*)
13475 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13476 # Instead, we relocate shared libraries at runtime.
13478 sysv4*MP*)
13479 if test -d /usr/nec; then
13480 lt_prog_compiler_pic_CXX=-Kconform_pic
13483 hpux*)
13484 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13485 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13486 # sets the default TLS model and affects inlining.
13487 case $host_cpu in
13488 hppa*64*)
13491 lt_prog_compiler_pic_CXX='-fPIC'
13493 esac
13495 *qnx* | *nto*)
13496 # QNX uses GNU C++, but need to define -shared option too, otherwise
13497 # it will coredump.
13498 lt_prog_compiler_pic_CXX='-fPIC -shared'
13501 lt_prog_compiler_pic_CXX='-fPIC'
13503 esac
13504 else
13505 case $host_os in
13506 aix[4-9]*)
13507 # All AIX code is PIC.
13508 if test "$host_cpu" = ia64; then
13509 # AIX 5 now supports IA64 processor
13510 lt_prog_compiler_static_CXX='-Bstatic'
13511 else
13512 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13515 chorus*)
13516 case $cc_basename in
13517 cxch68*)
13518 # Green Hills C++ Compiler
13519 # _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"
13521 esac
13523 dgux*)
13524 case $cc_basename in
13525 ec++*)
13526 lt_prog_compiler_pic_CXX='-KPIC'
13528 ghcx*)
13529 # Green Hills C++ Compiler
13530 lt_prog_compiler_pic_CXX='-pic'
13534 esac
13536 freebsd* | dragonfly*)
13537 # FreeBSD uses GNU C++
13539 hpux9* | hpux10* | hpux11*)
13540 case $cc_basename in
13541 CC*)
13542 lt_prog_compiler_wl_CXX='-Wl,'
13543 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13544 if test "$host_cpu" != ia64; then
13545 lt_prog_compiler_pic_CXX='+Z'
13548 aCC*)
13549 lt_prog_compiler_wl_CXX='-Wl,'
13550 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13551 case $host_cpu in
13552 hppa*64*|ia64*)
13553 # +Z the default
13556 lt_prog_compiler_pic_CXX='+Z'
13558 esac
13562 esac
13564 interix*)
13565 # This is c89, which is MS Visual C++ (no shared libs)
13566 # Anyone wants to do a port?
13568 irix5* | irix6* | nonstopux*)
13569 case $cc_basename in
13570 CC*)
13571 lt_prog_compiler_wl_CXX='-Wl,'
13572 lt_prog_compiler_static_CXX='-non_shared'
13573 # CC pic flag -KPIC is the default.
13577 esac
13579 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13580 case $cc_basename in
13581 KCC*)
13582 # KAI C++ Compiler
13583 lt_prog_compiler_wl_CXX='--backend -Wl,'
13584 lt_prog_compiler_pic_CXX='-fPIC'
13586 ecpc* )
13587 # old Intel C++ for x86_64 which still supported -KPIC.
13588 lt_prog_compiler_wl_CXX='-Wl,'
13589 lt_prog_compiler_pic_CXX='-KPIC'
13590 lt_prog_compiler_static_CXX='-static'
13592 icpc* )
13593 # Intel C++, used to be incompatible with GCC.
13594 # ICC 10 doesn't accept -KPIC any more.
13595 lt_prog_compiler_wl_CXX='-Wl,'
13596 lt_prog_compiler_pic_CXX='-fPIC'
13597 lt_prog_compiler_static_CXX='-static'
13599 pgCC* | pgcpp*)
13600 # Portland Group C++ compiler
13601 lt_prog_compiler_wl_CXX='-Wl,'
13602 lt_prog_compiler_pic_CXX='-fpic'
13603 lt_prog_compiler_static_CXX='-Bstatic'
13605 cxx*)
13606 # Compaq C++
13607 # Make sure the PIC flag is empty. It appears that all Alpha
13608 # Linux and Compaq Tru64 Unix objects are PIC.
13609 lt_prog_compiler_pic_CXX=
13610 lt_prog_compiler_static_CXX='-non_shared'
13612 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13613 # IBM XL 8.0, 9.0 on PPC and BlueGene
13614 lt_prog_compiler_wl_CXX='-Wl,'
13615 lt_prog_compiler_pic_CXX='-qpic'
13616 lt_prog_compiler_static_CXX='-qstaticlink'
13619 case `$CC -V 2>&1 | sed 5q` in
13620 *Sun\ C*)
13621 # Sun C++ 5.9
13622 lt_prog_compiler_pic_CXX='-KPIC'
13623 lt_prog_compiler_static_CXX='-Bstatic'
13624 lt_prog_compiler_wl_CXX='-Qoption ld '
13626 esac
13628 esac
13630 lynxos*)
13632 m88k*)
13634 mvs*)
13635 case $cc_basename in
13636 cxx*)
13637 lt_prog_compiler_pic_CXX='-W c,exportall'
13641 esac
13643 netbsd*)
13645 *qnx* | *nto*)
13646 # QNX uses GNU C++, but need to define -shared option too, otherwise
13647 # it will coredump.
13648 lt_prog_compiler_pic_CXX='-fPIC -shared'
13650 osf3* | osf4* | osf5*)
13651 case $cc_basename in
13652 KCC*)
13653 lt_prog_compiler_wl_CXX='--backend -Wl,'
13655 RCC*)
13656 # Rational C++ 2.4.1
13657 lt_prog_compiler_pic_CXX='-pic'
13659 cxx*)
13660 # Digital/Compaq C++
13661 lt_prog_compiler_wl_CXX='-Wl,'
13662 # Make sure the PIC flag is empty. It appears that all Alpha
13663 # Linux and Compaq Tru64 Unix objects are PIC.
13664 lt_prog_compiler_pic_CXX=
13665 lt_prog_compiler_static_CXX='-non_shared'
13669 esac
13671 psos*)
13673 solaris*)
13674 case $cc_basename in
13675 CC*)
13676 # Sun C++ 4.2, 5.x and Centerline C++
13677 lt_prog_compiler_pic_CXX='-KPIC'
13678 lt_prog_compiler_static_CXX='-Bstatic'
13679 lt_prog_compiler_wl_CXX='-Qoption ld '
13681 gcx*)
13682 # Green Hills C++ Compiler
13683 lt_prog_compiler_pic_CXX='-PIC'
13687 esac
13689 sunos4*)
13690 case $cc_basename in
13691 CC*)
13692 # Sun C++ 4.x
13693 lt_prog_compiler_pic_CXX='-pic'
13694 lt_prog_compiler_static_CXX='-Bstatic'
13696 lcc*)
13697 # Lucid
13698 lt_prog_compiler_pic_CXX='-pic'
13702 esac
13704 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13705 case $cc_basename in
13706 CC*)
13707 lt_prog_compiler_wl_CXX='-Wl,'
13708 lt_prog_compiler_pic_CXX='-KPIC'
13709 lt_prog_compiler_static_CXX='-Bstatic'
13711 esac
13713 tandem*)
13714 case $cc_basename in
13715 NCC*)
13716 # NonStop-UX NCC 3.20
13717 lt_prog_compiler_pic_CXX='-KPIC'
13721 esac
13723 vxworks*)
13726 lt_prog_compiler_can_build_shared_CXX=no
13728 esac
13731 case $host_os in
13732 # For platforms which do not support PIC, -DPIC is meaningless:
13733 *djgpp*)
13734 lt_prog_compiler_pic_CXX=
13737 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13739 esac
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13741 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13746 # Check to make sure the PIC flag actually works.
13748 if test -n "$lt_prog_compiler_pic_CXX"; then
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13750 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13751 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13752 $as_echo_n "(cached) " >&6
13753 else
13754 lt_cv_prog_compiler_pic_works_CXX=no
13755 ac_outfile=conftest.$ac_objext
13756 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13757 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13758 # Insert the option either (1) after the last *FLAGS variable, or
13759 # (2) before a word containing "conftest.", or (3) at the end.
13760 # Note that $ac_compile itself does not contain backslashes and begins
13761 # with a dollar sign (not a hyphen), so the echo should work correctly.
13762 # The option is referenced via a variable to avoid confusing sed.
13763 lt_compile=`echo "$ac_compile" | $SED \
13764 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13765 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13766 -e 's:$: $lt_compiler_flag:'`
13767 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13768 (eval "$lt_compile" 2>conftest.err)
13769 ac_status=$?
13770 cat conftest.err >&5
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 if (exit $ac_status) && test -s "$ac_outfile"; then
13773 # The compiler can only warn and ignore the option if not recognized
13774 # So say no if there are warnings other than the usual output.
13775 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13776 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13777 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13778 lt_cv_prog_compiler_pic_works_CXX=yes
13781 $RM conftest*
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13785 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13787 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13788 case $lt_prog_compiler_pic_CXX in
13789 "" | " "*) ;;
13790 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13791 esac
13792 else
13793 lt_prog_compiler_pic_CXX=
13794 lt_prog_compiler_can_build_shared_CXX=no
13802 # Check to make sure the static flag actually works.
13804 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13806 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13807 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13808 $as_echo_n "(cached) " >&6
13809 else
13810 lt_cv_prog_compiler_static_works_CXX=no
13811 save_LDFLAGS="$LDFLAGS"
13812 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13813 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13814 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13815 # The linker can only warn and ignore the option if not recognized
13816 # So say no if there are warnings
13817 if test -s conftest.err; then
13818 # Append any errors to the config.log.
13819 cat conftest.err 1>&5
13820 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13821 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13822 if diff conftest.exp conftest.er2 >/dev/null; then
13823 lt_cv_prog_compiler_static_works_CXX=yes
13825 else
13826 lt_cv_prog_compiler_static_works_CXX=yes
13829 $RM -r conftest*
13830 LDFLAGS="$save_LDFLAGS"
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13834 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13836 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13838 else
13839 lt_prog_compiler_static_CXX=
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13846 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13847 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13848 $as_echo_n "(cached) " >&6
13849 else
13850 lt_cv_prog_compiler_c_o_CXX=no
13851 $RM -r conftest 2>/dev/null
13852 mkdir conftest
13853 cd conftest
13854 mkdir out
13855 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13857 lt_compiler_flag="-o out/conftest2.$ac_objext"
13858 # Insert the option either (1) after the last *FLAGS variable, or
13859 # (2) before a word containing "conftest.", or (3) at the end.
13860 # Note that $ac_compile itself does not contain backslashes and begins
13861 # with a dollar sign (not a hyphen), so the echo should work correctly.
13862 lt_compile=`echo "$ac_compile" | $SED \
13863 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13864 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13865 -e 's:$: $lt_compiler_flag:'`
13866 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13867 (eval "$lt_compile" 2>out/conftest.err)
13868 ac_status=$?
13869 cat out/conftest.err >&5
13870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13871 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13872 then
13873 # The compiler can only warn and ignore the option if not recognized
13874 # So say no if there are warnings
13875 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13876 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13877 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13878 lt_cv_prog_compiler_c_o_CXX=yes
13881 chmod u+w . 2>&5
13882 $RM conftest*
13883 # SGI C++ compiler will create directory out/ii_files/ for
13884 # template instantiation
13885 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13886 $RM out/* && rmdir out
13887 cd ..
13888 $RM -r conftest
13889 $RM conftest*
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13893 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13898 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13899 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13900 $as_echo_n "(cached) " >&6
13901 else
13902 lt_cv_prog_compiler_c_o_CXX=no
13903 $RM -r conftest 2>/dev/null
13904 mkdir conftest
13905 cd conftest
13906 mkdir out
13907 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13909 lt_compiler_flag="-o out/conftest2.$ac_objext"
13910 # Insert the option either (1) after the last *FLAGS variable, or
13911 # (2) before a word containing "conftest.", or (3) at the end.
13912 # Note that $ac_compile itself does not contain backslashes and begins
13913 # with a dollar sign (not a hyphen), so the echo should work correctly.
13914 lt_compile=`echo "$ac_compile" | $SED \
13915 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13916 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13917 -e 's:$: $lt_compiler_flag:'`
13918 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13919 (eval "$lt_compile" 2>out/conftest.err)
13920 ac_status=$?
13921 cat out/conftest.err >&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13924 then
13925 # The compiler can only warn and ignore the option if not recognized
13926 # So say no if there are warnings
13927 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13928 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13929 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13930 lt_cv_prog_compiler_c_o_CXX=yes
13933 chmod u+w . 2>&5
13934 $RM conftest*
13935 # SGI C++ compiler will create directory out/ii_files/ for
13936 # template instantiation
13937 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13938 $RM out/* && rmdir out
13939 cd ..
13940 $RM -r conftest
13941 $RM conftest*
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13945 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13950 hard_links="nottested"
13951 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13952 # do not overwrite the value of need_locks provided by the user
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13954 $as_echo_n "checking if we can lock with hard links... " >&6; }
13955 hard_links=yes
13956 $RM conftest*
13957 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13958 touch conftest.a
13959 ln conftest.a conftest.b 2>&5 || hard_links=no
13960 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13962 $as_echo "$hard_links" >&6; }
13963 if test "$hard_links" = no; then
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13965 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13966 need_locks=warn
13968 else
13969 need_locks=no
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13975 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13977 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13978 case $host_os in
13979 aix[4-9]*)
13980 # If we're using GNU nm, then we don't want the "-C" option.
13981 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13982 # Also, AIX nm treats weak defined symbols like other global defined
13983 # symbols, whereas GNU nm marks them as "W".
13984 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13985 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'
13986 else
13987 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'
13990 pw32*)
13991 export_symbols_cmds_CXX="$ltdll_cmds"
13993 cygwin* | mingw* | cegcc*)
13994 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'
13997 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13999 esac
14000 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14003 $as_echo "$ld_shlibs_CXX" >&6; }
14004 test "$ld_shlibs_CXX" = no && can_build_shared=no
14006 with_gnu_ld_CXX=$with_gnu_ld
14014 # Do we need to explicitly link libc?
14016 case "x$archive_cmds_need_lc_CXX" in
14017 x|xyes)
14018 # Assume -lc should be added
14019 archive_cmds_need_lc_CXX=yes
14021 if test "$enable_shared" = yes && test "$GCC" = yes; then
14022 case $archive_cmds_CXX in
14023 *'~'*)
14024 # FIXME: we may have to deal with multi-command sequences.
14026 '$CC '*)
14027 # Test whether the compiler implicitly links with -lc since on some
14028 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14029 # to ld, don't add -lc before -lgcc.
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14031 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14032 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14033 $as_echo_n "(cached) " >&6
14034 else
14035 $RM conftest*
14036 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14038 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14039 (eval $ac_compile) 2>&5
14040 ac_status=$?
14041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14042 test $ac_status = 0; } 2>conftest.err; then
14043 soname=conftest
14044 lib=conftest
14045 libobjs=conftest.$ac_objext
14046 deplibs=
14047 wl=$lt_prog_compiler_wl_CXX
14048 pic_flag=$lt_prog_compiler_pic_CXX
14049 compiler_flags=-v
14050 linker_flags=-v
14051 verstring=
14052 output_objdir=.
14053 libname=conftest
14054 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14055 allow_undefined_flag_CXX=
14056 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14057 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14058 ac_status=$?
14059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14060 test $ac_status = 0; }
14061 then
14062 lt_cv_archive_cmds_need_lc_CXX=no
14063 else
14064 lt_cv_archive_cmds_need_lc_CXX=yes
14066 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14067 else
14068 cat conftest.err 1>&5
14070 $RM conftest*
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14074 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14075 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14077 esac
14080 esac
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14146 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14148 library_names_spec=
14149 libname_spec='lib$name'
14150 soname_spec=
14151 shrext_cmds=".so"
14152 postinstall_cmds=
14153 postuninstall_cmds=
14154 finish_cmds=
14155 finish_eval=
14156 shlibpath_var=
14157 shlibpath_overrides_runpath=unknown
14158 version_type=none
14159 dynamic_linker="$host_os ld.so"
14160 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14161 need_lib_prefix=unknown
14162 hardcode_into_libs=no
14164 # when you set need_version to no, make sure it does not cause -set_version
14165 # flags to be left without arguments
14166 need_version=unknown
14168 case $host_os in
14169 aix3*)
14170 version_type=linux
14171 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14172 shlibpath_var=LIBPATH
14174 # AIX 3 has no versioning support, so we append a major version to the name.
14175 soname_spec='${libname}${release}${shared_ext}$major'
14178 aix[4-9]*)
14179 version_type=linux
14180 need_lib_prefix=no
14181 need_version=no
14182 hardcode_into_libs=yes
14183 if test "$host_cpu" = ia64; then
14184 # AIX 5 supports IA64
14185 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14186 shlibpath_var=LD_LIBRARY_PATH
14187 else
14188 # With GCC up to 2.95.x, collect2 would create an import file
14189 # for dependence libraries. The import file would start with
14190 # the line `#! .'. This would cause the generated library to
14191 # depend on `.', always an invalid library. This was fixed in
14192 # development snapshots of GCC prior to 3.0.
14193 case $host_os in
14194 aix4 | aix4.[01] | aix4.[01].*)
14195 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14196 echo ' yes '
14197 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14199 else
14200 can_build_shared=no
14203 esac
14204 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14205 # soname into executable. Probably we can add versioning support to
14206 # collect2, so additional links can be useful in future.
14207 if test "$aix_use_runtimelinking" = yes; then
14208 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14209 # instead of lib<name>.a to let people know that these are not
14210 # typical AIX shared libraries.
14211 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14212 else
14213 # We preserve .a as extension for shared libraries through AIX4.2
14214 # and later when we are not doing run time linking.
14215 library_names_spec='${libname}${release}.a $libname.a'
14216 soname_spec='${libname}${release}${shared_ext}$major'
14218 shlibpath_var=LIBPATH
14222 amigaos*)
14223 case $host_cpu in
14224 powerpc)
14225 # Since July 2007 AmigaOS4 officially supports .so libraries.
14226 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14229 m68k)
14230 library_names_spec='$libname.ixlibrary $libname.a'
14231 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14232 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'
14234 esac
14237 beos*)
14238 library_names_spec='${libname}${shared_ext}'
14239 dynamic_linker="$host_os ld.so"
14240 shlibpath_var=LIBRARY_PATH
14243 bsdi[45]*)
14244 version_type=linux
14245 need_version=no
14246 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14247 soname_spec='${libname}${release}${shared_ext}$major'
14248 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14249 shlibpath_var=LD_LIBRARY_PATH
14250 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14251 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14252 # the default ld.so.conf also contains /usr/contrib/lib and
14253 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14254 # libtool to hard-code these into programs
14257 cygwin* | mingw* | pw32* | cegcc*)
14258 version_type=windows
14259 shrext_cmds=".dll"
14260 need_version=no
14261 need_lib_prefix=no
14263 case $GCC,$host_os in
14264 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14265 library_names_spec='$libname.dll.a'
14266 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14267 postinstall_cmds='base_file=`basename \${file}`~
14268 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14269 dldir=$destdir/`dirname \$dlpath`~
14270 test -d \$dldir || mkdir -p \$dldir~
14271 $install_prog $dir/$dlname \$dldir/$dlname~
14272 chmod a+x \$dldir/$dlname~
14273 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14274 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14276 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14277 dlpath=$dir/\$dldll~
14278 $RM \$dlpath'
14279 shlibpath_overrides_runpath=yes
14281 case $host_os in
14282 cygwin*)
14283 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14284 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14287 mingw* | cegcc*)
14288 # MinGW DLLs use traditional 'lib' prefix
14289 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14291 pw32*)
14292 # pw32 DLLs use 'pw' prefix rather than 'lib'
14293 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14295 esac
14299 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14301 esac
14302 dynamic_linker='Win32 ld.exe'
14303 # FIXME: first we should search . and the directory the executable is in
14304 shlibpath_var=PATH
14307 darwin* | rhapsody*)
14308 dynamic_linker="$host_os dyld"
14309 version_type=darwin
14310 need_lib_prefix=no
14311 need_version=no
14312 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14313 soname_spec='${libname}${release}${major}$shared_ext'
14314 shlibpath_overrides_runpath=yes
14315 shlibpath_var=DYLD_LIBRARY_PATH
14316 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14318 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14321 dgux*)
14322 version_type=linux
14323 need_lib_prefix=no
14324 need_version=no
14325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14326 soname_spec='${libname}${release}${shared_ext}$major'
14327 shlibpath_var=LD_LIBRARY_PATH
14330 freebsd* | dragonfly*)
14331 # DragonFly does not have aout. When/if they implement a new
14332 # versioning mechanism, adjust this.
14333 if test -x /usr/bin/objformat; then
14334 objformat=`/usr/bin/objformat`
14335 else
14336 case $host_os in
14337 freebsd[23].*) objformat=aout ;;
14338 *) objformat=elf ;;
14339 esac
14341 version_type=freebsd-$objformat
14342 case $version_type in
14343 freebsd-elf*)
14344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14345 need_version=no
14346 need_lib_prefix=no
14348 freebsd-*)
14349 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14350 need_version=yes
14352 esac
14353 shlibpath_var=LD_LIBRARY_PATH
14354 case $host_os in
14355 freebsd2.*)
14356 shlibpath_overrides_runpath=yes
14358 freebsd3.[01]* | freebsdelf3.[01]*)
14359 shlibpath_overrides_runpath=yes
14360 hardcode_into_libs=yes
14362 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14363 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14364 shlibpath_overrides_runpath=no
14365 hardcode_into_libs=yes
14367 *) # from 4.6 on, and DragonFly
14368 shlibpath_overrides_runpath=yes
14369 hardcode_into_libs=yes
14371 esac
14374 gnu*)
14375 version_type=linux
14376 need_lib_prefix=no
14377 need_version=no
14378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14379 soname_spec='${libname}${release}${shared_ext}$major'
14380 shlibpath_var=LD_LIBRARY_PATH
14381 hardcode_into_libs=yes
14384 haiku*)
14385 version_type=linux
14386 need_lib_prefix=no
14387 need_version=no
14388 dynamic_linker="$host_os runtime_loader"
14389 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14390 soname_spec='${libname}${release}${shared_ext}$major'
14391 shlibpath_var=LIBRARY_PATH
14392 shlibpath_overrides_runpath=yes
14393 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14394 hardcode_into_libs=yes
14397 hpux9* | hpux10* | hpux11*)
14398 # Give a soname corresponding to the major version so that dld.sl refuses to
14399 # link against other versions.
14400 version_type=sunos
14401 need_lib_prefix=no
14402 need_version=no
14403 case $host_cpu in
14404 ia64*)
14405 shrext_cmds='.so'
14406 hardcode_into_libs=yes
14407 dynamic_linker="$host_os dld.so"
14408 shlibpath_var=LD_LIBRARY_PATH
14409 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14411 soname_spec='${libname}${release}${shared_ext}$major'
14412 if test "X$HPUX_IA64_MODE" = X32; then
14413 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14414 else
14415 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14417 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14419 hppa*64*)
14420 shrext_cmds='.sl'
14421 hardcode_into_libs=yes
14422 dynamic_linker="$host_os dld.sl"
14423 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14424 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14425 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14426 soname_spec='${libname}${release}${shared_ext}$major'
14427 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14428 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14431 shrext_cmds='.sl'
14432 dynamic_linker="$host_os dld.sl"
14433 shlibpath_var=SHLIB_PATH
14434 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14436 soname_spec='${libname}${release}${shared_ext}$major'
14438 esac
14439 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14440 postinstall_cmds='chmod 555 $lib'
14441 # or fails outright, so override atomically:
14442 install_override_mode=555
14445 interix[3-9]*)
14446 version_type=linux
14447 need_lib_prefix=no
14448 need_version=no
14449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14450 soname_spec='${libname}${release}${shared_ext}$major'
14451 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14452 shlibpath_var=LD_LIBRARY_PATH
14453 shlibpath_overrides_runpath=no
14454 hardcode_into_libs=yes
14457 irix5* | irix6* | nonstopux*)
14458 case $host_os in
14459 nonstopux*) version_type=nonstopux ;;
14461 if test "$lt_cv_prog_gnu_ld" = yes; then
14462 version_type=linux
14463 else
14464 version_type=irix
14465 fi ;;
14466 esac
14467 need_lib_prefix=no
14468 need_version=no
14469 soname_spec='${libname}${release}${shared_ext}$major'
14470 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14471 case $host_os in
14472 irix5* | nonstopux*)
14473 libsuff= shlibsuff=
14476 case $LD in # libtool.m4 will add one of these switches to LD
14477 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14478 libsuff= shlibsuff= libmagic=32-bit;;
14479 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14480 libsuff=32 shlibsuff=N32 libmagic=N32;;
14481 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14482 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14483 *) libsuff= shlibsuff= libmagic=never-match;;
14484 esac
14486 esac
14487 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14488 shlibpath_overrides_runpath=no
14489 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14490 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14491 hardcode_into_libs=yes
14494 # No shared lib support for Linux oldld, aout, or coff.
14495 linux*oldld* | linux*aout* | linux*coff*)
14496 dynamic_linker=no
14499 # This must be Linux ELF.
14500 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14501 version_type=linux
14502 need_lib_prefix=no
14503 need_version=no
14504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14505 soname_spec='${libname}${release}${shared_ext}$major'
14506 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14507 shlibpath_var=LD_LIBRARY_PATH
14508 shlibpath_overrides_runpath=no
14510 # Some binutils ld are patched to set DT_RUNPATH
14511 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14512 $as_echo_n "(cached) " >&6
14513 else
14514 lt_cv_shlibpath_overrides_runpath=no
14515 save_LDFLAGS=$LDFLAGS
14516 save_libdir=$libdir
14517 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14518 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14519 if test x$gcc_no_link = xyes; then
14520 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14523 /* end confdefs.h. */
14526 main ()
14530 return 0;
14532 _ACEOF
14533 if ac_fn_cxx_try_link "$LINENO"; then :
14534 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14535 lt_cv_shlibpath_overrides_runpath=yes
14538 rm -f core conftest.err conftest.$ac_objext \
14539 conftest$ac_exeext conftest.$ac_ext
14540 LDFLAGS=$save_LDFLAGS
14541 libdir=$save_libdir
14545 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14547 # This implies no fast_install, which is unacceptable.
14548 # Some rework will be needed to allow for fast_install
14549 # before this can be enabled.
14550 hardcode_into_libs=yes
14552 # Append ld.so.conf contents to the search path
14553 if test -f /etc/ld.so.conf; then
14554 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' ' '`
14555 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14558 # We used to test for /lib/ld.so.1 and disable shared libraries on
14559 # powerpc, because MkLinux only supported shared libraries with the
14560 # GNU dynamic linker. Since this was broken with cross compilers,
14561 # most powerpc-linux boxes support dynamic linking these days and
14562 # people can always --disable-shared, the test was removed, and we
14563 # assume the GNU/Linux dynamic linker is in use.
14564 dynamic_linker='GNU/Linux ld.so'
14567 netbsd*)
14568 version_type=sunos
14569 need_lib_prefix=no
14570 need_version=no
14571 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14573 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14574 dynamic_linker='NetBSD (a.out) ld.so'
14575 else
14576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14577 soname_spec='${libname}${release}${shared_ext}$major'
14578 dynamic_linker='NetBSD ld.elf_so'
14580 shlibpath_var=LD_LIBRARY_PATH
14581 shlibpath_overrides_runpath=yes
14582 hardcode_into_libs=yes
14585 newsos6)
14586 version_type=linux
14587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14588 shlibpath_var=LD_LIBRARY_PATH
14589 shlibpath_overrides_runpath=yes
14592 *nto* | *qnx*)
14593 version_type=qnx
14594 need_lib_prefix=no
14595 need_version=no
14596 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14597 soname_spec='${libname}${release}${shared_ext}$major'
14598 shlibpath_var=LD_LIBRARY_PATH
14599 shlibpath_overrides_runpath=no
14600 hardcode_into_libs=yes
14601 dynamic_linker='ldqnx.so'
14604 openbsd*)
14605 version_type=sunos
14606 sys_lib_dlsearch_path_spec="/usr/lib"
14607 need_lib_prefix=no
14608 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14609 case $host_os in
14610 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14611 *) need_version=no ;;
14612 esac
14613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14614 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14615 shlibpath_var=LD_LIBRARY_PATH
14616 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14617 case $host_os in
14618 openbsd2.[89] | openbsd2.[89].*)
14619 shlibpath_overrides_runpath=no
14622 shlibpath_overrides_runpath=yes
14624 esac
14625 else
14626 shlibpath_overrides_runpath=yes
14630 os2*)
14631 libname_spec='$name'
14632 shrext_cmds=".dll"
14633 need_lib_prefix=no
14634 library_names_spec='$libname${shared_ext} $libname.a'
14635 dynamic_linker='OS/2 ld.exe'
14636 shlibpath_var=LIBPATH
14639 osf3* | osf4* | osf5*)
14640 version_type=osf
14641 need_lib_prefix=no
14642 need_version=no
14643 soname_spec='${libname}${release}${shared_ext}$major'
14644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14645 shlibpath_var=LD_LIBRARY_PATH
14646 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14647 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14650 rdos*)
14651 dynamic_linker=no
14654 solaris*)
14655 version_type=linux
14656 need_lib_prefix=no
14657 need_version=no
14658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14659 soname_spec='${libname}${release}${shared_ext}$major'
14660 shlibpath_var=LD_LIBRARY_PATH
14661 shlibpath_overrides_runpath=yes
14662 hardcode_into_libs=yes
14663 # ldd complains unless libraries are executable
14664 postinstall_cmds='chmod +x $lib'
14667 sunos4*)
14668 version_type=sunos
14669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14670 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14671 shlibpath_var=LD_LIBRARY_PATH
14672 shlibpath_overrides_runpath=yes
14673 if test "$with_gnu_ld" = yes; then
14674 need_lib_prefix=no
14676 need_version=yes
14679 sysv4 | sysv4.3*)
14680 version_type=linux
14681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14682 soname_spec='${libname}${release}${shared_ext}$major'
14683 shlibpath_var=LD_LIBRARY_PATH
14684 case $host_vendor in
14685 sni)
14686 shlibpath_overrides_runpath=no
14687 need_lib_prefix=no
14688 runpath_var=LD_RUN_PATH
14690 siemens)
14691 need_lib_prefix=no
14693 motorola)
14694 need_lib_prefix=no
14695 need_version=no
14696 shlibpath_overrides_runpath=no
14697 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14699 esac
14702 sysv4*MP*)
14703 if test -d /usr/nec ;then
14704 version_type=linux
14705 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14706 soname_spec='$libname${shared_ext}.$major'
14707 shlibpath_var=LD_LIBRARY_PATH
14711 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14712 version_type=freebsd-elf
14713 need_lib_prefix=no
14714 need_version=no
14715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14716 soname_spec='${libname}${release}${shared_ext}$major'
14717 shlibpath_var=LD_LIBRARY_PATH
14718 shlibpath_overrides_runpath=yes
14719 hardcode_into_libs=yes
14720 if test "$with_gnu_ld" = yes; then
14721 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14722 else
14723 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14724 case $host_os in
14725 sco3.2v5*)
14726 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14728 esac
14730 sys_lib_dlsearch_path_spec='/usr/lib'
14733 tpf*)
14734 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14735 version_type=linux
14736 need_lib_prefix=no
14737 need_version=no
14738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14739 shlibpath_var=LD_LIBRARY_PATH
14740 shlibpath_overrides_runpath=no
14741 hardcode_into_libs=yes
14744 uts4*)
14745 version_type=linux
14746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14747 soname_spec='${libname}${release}${shared_ext}$major'
14748 shlibpath_var=LD_LIBRARY_PATH
14752 dynamic_linker=no
14754 esac
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14756 $as_echo "$dynamic_linker" >&6; }
14757 test "$dynamic_linker" = no && can_build_shared=no
14759 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14760 if test "$GCC" = yes; then
14761 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14764 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14765 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14767 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14768 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14809 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14810 hardcode_action_CXX=
14811 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14812 test -n "$runpath_var_CXX" ||
14813 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14815 # We can hardcode non-existent directories.
14816 if test "$hardcode_direct_CXX" != no &&
14817 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14818 # have to relink, otherwise we might link with an installed library
14819 # when we should be linking with a yet-to-be-installed one
14820 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14821 test "$hardcode_minus_L_CXX" != no; then
14822 # Linking always hardcodes the temporary library directory.
14823 hardcode_action_CXX=relink
14824 else
14825 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14826 hardcode_action_CXX=immediate
14828 else
14829 # We cannot hardcode anything, or else we can only hardcode existing
14830 # directories.
14831 hardcode_action_CXX=unsupported
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14834 $as_echo "$hardcode_action_CXX" >&6; }
14836 if test "$hardcode_action_CXX" = relink ||
14837 test "$inherit_rpath_CXX" = yes; then
14838 # Fast installation is not supported
14839 enable_fast_install=no
14840 elif test "$shlibpath_overrides_runpath" = yes ||
14841 test "$enable_shared" = no; then
14842 # Fast installation is not necessary
14843 enable_fast_install=needless
14852 fi # test -n "$compiler"
14854 CC=$lt_save_CC
14855 LDCXX=$LD
14856 LD=$lt_save_LD
14857 GCC=$lt_save_GCC
14858 with_gnu_ld=$lt_save_with_gnu_ld
14859 lt_cv_path_LDCXX=$lt_cv_path_LD
14860 lt_cv_path_LD=$lt_save_path_LD
14861 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14862 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14863 fi # test "$_lt_caught_CXX_error" != yes
14865 ac_ext=c
14866 ac_cpp='$CPP $CPPFLAGS'
14867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14883 ac_config_commands="$ac_config_commands libtool"
14888 # Only expand once:
14894 case $host in
14895 *-cygwin* | *-mingw*)
14896 # 'host' will be top-level target in the case of a target lib,
14897 # we must compare to with_cross_host to decide if this is a native
14898 # or cross-compiler and select where to install dlls appropriately.
14899 if test -n "$with_cross_host" &&
14900 test x"$with_cross_host" != x"no"; then
14901 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14902 else
14903 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14907 lt_host_flags=
14909 esac
14916 if test "$enable_vtable_verify" = yes; then
14917 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14918 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14922 # libtool variables for C++ shared and position-independent compiles.
14924 # Use glibcxx_lt_pic_flag to designate the automake variable
14925 # used to encapsulate the default libtool approach to creating objects
14926 # with position-independent code. Default: -prefer-pic.
14928 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14929 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14931 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14932 # creating position-independent objects. This varies with the target
14933 # hardware and operating system, but is often: -DPIC -fPIC.
14934 if test "$enable_shared" = yes; then
14935 glibcxx_lt_pic_flag="-prefer-pic"
14936 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14937 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14939 else
14940 glibcxx_lt_pic_flag=
14941 glibcxx_compiler_pic_flag=
14942 glibcxx_compiler_shared_flag=
14948 # Override the libtool's pic_flag and pic_mode.
14949 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14950 # NB: this impacts --with-pic and --without-pic.
14951 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14952 pic_mode='default'
14954 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14955 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14957 # Possibly disable most of the library.
14958 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14959 ## than just ignoring the results. Faster /and/ more correct, win win.
14961 # Check whether --enable-hosted-libstdcxx was given.
14962 if test "${enable_hosted_libstdcxx+set}" = set; then :
14963 enableval=$enable_hosted_libstdcxx;
14964 else
14965 case "$host" in
14966 arm*-*-symbianelf*)
14967 enable_hosted_libstdcxx=no
14970 enable_hosted_libstdcxx=yes
14972 esac
14975 if test "$enable_hosted_libstdcxx" = no; then
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14977 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14978 is_hosted=no
14979 hosted_define=0
14980 enable_abi_check=no
14981 enable_libstdcxx_pch=no
14982 else
14983 is_hosted=yes
14984 hosted_define=1
14988 cat >>confdefs.h <<_ACEOF
14989 #define _GLIBCXX_HOSTED $hosted_define
14990 _ACEOF
14994 # Enable descriptive messages to standard output on termination.
14996 # Check whether --enable-libstdcxx-verbose was given.
14997 if test "${enable_libstdcxx_verbose+set}" = set; then :
14998 enableval=$enable_libstdcxx_verbose;
14999 else
15000 enable_libstdcxx_verbose=yes
15003 if test x"$enable_libstdcxx_verbose" = xyes; then
15004 verbose_define=1
15005 else
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15007 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15008 verbose_define=0
15011 cat >>confdefs.h <<_ACEOF
15012 #define _GLIBCXX_VERBOSE $verbose_define
15013 _ACEOF
15017 # Enable compiler support that doesn't require linking.
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15020 $as_echo_n "checking for exception model to use... " >&6; }
15022 ac_ext=cpp
15023 ac_cpp='$CXXCPP $CPPFLAGS'
15024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15028 # Check whether --enable-sjlj-exceptions was given.
15029 if test "${enable_sjlj_exceptions+set}" = set; then :
15030 enableval=$enable_sjlj_exceptions;
15031 case "$enableval" in
15032 yes|no|auto) ;;
15033 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15034 esac
15036 else
15037 enable_sjlj_exceptions=auto
15042 if test $enable_sjlj_exceptions = auto; then
15043 # Botheration. Now we've got to detect the exception model. Link tests
15044 # against libgcc.a are problematic since we've not been given proper -L
15045 # bits for single-tree newlib and libgloss.
15047 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15048 cat > conftest.$ac_ext << EOF
15049 #line 15049 "configure"
15050 struct S { ~S(); };
15051 void bar();
15052 void foo()
15054 S s;
15055 bar();
15058 old_CXXFLAGS="$CXXFLAGS"
15059 CXXFLAGS=-S
15060 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15061 (eval $ac_compile) 2>&5
15062 ac_status=$?
15063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15064 test $ac_status = 0; }; then
15065 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15066 enable_sjlj_exceptions=yes
15067 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15068 enable_sjlj_exceptions=no
15069 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15070 enable_sjlj_exceptions=no
15073 CXXFLAGS="$old_CXXFLAGS"
15074 rm -f conftest*
15077 # This is a tad weird, for hysterical raisins. We have to map
15078 # enable/disable to two different models.
15079 case $enable_sjlj_exceptions in
15080 yes)
15082 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15084 ac_exception_model_name=sjlj
15087 ac_exception_model_name="call frame"
15090 as_fn_error "unable to detect exception model" "$LINENO" 5
15092 esac
15093 ac_ext=c
15094 ac_cpp='$CPP $CPPFLAGS'
15095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15100 $as_echo "$ac_exception_model_name" >&6; }
15103 # Check whether --enable-libstdcxx-pch was given.
15104 if test "${enable_libstdcxx_pch+set}" = set; then :
15105 enableval=$enable_libstdcxx_pch;
15106 case "$enableval" in
15107 yes|no) ;;
15108 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15109 esac
15111 else
15112 enable_libstdcxx_pch=$is_hosted
15116 if test $enable_libstdcxx_pch = yes; then
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15118 $as_echo_n "checking for compiler with PCH support... " >&6; }
15119 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15120 $as_echo_n "(cached) " >&6
15121 else
15122 ac_save_CXXFLAGS="$CXXFLAGS"
15123 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15125 ac_ext=cpp
15126 ac_cpp='$CXXCPP $CPPFLAGS'
15127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15131 echo '#include <math.h>' > conftest.h
15132 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15133 -o conftest.h.gch 1>&5 2>&1 &&
15134 echo '#error "pch failed"' > conftest.h &&
15135 echo '#include "conftest.h"' > conftest.cc &&
15136 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15137 then
15138 glibcxx_cv_prog_CXX_pch=yes
15139 else
15140 glibcxx_cv_prog_CXX_pch=no
15142 rm -f conftest*
15143 CXXFLAGS=$ac_save_CXXFLAGS
15144 ac_ext=c
15145 ac_cpp='$CPP $CPPFLAGS'
15146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15153 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15154 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15158 $as_echo_n "checking for enabled PCH... " >&6; }
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15160 $as_echo "$enable_libstdcxx_pch" >&6; }
15163 if test $enable_libstdcxx_pch = yes; then
15164 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15165 else
15166 glibcxx_PCHFLAGS=""
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15172 $as_echo_n "checking for thread model used by GCC... " >&6; }
15173 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15175 $as_echo "$target_thread_file" >&6; }
15177 case $target_thread_file in
15178 aix) thread_header=config/rs6000/gthr-aix.h ;;
15179 dce) thread_header=config/pa/gthr-dce.h ;;
15180 lynx) thread_header=config/gthr-lynx.h ;;
15181 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15182 posix) thread_header=gthr-posix.h ;;
15183 rtems) thread_header=config/gthr-rtems.h ;;
15184 single) thread_header=gthr-single.h ;;
15185 tpf) thread_header=config/s390/gthr-tpf.h ;;
15186 vxworks) thread_header=config/gthr-vxworks.h ;;
15187 win32) thread_header=config/i386/gthr-win32.h ;;
15188 esac
15194 ac_ext=cpp
15195 ac_cpp='$CXXCPP $CPPFLAGS'
15196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15200 old_CXXFLAGS="$CXXFLAGS"
15202 # Do link tests if possible, instead asm tests, limited to some platforms
15203 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15204 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15205 atomic_builtins_link_tests=no
15206 if test x$gcc_no_link != xyes; then
15207 # Can do link tests. Limit to some tested platforms
15208 case "$host" in
15209 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15210 atomic_builtins_link_tests=yes
15212 esac
15215 if test x$atomic_builtins_link_tests = xyes; then
15217 # Do link tests.
15219 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15222 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15223 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15224 $as_echo_n "(cached) " >&6
15225 else
15227 if test x$gcc_no_link = xyes; then
15228 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15231 /* end confdefs.h. */
15234 main ()
15236 typedef bool atomic_type;
15237 atomic_type c1;
15238 atomic_type c2;
15239 atomic_type c3(0);
15240 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15241 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15242 __ATOMIC_RELAXED);
15243 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15244 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15247 return 0;
15249 _ACEOF
15250 if ac_fn_cxx_try_link "$LINENO"; then :
15251 glibcxx_cv_atomic_bool=yes
15252 else
15253 glibcxx_cv_atomic_bool=no
15255 rm -f core conftest.err conftest.$ac_objext \
15256 conftest$ac_exeext conftest.$ac_ext
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15261 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15264 $as_echo_n "checking for atomic builtins for short... " >&6; }
15265 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15266 $as_echo_n "(cached) " >&6
15267 else
15269 if test x$gcc_no_link = xyes; then
15270 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15273 /* end confdefs.h. */
15276 main ()
15278 typedef short atomic_type;
15279 atomic_type c1;
15280 atomic_type c2;
15281 atomic_type c3(0);
15282 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15283 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15284 __ATOMIC_RELAXED);
15285 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15286 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15289 return 0;
15291 _ACEOF
15292 if ac_fn_cxx_try_link "$LINENO"; then :
15293 glibcxx_cv_atomic_short=yes
15294 else
15295 glibcxx_cv_atomic_short=no
15297 rm -f core conftest.err conftest.$ac_objext \
15298 conftest$ac_exeext conftest.$ac_ext
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15303 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15306 $as_echo_n "checking for atomic builtins for int... " >&6; }
15307 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15308 $as_echo_n "(cached) " >&6
15309 else
15311 if test x$gcc_no_link = xyes; then
15312 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15315 /* end confdefs.h. */
15318 main ()
15320 typedef int atomic_type;
15321 atomic_type c1;
15322 atomic_type c2;
15323 atomic_type c3(0);
15324 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15325 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15326 __ATOMIC_RELAXED);
15327 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15328 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15331 return 0;
15333 _ACEOF
15334 if ac_fn_cxx_try_link "$LINENO"; then :
15335 glibcxx_cv_atomic_int=yes
15336 else
15337 glibcxx_cv_atomic_int=no
15339 rm -f core conftest.err conftest.$ac_objext \
15340 conftest$ac_exeext conftest.$ac_ext
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15345 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15348 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15349 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15350 $as_echo_n "(cached) " >&6
15351 else
15353 if test x$gcc_no_link = xyes; then
15354 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15357 /* end confdefs.h. */
15360 main ()
15362 typedef long long atomic_type;
15363 atomic_type c1;
15364 atomic_type c2;
15365 atomic_type c3(0);
15366 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15367 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15368 __ATOMIC_RELAXED);
15369 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15370 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15373 return 0;
15375 _ACEOF
15376 if ac_fn_cxx_try_link "$LINENO"; then :
15377 glibcxx_cv_atomic_long_long=yes
15378 else
15379 glibcxx_cv_atomic_long_long=no
15381 rm -f core conftest.err conftest.$ac_objext \
15382 conftest$ac_exeext conftest.$ac_ext
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15387 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15389 else
15391 # Do asm tests.
15393 # Compile unoptimized.
15394 CXXFLAGS='-O0 -S'
15396 # Fake what AC_TRY_COMPILE does.
15398 cat > conftest.$ac_ext << EOF
15399 #line 15399 "configure"
15400 int main()
15402 typedef bool atomic_type;
15403 atomic_type c1;
15404 atomic_type c2;
15405 atomic_type c3(0);
15406 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15407 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15408 __ATOMIC_RELAXED);
15409 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15410 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15412 return 0;
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15417 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15418 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15419 (eval $ac_compile) 2>&5
15420 ac_status=$?
15421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15422 test $ac_status = 0; }; then
15423 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15424 glibcxx_cv_atomic_bool=no
15425 else
15426 glibcxx_cv_atomic_bool=yes
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15430 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15431 rm -f conftest*
15433 cat > conftest.$ac_ext << EOF
15434 #line 15434 "configure"
15435 int main()
15437 typedef short atomic_type;
15438 atomic_type c1;
15439 atomic_type c2;
15440 atomic_type c3(0);
15441 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15442 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15443 __ATOMIC_RELAXED);
15444 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15445 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15447 return 0;
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15452 $as_echo_n "checking for atomic builtins for short... " >&6; }
15453 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15454 (eval $ac_compile) 2>&5
15455 ac_status=$?
15456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15457 test $ac_status = 0; }; then
15458 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15459 glibcxx_cv_atomic_short=no
15460 else
15461 glibcxx_cv_atomic_short=yes
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15465 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15466 rm -f conftest*
15468 cat > conftest.$ac_ext << EOF
15469 #line 15469 "configure"
15470 int main()
15472 // NB: _Atomic_word not necessarily int.
15473 typedef int atomic_type;
15474 atomic_type c1;
15475 atomic_type c2;
15476 atomic_type c3(0);
15477 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15478 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15479 __ATOMIC_RELAXED);
15480 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15481 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15483 return 0;
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15488 $as_echo_n "checking for atomic builtins for int... " >&6; }
15489 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15490 (eval $ac_compile) 2>&5
15491 ac_status=$?
15492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15493 test $ac_status = 0; }; then
15494 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15495 glibcxx_cv_atomic_int=no
15496 else
15497 glibcxx_cv_atomic_int=yes
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15501 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15502 rm -f conftest*
15504 cat > conftest.$ac_ext << EOF
15505 #line 15505 "configure"
15506 int main()
15508 typedef long long atomic_type;
15509 atomic_type c1;
15510 atomic_type c2;
15511 atomic_type c3(0);
15512 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15513 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15514 __ATOMIC_RELAXED);
15515 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15516 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15518 return 0;
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15523 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15524 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15525 (eval $ac_compile) 2>&5
15526 ac_status=$?
15527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15528 test $ac_status = 0; }; then
15529 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15530 glibcxx_cv_atomic_long_long=no
15531 else
15532 glibcxx_cv_atomic_long_long=yes
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15536 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15537 rm -f conftest*
15541 CXXFLAGS="$old_CXXFLAGS"
15542 ac_ext=c
15543 ac_cpp='$CPP $CPPFLAGS'
15544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15549 # Set atomicity_dir to builtins if all but the long long test above passes.
15550 if test $glibcxx_cv_atomic_bool = yes \
15551 && test $glibcxx_cv_atomic_short = yes \
15552 && test $glibcxx_cv_atomic_int = yes; then
15554 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15556 atomicity_dir=cpu/generic/atomicity_builtins
15559 # If still generic, set to mutex.
15560 if test $atomicity_dir = "cpu/generic" ; then
15561 atomicity_dir=cpu/generic/atomicity_mutex
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15563 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15564 if test "x$target_thread_file" = xsingle; then
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15566 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15568 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15569 else
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15571 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15573 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15580 # Fake what AC_TRY_COMPILE does, without linking as this is
15581 # unnecessary for this test.
15583 cat > conftest.$ac_ext << EOF
15584 #line 15584 "configure"
15585 int main()
15587 _Decimal32 d1;
15588 _Decimal64 d2;
15589 _Decimal128 d3;
15590 return 0;
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15595 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15596 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15597 (eval $ac_compile) 2>&5
15598 ac_status=$?
15599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15600 test $ac_status = 0; }; then
15602 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15604 enable_dfp=yes
15605 else
15606 enable_dfp=no
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15609 $as_echo "$enable_dfp" >&6; }
15610 rm -f conftest*
15615 ac_ext=cpp
15616 ac_cpp='$CXXCPP $CPPFLAGS'
15617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15622 # Fake what AC_TRY_COMPILE does, without linking as this is
15623 # unnecessary for this test.
15625 cat > conftest.$ac_ext << EOF
15626 #line 15626 "configure"
15627 template<typename T1, typename T2>
15628 struct same
15629 { typedef T2 type; };
15631 template<typename T>
15632 struct same<T, T>;
15634 int main()
15636 typename same<long, __int128>::type i1;
15637 typename same<long long, __int128>::type i2;
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15642 $as_echo_n "checking for __int128... " >&6; }
15643 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15644 (eval $ac_compile) 2>&5
15645 ac_status=$?
15646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15647 test $ac_status = 0; }; then
15649 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15651 enable_int128=yes
15652 else
15653 enable_int128=no
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15656 $as_echo "$enable_int128" >&6; }
15657 rm -f conftest*
15659 cat > conftest.$ac_ext << EOF
15660 #line 15660 "configure"
15661 template<typename T1, typename T2>
15662 struct same
15663 { typedef T2 type; };
15665 template<typename T>
15666 struct same<T, T>;
15668 int main()
15670 typename same<double, __float128>::type f1;
15671 typename same<long double, __float128>::type f2;
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15676 $as_echo_n "checking for __float128... " >&6; }
15677 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15678 (eval $ac_compile) 2>&5
15679 ac_status=$?
15680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15681 test $ac_status = 0; }; then
15683 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15685 enable_float128=yes
15686 else
15687 enable_float128=no
15689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15690 $as_echo "$enable_float128" >&6; }
15691 rm -f conftest*
15693 ac_ext=c
15694 ac_cpp='$CPP $CPPFLAGS'
15695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15701 # Checks for compiler support that doesn't require linking.
15703 # All these tests are for C++; save the language and the compiler flags.
15704 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15705 # found in GLIBCXX_CONFIGURE.
15707 ac_ext=cpp
15708 ac_cpp='$CXXCPP $CPPFLAGS'
15709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15713 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15714 ac_save_CXXFLAGS="$CXXFLAGS"
15716 # Check for maintainer-mode bits.
15717 if test x"$USE_MAINTAINER_MODE" = xno; then
15718 WERROR=''
15719 else
15720 WERROR='-Werror'
15723 # Check for -ffunction-sections -fdata-sections
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15725 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15726 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15728 /* end confdefs.h. */
15729 int foo; void bar() { };
15731 main ()
15735 return 0;
15737 _ACEOF
15738 if ac_fn_cxx_try_compile "$LINENO"; then :
15739 ac_fdsections=yes
15740 else
15741 ac_fdsections=no
15743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15744 if test "$ac_test_CXXFLAGS" = set; then
15745 CXXFLAGS="$ac_save_CXXFLAGS"
15746 else
15747 # this is the suspicious part
15748 CXXFLAGS=''
15750 if test x"$ac_fdsections" = x"yes"; then
15751 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15754 $as_echo "$ac_fdsections" >&6; }
15756 ac_ext=c
15757 ac_cpp='$CPP $CPPFLAGS'
15758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15766 # Enable all the variable C++ runtime options that don't require linking.
15768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15769 $as_echo_n "checking for underlying I/O to use... " >&6; }
15770 # Check whether --enable-cstdio was given.
15771 if test "${enable_cstdio+set}" = set; then :
15772 enableval=$enable_cstdio;
15773 case "$enableval" in
15774 stdio) ;;
15775 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15776 esac
15778 else
15779 enable_cstdio=stdio
15784 # Now that libio has been removed, you can have any color you want as long
15785 # as it's black. This is one big no-op until other packages are added, but
15786 # showing the framework never hurts.
15787 case ${enable_cstdio} in
15788 stdio)
15789 CSTDIO_H=config/io/c_io_stdio.h
15790 BASIC_FILE_H=config/io/basic_file_stdio.h
15791 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15793 $as_echo "stdio" >&6; }
15795 esac
15802 # Check whether --enable-clocale was given.
15803 if test "${enable_clocale+set}" = set; then :
15804 enableval=$enable_clocale;
15805 case "$enableval" in
15806 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15807 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15808 esac
15810 else
15811 enable_clocale=auto
15816 # Deal with gettext issues. Default to not using it (=no) until we detect
15817 # support for it later. Let the user turn it off via --e/d, but let that
15818 # default to on for easier handling.
15819 USE_NLS=no
15820 # Check whether --enable-nls was given.
15821 if test "${enable_nls+set}" = set; then :
15822 enableval=$enable_nls;
15823 else
15824 enable_nls=yes
15828 # Either a known package, or "auto"
15829 if test $enable_clocale = no || test $enable_clocale = yes; then
15830 enable_clocale=auto
15832 enable_clocale_flag=$enable_clocale
15834 # Probe for locale model to use if none specified.
15835 # Default to "generic".
15836 if test $enable_clocale_flag = auto; then
15837 case ${target_os} in
15838 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15839 enable_clocale_flag=gnu
15841 darwin* | freebsd*)
15842 enable_clocale_flag=darwin
15844 openbsd*)
15845 enable_clocale_flag=newlib
15848 if test x"$with_newlib" = x"yes"; then
15849 enable_clocale_flag=newlib
15850 else
15851 enable_clocale_flag=generic
15854 esac
15857 # Sanity check model, and test for special functionality.
15858 if test $enable_clocale_flag = gnu; then
15859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15860 /* end confdefs.h. */
15862 #include <features.h>
15863 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15864 _GLIBCXX_ok
15865 #endif
15867 _ACEOF
15868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15869 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15870 enable_clocale_flag=gnu
15871 else
15872 enable_clocale_flag=generic
15874 rm -f conftest*
15877 # Set it to scream when it hurts.
15878 ac_save_CFLAGS="$CFLAGS"
15879 CFLAGS="-Wimplicit-function-declaration -Werror"
15881 # Use strxfrm_l if available.
15882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15883 /* end confdefs.h. */
15884 #define _GNU_SOURCE 1
15885 #include <string.h>
15886 #include <locale.h>
15888 main ()
15890 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15892 return 0;
15894 _ACEOF
15895 if ac_fn_c_try_compile "$LINENO"; then :
15897 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15902 # Use strerror_l if available.
15903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15904 /* end confdefs.h. */
15905 #define _GNU_SOURCE 1
15906 #include <string.h>
15907 #include <locale.h>
15909 main ()
15911 __locale_t loc; strerror_l(5, loc);
15913 return 0;
15915 _ACEOF
15916 if ac_fn_c_try_compile "$LINENO"; then :
15918 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15923 CFLAGS="$ac_save_CFLAGS"
15926 # Perhaps use strerror_r if available, and strerror_l isn't.
15927 ac_save_CFLAGS="$CFLAGS"
15928 CFLAGS="-Wimplicit-function-declaration -Werror"
15929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15930 /* end confdefs.h. */
15931 #define _GNU_SOURCE 1
15932 #include <string.h>
15933 #include <locale.h>
15935 main ()
15937 char s[128]; strerror_r(5, s, 128);
15939 return 0;
15941 _ACEOF
15942 if ac_fn_c_try_compile "$LINENO"; then :
15944 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15948 CFLAGS="$ac_save_CFLAGS"
15950 # Set configure bits for specified locale package
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15952 $as_echo_n "checking for C locale to use... " >&6; }
15953 case ${enable_clocale_flag} in
15954 generic)
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15956 $as_echo "generic" >&6; }
15958 CLOCALE_H=config/locale/generic/c_locale.h
15959 CLOCALE_CC=config/locale/generic/c_locale.cc
15960 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15961 CCOLLATE_CC=config/locale/generic/collate_members.cc
15962 CCTYPE_CC=config/locale/generic/ctype_members.cc
15963 CMESSAGES_H=config/locale/generic/messages_members.h
15964 CMESSAGES_CC=config/locale/generic/messages_members.cc
15965 CMONEY_CC=config/locale/generic/monetary_members.cc
15966 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15967 CTIME_H=config/locale/generic/time_members.h
15968 CTIME_CC=config/locale/generic/time_members.cc
15969 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15971 darwin)
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15973 $as_echo "darwin or freebsd" >&6; }
15975 CLOCALE_H=config/locale/generic/c_locale.h
15976 CLOCALE_CC=config/locale/generic/c_locale.cc
15977 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15978 CCOLLATE_CC=config/locale/generic/collate_members.cc
15979 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15980 CMESSAGES_H=config/locale/generic/messages_members.h
15981 CMESSAGES_CC=config/locale/generic/messages_members.cc
15982 CMONEY_CC=config/locale/generic/monetary_members.cc
15983 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15984 CTIME_H=config/locale/generic/time_members.h
15985 CTIME_CC=config/locale/generic/time_members.cc
15986 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15989 gnu)
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15991 $as_echo "gnu" >&6; }
15993 # Declare intention to use gettext, and add support for specific
15994 # languages.
15995 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15996 ALL_LINGUAS="de fr"
15998 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15999 # Extract the first word of "msgfmt", so it can be a program name with args.
16000 set dummy msgfmt; ac_word=$2
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16002 $as_echo_n "checking for $ac_word... " >&6; }
16003 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16004 $as_echo_n "(cached) " >&6
16005 else
16006 if test -n "$check_msgfmt"; then
16007 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16008 else
16009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16010 for as_dir in $PATH
16012 IFS=$as_save_IFS
16013 test -z "$as_dir" && as_dir=.
16014 for ac_exec_ext in '' $ac_executable_extensions; do
16015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16016 ac_cv_prog_check_msgfmt="yes"
16017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16018 break 2
16020 done
16021 done
16022 IFS=$as_save_IFS
16024 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16027 check_msgfmt=$ac_cv_prog_check_msgfmt
16028 if test -n "$check_msgfmt"; then
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16030 $as_echo "$check_msgfmt" >&6; }
16031 else
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16033 $as_echo "no" >&6; }
16037 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16038 USE_NLS=yes
16040 # Export the build objects.
16041 for ling in $ALL_LINGUAS; do \
16042 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16043 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16044 done
16048 CLOCALE_H=config/locale/gnu/c_locale.h
16049 CLOCALE_CC=config/locale/gnu/c_locale.cc
16050 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16051 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16052 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16053 CMESSAGES_H=config/locale/gnu/messages_members.h
16054 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16055 CMONEY_CC=config/locale/gnu/monetary_members.cc
16056 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16057 CTIME_H=config/locale/gnu/time_members.h
16058 CTIME_CC=config/locale/gnu/time_members.cc
16059 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16061 ieee_1003.1-2001)
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16063 $as_echo "IEEE 1003.1" >&6; }
16065 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16066 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16067 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16068 CCOLLATE_CC=config/locale/generic/collate_members.cc
16069 CCTYPE_CC=config/locale/generic/ctype_members.cc
16070 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16071 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16072 CMONEY_CC=config/locale/generic/monetary_members.cc
16073 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16074 CTIME_H=config/locale/generic/time_members.h
16075 CTIME_CC=config/locale/generic/time_members.cc
16076 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16078 newlib)
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16080 $as_echo "newlib" >&6; }
16082 CLOCALE_H=config/locale/generic/c_locale.h
16083 CLOCALE_CC=config/locale/generic/c_locale.cc
16084 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16085 CCOLLATE_CC=config/locale/generic/collate_members.cc
16086 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16087 CMESSAGES_H=config/locale/generic/messages_members.h
16088 CMESSAGES_CC=config/locale/generic/messages_members.cc
16089 CMONEY_CC=config/locale/generic/monetary_members.cc
16090 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16091 CTIME_H=config/locale/generic/time_members.h
16092 CTIME_CC=config/locale/generic/time_members.cc
16093 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16095 esac
16097 # This is where the testsuite looks for locale catalogs, using the
16098 # -DLOCALEDIR define during testsuite compilation.
16099 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16102 # A standalone libintl (e.g., GNU libintl) may be in use.
16103 if test $USE_NLS = yes; then
16104 for ac_header in libintl.h
16105 do :
16106 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16107 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16108 cat >>confdefs.h <<_ACEOF
16109 #define HAVE_LIBINTL_H 1
16110 _ACEOF
16112 else
16113 USE_NLS=no
16116 done
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16119 $as_echo_n "checking for library containing gettext... " >&6; }
16120 if test "${ac_cv_search_gettext+set}" = set; then :
16121 $as_echo_n "(cached) " >&6
16122 else
16123 ac_func_search_save_LIBS=$LIBS
16124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16125 /* end confdefs.h. */
16127 /* Override any GCC internal prototype to avoid an error.
16128 Use char because int might match the return type of a GCC
16129 builtin and then its argument prototype would still apply. */
16130 #ifdef __cplusplus
16131 extern "C"
16132 #endif
16133 char gettext ();
16135 main ()
16137 return gettext ();
16139 return 0;
16141 _ACEOF
16142 for ac_lib in '' intl; do
16143 if test -z "$ac_lib"; then
16144 ac_res="none required"
16145 else
16146 ac_res=-l$ac_lib
16147 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16149 if test x$gcc_no_link = xyes; then
16150 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16152 if ac_fn_c_try_link "$LINENO"; then :
16153 ac_cv_search_gettext=$ac_res
16155 rm -f core conftest.err conftest.$ac_objext \
16156 conftest$ac_exeext
16157 if test "${ac_cv_search_gettext+set}" = set; then :
16158 break
16160 done
16161 if test "${ac_cv_search_gettext+set}" = set; then :
16163 else
16164 ac_cv_search_gettext=no
16166 rm conftest.$ac_ext
16167 LIBS=$ac_func_search_save_LIBS
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16170 $as_echo "$ac_cv_search_gettext" >&6; }
16171 ac_res=$ac_cv_search_gettext
16172 if test "$ac_res" != no; then :
16173 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16175 else
16176 USE_NLS=no
16180 if test $USE_NLS = yes; then
16182 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16202 $as_echo_n "checking for std::allocator base class... " >&6; }
16203 # Check whether --enable-libstdcxx-allocator was given.
16204 if test "${enable_libstdcxx_allocator+set}" = set; then :
16205 enableval=$enable_libstdcxx_allocator;
16206 case "$enableval" in
16207 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16208 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16209 esac
16211 else
16212 enable_libstdcxx_allocator=auto
16217 # If they didn't use this option switch, or if they specified --enable
16218 # with no specific model, we'll have to look for one. If they
16219 # specified --disable (???), do likewise.
16220 if test $enable_libstdcxx_allocator = no ||
16221 test $enable_libstdcxx_allocator = yes;
16222 then
16223 enable_libstdcxx_allocator=auto
16226 # Either a known package, or "auto". Auto implies the default choice
16227 # for a particular platform.
16228 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16230 # Probe for host-specific support if no specific model is specified.
16231 # Default to "new".
16232 if test $enable_libstdcxx_allocator_flag = auto; then
16233 case ${target_os} in
16234 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16235 enable_libstdcxx_allocator_flag=new
16238 enable_libstdcxx_allocator_flag=new
16240 esac
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16243 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16246 # Set configure bits for specified locale package
16247 case ${enable_libstdcxx_allocator_flag} in
16248 bitmap)
16249 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16250 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16252 malloc)
16253 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16254 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16257 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16258 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16260 new)
16261 ALLOCATOR_H=config/allocator/new_allocator_base.h
16262 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16264 pool)
16265 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16266 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16268 esac
16274 # Check whether --enable-cheaders was given.
16275 if test "${enable_cheaders+set}" = set; then :
16276 enableval=$enable_cheaders;
16277 case "$enableval" in
16278 c|c_std|c_global) ;;
16279 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16280 esac
16282 else
16283 enable_cheaders=$c_model
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16288 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16290 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16292 # Allow overrides to configure.host here.
16293 if test $enable_cheaders = c_global; then
16294 c_compatibility=yes
16303 # Check whether --enable-long-long was given.
16304 if test "${enable_long_long+set}" = set; then :
16305 enableval=$enable_long_long;
16306 case "$enableval" in
16307 yes|no) ;;
16308 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16309 esac
16311 else
16312 enable_long_long=yes
16316 if test $enable_long_long = yes; then
16318 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16322 $as_echo_n "checking for enabled long long specializations... " >&6; }
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16324 $as_echo "$enable_long_long" >&6; }
16327 # Check whether --enable-wchar_t was given.
16328 if test "${enable_wchar_t+set}" = set; then :
16329 enableval=$enable_wchar_t;
16330 case "$enableval" in
16331 yes|no) ;;
16332 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16333 esac
16335 else
16336 enable_wchar_t=yes
16341 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16342 for ac_header in wchar.h
16343 do :
16344 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16345 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16346 cat >>confdefs.h <<_ACEOF
16347 #define HAVE_WCHAR_H 1
16348 _ACEOF
16349 ac_has_wchar_h=yes
16350 else
16351 ac_has_wchar_h=no
16354 done
16356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16357 $as_echo_n "checking for mbstate_t... " >&6; }
16358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16359 /* end confdefs.h. */
16360 #include <wchar.h>
16362 main ()
16364 mbstate_t teststate;
16366 return 0;
16368 _ACEOF
16369 if ac_fn_c_try_compile "$LINENO"; then :
16370 have_mbstate_t=yes
16371 else
16372 have_mbstate_t=no
16374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16376 $as_echo "$have_mbstate_t" >&6; }
16377 if test x"$have_mbstate_t" = xyes; then
16379 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16383 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16384 # ac_has_wchar_h.
16385 for ac_header in wctype.h
16386 do :
16387 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16388 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16389 cat >>confdefs.h <<_ACEOF
16390 #define HAVE_WCTYPE_H 1
16391 _ACEOF
16392 ac_has_wctype_h=yes
16393 else
16394 ac_has_wctype_h=no
16397 done
16400 if test x"$enable_wchar_t" = x"yes"; then
16403 ac_ext=cpp
16404 ac_cpp='$CXXCPP $CPPFLAGS'
16405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16410 if test x"$ac_has_wchar_h" = xyes &&
16411 test x"$ac_has_wctype_h" = xyes; then
16412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16413 /* end confdefs.h. */
16414 #include <wchar.h>
16415 #include <stddef.h>
16416 wint_t i;
16417 long l = WEOF;
16418 long j = WCHAR_MIN;
16419 long k = WCHAR_MAX;
16420 namespace test
16422 using ::btowc;
16423 using ::fgetwc;
16424 using ::fgetws;
16425 using ::fputwc;
16426 using ::fputws;
16427 using ::fwide;
16428 using ::fwprintf;
16429 using ::fwscanf;
16430 using ::getwc;
16431 using ::getwchar;
16432 using ::mbrlen;
16433 using ::mbrtowc;
16434 using ::mbsinit;
16435 using ::mbsrtowcs;
16436 using ::putwc;
16437 using ::putwchar;
16438 using ::swprintf;
16439 using ::swscanf;
16440 using ::ungetwc;
16441 using ::vfwprintf;
16442 using ::vswprintf;
16443 using ::vwprintf;
16444 using ::wcrtomb;
16445 using ::wcscat;
16446 using ::wcschr;
16447 using ::wcscmp;
16448 using ::wcscoll;
16449 using ::wcscpy;
16450 using ::wcscspn;
16451 using ::wcsftime;
16452 using ::wcslen;
16453 using ::wcsncat;
16454 using ::wcsncmp;
16455 using ::wcsncpy;
16456 using ::wcspbrk;
16457 using ::wcsrchr;
16458 using ::wcsrtombs;
16459 using ::wcsspn;
16460 using ::wcsstr;
16461 using ::wcstod;
16462 using ::wcstok;
16463 using ::wcstol;
16464 using ::wcstoul;
16465 using ::wcsxfrm;
16466 using ::wctob;
16467 using ::wmemchr;
16468 using ::wmemcmp;
16469 using ::wmemcpy;
16470 using ::wmemmove;
16471 using ::wmemset;
16472 using ::wprintf;
16473 using ::wscanf;
16477 main ()
16481 return 0;
16483 _ACEOF
16484 if ac_fn_cxx_try_compile "$LINENO"; then :
16486 else
16487 enable_wchar_t=no
16489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16490 else
16491 enable_wchar_t=no
16494 ac_ext=c
16495 ac_cpp='$CPP $CPPFLAGS'
16496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16502 if test x"$enable_wchar_t" = x"yes"; then
16504 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16509 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16511 $as_echo "$enable_wchar_t" >&6; }
16515 # Check whether --enable-c99 was given.
16516 if test "${enable_c99+set}" = set; then :
16517 enableval=$enable_c99;
16518 case "$enableval" in
16519 yes|no) ;;
16520 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16521 esac
16523 else
16524 enable_c99=yes
16529 if test x"$enable_c99" = x"yes"; then
16532 ac_ext=cpp
16533 ac_cpp='$CXXCPP $CPPFLAGS'
16534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16539 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16540 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16541 # spuriously enabled.
16542 # Long term, -std=c++0x could be even better, could manage to explicitely
16543 # request C99 facilities to the underlying C headers.
16544 ac_save_CXXFLAGS="$CXXFLAGS"
16545 CXXFLAGS="$CXXFLAGS -std=c++98"
16546 ac_save_LIBS="$LIBS"
16547 ac_save_gcc_no_link="$gcc_no_link"
16549 if test x$gcc_no_link != xyes; then
16550 # Use -fno-exceptions to that the C driver can link these tests without
16551 # hitting undefined references to personality routines.
16552 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16554 $as_echo_n "checking for sin in -lm... " >&6; }
16555 if test "${ac_cv_lib_m_sin+set}" = set; then :
16556 $as_echo_n "(cached) " >&6
16557 else
16558 ac_check_lib_save_LIBS=$LIBS
16559 LIBS="-lm $LIBS"
16560 if test x$gcc_no_link = xyes; then
16561 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16564 /* end confdefs.h. */
16566 /* Override any GCC internal prototype to avoid an error.
16567 Use char because int might match the return type of a GCC
16568 builtin and then its argument prototype would still apply. */
16569 #ifdef __cplusplus
16570 extern "C"
16571 #endif
16572 char sin ();
16574 main ()
16576 return sin ();
16578 return 0;
16580 _ACEOF
16581 if ac_fn_cxx_try_link "$LINENO"; then :
16582 ac_cv_lib_m_sin=yes
16583 else
16584 ac_cv_lib_m_sin=no
16586 rm -f core conftest.err conftest.$ac_objext \
16587 conftest$ac_exeext conftest.$ac_ext
16588 LIBS=$ac_check_lib_save_LIBS
16590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16591 $as_echo "$ac_cv_lib_m_sin" >&6; }
16592 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16594 LIBS="$LIBS -lm"
16596 else
16598 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16599 gcc_no_link=yes
16605 # Check for the existence of <math.h> functions used if C99 is enabled.
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16607 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16608 if test "${glibcxx_cv_c99_math+set}" = set; then :
16609 $as_echo_n "(cached) " >&6
16610 else
16612 if test x$gcc_no_link = xyes; then
16613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16614 /* end confdefs.h. */
16615 #include <math.h>
16616 volatile double d1, d2;
16617 volatile int i;
16619 main ()
16621 i = fpclassify(d1);
16622 i = isfinite(d1);
16623 i = isinf(d1);
16624 i = isnan(d1);
16625 i = isnormal(d1);
16626 i = signbit(d1);
16627 i = isgreater(d1, d2);
16628 i = isgreaterequal(d1, d2);
16629 i = isless(d1, d2);
16630 i = islessequal(d1, d2);
16631 i = islessgreater(d1, d2);
16632 i = islessgreater(d1, d2);
16633 i = isunordered(d1, d2);
16636 return 0;
16638 _ACEOF
16639 if ac_fn_cxx_try_compile "$LINENO"; then :
16640 glibcxx_cv_c99_math=yes
16641 else
16642 glibcxx_cv_c99_math=no
16644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16645 else
16646 if test x$gcc_no_link = xyes; then
16647 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16650 /* end confdefs.h. */
16651 #include <math.h>
16652 volatile double d1, d2;
16653 volatile int i;
16655 main ()
16657 i = fpclassify(d1);
16658 i = isfinite(d1);
16659 i = isinf(d1);
16660 i = isnan(d1);
16661 i = isnormal(d1);
16662 i = signbit(d1);
16663 i = isgreater(d1, d2);
16664 i = isgreaterequal(d1, d2);
16665 i = isless(d1, d2);
16666 i = islessequal(d1, d2);
16667 i = islessgreater(d1, d2);
16668 i = islessgreater(d1, d2);
16669 i = isunordered(d1, d2);
16672 return 0;
16674 _ACEOF
16675 if ac_fn_cxx_try_link "$LINENO"; then :
16676 glibcxx_cv_c99_math=yes
16677 else
16678 glibcxx_cv_c99_math=no
16680 rm -f core conftest.err conftest.$ac_objext \
16681 conftest$ac_exeext conftest.$ac_ext
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16687 $as_echo "$glibcxx_cv_c99_math" >&6; }
16688 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16690 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16694 # Check for the existence of <complex.h> complex math functions.
16695 # This is necessary even though libstdc++ uses the builtin versions
16696 # of these functions, because if the builtin cannot be used, a reference
16697 # to the library function is emitted.
16698 for ac_header in tgmath.h
16699 do :
16700 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16701 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16702 cat >>confdefs.h <<_ACEOF
16703 #define HAVE_TGMATH_H 1
16704 _ACEOF
16705 ac_has_tgmath_h=yes
16706 else
16707 ac_has_tgmath_h=no
16710 done
16712 for ac_header in complex.h
16713 do :
16714 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16715 if test "x$ac_cv_header_complex_h" = x""yes; then :
16716 cat >>confdefs.h <<_ACEOF
16717 #define HAVE_COMPLEX_H 1
16718 _ACEOF
16719 ac_has_complex_h=yes
16720 else
16721 ac_has_complex_h=no
16724 done
16726 glibcxx_cv_c99_complex=no;
16727 if test x"$ac_has_complex_h" = x"yes"; then
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16729 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16730 if test x$gcc_no_link = xyes; then
16731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16732 /* end confdefs.h. */
16733 #include <complex.h>
16734 typedef __complex__ float float_type;
16735 typedef __complex__ double double_type;
16736 typedef __complex__ long double ld_type;
16737 volatile float_type tmpf;
16738 volatile double_type tmpd;
16739 volatile ld_type tmpld;
16740 volatile float f;
16741 volatile double d;
16742 volatile long double ld;
16744 main ()
16746 f = cabsf(tmpf);
16747 f = cargf(tmpf);
16748 tmpf = ccosf(tmpf);
16749 tmpf = ccoshf(tmpf);
16750 tmpf = cexpf(tmpf);
16751 tmpf = clogf(tmpf);
16752 tmpf = csinf(tmpf);
16753 tmpf = csinhf(tmpf);
16754 tmpf = csqrtf(tmpf);
16755 tmpf = ctanf(tmpf);
16756 tmpf = ctanhf(tmpf);
16757 tmpf = cpowf(tmpf, tmpf);
16758 tmpf = cprojf(tmpf);
16759 d = cabs(tmpd);
16760 d = carg(tmpd);
16761 tmpd = ccos(tmpd);
16762 tmpd = ccosh(tmpd);
16763 tmpd = cexp(tmpd);
16764 tmpd = clog(tmpd);
16765 tmpd = csin(tmpd);
16766 tmpd = csinh(tmpd);
16767 tmpd = csqrt(tmpd);
16768 tmpd = ctan(tmpd);
16769 tmpd = ctanh(tmpd);
16770 tmpd = cpow(tmpd, tmpd);
16771 tmpd = cproj(tmpd);
16772 ld = cabsl(tmpld);
16773 ld = cargl(tmpld);
16774 tmpld = ccosl(tmpld);
16775 tmpld = ccoshl(tmpld);
16776 tmpld = cexpl(tmpld);
16777 tmpld = clogl(tmpld);
16778 tmpld = csinl(tmpld);
16779 tmpld = csinhl(tmpld);
16780 tmpld = csqrtl(tmpld);
16781 tmpld = ctanl(tmpld);
16782 tmpld = ctanhl(tmpld);
16783 tmpld = cpowl(tmpld, tmpld);
16784 tmpld = cprojl(tmpld);
16787 return 0;
16789 _ACEOF
16790 if ac_fn_cxx_try_compile "$LINENO"; then :
16791 glibcxx_cv_c99_complex=yes
16792 else
16793 glibcxx_cv_c99_complex=no
16795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16796 else
16797 if test x$gcc_no_link = xyes; then
16798 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16801 /* end confdefs.h. */
16802 #include <complex.h>
16803 typedef __complex__ float float_type;
16804 typedef __complex__ double double_type;
16805 typedef __complex__ long double ld_type;
16806 volatile float_type tmpf;
16807 volatile double_type tmpd;
16808 volatile ld_type tmpld;
16809 volatile float f;
16810 volatile double d;
16811 volatile long double ld;
16813 main ()
16815 f = cabsf(tmpf);
16816 f = cargf(tmpf);
16817 tmpf = ccosf(tmpf);
16818 tmpf = ccoshf(tmpf);
16819 tmpf = cexpf(tmpf);
16820 tmpf = clogf(tmpf);
16821 tmpf = csinf(tmpf);
16822 tmpf = csinhf(tmpf);
16823 tmpf = csqrtf(tmpf);
16824 tmpf = ctanf(tmpf);
16825 tmpf = ctanhf(tmpf);
16826 tmpf = cpowf(tmpf, tmpf);
16827 tmpf = cprojf(tmpf);
16828 d = cabs(tmpd);
16829 d = carg(tmpd);
16830 tmpd = ccos(tmpd);
16831 tmpd = ccosh(tmpd);
16832 tmpd = cexp(tmpd);
16833 tmpd = clog(tmpd);
16834 tmpd = csin(tmpd);
16835 tmpd = csinh(tmpd);
16836 tmpd = csqrt(tmpd);
16837 tmpd = ctan(tmpd);
16838 tmpd = ctanh(tmpd);
16839 tmpd = cpow(tmpd, tmpd);
16840 tmpd = cproj(tmpd);
16841 ld = cabsl(tmpld);
16842 ld = cargl(tmpld);
16843 tmpld = ccosl(tmpld);
16844 tmpld = ccoshl(tmpld);
16845 tmpld = cexpl(tmpld);
16846 tmpld = clogl(tmpld);
16847 tmpld = csinl(tmpld);
16848 tmpld = csinhl(tmpld);
16849 tmpld = csqrtl(tmpld);
16850 tmpld = ctanl(tmpld);
16851 tmpld = ctanhl(tmpld);
16852 tmpld = cpowl(tmpld, tmpld);
16853 tmpld = cprojl(tmpld);
16856 return 0;
16858 _ACEOF
16859 if ac_fn_cxx_try_link "$LINENO"; then :
16860 glibcxx_cv_c99_complex=yes
16861 else
16862 glibcxx_cv_c99_complex=no
16864 rm -f core conftest.err conftest.$ac_objext \
16865 conftest$ac_exeext conftest.$ac_ext
16868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16869 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16870 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16872 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16876 # Check for the existence in <stdio.h> of vscanf, et. al.
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16878 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16879 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16880 $as_echo_n "(cached) " >&6
16881 else
16883 if test x$gcc_no_link = xyes; then
16884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16885 /* end confdefs.h. */
16886 #include <stdio.h>
16887 #include <stdarg.h>
16888 void foo(char* fmt, ...)
16890 va_list args; va_start(args, fmt);
16891 vfscanf(stderr, "%i", args);
16892 vscanf("%i", args);
16893 vsnprintf(fmt, 0, "%i", args);
16894 vsscanf(fmt, "%i", args);
16897 main ()
16899 snprintf("12", 0, "%i");
16901 return 0;
16903 _ACEOF
16904 if ac_fn_cxx_try_compile "$LINENO"; then :
16905 glibcxx_cv_c99_stdio=yes
16906 else
16907 glibcxx_cv_c99_stdio=no
16909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16910 else
16911 if test x$gcc_no_link = xyes; then
16912 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16915 /* end confdefs.h. */
16916 #include <stdio.h>
16917 #include <stdarg.h>
16918 void foo(char* fmt, ...)
16920 va_list args; va_start(args, fmt);
16921 vfscanf(stderr, "%i", args);
16922 vscanf("%i", args);
16923 vsnprintf(fmt, 0, "%i", args);
16924 vsscanf(fmt, "%i", args);
16927 main ()
16929 snprintf("12", 0, "%i");
16931 return 0;
16933 _ACEOF
16934 if ac_fn_cxx_try_link "$LINENO"; then :
16935 glibcxx_cv_c99_stdio=yes
16936 else
16937 glibcxx_cv_c99_stdio=no
16939 rm -f core conftest.err conftest.$ac_objext \
16940 conftest$ac_exeext conftest.$ac_ext
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16946 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16948 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16950 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16951 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16952 $as_echo_n "(cached) " >&6
16953 else
16955 if test x$gcc_no_link = xyes; then
16956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16957 /* end confdefs.h. */
16958 #include <stdlib.h>
16959 volatile float f;
16960 volatile long double ld;
16961 volatile unsigned long long ll;
16962 lldiv_t mydivt;
16964 main ()
16966 char* tmp;
16967 f = strtof("gnu", &tmp);
16968 ld = strtold("gnu", &tmp);
16969 ll = strtoll("gnu", &tmp, 10);
16970 ll = strtoull("gnu", &tmp, 10);
16971 ll = llabs(10);
16972 mydivt = lldiv(10,1);
16973 ll = mydivt.quot;
16974 ll = mydivt.rem;
16975 ll = atoll("10");
16976 _Exit(0);
16979 return 0;
16981 _ACEOF
16982 if ac_fn_cxx_try_compile "$LINENO"; then :
16983 glibcxx_cv_c99_stdlib=yes
16984 else
16985 glibcxx_cv_c99_stdlib=no
16987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16988 else
16989 if test x$gcc_no_link = xyes; then
16990 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16993 /* end confdefs.h. */
16994 #include <stdlib.h>
16995 volatile float f;
16996 volatile long double ld;
16997 volatile unsigned long long ll;
16998 lldiv_t mydivt;
17000 main ()
17002 char* tmp;
17003 f = strtof("gnu", &tmp);
17004 ld = strtold("gnu", &tmp);
17005 ll = strtoll("gnu", &tmp, 10);
17006 ll = strtoull("gnu", &tmp, 10);
17007 ll = llabs(10);
17008 mydivt = lldiv(10,1);
17009 ll = mydivt.quot;
17010 ll = mydivt.rem;
17011 ll = atoll("10");
17012 _Exit(0);
17015 return 0;
17017 _ACEOF
17018 if ac_fn_cxx_try_link "$LINENO"; then :
17019 glibcxx_cv_c99_stdlib=yes
17020 else
17021 glibcxx_cv_c99_stdlib=no
17023 rm -f core conftest.err conftest.$ac_objext \
17024 conftest$ac_exeext conftest.$ac_ext
17029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17030 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17032 # Check for the existence in <wchar.h> of wcstold, etc.
17033 glibcxx_cv_c99_wchar=no;
17034 if test x"$ac_has_wchar_h" = xyes &&
17035 test x"$ac_has_wctype_h" = xyes; then
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17037 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17039 /* end confdefs.h. */
17040 #include <wchar.h>
17041 namespace test
17043 using ::wcstold;
17044 using ::wcstoll;
17045 using ::wcstoull;
17049 main ()
17053 return 0;
17055 _ACEOF
17056 if ac_fn_cxx_try_compile "$LINENO"; then :
17057 glibcxx_cv_c99_wchar=yes
17058 else
17059 glibcxx_cv_c99_wchar=no
17061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17063 # Checks for wide character functions that may not be present.
17064 # Injection of these is wrapped with guard macros.
17065 # NB: only put functions here, instead of immediately above, if
17066 # absolutely necessary.
17067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17068 /* end confdefs.h. */
17069 #include <wchar.h>
17070 namespace test { using ::vfwscanf; }
17072 main ()
17076 return 0;
17078 _ACEOF
17079 if ac_fn_cxx_try_compile "$LINENO"; then :
17081 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17087 /* end confdefs.h. */
17088 #include <wchar.h>
17089 namespace test { using ::vswscanf; }
17091 main ()
17095 return 0;
17097 _ACEOF
17098 if ac_fn_cxx_try_compile "$LINENO"; then :
17100 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17106 /* end confdefs.h. */
17107 #include <wchar.h>
17108 namespace test { using ::vwscanf; }
17110 main ()
17114 return 0;
17116 _ACEOF
17117 if ac_fn_cxx_try_compile "$LINENO"; then :
17119 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17125 /* end confdefs.h. */
17126 #include <wchar.h>
17127 namespace test { using ::wcstof; }
17129 main ()
17133 return 0;
17135 _ACEOF
17136 if ac_fn_cxx_try_compile "$LINENO"; then :
17138 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17144 /* end confdefs.h. */
17145 #include <wctype.h>
17147 main ()
17149 wint_t t; int i = iswblank(t);
17151 return 0;
17153 _ACEOF
17154 if ac_fn_cxx_try_compile "$LINENO"; then :
17156 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17162 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17165 # Option parsed, now set things appropriately.
17166 if test x"$glibcxx_cv_c99_math" = x"no" ||
17167 test x"$glibcxx_cv_c99_complex" = x"no" ||
17168 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17169 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17170 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17171 enable_c99=no;
17172 else
17174 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17178 gcc_no_link="$ac_save_gcc_no_link"
17179 LIBS="$ac_save_LIBS"
17180 CXXFLAGS="$ac_save_CXXFLAGS"
17181 ac_ext=c
17182 ac_cpp='$CPP $CPPFLAGS'
17183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17190 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17192 $as_echo "$enable_c99" >&6; }
17195 # Check whether --enable-concept-checks was given.
17196 if test "${enable_concept_checks+set}" = set; then :
17197 enableval=$enable_concept_checks;
17198 case "$enableval" in
17199 yes|no) ;;
17200 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17201 esac
17203 else
17204 enable_concept_checks=no
17208 if test $enable_concept_checks = yes; then
17210 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17215 # Check whether --enable-libstdcxx-debug-flags was given.
17216 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17217 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17218 xno | x) enable_libstdcxx_debug_flags= ;;
17219 x-*) ;;
17220 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17221 esac
17222 else
17223 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17228 # Option parsed, now set things appropriately
17229 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17233 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17237 $as_echo_n "checking for additional debug build... " >&6; }
17238 # Check whether --enable-libstdcxx-debug was given.
17239 if test "${enable_libstdcxx_debug+set}" = set; then :
17240 enableval=$enable_libstdcxx_debug;
17241 case "$enableval" in
17242 yes|no) ;;
17243 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17244 esac
17246 else
17247 enable_libstdcxx_debug=no
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17252 $as_echo "$enable_libstdcxx_debug" >&6; }
17257 enable_parallel=no;
17259 # See if configured libgomp/omp.h exists. (libgomp may be in
17260 # noconfigdirs but not explicitly disabled.)
17261 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17262 enable_parallel=yes;
17263 else
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17265 $as_echo "$as_me: target-libgomp not built" >&6;}
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17269 $as_echo_n "checking for parallel mode support... " >&6; }
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17271 $as_echo "$enable_parallel" >&6; }
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17274 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17275 # Check whether --enable-cxx-flags was given.
17276 if test "${enable_cxx_flags+set}" = set; then :
17277 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17278 xno | x) enable_cxx_flags= ;;
17279 x-*) ;;
17280 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17281 esac
17282 else
17283 enable_cxx_flags=
17288 # Run through flags (either default or command-line) and set anything
17289 # extra (e.g., #defines) that must accompany particular g++ options.
17290 if test -n "$enable_cxx_flags"; then
17291 for f in $enable_cxx_flags; do
17292 case "$f" in
17293 -fhonor-std) ;;
17294 -*) ;;
17295 *) # and we're trying to pass /what/ exactly?
17296 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17297 esac
17298 done
17301 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17303 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17307 # Check whether --enable-fully-dynamic-string was given.
17308 if test "${enable_fully_dynamic_string+set}" = set; then :
17309 enableval=$enable_fully_dynamic_string;
17310 case "$enableval" in
17311 yes|no) ;;
17312 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17313 esac
17315 else
17316 enable_fully_dynamic_string=no
17320 if test $enable_fully_dynamic_string = yes; then
17321 enable_fully_dynamic_string_def=1
17322 else
17323 enable_fully_dynamic_string_def=0
17326 cat >>confdefs.h <<_ACEOF
17327 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17328 _ACEOF
17333 # Check whether --enable-extern-template was given.
17334 if test "${enable_extern_template+set}" = set; then :
17335 enableval=$enable_extern_template;
17336 case "$enableval" in
17337 yes|no) ;;
17338 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17339 esac
17341 else
17342 enable_extern_template=yes
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17348 $as_echo_n "checking for extern template support... " >&6; }
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17350 $as_echo "$enable_extern_template" >&6; }
17356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17357 $as_echo_n "checking for custom python install directory... " >&6; }
17359 # Check whether --with-python-dir was given.
17360 if test "${with_python_dir+set}" = set; then :
17361 withval=$with_python_dir; with_python_dir=$withval
17362 else
17363 with_python_dir="no"
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17367 $as_echo "${with_python_dir}" >&6; }
17369 # Needed for installing Python modules during make install.
17370 python_mod_dir="${with_python_dir}"
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17376 $as_echo_n "checking for -Werror... " >&6; }
17377 # Check whether --enable-werror was given.
17378 if test "${enable_werror+set}" = set; then :
17379 enableval=$enable_werror;
17380 case "$enableval" in
17381 yes|no) ;;
17382 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17383 esac
17385 else
17386 enable_werror=yes
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17391 $as_echo "$enable_werror" >&6; }
17396 # Check whether --enable-vtable-verify was given.
17397 if test "${enable_vtable_verify+set}" = set; then :
17398 enableval=$enable_vtable_verify;
17399 case "$enableval" in
17400 yes|no) ;;
17401 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17402 esac
17404 else
17405 enable_vtable_verify=no
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17411 $as_echo_n "checking for vtable verify support... " >&6; }
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17413 $as_echo "$enable_vtable_verify" >&6; }
17415 if test $enable_vtable_verify = yes; then
17416 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17417 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17418 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17419 else
17420 VTV_CXXFLAGS=
17421 VTV_PCH_CXXFLAGS=
17422 VTV_CXXLINKFLAGS=
17431 # Checks for operating systems support that doesn't require linking.
17435 ac_ext=cpp
17436 ac_cpp='$CXXCPP $CPPFLAGS'
17437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17443 $as_echo_n "checking for gets declaration... " >&6; }
17444 if test "${glibcxx_cv_gets+set}" = set; then :
17445 $as_echo_n "(cached) " >&6
17446 else
17448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17449 /* end confdefs.h. */
17450 #include <stdio.h>
17451 namespace test
17453 using ::gets;
17456 _ACEOF
17457 if ac_fn_cxx_try_compile "$LINENO"; then :
17458 glibcxx_cv_gets=yes
17459 else
17460 glibcxx_cv_gets=no
17463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17467 if test $glibcxx_cv_gets = yes; then
17469 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17473 $as_echo "$glibcxx_cv_gets" >&6; }
17475 ac_ext=c
17476 ac_cpp='$CPP $CPPFLAGS'
17477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17485 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17486 if test "${glibcxx_cv_system_error1+set}" = set; then :
17487 $as_echo_n "(cached) " >&6
17488 else
17490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17491 /* end confdefs.h. */
17492 #include <errno.h>
17494 main ()
17496 int i = EOWNERDEAD;
17498 return 0;
17500 _ACEOF
17501 if ac_fn_c_try_compile "$LINENO"; then :
17502 glibcxx_cv_system_error1=yes
17503 else
17504 glibcxx_cv_system_error1=no
17506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17511 $as_echo "$glibcxx_cv_system_error1" >&6; }
17512 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17514 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17518 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17519 if test "${glibcxx_cv_system_error2+set}" = set; then :
17520 $as_echo_n "(cached) " >&6
17521 else
17523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17524 /* end confdefs.h. */
17525 #include <errno.h>
17527 main ()
17529 int i = ENOTRECOVERABLE;
17531 return 0;
17533 _ACEOF
17534 if ac_fn_c_try_compile "$LINENO"; then :
17535 glibcxx_cv_system_error2=yes
17536 else
17537 glibcxx_cv_system_error2=no
17539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17544 $as_echo "$glibcxx_cv_system_error2" >&6; }
17545 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17547 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17551 $as_echo_n "checking for ENOLINK... " >&6; }
17552 if test "${glibcxx_cv_system_error3+set}" = set; then :
17553 $as_echo_n "(cached) " >&6
17554 else
17556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17557 /* end confdefs.h. */
17558 #include <errno.h>
17560 main ()
17562 int i = ENOLINK;
17564 return 0;
17566 _ACEOF
17567 if ac_fn_c_try_compile "$LINENO"; then :
17568 glibcxx_cv_system_error3=yes
17569 else
17570 glibcxx_cv_system_error3=no
17572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17577 $as_echo "$glibcxx_cv_system_error3" >&6; }
17578 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17580 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17584 $as_echo_n "checking for EPROTO... " >&6; }
17585 if test "${glibcxx_cv_system_error4+set}" = set; then :
17586 $as_echo_n "(cached) " >&6
17587 else
17589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17590 /* end confdefs.h. */
17591 #include <errno.h>
17593 main ()
17595 int i = EPROTO;
17597 return 0;
17599 _ACEOF
17600 if ac_fn_c_try_compile "$LINENO"; then :
17601 glibcxx_cv_system_error4=yes
17602 else
17603 glibcxx_cv_system_error4=no
17605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17610 $as_echo "$glibcxx_cv_system_error4" >&6; }
17611 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17613 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17617 $as_echo_n "checking for ENODATA... " >&6; }
17618 if test "${glibcxx_cv_system_error5+set}" = set; then :
17619 $as_echo_n "(cached) " >&6
17620 else
17622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17623 /* end confdefs.h. */
17624 #include <errno.h>
17626 main ()
17628 int i = ENODATA;
17630 return 0;
17632 _ACEOF
17633 if ac_fn_c_try_compile "$LINENO"; then :
17634 glibcxx_cv_system_error5=yes
17635 else
17636 glibcxx_cv_system_error5=no
17638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17643 $as_echo "$glibcxx_cv_system_error5" >&6; }
17644 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17646 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17650 $as_echo_n "checking for ENOSR... " >&6; }
17651 if test "${glibcxx_cv_system_error6+set}" = set; then :
17652 $as_echo_n "(cached) " >&6
17653 else
17655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17656 /* end confdefs.h. */
17657 #include <errno.h>
17659 main ()
17661 int i = ENOSR;
17663 return 0;
17665 _ACEOF
17666 if ac_fn_c_try_compile "$LINENO"; then :
17667 glibcxx_cv_system_error6=yes
17668 else
17669 glibcxx_cv_system_error6=no
17671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17676 $as_echo "$glibcxx_cv_system_error6" >&6; }
17677 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17679 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17683 $as_echo_n "checking for ENOSTR... " >&6; }
17684 if test "${glibcxx_cv_system_error7+set}" = set; then :
17685 $as_echo_n "(cached) " >&6
17686 else
17688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17689 /* end confdefs.h. */
17690 #include <errno.h>
17692 main ()
17694 int i = ENOSTR;
17696 return 0;
17698 _ACEOF
17699 if ac_fn_c_try_compile "$LINENO"; then :
17700 glibcxx_cv_system_error7=yes
17701 else
17702 glibcxx_cv_system_error7=no
17704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17709 $as_echo "$glibcxx_cv_system_error7" >&6; }
17710 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17712 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17716 $as_echo_n "checking for ETIME... " >&6; }
17717 if test "${glibcxx_cv_system_error8+set}" = set; then :
17718 $as_echo_n "(cached) " >&6
17719 else
17721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17722 /* end confdefs.h. */
17723 #include <errno.h>
17725 main ()
17727 int i = ETIME;
17729 return 0;
17731 _ACEOF
17732 if ac_fn_c_try_compile "$LINENO"; then :
17733 glibcxx_cv_system_error8=yes
17734 else
17735 glibcxx_cv_system_error8=no
17737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17742 $as_echo "$glibcxx_cv_system_error8" >&6; }
17743 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17745 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17749 $as_echo_n "checking for EBADMSG... " >&6; }
17750 if test "${glibcxx_cv_system_error9+set}" = set; then :
17751 $as_echo_n "(cached) " >&6
17752 else
17754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17755 /* end confdefs.h. */
17756 #include <errno.h>
17758 main ()
17760 int i = EBADMSG;
17762 return 0;
17764 _ACEOF
17765 if ac_fn_c_try_compile "$LINENO"; then :
17766 glibcxx_cv_system_error9=yes
17767 else
17768 glibcxx_cv_system_error9=no
17770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17775 $as_echo "$glibcxx_cv_system_error9" >&6; }
17776 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17778 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17782 $as_echo_n "checking for ECANCELED... " >&6; }
17783 if test "${glibcxx_cv_system_error10+set}" = set; then :
17784 $as_echo_n "(cached) " >&6
17785 else
17787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17788 /* end confdefs.h. */
17789 #include <errno.h>
17791 main ()
17793 int i = ECANCELED;
17795 return 0;
17797 _ACEOF
17798 if ac_fn_c_try_compile "$LINENO"; then :
17799 glibcxx_cv_system_error10=yes
17800 else
17801 glibcxx_cv_system_error10=no
17803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17808 $as_echo "$glibcxx_cv_system_error10" >&6; }
17809 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17811 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17815 $as_echo_n "checking for EOVERFLOW... " >&6; }
17816 if test "${glibcxx_cv_system_error11+set}" = set; then :
17817 $as_echo_n "(cached) " >&6
17818 else
17820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17821 /* end confdefs.h. */
17822 #include <errno.h>
17824 main ()
17826 int i = EOVERFLOW;
17828 return 0;
17830 _ACEOF
17831 if ac_fn_c_try_compile "$LINENO"; then :
17832 glibcxx_cv_system_error11=yes
17833 else
17834 glibcxx_cv_system_error11=no
17836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17841 $as_echo "$glibcxx_cv_system_error11" >&6; }
17842 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17844 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17848 $as_echo_n "checking for ENOTSUP... " >&6; }
17849 if test "${glibcxx_cv_system_error12+set}" = set; then :
17850 $as_echo_n "(cached) " >&6
17851 else
17853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17854 /* end confdefs.h. */
17855 #include <errno.h>
17857 main ()
17859 int i = ENOTSUP;
17861 return 0;
17863 _ACEOF
17864 if ac_fn_c_try_compile "$LINENO"; then :
17865 glibcxx_cv_system_error12=yes
17866 else
17867 glibcxx_cv_system_error12=no
17869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17874 $as_echo "$glibcxx_cv_system_error12" >&6; }
17875 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17877 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17881 $as_echo_n "checking for EIDRM... " >&6; }
17882 if test "${glibcxx_cv_system_error13+set}" = set; then :
17883 $as_echo_n "(cached) " >&6
17884 else
17886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17887 /* end confdefs.h. */
17888 #include <errno.h>
17890 main ()
17892 int i = EIDRM;
17894 return 0;
17896 _ACEOF
17897 if ac_fn_c_try_compile "$LINENO"; then :
17898 glibcxx_cv_system_error13=yes
17899 else
17900 glibcxx_cv_system_error13=no
17902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17907 $as_echo "$glibcxx_cv_system_error13" >&6; }
17908 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17910 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17914 $as_echo_n "checking for ETXTBSY... " >&6; }
17915 if test "${glibcxx_cv_system_error14+set}" = set; then :
17916 $as_echo_n "(cached) " >&6
17917 else
17919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17920 /* end confdefs.h. */
17921 #include <errno.h>
17923 main ()
17925 int i = ETXTBSY;
17927 return 0;
17929 _ACEOF
17930 if ac_fn_c_try_compile "$LINENO"; then :
17931 glibcxx_cv_system_error14=yes
17932 else
17933 glibcxx_cv_system_error14=no
17935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17940 $as_echo "$glibcxx_cv_system_error14" >&6; }
17941 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17943 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17947 $as_echo_n "checking for ECHILD... " >&6; }
17948 if test "${glibcxx_cv_system_error15+set}" = set; then :
17949 $as_echo_n "(cached) " >&6
17950 else
17952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17953 /* end confdefs.h. */
17954 #include <errno.h>
17956 main ()
17958 int i = ECHILD;
17960 return 0;
17962 _ACEOF
17963 if ac_fn_c_try_compile "$LINENO"; then :
17964 glibcxx_cv_system_error15=yes
17965 else
17966 glibcxx_cv_system_error15=no
17968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17973 $as_echo "$glibcxx_cv_system_error15" >&6; }
17974 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17976 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17980 $as_echo_n "checking for ENOSPC... " >&6; }
17981 if test "${glibcxx_cv_system_error16+set}" = set; then :
17982 $as_echo_n "(cached) " >&6
17983 else
17985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17986 /* end confdefs.h. */
17987 #include <errno.h>
17989 main ()
17991 int i = ENOSPC;
17993 return 0;
17995 _ACEOF
17996 if ac_fn_c_try_compile "$LINENO"; then :
17997 glibcxx_cv_system_error16=yes
17998 else
17999 glibcxx_cv_system_error16=no
18001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18006 $as_echo "$glibcxx_cv_system_error16" >&6; }
18007 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18009 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18013 $as_echo_n "checking for EPERM... " >&6; }
18014 if test "${glibcxx_cv_system_error17+set}" = set; then :
18015 $as_echo_n "(cached) " >&6
18016 else
18018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18019 /* end confdefs.h. */
18020 #include <errno.h>
18022 main ()
18024 int i = EPERM;
18026 return 0;
18028 _ACEOF
18029 if ac_fn_c_try_compile "$LINENO"; then :
18030 glibcxx_cv_system_error17=yes
18031 else
18032 glibcxx_cv_system_error17=no
18034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18039 $as_echo "$glibcxx_cv_system_error17" >&6; }
18040 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18042 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18046 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18047 if test "${glibcxx_cv_system_error18+set}" = set; then :
18048 $as_echo_n "(cached) " >&6
18049 else
18051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18052 /* end confdefs.h. */
18053 #include <errno.h>
18055 main ()
18057 int i = ETIMEDOUT;
18059 return 0;
18061 _ACEOF
18062 if ac_fn_c_try_compile "$LINENO"; then :
18063 glibcxx_cv_system_error18=yes
18064 else
18065 glibcxx_cv_system_error18=no
18067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18072 $as_echo "$glibcxx_cv_system_error18" >&6; }
18073 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18075 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18079 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18080 if test "${glibcxx_cv_system_error19+set}" = set; then :
18081 $as_echo_n "(cached) " >&6
18082 else
18084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18085 /* end confdefs.h. */
18086 #include <errno.h>
18088 main ()
18090 int i = EWOULDBLOCK;
18092 return 0;
18094 _ACEOF
18095 if ac_fn_c_try_compile "$LINENO"; then :
18096 glibcxx_cv_system_error19=yes
18097 else
18098 glibcxx_cv_system_error19=no
18100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18105 $as_echo "$glibcxx_cv_system_error19" >&6; }
18106 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18108 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18114 # For the streamoff typedef.
18118 ac_ext=cpp
18119 ac_cpp='$CXXCPP $CPPFLAGS'
18120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18126 $as_echo_n "checking for int64_t... " >&6; }
18127 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18128 $as_echo_n "(cached) " >&6
18129 else
18131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18132 /* end confdefs.h. */
18133 #include <stdint.h>
18135 main ()
18137 int64_t var;
18139 return 0;
18141 _ACEOF
18142 if ac_fn_cxx_try_compile "$LINENO"; then :
18143 glibcxx_cv_INT64_T=yes
18144 else
18145 glibcxx_cv_INT64_T=no
18147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18152 if test $glibcxx_cv_INT64_T = yes; then
18154 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18157 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18160 $as_echo_n "checking for int64_t as long... " >&6; }
18161 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18162 $as_echo_n "(cached) " >&6
18163 else
18165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18166 /* end confdefs.h. */
18167 #include <stdint.h>
18168 template<typename, typename> struct same { enum { value = -1 }; };
18169 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18170 int array[same<int64_t, long>::value];
18172 main ()
18176 return 0;
18178 _ACEOF
18179 if ac_fn_cxx_try_compile "$LINENO"; then :
18180 glibcxx_cv_int64_t_long=yes
18181 else
18182 glibcxx_cv_int64_t_long=no
18184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18189 if test $glibcxx_cv_int64_t_long = yes; then
18191 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18194 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18198 $as_echo_n "checking for int64_t as long long... " >&6; }
18199 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18200 $as_echo_n "(cached) " >&6
18201 else
18203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18204 /* end confdefs.h. */
18205 #include <stdint.h>
18206 template<typename, typename> struct same { enum { value = -1 }; };
18207 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18208 int array[same<int64_t, long long>::value];
18210 main ()
18214 return 0;
18216 _ACEOF
18217 if ac_fn_cxx_try_compile "$LINENO"; then :
18218 glibcxx_cv_int64_t_long_long=yes
18219 else
18220 glibcxx_cv_int64_t_long_long=no
18222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18227 if test $glibcxx_cv_int64_t_long_long = yes; then
18229 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18232 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18236 ac_ext=c
18237 ac_cpp='$CPP $CPPFLAGS'
18238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18244 # For LFS support.
18247 ac_ext=cpp
18248 ac_cpp='$CXXCPP $CPPFLAGS'
18249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18253 ac_save_CXXFLAGS="$CXXFLAGS"
18254 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18256 $as_echo_n "checking for LFS support... " >&6; }
18257 if test "${glibcxx_cv_LFS+set}" = set; then :
18258 $as_echo_n "(cached) " >&6
18259 else
18261 if test x$gcc_no_link = xyes; then
18262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18263 /* end confdefs.h. */
18264 #include <unistd.h>
18265 #include <stdio.h>
18266 #include <sys/stat.h>
18269 main ()
18271 FILE* fp;
18272 fopen64("t", "w");
18273 fseeko64(fp, 0, SEEK_CUR);
18274 ftello64(fp);
18275 lseek64(1, 0, SEEK_CUR);
18276 struct stat64 buf;
18277 fstat64(1, &buf);
18279 return 0;
18281 _ACEOF
18282 if ac_fn_cxx_try_compile "$LINENO"; then :
18283 glibcxx_cv_LFS=yes
18284 else
18285 glibcxx_cv_LFS=no
18287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18288 else
18289 if test x$gcc_no_link = xyes; then
18290 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18293 /* end confdefs.h. */
18294 #include <unistd.h>
18295 #include <stdio.h>
18296 #include <sys/stat.h>
18299 main ()
18301 FILE* fp;
18302 fopen64("t", "w");
18303 fseeko64(fp, 0, SEEK_CUR);
18304 ftello64(fp);
18305 lseek64(1, 0, SEEK_CUR);
18306 struct stat64 buf;
18307 fstat64(1, &buf);
18309 return 0;
18311 _ACEOF
18312 if ac_fn_cxx_try_link "$LINENO"; then :
18313 glibcxx_cv_LFS=yes
18314 else
18315 glibcxx_cv_LFS=no
18317 rm -f core conftest.err conftest.$ac_objext \
18318 conftest$ac_exeext conftest.$ac_ext
18323 if test $glibcxx_cv_LFS = yes; then
18325 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18329 $as_echo "$glibcxx_cv_LFS" >&6; }
18330 CXXFLAGS="$ac_save_CXXFLAGS"
18331 ac_ext=c
18332 ac_cpp='$CPP $CPPFLAGS'
18333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18339 # For showmanyc_helper().
18340 for ac_header in sys/ioctl.h sys/filio.h
18341 do :
18342 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18343 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18344 eval as_val=\$$as_ac_Header
18345 if test "x$as_val" = x""yes; then :
18346 cat >>confdefs.h <<_ACEOF
18347 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18348 _ACEOF
18352 done
18357 ac_ext=cpp
18358 ac_cpp='$CXXCPP $CPPFLAGS'
18359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18363 ac_save_CXXFLAGS="$CXXFLAGS"
18364 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18367 $as_echo_n "checking for poll... " >&6; }
18368 if test "${glibcxx_cv_POLL+set}" = set; then :
18369 $as_echo_n "(cached) " >&6
18370 else
18372 if test x$gcc_no_link = xyes; then
18373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18374 /* end confdefs.h. */
18375 #include <poll.h>
18377 main ()
18379 struct pollfd pfd[1];
18380 pfd[0].events = POLLIN;
18381 poll(pfd, 1, 0);
18383 return 0;
18385 _ACEOF
18386 if ac_fn_cxx_try_compile "$LINENO"; then :
18387 glibcxx_cv_POLL=yes
18388 else
18389 glibcxx_cv_POLL=no
18391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18392 else
18393 if test x$gcc_no_link = xyes; then
18394 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18397 /* end confdefs.h. */
18398 #include <poll.h>
18400 main ()
18402 struct pollfd pfd[1];
18403 pfd[0].events = POLLIN;
18404 poll(pfd, 1, 0);
18406 return 0;
18408 _ACEOF
18409 if ac_fn_cxx_try_link "$LINENO"; then :
18410 glibcxx_cv_POLL=yes
18411 else
18412 glibcxx_cv_POLL=no
18414 rm -f core conftest.err conftest.$ac_objext \
18415 conftest$ac_exeext conftest.$ac_ext
18420 if test $glibcxx_cv_POLL = yes; then
18422 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18426 $as_echo "$glibcxx_cv_POLL" >&6; }
18428 CXXFLAGS="$ac_save_CXXFLAGS"
18429 ac_ext=c
18430 ac_cpp='$CPP $CPPFLAGS'
18431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18439 ac_ext=cpp
18440 ac_cpp='$CXXCPP $CPPFLAGS'
18441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18445 ac_save_CXXFLAGS="$CXXFLAGS"
18446 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18449 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18450 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18451 $as_echo_n "(cached) " >&6
18452 else
18454 if test x$gcc_no_link = xyes; then
18455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18456 /* end confdefs.h. */
18457 #include <sys/stat.h>
18459 main ()
18461 struct stat buffer;
18462 fstat(0, &buffer);
18463 S_ISREG(buffer.st_mode);
18465 return 0;
18467 _ACEOF
18468 if ac_fn_cxx_try_compile "$LINENO"; then :
18469 glibcxx_cv_S_ISREG=yes
18470 else
18471 glibcxx_cv_S_ISREG=no
18473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18474 else
18475 if test x$gcc_no_link = xyes; then
18476 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18479 /* end confdefs.h. */
18480 #include <sys/stat.h>
18482 main ()
18484 struct stat buffer;
18485 fstat(0, &buffer);
18486 S_ISREG(buffer.st_mode);
18488 return 0;
18490 _ACEOF
18491 if ac_fn_cxx_try_link "$LINENO"; then :
18492 glibcxx_cv_S_ISREG=yes
18493 else
18494 glibcxx_cv_S_ISREG=no
18496 rm -f core conftest.err conftest.$ac_objext \
18497 conftest$ac_exeext conftest.$ac_ext
18502 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18503 $as_echo_n "(cached) " >&6
18504 else
18506 if test x$gcc_no_link = xyes; then
18507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18508 /* end confdefs.h. */
18509 #include <sys/stat.h>
18511 main ()
18513 struct stat buffer;
18514 fstat(0, &buffer);
18515 S_IFREG & buffer.st_mode;
18517 return 0;
18519 _ACEOF
18520 if ac_fn_cxx_try_compile "$LINENO"; then :
18521 glibcxx_cv_S_IFREG=yes
18522 else
18523 glibcxx_cv_S_IFREG=no
18525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18526 else
18527 if test x$gcc_no_link = xyes; then
18528 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18531 /* end confdefs.h. */
18532 #include <sys/stat.h>
18534 main ()
18536 struct stat buffer;
18537 fstat(0, &buffer);
18538 S_IFREG & buffer.st_mode;
18540 return 0;
18542 _ACEOF
18543 if ac_fn_cxx_try_link "$LINENO"; then :
18544 glibcxx_cv_S_IFREG=yes
18545 else
18546 glibcxx_cv_S_IFREG=no
18548 rm -f core conftest.err conftest.$ac_objext \
18549 conftest$ac_exeext conftest.$ac_ext
18554 res=no
18555 if test $glibcxx_cv_S_ISREG = yes; then
18557 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18559 res=S_ISREG
18560 elif test $glibcxx_cv_S_IFREG = yes; then
18562 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18564 res=S_IFREG
18566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18567 $as_echo "$res" >&6; }
18569 CXXFLAGS="$ac_save_CXXFLAGS"
18570 ac_ext=c
18571 ac_cpp='$CPP $CPPFLAGS'
18572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18578 # For xsputn_2().
18579 for ac_header in sys/uio.h
18580 do :
18581 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18582 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18583 cat >>confdefs.h <<_ACEOF
18584 #define HAVE_SYS_UIO_H 1
18585 _ACEOF
18589 done
18594 ac_ext=cpp
18595 ac_cpp='$CXXCPP $CPPFLAGS'
18596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18600 ac_save_CXXFLAGS="$CXXFLAGS"
18601 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18604 $as_echo_n "checking for writev... " >&6; }
18605 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18606 $as_echo_n "(cached) " >&6
18607 else
18609 if test x$gcc_no_link = xyes; then
18610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18611 /* end confdefs.h. */
18612 #include <sys/uio.h>
18614 main ()
18616 struct iovec iov[2];
18617 writev(0, iov, 0);
18619 return 0;
18621 _ACEOF
18622 if ac_fn_cxx_try_compile "$LINENO"; then :
18623 glibcxx_cv_WRITEV=yes
18624 else
18625 glibcxx_cv_WRITEV=no
18627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18628 else
18629 if test x$gcc_no_link = xyes; then
18630 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18633 /* end confdefs.h. */
18634 #include <sys/uio.h>
18636 main ()
18638 struct iovec iov[2];
18639 writev(0, iov, 0);
18641 return 0;
18643 _ACEOF
18644 if ac_fn_cxx_try_link "$LINENO"; then :
18645 glibcxx_cv_WRITEV=yes
18646 else
18647 glibcxx_cv_WRITEV=no
18649 rm -f core conftest.err conftest.$ac_objext \
18650 conftest$ac_exeext conftest.$ac_ext
18655 if test $glibcxx_cv_WRITEV = yes; then
18657 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18661 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18663 CXXFLAGS="$ac_save_CXXFLAGS"
18664 ac_ext=c
18665 ac_cpp='$CPP $CPPFLAGS'
18666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18672 # For C99 support to TR1.
18676 ac_ext=cpp
18677 ac_cpp='$CXXCPP $CPPFLAGS'
18678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18683 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18684 # undefined and fake C99 facilities may be spuriously enabled.
18685 ac_save_CXXFLAGS="$CXXFLAGS"
18686 CXXFLAGS="$CXXFLAGS -std=c++98"
18688 # Check for the existence of <complex.h> complex math functions used
18689 # by tr1/complex.
18690 for ac_header in complex.h
18691 do :
18692 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18693 if test "x$ac_cv_header_complex_h" = x""yes; then :
18694 cat >>confdefs.h <<_ACEOF
18695 #define HAVE_COMPLEX_H 1
18696 _ACEOF
18697 ac_has_complex_h=yes
18698 else
18699 ac_has_complex_h=no
18702 done
18704 ac_c99_complex_tr1=no;
18705 if test x"$ac_has_complex_h" = x"yes"; then
18706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18707 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18709 /* end confdefs.h. */
18710 #include <complex.h>
18712 main ()
18714 typedef __complex__ float float_type; float_type tmpf;
18715 cacosf(tmpf);
18716 casinf(tmpf);
18717 catanf(tmpf);
18718 cacoshf(tmpf);
18719 casinhf(tmpf);
18720 catanhf(tmpf);
18721 typedef __complex__ double double_type; double_type tmpd;
18722 cacos(tmpd);
18723 casin(tmpd);
18724 catan(tmpd);
18725 cacosh(tmpd);
18726 casinh(tmpd);
18727 catanh(tmpd);
18728 typedef __complex__ long double ld_type; ld_type tmpld;
18729 cacosl(tmpld);
18730 casinl(tmpld);
18731 catanl(tmpld);
18732 cacoshl(tmpld);
18733 casinhl(tmpld);
18734 catanhl(tmpld);
18737 return 0;
18739 _ACEOF
18740 if ac_fn_cxx_try_compile "$LINENO"; then :
18741 ac_c99_complex_tr1=yes
18742 else
18743 ac_c99_complex_tr1=no
18745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18748 $as_echo "$ac_c99_complex_tr1" >&6; }
18749 if test x"$ac_c99_complex_tr1" = x"yes"; then
18751 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18755 # Check for the existence of <ctype.h> functions.
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18757 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18758 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18759 $as_echo_n "(cached) " >&6
18760 else
18762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18763 /* end confdefs.h. */
18764 #include <ctype.h>
18766 main ()
18768 int ch;
18769 int ret;
18770 ret = isblank(ch);
18773 return 0;
18775 _ACEOF
18776 if ac_fn_cxx_try_compile "$LINENO"; then :
18777 glibcxx_cv_c99_ctype_tr1=yes
18778 else
18779 glibcxx_cv_c99_ctype_tr1=no
18781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18786 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18787 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18789 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18793 # Check for the existence of <fenv.h> functions.
18794 for ac_header in fenv.h
18795 do :
18796 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18797 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18798 cat >>confdefs.h <<_ACEOF
18799 #define HAVE_FENV_H 1
18800 _ACEOF
18801 ac_has_fenv_h=yes
18802 else
18803 ac_has_fenv_h=no
18806 done
18808 ac_c99_fenv_tr1=no;
18809 if test x"$ac_has_fenv_h" = x"yes"; then
18810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18811 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18813 /* end confdefs.h. */
18814 #include <fenv.h>
18816 main ()
18818 int except, mode;
18819 fexcept_t* pflag;
18820 fenv_t* penv;
18821 int ret;
18822 ret = feclearexcept(except);
18823 ret = fegetexceptflag(pflag, except);
18824 ret = feraiseexcept(except);
18825 ret = fesetexceptflag(pflag, except);
18826 ret = fetestexcept(except);
18827 ret = fegetround();
18828 ret = fesetround(mode);
18829 ret = fegetenv(penv);
18830 ret = feholdexcept(penv);
18831 ret = fesetenv(penv);
18832 ret = feupdateenv(penv);
18835 return 0;
18837 _ACEOF
18838 if ac_fn_cxx_try_compile "$LINENO"; then :
18839 ac_c99_fenv_tr1=yes
18840 else
18841 ac_c99_fenv_tr1=no
18843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18846 $as_echo "$ac_c99_fenv_tr1" >&6; }
18847 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18849 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18853 # Check for the existence of <stdint.h> types.
18854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18855 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18856 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18857 $as_echo_n "(cached) " >&6
18858 else
18860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18861 /* end confdefs.h. */
18862 #define __STDC_LIMIT_MACROS
18863 #define __STDC_CONSTANT_MACROS
18864 #include <stdint.h>
18866 main ()
18868 typedef int8_t my_int8_t;
18869 my_int8_t i8 = INT8_MIN;
18870 i8 = INT8_MAX;
18871 typedef int16_t my_int16_t;
18872 my_int16_t i16 = INT16_MIN;
18873 i16 = INT16_MAX;
18874 typedef int32_t my_int32_t;
18875 my_int32_t i32 = INT32_MIN;
18876 i32 = INT32_MAX;
18877 typedef int64_t my_int64_t;
18878 my_int64_t i64 = INT64_MIN;
18879 i64 = INT64_MAX;
18880 typedef int_fast8_t my_int_fast8_t;
18881 my_int_fast8_t if8 = INT_FAST8_MIN;
18882 if8 = INT_FAST8_MAX;
18883 typedef int_fast16_t my_int_fast16_t;
18884 my_int_fast16_t if16 = INT_FAST16_MIN;
18885 if16 = INT_FAST16_MAX;
18886 typedef int_fast32_t my_int_fast32_t;
18887 my_int_fast32_t if32 = INT_FAST32_MIN;
18888 if32 = INT_FAST32_MAX;
18889 typedef int_fast64_t my_int_fast64_t;
18890 my_int_fast64_t if64 = INT_FAST64_MIN;
18891 if64 = INT_FAST64_MAX;
18892 typedef int_least8_t my_int_least8_t;
18893 my_int_least8_t il8 = INT_LEAST8_MIN;
18894 il8 = INT_LEAST8_MAX;
18895 typedef int_least16_t my_int_least16_t;
18896 my_int_least16_t il16 = INT_LEAST16_MIN;
18897 il16 = INT_LEAST16_MAX;
18898 typedef int_least32_t my_int_least32_t;
18899 my_int_least32_t il32 = INT_LEAST32_MIN;
18900 il32 = INT_LEAST32_MAX;
18901 typedef int_least64_t my_int_least64_t;
18902 my_int_least64_t il64 = INT_LEAST64_MIN;
18903 il64 = INT_LEAST64_MAX;
18904 typedef intmax_t my_intmax_t;
18905 my_intmax_t im = INTMAX_MAX;
18906 im = INTMAX_MIN;
18907 typedef intptr_t my_intptr_t;
18908 my_intptr_t ip = INTPTR_MAX;
18909 ip = INTPTR_MIN;
18910 typedef uint8_t my_uint8_t;
18911 my_uint8_t ui8 = UINT8_MAX;
18912 ui8 = UINT8_MAX;
18913 typedef uint16_t my_uint16_t;
18914 my_uint16_t ui16 = UINT16_MAX;
18915 ui16 = UINT16_MAX;
18916 typedef uint32_t my_uint32_t;
18917 my_uint32_t ui32 = UINT32_MAX;
18918 ui32 = UINT32_MAX;
18919 typedef uint64_t my_uint64_t;
18920 my_uint64_t ui64 = UINT64_MAX;
18921 ui64 = UINT64_MAX;
18922 typedef uint_fast8_t my_uint_fast8_t;
18923 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18924 uif8 = UINT_FAST8_MAX;
18925 typedef uint_fast16_t my_uint_fast16_t;
18926 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18927 uif16 = UINT_FAST16_MAX;
18928 typedef uint_fast32_t my_uint_fast32_t;
18929 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18930 uif32 = UINT_FAST32_MAX;
18931 typedef uint_fast64_t my_uint_fast64_t;
18932 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18933 uif64 = UINT_FAST64_MAX;
18934 typedef uint_least8_t my_uint_least8_t;
18935 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18936 uil8 = UINT_LEAST8_MAX;
18937 typedef uint_least16_t my_uint_least16_t;
18938 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18939 uil16 = UINT_LEAST16_MAX;
18940 typedef uint_least32_t my_uint_least32_t;
18941 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18942 uil32 = UINT_LEAST32_MAX;
18943 typedef uint_least64_t my_uint_least64_t;
18944 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18945 uil64 = UINT_LEAST64_MAX;
18946 typedef uintmax_t my_uintmax_t;
18947 my_uintmax_t uim = UINTMAX_MAX;
18948 uim = UINTMAX_MAX;
18949 typedef uintptr_t my_uintptr_t;
18950 my_uintptr_t uip = UINTPTR_MAX;
18951 uip = UINTPTR_MAX;
18954 return 0;
18956 _ACEOF
18957 if ac_fn_cxx_try_compile "$LINENO"; then :
18958 glibcxx_cv_c99_stdint_tr1=yes
18959 else
18960 glibcxx_cv_c99_stdint_tr1=no
18962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18967 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18968 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18970 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18974 # Check for the existence of <math.h> functions.
18975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18976 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18977 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18978 $as_echo_n "(cached) " >&6
18979 else
18981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18982 /* end confdefs.h. */
18983 #include <math.h>
18985 main ()
18987 typedef double_t my_double_t;
18988 typedef float_t my_float_t;
18989 acosh(0.0);
18990 acoshf(0.0f);
18991 acoshl(0.0l);
18992 asinh(0.0);
18993 asinhf(0.0f);
18994 asinhl(0.0l);
18995 atanh(0.0);
18996 atanhf(0.0f);
18997 atanhl(0.0l);
18998 cbrt(0.0);
18999 cbrtf(0.0f);
19000 cbrtl(0.0l);
19001 copysign(0.0, 0.0);
19002 copysignf(0.0f, 0.0f);
19003 copysignl(0.0l, 0.0l);
19004 erf(0.0);
19005 erff(0.0f);
19006 erfl(0.0l);
19007 erfc(0.0);
19008 erfcf(0.0f);
19009 erfcl(0.0l);
19010 exp2(0.0);
19011 exp2f(0.0f);
19012 exp2l(0.0l);
19013 expm1(0.0);
19014 expm1f(0.0f);
19015 expm1l(0.0l);
19016 fdim(0.0, 0.0);
19017 fdimf(0.0f, 0.0f);
19018 fdiml(0.0l, 0.0l);
19019 fma(0.0, 0.0, 0.0);
19020 fmaf(0.0f, 0.0f, 0.0f);
19021 fmal(0.0l, 0.0l, 0.0l);
19022 fmax(0.0, 0.0);
19023 fmaxf(0.0f, 0.0f);
19024 fmaxl(0.0l, 0.0l);
19025 fmin(0.0, 0.0);
19026 fminf(0.0f, 0.0f);
19027 fminl(0.0l, 0.0l);
19028 hypot(0.0, 0.0);
19029 hypotf(0.0f, 0.0f);
19030 hypotl(0.0l, 0.0l);
19031 ilogb(0.0);
19032 ilogbf(0.0f);
19033 ilogbl(0.0l);
19034 lgamma(0.0);
19035 lgammaf(0.0f);
19036 lgammal(0.0l);
19037 llrint(0.0);
19038 llrintf(0.0f);
19039 llrintl(0.0l);
19040 llround(0.0);
19041 llroundf(0.0f);
19042 llroundl(0.0l);
19043 log1p(0.0);
19044 log1pf(0.0f);
19045 log1pl(0.0l);
19046 log2(0.0);
19047 log2f(0.0f);
19048 log2l(0.0l);
19049 logb(0.0);
19050 logbf(0.0f);
19051 logbl(0.0l);
19052 lrint(0.0);
19053 lrintf(0.0f);
19054 lrintl(0.0l);
19055 lround(0.0);
19056 lroundf(0.0f);
19057 lroundl(0.0l);
19058 nan(0);
19059 nanf(0);
19060 nanl(0);
19061 nearbyint(0.0);
19062 nearbyintf(0.0f);
19063 nearbyintl(0.0l);
19064 nextafter(0.0, 0.0);
19065 nextafterf(0.0f, 0.0f);
19066 nextafterl(0.0l, 0.0l);
19067 nexttoward(0.0, 0.0);
19068 nexttowardf(0.0f, 0.0f);
19069 nexttowardl(0.0l, 0.0l);
19070 remainder(0.0, 0.0);
19071 remainderf(0.0f, 0.0f);
19072 remainderl(0.0l, 0.0l);
19073 remquo(0.0, 0.0, 0);
19074 remquof(0.0f, 0.0f, 0);
19075 remquol(0.0l, 0.0l, 0);
19076 rint(0.0);
19077 rintf(0.0f);
19078 rintl(0.0l);
19079 round(0.0);
19080 roundf(0.0f);
19081 roundl(0.0l);
19082 scalbln(0.0, 0l);
19083 scalblnf(0.0f, 0l);
19084 scalblnl(0.0l, 0l);
19085 scalbn(0.0, 0);
19086 scalbnf(0.0f, 0);
19087 scalbnl(0.0l, 0);
19088 tgamma(0.0);
19089 tgammaf(0.0f);
19090 tgammal(0.0l);
19091 trunc(0.0);
19092 truncf(0.0f);
19093 truncl(0.0l);
19096 return 0;
19098 _ACEOF
19099 if ac_fn_cxx_try_compile "$LINENO"; then :
19100 glibcxx_cv_c99_math_tr1=yes
19101 else
19102 glibcxx_cv_c99_math_tr1=no
19104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19109 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19110 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19112 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19116 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19117 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19118 ac_c99_inttypes_tr1=no;
19119 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19121 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19123 /* end confdefs.h. */
19124 #include <inttypes.h>
19126 main ()
19128 intmax_t i, numer, denom, base;
19129 const char* s;
19130 char** endptr;
19131 intmax_t ret = imaxabs(i);
19132 imaxdiv_t dret = imaxdiv(numer, denom);
19133 ret = strtoimax(s, endptr, base);
19134 uintmax_t uret = strtoumax(s, endptr, base);
19137 return 0;
19139 _ACEOF
19140 if ac_fn_cxx_try_compile "$LINENO"; then :
19141 ac_c99_inttypes_tr1=yes
19142 else
19143 ac_c99_inttypes_tr1=no
19145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19148 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19149 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19151 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19155 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19156 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19157 ac_c99_inttypes_wchar_t_tr1=no;
19158 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19160 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19162 /* end confdefs.h. */
19163 #include <inttypes.h>
19165 main ()
19167 intmax_t base;
19168 const wchar_t* s;
19169 wchar_t** endptr;
19170 intmax_t ret = wcstoimax(s, endptr, base);
19171 uintmax_t uret = wcstoumax(s, endptr, base);
19174 return 0;
19176 _ACEOF
19177 if ac_fn_cxx_try_compile "$LINENO"; then :
19178 ac_c99_inttypes_wchar_t_tr1=yes
19179 else
19180 ac_c99_inttypes_wchar_t_tr1=no
19182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19185 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19186 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19188 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19192 # Check for the existence of the <stdbool.h> header.
19193 for ac_header in stdbool.h
19194 do :
19195 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19196 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19197 cat >>confdefs.h <<_ACEOF
19198 #define HAVE_STDBOOL_H 1
19199 _ACEOF
19203 done
19206 # Check for the existence of the <stdalign.h> header.
19207 for ac_header in stdalign.h
19208 do :
19209 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19210 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19211 cat >>confdefs.h <<_ACEOF
19212 #define HAVE_STDALIGN_H 1
19213 _ACEOF
19217 done
19220 CXXFLAGS="$ac_save_CXXFLAGS"
19221 ac_ext=c
19222 ac_cpp='$CPP $CPPFLAGS'
19223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19229 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19233 $as_echo_n "checking for the value of EOF... " >&6; }
19234 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19235 $as_echo_n "(cached) " >&6
19236 else
19238 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19240 else
19241 as_fn_error "computing EOF failed" "$LINENO" 5
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19247 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19249 cat >>confdefs.h <<_ACEOF
19250 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19251 _ACEOF
19254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19255 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19256 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19257 $as_echo_n "(cached) " >&6
19258 else
19260 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19262 else
19263 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19269 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19271 cat >>confdefs.h <<_ACEOF
19272 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19273 _ACEOF
19276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19277 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19278 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19279 $as_echo_n "(cached) " >&6
19280 else
19282 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19284 else
19285 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19291 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19293 cat >>confdefs.h <<_ACEOF
19294 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19295 _ACEOF
19299 # For gettimeofday support.
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19303 $as_echo_n "checking for gettimeofday... " >&6; }
19306 ac_ext=cpp
19307 ac_cpp='$CXXCPP $CPPFLAGS'
19308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19312 ac_save_CXXFLAGS="$CXXFLAGS"
19313 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19315 ac_has_gettimeofday=no;
19316 for ac_header in sys/time.h
19317 do :
19318 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19319 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19320 cat >>confdefs.h <<_ACEOF
19321 #define HAVE_SYS_TIME_H 1
19322 _ACEOF
19323 ac_has_sys_time_h=yes
19324 else
19325 ac_has_sys_time_h=no
19328 done
19330 if test x"$ac_has_sys_time_h" = x"yes"; then
19331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19332 $as_echo_n "checking for gettimeofday... " >&6; }
19333 if test x$gcc_no_link = xyes; then
19334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19335 /* end confdefs.h. */
19336 #include <sys/time.h>
19338 main ()
19340 timeval tv; gettimeofday(&tv, 0);
19342 return 0;
19344 _ACEOF
19345 if ac_fn_cxx_try_compile "$LINENO"; then :
19346 ac_has_gettimeofday=yes
19347 else
19348 ac_has_gettimeofday=no
19350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19351 else
19352 if test x$gcc_no_link = xyes; then
19353 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19356 /* end confdefs.h. */
19357 #include <sys/time.h>
19359 main ()
19361 timeval tv; gettimeofday(&tv, 0);
19363 return 0;
19365 _ACEOF
19366 if ac_fn_cxx_try_link "$LINENO"; then :
19367 ac_has_gettimeofday=yes
19368 else
19369 ac_has_gettimeofday=no
19371 rm -f core conftest.err conftest.$ac_objext \
19372 conftest$ac_exeext conftest.$ac_ext
19375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19376 $as_echo "$ac_has_gettimeofday" >&6; }
19379 if test x"$ac_has_gettimeofday" = x"yes"; then
19381 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19385 CXXFLAGS="$ac_save_CXXFLAGS"
19386 ac_ext=c
19387 ac_cpp='$CPP $CPPFLAGS'
19388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19394 # For clock_gettime, nanosleep and sched_yield support.
19397 # Check whether --enable-libstdcxx-time was given.
19398 if test "${enable_libstdcxx_time+set}" = set; then :
19399 enableval=$enable_libstdcxx_time;
19400 case "$enableval" in
19401 yes|no|rt) ;;
19402 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19403 esac
19405 else
19406 enable_libstdcxx_time=auto
19412 ac_ext=cpp
19413 ac_cpp='$CXXCPP $CPPFLAGS'
19414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19418 ac_save_CXXFLAGS="$CXXFLAGS"
19419 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19420 ac_save_LIBS="$LIBS"
19422 ac_has_clock_monotonic=no
19423 ac_has_clock_realtime=no
19424 ac_has_nanosleep=no
19425 ac_has_sched_yield=no
19427 if test x"$enable_libstdcxx_time" = x"auto"; then
19429 case "${target_os}" in
19430 cygwin*)
19431 ac_has_nanosleep=yes
19433 darwin*)
19434 ac_has_nanosleep=yes
19435 ac_has_sched_yield=yes
19437 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19439 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19441 /* end confdefs.h. */
19442 #include <features.h>
19444 main ()
19447 #if ! __GLIBC_PREREQ(2, 17)
19448 #error
19449 #endif
19452 return 0;
19454 _ACEOF
19455 if ac_fn_cxx_try_compile "$LINENO"; then :
19456 glibcxx_glibc217=yes
19457 else
19458 glibcxx_glibc217=no
19460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19462 $as_echo "$glibcxx_glibc217" >&6; }
19464 if test x"$glibcxx_glibc217" = x"yes"; then
19465 ac_has_clock_monotonic=yes
19466 ac_has_clock_realtime=yes
19468 ac_has_nanosleep=yes
19469 ac_has_sched_yield=yes
19471 freebsd*|netbsd*)
19472 ac_has_clock_monotonic=yes
19473 ac_has_clock_realtime=yes
19474 ac_has_nanosleep=yes
19475 ac_has_sched_yield=yes
19477 openbsd*)
19478 ac_has_clock_monotonic=yes
19479 ac_has_clock_realtime=yes
19480 ac_has_nanosleep=yes
19482 solaris*)
19483 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19484 ac_has_clock_monotonic=yes
19485 ac_has_clock_realtime=yes
19486 ac_has_nanosleep=yes
19487 ac_has_sched_yield=yes
19489 esac
19491 elif test x"$enable_libstdcxx_time" != x"no"; then
19493 if test x"$enable_libstdcxx_time" = x"rt"; then
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19495 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19496 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19497 $as_echo_n "(cached) " >&6
19498 else
19499 ac_func_search_save_LIBS=$LIBS
19500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19501 /* end confdefs.h. */
19503 /* Override any GCC internal prototype to avoid an error.
19504 Use char because int might match the return type of a GCC
19505 builtin and then its argument prototype would still apply. */
19506 #ifdef __cplusplus
19507 extern "C"
19508 #endif
19509 char clock_gettime ();
19511 main ()
19513 return clock_gettime ();
19515 return 0;
19517 _ACEOF
19518 for ac_lib in '' rt posix4; do
19519 if test -z "$ac_lib"; then
19520 ac_res="none required"
19521 else
19522 ac_res=-l$ac_lib
19523 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19525 if test x$gcc_no_link = xyes; then
19526 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19528 if ac_fn_cxx_try_link "$LINENO"; then :
19529 ac_cv_search_clock_gettime=$ac_res
19531 rm -f core conftest.err conftest.$ac_objext \
19532 conftest$ac_exeext
19533 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19534 break
19536 done
19537 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19539 else
19540 ac_cv_search_clock_gettime=no
19542 rm conftest.$ac_ext
19543 LIBS=$ac_func_search_save_LIBS
19545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19546 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19547 ac_res=$ac_cv_search_clock_gettime
19548 if test "$ac_res" != no; then :
19549 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19554 $as_echo_n "checking for library containing nanosleep... " >&6; }
19555 if test "${ac_cv_search_nanosleep+set}" = set; then :
19556 $as_echo_n "(cached) " >&6
19557 else
19558 ac_func_search_save_LIBS=$LIBS
19559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19560 /* end confdefs.h. */
19562 /* Override any GCC internal prototype to avoid an error.
19563 Use char because int might match the return type of a GCC
19564 builtin and then its argument prototype would still apply. */
19565 #ifdef __cplusplus
19566 extern "C"
19567 #endif
19568 char nanosleep ();
19570 main ()
19572 return nanosleep ();
19574 return 0;
19576 _ACEOF
19577 for ac_lib in '' rt posix4; do
19578 if test -z "$ac_lib"; then
19579 ac_res="none required"
19580 else
19581 ac_res=-l$ac_lib
19582 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19584 if test x$gcc_no_link = xyes; then
19585 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19587 if ac_fn_cxx_try_link "$LINENO"; then :
19588 ac_cv_search_nanosleep=$ac_res
19590 rm -f core conftest.err conftest.$ac_objext \
19591 conftest$ac_exeext
19592 if test "${ac_cv_search_nanosleep+set}" = set; then :
19593 break
19595 done
19596 if test "${ac_cv_search_nanosleep+set}" = set; then :
19598 else
19599 ac_cv_search_nanosleep=no
19601 rm conftest.$ac_ext
19602 LIBS=$ac_func_search_save_LIBS
19604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19605 $as_echo "$ac_cv_search_nanosleep" >&6; }
19606 ac_res=$ac_cv_search_nanosleep
19607 if test "$ac_res" != no; then :
19608 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19612 else
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19614 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19615 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19616 $as_echo_n "(cached) " >&6
19617 else
19618 ac_func_search_save_LIBS=$LIBS
19619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19620 /* end confdefs.h. */
19622 /* Override any GCC internal prototype to avoid an error.
19623 Use char because int might match the return type of a GCC
19624 builtin and then its argument prototype would still apply. */
19625 #ifdef __cplusplus
19626 extern "C"
19627 #endif
19628 char clock_gettime ();
19630 main ()
19632 return clock_gettime ();
19634 return 0;
19636 _ACEOF
19637 for ac_lib in '' posix4; do
19638 if test -z "$ac_lib"; then
19639 ac_res="none required"
19640 else
19641 ac_res=-l$ac_lib
19642 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19644 if test x$gcc_no_link = xyes; then
19645 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19647 if ac_fn_cxx_try_link "$LINENO"; then :
19648 ac_cv_search_clock_gettime=$ac_res
19650 rm -f core conftest.err conftest.$ac_objext \
19651 conftest$ac_exeext
19652 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19653 break
19655 done
19656 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19658 else
19659 ac_cv_search_clock_gettime=no
19661 rm conftest.$ac_ext
19662 LIBS=$ac_func_search_save_LIBS
19664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19665 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19666 ac_res=$ac_cv_search_clock_gettime
19667 if test "$ac_res" != no; then :
19668 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19673 $as_echo_n "checking for library containing nanosleep... " >&6; }
19674 if test "${ac_cv_search_nanosleep+set}" = set; then :
19675 $as_echo_n "(cached) " >&6
19676 else
19677 ac_func_search_save_LIBS=$LIBS
19678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19679 /* end confdefs.h. */
19681 /* Override any GCC internal prototype to avoid an error.
19682 Use char because int might match the return type of a GCC
19683 builtin and then its argument prototype would still apply. */
19684 #ifdef __cplusplus
19685 extern "C"
19686 #endif
19687 char nanosleep ();
19689 main ()
19691 return nanosleep ();
19693 return 0;
19695 _ACEOF
19696 for ac_lib in '' posix4; do
19697 if test -z "$ac_lib"; then
19698 ac_res="none required"
19699 else
19700 ac_res=-l$ac_lib
19701 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19703 if test x$gcc_no_link = xyes; then
19704 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19706 if ac_fn_cxx_try_link "$LINENO"; then :
19707 ac_cv_search_nanosleep=$ac_res
19709 rm -f core conftest.err conftest.$ac_objext \
19710 conftest$ac_exeext
19711 if test "${ac_cv_search_nanosleep+set}" = set; then :
19712 break
19714 done
19715 if test "${ac_cv_search_nanosleep+set}" = set; then :
19717 else
19718 ac_cv_search_nanosleep=no
19720 rm conftest.$ac_ext
19721 LIBS=$ac_func_search_save_LIBS
19723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19724 $as_echo "$ac_cv_search_nanosleep" >&6; }
19725 ac_res=$ac_cv_search_nanosleep
19726 if test "$ac_res" != no; then :
19727 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19733 case "$ac_cv_search_clock_gettime" in
19734 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19736 esac
19737 case "$ac_cv_search_nanosleep" in
19738 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19740 esac
19742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19743 $as_echo_n "checking for library containing sched_yield... " >&6; }
19744 if test "${ac_cv_search_sched_yield+set}" = set; then :
19745 $as_echo_n "(cached) " >&6
19746 else
19747 ac_func_search_save_LIBS=$LIBS
19748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19749 /* end confdefs.h. */
19751 /* Override any GCC internal prototype to avoid an error.
19752 Use char because int might match the return type of a GCC
19753 builtin and then its argument prototype would still apply. */
19754 #ifdef __cplusplus
19755 extern "C"
19756 #endif
19757 char sched_yield ();
19759 main ()
19761 return sched_yield ();
19763 return 0;
19765 _ACEOF
19766 for ac_lib in '' rt posix4; do
19767 if test -z "$ac_lib"; then
19768 ac_res="none required"
19769 else
19770 ac_res=-l$ac_lib
19771 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19773 if test x$gcc_no_link = xyes; then
19774 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19776 if ac_fn_cxx_try_link "$LINENO"; then :
19777 ac_cv_search_sched_yield=$ac_res
19779 rm -f core conftest.err conftest.$ac_objext \
19780 conftest$ac_exeext
19781 if test "${ac_cv_search_sched_yield+set}" = set; then :
19782 break
19784 done
19785 if test "${ac_cv_search_sched_yield+set}" = set; then :
19787 else
19788 ac_cv_search_sched_yield=no
19790 rm conftest.$ac_ext
19791 LIBS=$ac_func_search_save_LIBS
19793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19794 $as_echo "$ac_cv_search_sched_yield" >&6; }
19795 ac_res=$ac_cv_search_sched_yield
19796 if test "$ac_res" != no; then :
19797 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19802 case "$ac_cv_search_sched_yield" in
19803 -lposix4*)
19804 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19805 ac_has_sched_yield=yes
19807 -lrt*)
19808 if test x"$enable_libstdcxx_time" = x"rt"; then
19809 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19810 ac_has_sched_yield=yes
19814 ac_has_sched_yield=yes
19816 esac
19818 for ac_header in unistd.h
19819 do :
19820 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19821 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19822 cat >>confdefs.h <<_ACEOF
19823 #define HAVE_UNISTD_H 1
19824 _ACEOF
19825 ac_has_unistd_h=yes
19826 else
19827 ac_has_unistd_h=no
19830 done
19833 if test x"$ac_has_unistd_h" = x"yes"; then
19834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19835 $as_echo_n "checking for monotonic clock... " >&6; }
19836 if test x$gcc_no_link = xyes; then
19837 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19840 /* end confdefs.h. */
19841 #include <unistd.h>
19842 #include <time.h>
19845 main ()
19847 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19848 timespec tp;
19849 #endif
19850 clock_gettime(CLOCK_MONOTONIC, &tp);
19853 return 0;
19855 _ACEOF
19856 if ac_fn_cxx_try_link "$LINENO"; then :
19857 ac_has_clock_monotonic=yes
19858 else
19859 ac_has_clock_monotonic=no
19861 rm -f core conftest.err conftest.$ac_objext \
19862 conftest$ac_exeext conftest.$ac_ext
19864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19865 $as_echo "$ac_has_clock_monotonic" >&6; }
19867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19868 $as_echo_n "checking for realtime clock... " >&6; }
19869 if test x$gcc_no_link = xyes; then
19870 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19873 /* end confdefs.h. */
19874 #include <unistd.h>
19875 #include <time.h>
19878 main ()
19880 #if _POSIX_TIMERS > 0
19881 timespec tp;
19882 #endif
19883 clock_gettime(CLOCK_REALTIME, &tp);
19886 return 0;
19888 _ACEOF
19889 if ac_fn_cxx_try_link "$LINENO"; then :
19890 ac_has_clock_realtime=yes
19891 else
19892 ac_has_clock_realtime=no
19894 rm -f core conftest.err conftest.$ac_objext \
19895 conftest$ac_exeext conftest.$ac_ext
19897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19898 $as_echo "$ac_has_clock_realtime" >&6; }
19900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19901 $as_echo_n "checking for nanosleep... " >&6; }
19902 if test x$gcc_no_link = xyes; then
19903 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19906 /* end confdefs.h. */
19907 #include <unistd.h>
19908 #include <time.h>
19911 main ()
19913 #if _POSIX_TIMERS > 0
19914 timespec tp;
19915 #endif
19916 nanosleep(&tp, 0);
19919 return 0;
19921 _ACEOF
19922 if ac_fn_cxx_try_link "$LINENO"; then :
19923 ac_has_nanosleep=yes
19924 else
19925 ac_has_nanosleep=no
19927 rm -f core conftest.err conftest.$ac_objext \
19928 conftest$ac_exeext conftest.$ac_ext
19930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19931 $as_echo "$ac_has_nanosleep" >&6; }
19935 if test x"$ac_has_clock_monotonic" != x"yes"; then
19936 case ${target_os} in
19937 linux*)
19938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
19939 $as_echo_n "checking for clock_gettime syscall... " >&6; }
19940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19941 /* end confdefs.h. */
19942 #include <unistd.h>
19943 #include <time.h>
19944 #include <sys/syscall.h>
19947 main ()
19949 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19950 timespec tp;
19951 #endif
19952 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
19953 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
19956 return 0;
19958 _ACEOF
19959 if ac_fn_cxx_try_compile "$LINENO"; then :
19960 ac_has_clock_monotonic_syscall=yes
19961 else
19962 ac_has_clock_monotonic_syscall=no
19964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
19966 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
19967 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
19969 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
19971 ac_has_clock_monotonic=yes
19972 ac_has_clock_realtime=yes
19973 fi;;
19974 esac
19977 if test x"$ac_has_clock_monotonic" = x"yes"; then
19979 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19983 if test x"$ac_has_clock_realtime" = x"yes"; then
19985 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19989 if test x"$ac_has_sched_yield" = x"yes"; then
19991 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19995 if test x"$ac_has_nanosleep" = x"yes"; then
19997 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19999 else
20000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20001 $as_echo_n "checking for sleep... " >&6; }
20002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20003 /* end confdefs.h. */
20004 #include <unistd.h>
20006 main ()
20008 sleep(1)
20010 return 0;
20012 _ACEOF
20013 if ac_fn_cxx_try_compile "$LINENO"; then :
20014 ac_has_sleep=yes
20015 else
20016 ac_has_sleep=no
20018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20019 if test x"$ac_has_sleep" = x"yes"; then
20021 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20025 $as_echo "$ac_has_sleep" >&6; }
20026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20027 $as_echo_n "checking for usleep... " >&6; }
20028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20029 /* end confdefs.h. */
20030 #include <unistd.h>
20032 main ()
20034 sleep(1);
20035 usleep(100);
20037 return 0;
20039 _ACEOF
20040 if ac_fn_cxx_try_compile "$LINENO"; then :
20041 ac_has_usleep=yes
20042 else
20043 ac_has_usleep=no
20045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20046 if test x"$ac_has_usleep" = x"yes"; then
20048 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20052 $as_echo "$ac_has_usleep" >&6; }
20055 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20057 $as_echo_n "checking for Sleep... " >&6; }
20058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20059 /* end confdefs.h. */
20060 #include <windows.h>
20062 main ()
20064 Sleep(1)
20066 return 0;
20068 _ACEOF
20069 if ac_fn_cxx_try_compile "$LINENO"; then :
20070 ac_has_win32_sleep=yes
20071 else
20072 ac_has_win32_sleep=no
20074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20075 if test x"$ac_has_win32_sleep" = x"yes"; then
20077 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20081 $as_echo "$ac_has_win32_sleep" >&6; }
20086 CXXFLAGS="$ac_save_CXXFLAGS"
20087 LIBS="$ac_save_LIBS"
20088 ac_ext=c
20089 ac_cpp='$CPP $CPPFLAGS'
20090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20097 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20098 if test "x$ac_cv_header_locale_h" = x""yes; then :
20100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20101 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20102 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20103 $as_echo_n "(cached) " >&6
20104 else
20105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20106 /* end confdefs.h. */
20107 #include <locale.h>
20109 main ()
20111 return LC_MESSAGES
20113 return 0;
20115 _ACEOF
20116 if ac_fn_c_try_compile "$LINENO"; then :
20117 ac_cv_val_LC_MESSAGES=yes
20118 else
20119 ac_cv_val_LC_MESSAGES=no
20121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20124 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20125 if test $ac_cv_val_LC_MESSAGES = yes; then
20127 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20136 # For hardware_concurrency
20137 for ac_header in sys/sysinfo.h
20138 do :
20139 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20140 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20141 cat >>confdefs.h <<_ACEOF
20142 #define HAVE_SYS_SYSINFO_H 1
20143 _ACEOF
20147 done
20152 ac_ext=cpp
20153 ac_cpp='$CXXCPP $CPPFLAGS'
20154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20158 ac_save_CXXFLAGS="$CXXFLAGS"
20159 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20162 $as_echo_n "checking for get_nprocs... " >&6; }
20163 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20164 $as_echo_n "(cached) " >&6
20165 else
20167 if test x$gcc_no_link = xyes; then
20168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20169 /* end confdefs.h. */
20170 #include <sys/sysinfo.h>
20172 main ()
20174 int n = get_nprocs();
20176 return 0;
20178 _ACEOF
20179 if ac_fn_cxx_try_compile "$LINENO"; then :
20180 glibcxx_cv_GET_NPROCS=yes
20181 else
20182 glibcxx_cv_GET_NPROCS=no
20184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20185 else
20186 if test x$gcc_no_link = xyes; then
20187 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20190 /* end confdefs.h. */
20191 #include <sys/sysinfo.h>
20193 main ()
20195 int n = get_nprocs();
20197 return 0;
20199 _ACEOF
20200 if ac_fn_cxx_try_link "$LINENO"; then :
20201 glibcxx_cv_GET_NPROCS=yes
20202 else
20203 glibcxx_cv_GET_NPROCS=no
20205 rm -f core conftest.err conftest.$ac_objext \
20206 conftest$ac_exeext conftest.$ac_ext
20211 if test $glibcxx_cv_GET_NPROCS = yes; then
20213 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20217 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20219 CXXFLAGS="$ac_save_CXXFLAGS"
20220 ac_ext=c
20221 ac_cpp='$CPP $CPPFLAGS'
20222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20227 for ac_header in unistd.h
20228 do :
20229 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20230 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20231 cat >>confdefs.h <<_ACEOF
20232 #define HAVE_UNISTD_H 1
20233 _ACEOF
20237 done
20242 ac_ext=cpp
20243 ac_cpp='$CXXCPP $CPPFLAGS'
20244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20248 ac_save_CXXFLAGS="$CXXFLAGS"
20249 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20252 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20253 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20254 $as_echo_n "(cached) " >&6
20255 else
20257 if test x$gcc_no_link = xyes; then
20258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20259 /* end confdefs.h. */
20260 #include <unistd.h>
20262 main ()
20264 int n = sysconf(_SC_NPROCESSORS_ONLN);
20266 return 0;
20268 _ACEOF
20269 if ac_fn_cxx_try_compile "$LINENO"; then :
20270 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20271 else
20272 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20275 else
20276 if test x$gcc_no_link = xyes; then
20277 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20280 /* end confdefs.h. */
20281 #include <unistd.h>
20283 main ()
20285 int n = sysconf(_SC_NPROCESSORS_ONLN);
20287 return 0;
20289 _ACEOF
20290 if ac_fn_cxx_try_link "$LINENO"; then :
20291 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20292 else
20293 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20295 rm -f core conftest.err conftest.$ac_objext \
20296 conftest$ac_exeext conftest.$ac_ext
20301 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20303 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20307 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20309 CXXFLAGS="$ac_save_CXXFLAGS"
20310 ac_ext=c
20311 ac_cpp='$CPP $CPPFLAGS'
20312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20320 ac_ext=cpp
20321 ac_cpp='$CXXCPP $CPPFLAGS'
20322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20326 ac_save_CXXFLAGS="$CXXFLAGS"
20327 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20330 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20331 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20332 $as_echo_n "(cached) " >&6
20333 else
20335 if test x$gcc_no_link = xyes; then
20336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20337 /* end confdefs.h. */
20338 #include <unistd.h>
20340 main ()
20342 int n = sysconf(_SC_NPROC_ONLN);
20344 return 0;
20346 _ACEOF
20347 if ac_fn_cxx_try_compile "$LINENO"; then :
20348 glibcxx_cv_SC_NPROC_ONLN=yes
20349 else
20350 glibcxx_cv_SC_NPROC_ONLN=no
20352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20353 else
20354 if test x$gcc_no_link = xyes; then
20355 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20358 /* end confdefs.h. */
20359 #include <unistd.h>
20361 main ()
20363 int n = sysconf(_SC_NPROC_ONLN);
20365 return 0;
20367 _ACEOF
20368 if ac_fn_cxx_try_link "$LINENO"; then :
20369 glibcxx_cv_SC_NPROC_ONLN=yes
20370 else
20371 glibcxx_cv_SC_NPROC_ONLN=no
20373 rm -f core conftest.err conftest.$ac_objext \
20374 conftest$ac_exeext conftest.$ac_ext
20379 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20381 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20385 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20387 CXXFLAGS="$ac_save_CXXFLAGS"
20388 ac_ext=c
20389 ac_cpp='$CPP $CPPFLAGS'
20390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20398 ac_ext=cpp
20399 ac_cpp='$CXXCPP $CPPFLAGS'
20400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20404 ac_save_CXXFLAGS="$CXXFLAGS"
20405 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20408 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20409 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20410 $as_echo_n "(cached) " >&6
20411 else
20413 if test x$gcc_no_link = xyes; then
20414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20415 /* end confdefs.h. */
20416 #include <pthread.h>
20418 main ()
20420 int n = pthread_num_processors_np();
20422 return 0;
20424 _ACEOF
20425 if ac_fn_cxx_try_compile "$LINENO"; then :
20426 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20427 else
20428 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20431 else
20432 if test x$gcc_no_link = xyes; then
20433 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20436 /* end confdefs.h. */
20437 #include <pthread.h>
20439 main ()
20441 int n = pthread_num_processors_np();
20443 return 0;
20445 _ACEOF
20446 if ac_fn_cxx_try_link "$LINENO"; then :
20447 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20448 else
20449 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20451 rm -f core conftest.err conftest.$ac_objext \
20452 conftest$ac_exeext conftest.$ac_ext
20457 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20459 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20463 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20465 CXXFLAGS="$ac_save_CXXFLAGS"
20466 ac_ext=c
20467 ac_cpp='$CPP $CPPFLAGS'
20468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20476 ac_ext=cpp
20477 ac_cpp='$CXXCPP $CPPFLAGS'
20478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20482 ac_save_CXXFLAGS="$CXXFLAGS"
20483 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20486 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20487 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20488 $as_echo_n "(cached) " >&6
20489 else
20491 if test x$gcc_no_link = xyes; then
20492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20493 /* end confdefs.h. */
20495 #include <stddef.h>
20496 #include <sys/sysctl.h>
20499 main ()
20502 int count;
20503 size_t size = sizeof(count);
20504 int mib[] = { CTL_HW, HW_NCPU };
20505 sysctl(mib, 2, &count, &size, NULL, 0);
20508 return 0;
20510 _ACEOF
20511 if ac_fn_cxx_try_compile "$LINENO"; then :
20512 glibcxx_cv_SYSCTL_HW_NCPU=yes
20513 else
20514 glibcxx_cv_SYSCTL_HW_NCPU=no
20516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20517 else
20518 if test x$gcc_no_link = xyes; then
20519 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20522 /* end confdefs.h. */
20524 #include <stddef.h>
20525 #include <sys/sysctl.h>
20528 main ()
20531 int count;
20532 size_t size = sizeof(count);
20533 int mib[] = { CTL_HW, HW_NCPU };
20534 sysctl(mib, 2, &count, &size, NULL, 0);
20537 return 0;
20539 _ACEOF
20540 if ac_fn_cxx_try_link "$LINENO"; then :
20541 glibcxx_cv_SYSCTL_HW_NCPU=yes
20542 else
20543 glibcxx_cv_SYSCTL_HW_NCPU=no
20545 rm -f core conftest.err conftest.$ac_objext \
20546 conftest$ac_exeext conftest.$ac_ext
20551 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20553 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20557 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20559 CXXFLAGS="$ac_save_CXXFLAGS"
20560 ac_ext=c
20561 ac_cpp='$CPP $CPPFLAGS'
20562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: for suitable sys/sdt.h" >&5
20569 $as_echo "for suitable sys/sdt.h" >&6; }
20570 # Note that this test has to be run with the C language.
20571 # Otherwise, sdt.h will try to include some headers from
20572 # libstdc++ itself.
20574 ac_ext=c
20575 ac_cpp='$CPP $CPPFLAGS'
20576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20580 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20581 $as_echo_n "(cached) " >&6
20582 else
20584 # Because we have to run the test in C, we use grep rather
20585 # than the compiler to check for the bug. The bug is that
20586 # were strings without trailing whitespace, causing g++
20587 # to look for operator"". The pattern searches for the fixed
20588 # output.
20589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20590 /* end confdefs.h. */
20592 #include <sys/sdt.h>
20593 int f() { STAP_PROBE(hi, bob); }
20595 _ACEOF
20596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20597 $EGREP " \",\" " >/dev/null 2>&1; then :
20598 glibcxx_cv_sys_sdt_h=yes
20599 else
20600 glibcxx_cv_sys_sdt_h=no
20602 rm -f conftest*
20607 ac_ext=c
20608 ac_cpp='$CPP $CPPFLAGS'
20609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20613 if test $glibcxx_cv_sys_sdt_h = yes; then
20615 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20619 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20622 # Check for available headers.
20623 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20624 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20625 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20626 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20627 wchar.h wctype.h
20628 do :
20629 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20630 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20631 eval as_val=\$$as_ac_Header
20632 if test "x$as_val" = x""yes; then :
20633 cat >>confdefs.h <<_ACEOF
20634 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20635 _ACEOF
20639 done
20642 # Only do link tests if native. Else, hardcode.
20643 if $GLIBCXX_IS_NATIVE; then
20645 # We can do more elaborate tests that assume a working linker.
20646 CANADIAN=no
20650 # Check whether --with-gnu-ld was given.
20651 if test "${with_gnu_ld+set}" = set; then :
20652 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20653 else
20654 with_gnu_ld=no
20657 ac_prog=ld
20658 if test "$GCC" = yes; then
20659 # Check if gcc -print-prog-name=ld gives a path.
20660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20661 $as_echo_n "checking for ld used by $CC... " >&6; }
20662 case $host in
20663 *-*-mingw*)
20664 # gcc leaves a trailing carriage return which upsets mingw
20665 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20667 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20668 esac
20669 case $ac_prog in
20670 # Accept absolute paths.
20671 [\\/]* | ?:[\\/]*)
20672 re_direlt='/[^/][^/]*/\.\./'
20673 # Canonicalize the pathname of ld
20674 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20675 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20676 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20677 done
20678 test -z "$LD" && LD="$ac_prog"
20681 # If it fails, then pretend we aren't using GCC.
20682 ac_prog=ld
20685 # If it is relative, then search for the first ld in PATH.
20686 with_gnu_ld=unknown
20688 esac
20689 elif test "$with_gnu_ld" = yes; then
20690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20691 $as_echo_n "checking for GNU ld... " >&6; }
20692 else
20693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20694 $as_echo_n "checking for non-GNU ld... " >&6; }
20696 if test "${lt_cv_path_LD+set}" = set; then :
20697 $as_echo_n "(cached) " >&6
20698 else
20699 if test -z "$LD"; then
20700 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20701 for ac_dir in $PATH; do
20702 IFS="$lt_save_ifs"
20703 test -z "$ac_dir" && ac_dir=.
20704 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20705 lt_cv_path_LD="$ac_dir/$ac_prog"
20706 # Check to see if the program is GNU ld. I'd rather use --version,
20707 # but apparently some variants of GNU ld only accept -v.
20708 # Break only if it was the GNU/non-GNU ld that we prefer.
20709 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20710 *GNU* | *'with BFD'*)
20711 test "$with_gnu_ld" != no && break
20714 test "$with_gnu_ld" != yes && break
20716 esac
20718 done
20719 IFS="$lt_save_ifs"
20720 else
20721 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20725 LD="$lt_cv_path_LD"
20726 if test -n "$LD"; then
20727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20728 $as_echo "$LD" >&6; }
20729 else
20730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20731 $as_echo "no" >&6; }
20733 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20735 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20736 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20737 $as_echo_n "(cached) " >&6
20738 else
20739 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20740 case `$LD -v 2>&1 </dev/null` in
20741 *GNU* | *'with BFD'*)
20742 lt_cv_prog_gnu_ld=yes
20745 lt_cv_prog_gnu_ld=no
20747 esac
20749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20750 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20751 with_gnu_ld=$lt_cv_prog_gnu_ld
20759 # If we're not using GNU ld, then there's no point in even trying these
20760 # tests. Check for that first. We should have already tested for gld
20761 # by now (in libtool), but require it now just to be safe...
20762 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20763 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20767 # The name set by libtool depends on the version of libtool. Shame on us
20768 # for depending on an impl detail, but c'est la vie. Older versions used
20769 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20770 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20771 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20772 # set (hence we're using an older libtool), then set it.
20773 if test x${with_gnu_ld+set} != xset; then
20774 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20775 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20776 with_gnu_ld=no
20777 else
20778 with_gnu_ld=$ac_cv_prog_gnu_ld
20782 # Start by getting the version number. I think the libtool test already
20783 # does some of this, but throws away the result.
20784 glibcxx_ld_is_gold=no
20785 if test x"$with_gnu_ld" = x"yes"; then
20786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20787 $as_echo_n "checking for ld version... " >&6; }
20789 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20790 glibcxx_ld_is_gold=yes
20792 ldver=`$LD --version 2>/dev/null |
20793 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'`
20795 glibcxx_gnu_ld_version=`echo $ldver | \
20796 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20798 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20801 # Set --gc-sections.
20802 glibcxx_have_gc_sections=no
20803 if test "$glibcxx_ld_is_gold" = "yes"; then
20804 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20805 glibcxx_have_gc_sections=yes
20807 else
20808 glibcxx_gcsections_min_ld=21602
20809 if test x"$with_gnu_ld" = x"yes" &&
20810 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20811 glibcxx_have_gc_sections=yes
20814 if test "$glibcxx_have_gc_sections" = "yes"; then
20815 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20816 # NB: This flag only works reliably after 2.16.1. Configure tests
20817 # for this are difficult, so hard wire a value that should work.
20819 ac_test_CFLAGS="${CFLAGS+set}"
20820 ac_save_CFLAGS="$CFLAGS"
20821 CFLAGS='-Wl,--gc-sections'
20823 # Check for -Wl,--gc-sections
20824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20825 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20826 if test x$gcc_no_link = xyes; then
20827 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20830 /* end confdefs.h. */
20831 int one(void) { return 1; }
20832 int two(void) { return 2; }
20835 main ()
20837 two();
20839 return 0;
20841 _ACEOF
20842 if ac_fn_c_try_link "$LINENO"; then :
20843 ac_gcsections=yes
20844 else
20845 ac_gcsections=no
20847 rm -f core conftest.err conftest.$ac_objext \
20848 conftest$ac_exeext conftest.$ac_ext
20849 if test "$ac_gcsections" = "yes"; then
20850 rm -f conftest.c
20851 touch conftest.c
20852 if $CC -c conftest.c; then
20853 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20854 grep "Warning: gc-sections option ignored" > /dev/null; then
20855 ac_gcsections=no
20858 rm -f conftest.c conftest.o conftest
20860 if test "$ac_gcsections" = "yes"; then
20861 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20864 $as_echo "$ac_gcsections" >&6; }
20866 if test "$ac_test_CFLAGS" = set; then
20867 CFLAGS="$ac_save_CFLAGS"
20868 else
20869 # this is the suspicious part
20870 CFLAGS=''
20874 # Set -z,relro.
20875 # Note this is only for shared objects.
20876 ac_ld_relro=no
20877 if test x"$with_gnu_ld" = x"yes"; then
20878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20879 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20880 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20881 if test -n "$cxx_z_relo"; then
20882 OPT_LDFLAGS="-Wl,-z,relro"
20883 ac_ld_relro=yes
20885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20886 $as_echo "$ac_ld_relro" >&6; }
20889 # Set linker optimization flags.
20890 if test x"$with_gnu_ld" = x"yes"; then
20891 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20898 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20899 ac_save_CXXFLAGS="$CXXFLAGS"
20900 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20903 $as_echo_n "checking for sin in -lm... " >&6; }
20904 if test "${ac_cv_lib_m_sin+set}" = set; then :
20905 $as_echo_n "(cached) " >&6
20906 else
20907 ac_check_lib_save_LIBS=$LIBS
20908 LIBS="-lm $LIBS"
20909 if test x$gcc_no_link = xyes; then
20910 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20913 /* end confdefs.h. */
20915 /* Override any GCC internal prototype to avoid an error.
20916 Use char because int might match the return type of a GCC
20917 builtin and then its argument prototype would still apply. */
20918 #ifdef __cplusplus
20919 extern "C"
20920 #endif
20921 char sin ();
20923 main ()
20925 return sin ();
20927 return 0;
20929 _ACEOF
20930 if ac_fn_c_try_link "$LINENO"; then :
20931 ac_cv_lib_m_sin=yes
20932 else
20933 ac_cv_lib_m_sin=no
20935 rm -f core conftest.err conftest.$ac_objext \
20936 conftest$ac_exeext conftest.$ac_ext
20937 LIBS=$ac_check_lib_save_LIBS
20939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20940 $as_echo "$ac_cv_lib_m_sin" >&6; }
20941 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20942 libm="-lm"
20945 ac_save_LIBS="$LIBS"
20946 LIBS="$LIBS $libm"
20950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20951 $as_echo_n "checking for isinf declaration... " >&6; }
20952 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20953 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20954 $as_echo_n "(cached) " >&6
20955 else
20958 ac_ext=cpp
20959 ac_cpp='$CXXCPP $CPPFLAGS'
20960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20965 /* end confdefs.h. */
20966 #include <math.h>
20967 #ifdef HAVE_IEEEFP_H
20968 #include <ieeefp.h>
20969 #endif
20972 main ()
20974 isinf(0);
20976 return 0;
20978 _ACEOF
20979 if ac_fn_cxx_try_compile "$LINENO"; then :
20980 glibcxx_cv_func_isinf_use=yes
20981 else
20982 glibcxx_cv_func_isinf_use=no
20984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20985 ac_ext=c
20986 ac_cpp='$CPP $CPPFLAGS'
20987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20996 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20998 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20999 for ac_func in isinf
21000 do :
21001 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21002 if test "x$ac_cv_func_isinf" = x""yes; then :
21003 cat >>confdefs.h <<_ACEOF
21004 #define HAVE_ISINF 1
21005 _ACEOF
21008 done
21010 else
21012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21013 $as_echo_n "checking for _isinf declaration... " >&6; }
21014 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21015 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21016 $as_echo_n "(cached) " >&6
21017 else
21020 ac_ext=cpp
21021 ac_cpp='$CXXCPP $CPPFLAGS'
21022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21027 /* end confdefs.h. */
21028 #include <math.h>
21029 #ifdef HAVE_IEEEFP_H
21030 #include <ieeefp.h>
21031 #endif
21034 main ()
21036 _isinf(0);
21038 return 0;
21040 _ACEOF
21041 if ac_fn_cxx_try_compile "$LINENO"; then :
21042 glibcxx_cv_func__isinf_use=yes
21043 else
21044 glibcxx_cv_func__isinf_use=no
21046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21047 ac_ext=c
21048 ac_cpp='$CPP $CPPFLAGS'
21049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21058 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21060 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21061 for ac_func in _isinf
21062 do :
21063 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21064 if test "x$ac_cv_func__isinf" = x""yes; then :
21065 cat >>confdefs.h <<_ACEOF
21066 #define HAVE__ISINF 1
21067 _ACEOF
21070 done
21079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21080 $as_echo_n "checking for isnan declaration... " >&6; }
21081 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21082 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21083 $as_echo_n "(cached) " >&6
21084 else
21087 ac_ext=cpp
21088 ac_cpp='$CXXCPP $CPPFLAGS'
21089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21094 /* end confdefs.h. */
21095 #include <math.h>
21096 #ifdef HAVE_IEEEFP_H
21097 #include <ieeefp.h>
21098 #endif
21101 main ()
21103 isnan(0);
21105 return 0;
21107 _ACEOF
21108 if ac_fn_cxx_try_compile "$LINENO"; then :
21109 glibcxx_cv_func_isnan_use=yes
21110 else
21111 glibcxx_cv_func_isnan_use=no
21113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21114 ac_ext=c
21115 ac_cpp='$CPP $CPPFLAGS'
21116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21125 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21127 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21128 for ac_func in isnan
21129 do :
21130 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21131 if test "x$ac_cv_func_isnan" = x""yes; then :
21132 cat >>confdefs.h <<_ACEOF
21133 #define HAVE_ISNAN 1
21134 _ACEOF
21137 done
21139 else
21141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21142 $as_echo_n "checking for _isnan declaration... " >&6; }
21143 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21144 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21145 $as_echo_n "(cached) " >&6
21146 else
21149 ac_ext=cpp
21150 ac_cpp='$CXXCPP $CPPFLAGS'
21151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21156 /* end confdefs.h. */
21157 #include <math.h>
21158 #ifdef HAVE_IEEEFP_H
21159 #include <ieeefp.h>
21160 #endif
21163 main ()
21165 _isnan(0);
21167 return 0;
21169 _ACEOF
21170 if ac_fn_cxx_try_compile "$LINENO"; then :
21171 glibcxx_cv_func__isnan_use=yes
21172 else
21173 glibcxx_cv_func__isnan_use=no
21175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21176 ac_ext=c
21177 ac_cpp='$CPP $CPPFLAGS'
21178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21187 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21189 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21190 for ac_func in _isnan
21191 do :
21192 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21193 if test "x$ac_cv_func__isnan" = x""yes; then :
21194 cat >>confdefs.h <<_ACEOF
21195 #define HAVE__ISNAN 1
21196 _ACEOF
21199 done
21208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21209 $as_echo_n "checking for finite declaration... " >&6; }
21210 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21211 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21212 $as_echo_n "(cached) " >&6
21213 else
21216 ac_ext=cpp
21217 ac_cpp='$CXXCPP $CPPFLAGS'
21218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21223 /* end confdefs.h. */
21224 #include <math.h>
21225 #ifdef HAVE_IEEEFP_H
21226 #include <ieeefp.h>
21227 #endif
21230 main ()
21232 finite(0);
21234 return 0;
21236 _ACEOF
21237 if ac_fn_cxx_try_compile "$LINENO"; then :
21238 glibcxx_cv_func_finite_use=yes
21239 else
21240 glibcxx_cv_func_finite_use=no
21242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21243 ac_ext=c
21244 ac_cpp='$CPP $CPPFLAGS'
21245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21254 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21256 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21257 for ac_func in finite
21258 do :
21259 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21260 if test "x$ac_cv_func_finite" = x""yes; then :
21261 cat >>confdefs.h <<_ACEOF
21262 #define HAVE_FINITE 1
21263 _ACEOF
21266 done
21268 else
21270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21271 $as_echo_n "checking for _finite declaration... " >&6; }
21272 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21273 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21274 $as_echo_n "(cached) " >&6
21275 else
21278 ac_ext=cpp
21279 ac_cpp='$CXXCPP $CPPFLAGS'
21280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21285 /* end confdefs.h. */
21286 #include <math.h>
21287 #ifdef HAVE_IEEEFP_H
21288 #include <ieeefp.h>
21289 #endif
21292 main ()
21294 _finite(0);
21296 return 0;
21298 _ACEOF
21299 if ac_fn_cxx_try_compile "$LINENO"; then :
21300 glibcxx_cv_func__finite_use=yes
21301 else
21302 glibcxx_cv_func__finite_use=no
21304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21305 ac_ext=c
21306 ac_cpp='$CPP $CPPFLAGS'
21307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21316 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21318 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21319 for ac_func in _finite
21320 do :
21321 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21322 if test "x$ac_cv_func__finite" = x""yes; then :
21323 cat >>confdefs.h <<_ACEOF
21324 #define HAVE__FINITE 1
21325 _ACEOF
21328 done
21337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21338 $as_echo_n "checking for sincos declaration... " >&6; }
21339 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21340 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21341 $as_echo_n "(cached) " >&6
21342 else
21345 ac_ext=cpp
21346 ac_cpp='$CXXCPP $CPPFLAGS'
21347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21352 /* end confdefs.h. */
21353 #include <math.h>
21355 main ()
21357 sincos(0, 0, 0);
21359 return 0;
21361 _ACEOF
21362 if ac_fn_cxx_try_compile "$LINENO"; then :
21363 glibcxx_cv_func_sincos_use=yes
21364 else
21365 glibcxx_cv_func_sincos_use=no
21367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21368 ac_ext=c
21369 ac_cpp='$CPP $CPPFLAGS'
21370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21379 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21381 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21382 for ac_func in sincos
21383 do :
21384 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21385 if test "x$ac_cv_func_sincos" = x""yes; then :
21386 cat >>confdefs.h <<_ACEOF
21387 #define HAVE_SINCOS 1
21388 _ACEOF
21391 done
21393 else
21395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21396 $as_echo_n "checking for _sincos declaration... " >&6; }
21397 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21398 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21399 $as_echo_n "(cached) " >&6
21400 else
21403 ac_ext=cpp
21404 ac_cpp='$CXXCPP $CPPFLAGS'
21405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21410 /* end confdefs.h. */
21411 #include <math.h>
21413 main ()
21415 _sincos(0, 0, 0);
21417 return 0;
21419 _ACEOF
21420 if ac_fn_cxx_try_compile "$LINENO"; then :
21421 glibcxx_cv_func__sincos_use=yes
21422 else
21423 glibcxx_cv_func__sincos_use=no
21425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21426 ac_ext=c
21427 ac_cpp='$CPP $CPPFLAGS'
21428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21437 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21439 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21440 for ac_func in _sincos
21441 do :
21442 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21443 if test "x$ac_cv_func__sincos" = x""yes; then :
21444 cat >>confdefs.h <<_ACEOF
21445 #define HAVE__SINCOS 1
21446 _ACEOF
21449 done
21458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21459 $as_echo_n "checking for fpclass declaration... " >&6; }
21460 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21461 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21462 $as_echo_n "(cached) " >&6
21463 else
21466 ac_ext=cpp
21467 ac_cpp='$CXXCPP $CPPFLAGS'
21468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21473 /* end confdefs.h. */
21474 #include <math.h>
21475 #ifdef HAVE_IEEEFP_H
21476 #include <ieeefp.h>
21477 #endif
21480 main ()
21482 fpclass(0);
21484 return 0;
21486 _ACEOF
21487 if ac_fn_cxx_try_compile "$LINENO"; then :
21488 glibcxx_cv_func_fpclass_use=yes
21489 else
21490 glibcxx_cv_func_fpclass_use=no
21492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21493 ac_ext=c
21494 ac_cpp='$CPP $CPPFLAGS'
21495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21504 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21506 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21507 for ac_func in fpclass
21508 do :
21509 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21510 if test "x$ac_cv_func_fpclass" = x""yes; then :
21511 cat >>confdefs.h <<_ACEOF
21512 #define HAVE_FPCLASS 1
21513 _ACEOF
21516 done
21518 else
21520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21521 $as_echo_n "checking for _fpclass declaration... " >&6; }
21522 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21523 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21524 $as_echo_n "(cached) " >&6
21525 else
21528 ac_ext=cpp
21529 ac_cpp='$CXXCPP $CPPFLAGS'
21530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21535 /* end confdefs.h. */
21536 #include <math.h>
21537 #ifdef HAVE_IEEEFP_H
21538 #include <ieeefp.h>
21539 #endif
21542 main ()
21544 _fpclass(0);
21546 return 0;
21548 _ACEOF
21549 if ac_fn_cxx_try_compile "$LINENO"; then :
21550 glibcxx_cv_func__fpclass_use=yes
21551 else
21552 glibcxx_cv_func__fpclass_use=no
21554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21555 ac_ext=c
21556 ac_cpp='$CPP $CPPFLAGS'
21557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21566 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21568 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21569 for ac_func in _fpclass
21570 do :
21571 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21572 if test "x$ac_cv_func__fpclass" = x""yes; then :
21573 cat >>confdefs.h <<_ACEOF
21574 #define HAVE__FPCLASS 1
21575 _ACEOF
21578 done
21587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21588 $as_echo_n "checking for qfpclass declaration... " >&6; }
21589 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21590 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21591 $as_echo_n "(cached) " >&6
21592 else
21595 ac_ext=cpp
21596 ac_cpp='$CXXCPP $CPPFLAGS'
21597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21602 /* end confdefs.h. */
21603 #include <math.h>
21604 #ifdef HAVE_IEEEFP_H
21605 #include <ieeefp.h>
21606 #endif
21609 main ()
21611 qfpclass(0);
21613 return 0;
21615 _ACEOF
21616 if ac_fn_cxx_try_compile "$LINENO"; then :
21617 glibcxx_cv_func_qfpclass_use=yes
21618 else
21619 glibcxx_cv_func_qfpclass_use=no
21621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21622 ac_ext=c
21623 ac_cpp='$CPP $CPPFLAGS'
21624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21633 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21635 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21636 for ac_func in qfpclass
21637 do :
21638 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21639 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21640 cat >>confdefs.h <<_ACEOF
21641 #define HAVE_QFPCLASS 1
21642 _ACEOF
21645 done
21647 else
21649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21650 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21651 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21652 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21653 $as_echo_n "(cached) " >&6
21654 else
21657 ac_ext=cpp
21658 ac_cpp='$CXXCPP $CPPFLAGS'
21659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21664 /* end confdefs.h. */
21665 #include <math.h>
21666 #ifdef HAVE_IEEEFP_H
21667 #include <ieeefp.h>
21668 #endif
21671 main ()
21673 _qfpclass(0);
21675 return 0;
21677 _ACEOF
21678 if ac_fn_cxx_try_compile "$LINENO"; then :
21679 glibcxx_cv_func__qfpclass_use=yes
21680 else
21681 glibcxx_cv_func__qfpclass_use=no
21683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21684 ac_ext=c
21685 ac_cpp='$CPP $CPPFLAGS'
21686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21695 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21697 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21698 for ac_func in _qfpclass
21699 do :
21700 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21701 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21702 cat >>confdefs.h <<_ACEOF
21703 #define HAVE__QFPCLASS 1
21704 _ACEOF
21707 done
21716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21717 $as_echo_n "checking for hypot declaration... " >&6; }
21718 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21719 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21720 $as_echo_n "(cached) " >&6
21721 else
21724 ac_ext=cpp
21725 ac_cpp='$CXXCPP $CPPFLAGS'
21726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21731 /* end confdefs.h. */
21732 #include <math.h>
21734 main ()
21736 hypot(0, 0);
21738 return 0;
21740 _ACEOF
21741 if ac_fn_cxx_try_compile "$LINENO"; then :
21742 glibcxx_cv_func_hypot_use=yes
21743 else
21744 glibcxx_cv_func_hypot_use=no
21746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21747 ac_ext=c
21748 ac_cpp='$CPP $CPPFLAGS'
21749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21758 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21760 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21761 for ac_func in hypot
21762 do :
21763 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21764 if test "x$ac_cv_func_hypot" = x""yes; then :
21765 cat >>confdefs.h <<_ACEOF
21766 #define HAVE_HYPOT 1
21767 _ACEOF
21770 done
21772 else
21774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21775 $as_echo_n "checking for _hypot declaration... " >&6; }
21776 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21777 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21778 $as_echo_n "(cached) " >&6
21779 else
21782 ac_ext=cpp
21783 ac_cpp='$CXXCPP $CPPFLAGS'
21784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21789 /* end confdefs.h. */
21790 #include <math.h>
21792 main ()
21794 _hypot(0, 0);
21796 return 0;
21798 _ACEOF
21799 if ac_fn_cxx_try_compile "$LINENO"; then :
21800 glibcxx_cv_func__hypot_use=yes
21801 else
21802 glibcxx_cv_func__hypot_use=no
21804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21805 ac_ext=c
21806 ac_cpp='$CPP $CPPFLAGS'
21807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21816 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21818 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21819 for ac_func in _hypot
21820 do :
21821 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21822 if test "x$ac_cv_func__hypot" = x""yes; then :
21823 cat >>confdefs.h <<_ACEOF
21824 #define HAVE__HYPOT 1
21825 _ACEOF
21828 done
21837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21838 $as_echo_n "checking for float trig functions... " >&6; }
21839 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21840 $as_echo_n "(cached) " >&6
21841 else
21844 ac_ext=cpp
21845 ac_cpp='$CXXCPP $CPPFLAGS'
21846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21851 /* end confdefs.h. */
21852 #include <math.h>
21854 main ()
21856 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21858 return 0;
21860 _ACEOF
21861 if ac_fn_cxx_try_compile "$LINENO"; then :
21862 glibcxx_cv_func_float_trig_use=yes
21863 else
21864 glibcxx_cv_func_float_trig_use=no
21866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21867 ac_ext=c
21868 ac_cpp='$CPP $CPPFLAGS'
21869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21876 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21877 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21878 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21879 do :
21880 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21881 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21882 eval as_val=\$$as_ac_var
21883 if test "x$as_val" = x""yes; then :
21884 cat >>confdefs.h <<_ACEOF
21885 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21886 _ACEOF
21889 done
21891 else
21892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21893 $as_echo_n "checking for _float trig functions... " >&6; }
21894 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21895 $as_echo_n "(cached) " >&6
21896 else
21899 ac_ext=cpp
21900 ac_cpp='$CXXCPP $CPPFLAGS'
21901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21906 /* end confdefs.h. */
21907 #include <math.h>
21909 main ()
21911 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21913 return 0;
21915 _ACEOF
21916 if ac_fn_cxx_try_compile "$LINENO"; then :
21917 glibcxx_cv_func__float_trig_use=yes
21918 else
21919 glibcxx_cv_func__float_trig_use=no
21921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21922 ac_ext=c
21923 ac_cpp='$CPP $CPPFLAGS'
21924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21931 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21932 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21933 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21934 do :
21935 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21936 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21937 eval as_val=\$$as_ac_var
21938 if test "x$as_val" = x""yes; then :
21939 cat >>confdefs.h <<_ACEOF
21940 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21941 _ACEOF
21944 done
21953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21954 $as_echo_n "checking for float round functions... " >&6; }
21955 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21956 $as_echo_n "(cached) " >&6
21957 else
21960 ac_ext=cpp
21961 ac_cpp='$CXXCPP $CPPFLAGS'
21962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21967 /* end confdefs.h. */
21968 #include <math.h>
21970 main ()
21972 ceilf (0); floorf (0);
21974 return 0;
21976 _ACEOF
21977 if ac_fn_cxx_try_compile "$LINENO"; then :
21978 glibcxx_cv_func_float_round_use=yes
21979 else
21980 glibcxx_cv_func_float_round_use=no
21982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21983 ac_ext=c
21984 ac_cpp='$CPP $CPPFLAGS'
21985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21992 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21993 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21994 for ac_func in ceilf floorf
21995 do :
21996 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21997 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21998 eval as_val=\$$as_ac_var
21999 if test "x$as_val" = x""yes; then :
22000 cat >>confdefs.h <<_ACEOF
22001 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22002 _ACEOF
22005 done
22007 else
22008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22009 $as_echo_n "checking for _float round functions... " >&6; }
22010 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22011 $as_echo_n "(cached) " >&6
22012 else
22015 ac_ext=cpp
22016 ac_cpp='$CXXCPP $CPPFLAGS'
22017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22022 /* end confdefs.h. */
22023 #include <math.h>
22025 main ()
22027 _ceilf (0); _floorf (0);
22029 return 0;
22031 _ACEOF
22032 if ac_fn_cxx_try_compile "$LINENO"; then :
22033 glibcxx_cv_func__float_round_use=yes
22034 else
22035 glibcxx_cv_func__float_round_use=no
22037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22038 ac_ext=c
22039 ac_cpp='$CPP $CPPFLAGS'
22040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22047 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22048 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22049 for ac_func in _ceilf _floorf
22050 do :
22051 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22052 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22053 eval as_val=\$$as_ac_var
22054 if test "x$as_val" = x""yes; then :
22055 cat >>confdefs.h <<_ACEOF
22056 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22057 _ACEOF
22060 done
22070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22071 $as_echo_n "checking for expf declaration... " >&6; }
22072 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22073 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22074 $as_echo_n "(cached) " >&6
22075 else
22078 ac_ext=cpp
22079 ac_cpp='$CXXCPP $CPPFLAGS'
22080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22085 /* end confdefs.h. */
22086 #include <math.h>
22087 #ifdef HAVE_IEEEFP_H
22088 #include <ieeefp.h>
22089 #endif
22092 main ()
22094 expf(0);
22096 return 0;
22098 _ACEOF
22099 if ac_fn_cxx_try_compile "$LINENO"; then :
22100 glibcxx_cv_func_expf_use=yes
22101 else
22102 glibcxx_cv_func_expf_use=no
22104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22105 ac_ext=c
22106 ac_cpp='$CPP $CPPFLAGS'
22107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22116 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22118 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22119 for ac_func in expf
22120 do :
22121 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22122 if test "x$ac_cv_func_expf" = x""yes; then :
22123 cat >>confdefs.h <<_ACEOF
22124 #define HAVE_EXPF 1
22125 _ACEOF
22128 done
22130 else
22132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22133 $as_echo_n "checking for _expf declaration... " >&6; }
22134 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22135 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22136 $as_echo_n "(cached) " >&6
22137 else
22140 ac_ext=cpp
22141 ac_cpp='$CXXCPP $CPPFLAGS'
22142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22147 /* end confdefs.h. */
22148 #include <math.h>
22149 #ifdef HAVE_IEEEFP_H
22150 #include <ieeefp.h>
22151 #endif
22154 main ()
22156 _expf(0);
22158 return 0;
22160 _ACEOF
22161 if ac_fn_cxx_try_compile "$LINENO"; then :
22162 glibcxx_cv_func__expf_use=yes
22163 else
22164 glibcxx_cv_func__expf_use=no
22166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22167 ac_ext=c
22168 ac_cpp='$CPP $CPPFLAGS'
22169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22178 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22180 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22181 for ac_func in _expf
22182 do :
22183 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22184 if test "x$ac_cv_func__expf" = x""yes; then :
22185 cat >>confdefs.h <<_ACEOF
22186 #define HAVE__EXPF 1
22187 _ACEOF
22190 done
22199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22200 $as_echo_n "checking for isnanf declaration... " >&6; }
22201 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22202 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22203 $as_echo_n "(cached) " >&6
22204 else
22207 ac_ext=cpp
22208 ac_cpp='$CXXCPP $CPPFLAGS'
22209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22214 /* end confdefs.h. */
22215 #include <math.h>
22216 #ifdef HAVE_IEEEFP_H
22217 #include <ieeefp.h>
22218 #endif
22221 main ()
22223 isnanf(0);
22225 return 0;
22227 _ACEOF
22228 if ac_fn_cxx_try_compile "$LINENO"; then :
22229 glibcxx_cv_func_isnanf_use=yes
22230 else
22231 glibcxx_cv_func_isnanf_use=no
22233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22234 ac_ext=c
22235 ac_cpp='$CPP $CPPFLAGS'
22236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22245 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22247 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22248 for ac_func in isnanf
22249 do :
22250 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22251 if test "x$ac_cv_func_isnanf" = x""yes; then :
22252 cat >>confdefs.h <<_ACEOF
22253 #define HAVE_ISNANF 1
22254 _ACEOF
22257 done
22259 else
22261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22262 $as_echo_n "checking for _isnanf declaration... " >&6; }
22263 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22264 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22265 $as_echo_n "(cached) " >&6
22266 else
22269 ac_ext=cpp
22270 ac_cpp='$CXXCPP $CPPFLAGS'
22271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22276 /* end confdefs.h. */
22277 #include <math.h>
22278 #ifdef HAVE_IEEEFP_H
22279 #include <ieeefp.h>
22280 #endif
22283 main ()
22285 _isnanf(0);
22287 return 0;
22289 _ACEOF
22290 if ac_fn_cxx_try_compile "$LINENO"; then :
22291 glibcxx_cv_func__isnanf_use=yes
22292 else
22293 glibcxx_cv_func__isnanf_use=no
22295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22296 ac_ext=c
22297 ac_cpp='$CPP $CPPFLAGS'
22298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22307 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22309 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22310 for ac_func in _isnanf
22311 do :
22312 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22313 if test "x$ac_cv_func__isnanf" = x""yes; then :
22314 cat >>confdefs.h <<_ACEOF
22315 #define HAVE__ISNANF 1
22316 _ACEOF
22319 done
22328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22329 $as_echo_n "checking for isinff declaration... " >&6; }
22330 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22331 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22332 $as_echo_n "(cached) " >&6
22333 else
22336 ac_ext=cpp
22337 ac_cpp='$CXXCPP $CPPFLAGS'
22338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22343 /* end confdefs.h. */
22344 #include <math.h>
22345 #ifdef HAVE_IEEEFP_H
22346 #include <ieeefp.h>
22347 #endif
22350 main ()
22352 isinff(0);
22354 return 0;
22356 _ACEOF
22357 if ac_fn_cxx_try_compile "$LINENO"; then :
22358 glibcxx_cv_func_isinff_use=yes
22359 else
22360 glibcxx_cv_func_isinff_use=no
22362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22363 ac_ext=c
22364 ac_cpp='$CPP $CPPFLAGS'
22365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22374 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22376 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22377 for ac_func in isinff
22378 do :
22379 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22380 if test "x$ac_cv_func_isinff" = x""yes; then :
22381 cat >>confdefs.h <<_ACEOF
22382 #define HAVE_ISINFF 1
22383 _ACEOF
22386 done
22388 else
22390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22391 $as_echo_n "checking for _isinff declaration... " >&6; }
22392 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22393 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22394 $as_echo_n "(cached) " >&6
22395 else
22398 ac_ext=cpp
22399 ac_cpp='$CXXCPP $CPPFLAGS'
22400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22405 /* end confdefs.h. */
22406 #include <math.h>
22407 #ifdef HAVE_IEEEFP_H
22408 #include <ieeefp.h>
22409 #endif
22412 main ()
22414 _isinff(0);
22416 return 0;
22418 _ACEOF
22419 if ac_fn_cxx_try_compile "$LINENO"; then :
22420 glibcxx_cv_func__isinff_use=yes
22421 else
22422 glibcxx_cv_func__isinff_use=no
22424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22425 ac_ext=c
22426 ac_cpp='$CPP $CPPFLAGS'
22427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22436 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22438 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22439 for ac_func in _isinff
22440 do :
22441 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22442 if test "x$ac_cv_func__isinff" = x""yes; then :
22443 cat >>confdefs.h <<_ACEOF
22444 #define HAVE__ISINFF 1
22445 _ACEOF
22448 done
22457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22458 $as_echo_n "checking for atan2f declaration... " >&6; }
22459 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22460 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22461 $as_echo_n "(cached) " >&6
22462 else
22465 ac_ext=cpp
22466 ac_cpp='$CXXCPP $CPPFLAGS'
22467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22472 /* end confdefs.h. */
22473 #include <math.h>
22475 main ()
22477 atan2f(0, 0);
22479 return 0;
22481 _ACEOF
22482 if ac_fn_cxx_try_compile "$LINENO"; then :
22483 glibcxx_cv_func_atan2f_use=yes
22484 else
22485 glibcxx_cv_func_atan2f_use=no
22487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22488 ac_ext=c
22489 ac_cpp='$CPP $CPPFLAGS'
22490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22499 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22501 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22502 for ac_func in atan2f
22503 do :
22504 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22505 if test "x$ac_cv_func_atan2f" = x""yes; then :
22506 cat >>confdefs.h <<_ACEOF
22507 #define HAVE_ATAN2F 1
22508 _ACEOF
22511 done
22513 else
22515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22516 $as_echo_n "checking for _atan2f declaration... " >&6; }
22517 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22518 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22519 $as_echo_n "(cached) " >&6
22520 else
22523 ac_ext=cpp
22524 ac_cpp='$CXXCPP $CPPFLAGS'
22525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22530 /* end confdefs.h. */
22531 #include <math.h>
22533 main ()
22535 _atan2f(0, 0);
22537 return 0;
22539 _ACEOF
22540 if ac_fn_cxx_try_compile "$LINENO"; then :
22541 glibcxx_cv_func__atan2f_use=yes
22542 else
22543 glibcxx_cv_func__atan2f_use=no
22545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22546 ac_ext=c
22547 ac_cpp='$CPP $CPPFLAGS'
22548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22557 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22559 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22560 for ac_func in _atan2f
22561 do :
22562 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22563 if test "x$ac_cv_func__atan2f" = x""yes; then :
22564 cat >>confdefs.h <<_ACEOF
22565 #define HAVE__ATAN2F 1
22566 _ACEOF
22569 done
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22579 $as_echo_n "checking for fabsf declaration... " >&6; }
22580 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22581 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22582 $as_echo_n "(cached) " >&6
22583 else
22586 ac_ext=cpp
22587 ac_cpp='$CXXCPP $CPPFLAGS'
22588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22593 /* end confdefs.h. */
22594 #include <math.h>
22595 #ifdef HAVE_IEEEFP_H
22596 #include <ieeefp.h>
22597 #endif
22600 main ()
22602 fabsf(0);
22604 return 0;
22606 _ACEOF
22607 if ac_fn_cxx_try_compile "$LINENO"; then :
22608 glibcxx_cv_func_fabsf_use=yes
22609 else
22610 glibcxx_cv_func_fabsf_use=no
22612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22613 ac_ext=c
22614 ac_cpp='$CPP $CPPFLAGS'
22615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22624 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22626 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22627 for ac_func in fabsf
22628 do :
22629 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22630 if test "x$ac_cv_func_fabsf" = x""yes; then :
22631 cat >>confdefs.h <<_ACEOF
22632 #define HAVE_FABSF 1
22633 _ACEOF
22636 done
22638 else
22640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22641 $as_echo_n "checking for _fabsf declaration... " >&6; }
22642 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22643 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22644 $as_echo_n "(cached) " >&6
22645 else
22648 ac_ext=cpp
22649 ac_cpp='$CXXCPP $CPPFLAGS'
22650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22655 /* end confdefs.h. */
22656 #include <math.h>
22657 #ifdef HAVE_IEEEFP_H
22658 #include <ieeefp.h>
22659 #endif
22662 main ()
22664 _fabsf(0);
22666 return 0;
22668 _ACEOF
22669 if ac_fn_cxx_try_compile "$LINENO"; then :
22670 glibcxx_cv_func__fabsf_use=yes
22671 else
22672 glibcxx_cv_func__fabsf_use=no
22674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22675 ac_ext=c
22676 ac_cpp='$CPP $CPPFLAGS'
22677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22686 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22688 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22689 for ac_func in _fabsf
22690 do :
22691 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22692 if test "x$ac_cv_func__fabsf" = x""yes; then :
22693 cat >>confdefs.h <<_ACEOF
22694 #define HAVE__FABSF 1
22695 _ACEOF
22698 done
22707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22708 $as_echo_n "checking for fmodf declaration... " >&6; }
22709 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22710 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22711 $as_echo_n "(cached) " >&6
22712 else
22715 ac_ext=cpp
22716 ac_cpp='$CXXCPP $CPPFLAGS'
22717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22722 /* end confdefs.h. */
22723 #include <math.h>
22725 main ()
22727 fmodf(0, 0);
22729 return 0;
22731 _ACEOF
22732 if ac_fn_cxx_try_compile "$LINENO"; then :
22733 glibcxx_cv_func_fmodf_use=yes
22734 else
22735 glibcxx_cv_func_fmodf_use=no
22737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22738 ac_ext=c
22739 ac_cpp='$CPP $CPPFLAGS'
22740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22749 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22751 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22752 for ac_func in fmodf
22753 do :
22754 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22755 if test "x$ac_cv_func_fmodf" = x""yes; then :
22756 cat >>confdefs.h <<_ACEOF
22757 #define HAVE_FMODF 1
22758 _ACEOF
22761 done
22763 else
22765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22766 $as_echo_n "checking for _fmodf declaration... " >&6; }
22767 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22768 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22769 $as_echo_n "(cached) " >&6
22770 else
22773 ac_ext=cpp
22774 ac_cpp='$CXXCPP $CPPFLAGS'
22775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22780 /* end confdefs.h. */
22781 #include <math.h>
22783 main ()
22785 _fmodf(0, 0);
22787 return 0;
22789 _ACEOF
22790 if ac_fn_cxx_try_compile "$LINENO"; then :
22791 glibcxx_cv_func__fmodf_use=yes
22792 else
22793 glibcxx_cv_func__fmodf_use=no
22795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22796 ac_ext=c
22797 ac_cpp='$CPP $CPPFLAGS'
22798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22807 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22809 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22810 for ac_func in _fmodf
22811 do :
22812 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22813 if test "x$ac_cv_func__fmodf" = x""yes; then :
22814 cat >>confdefs.h <<_ACEOF
22815 #define HAVE__FMODF 1
22816 _ACEOF
22819 done
22828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22829 $as_echo_n "checking for frexpf declaration... " >&6; }
22830 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22831 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22832 $as_echo_n "(cached) " >&6
22833 else
22836 ac_ext=cpp
22837 ac_cpp='$CXXCPP $CPPFLAGS'
22838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22843 /* end confdefs.h. */
22844 #include <math.h>
22846 main ()
22848 frexpf(0, 0);
22850 return 0;
22852 _ACEOF
22853 if ac_fn_cxx_try_compile "$LINENO"; then :
22854 glibcxx_cv_func_frexpf_use=yes
22855 else
22856 glibcxx_cv_func_frexpf_use=no
22858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22859 ac_ext=c
22860 ac_cpp='$CPP $CPPFLAGS'
22861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22870 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22872 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22873 for ac_func in frexpf
22874 do :
22875 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22876 if test "x$ac_cv_func_frexpf" = x""yes; then :
22877 cat >>confdefs.h <<_ACEOF
22878 #define HAVE_FREXPF 1
22879 _ACEOF
22882 done
22884 else
22886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22887 $as_echo_n "checking for _frexpf declaration... " >&6; }
22888 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22889 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22890 $as_echo_n "(cached) " >&6
22891 else
22894 ac_ext=cpp
22895 ac_cpp='$CXXCPP $CPPFLAGS'
22896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22901 /* end confdefs.h. */
22902 #include <math.h>
22904 main ()
22906 _frexpf(0, 0);
22908 return 0;
22910 _ACEOF
22911 if ac_fn_cxx_try_compile "$LINENO"; then :
22912 glibcxx_cv_func__frexpf_use=yes
22913 else
22914 glibcxx_cv_func__frexpf_use=no
22916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22917 ac_ext=c
22918 ac_cpp='$CPP $CPPFLAGS'
22919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22928 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22930 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22931 for ac_func in _frexpf
22932 do :
22933 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22934 if test "x$ac_cv_func__frexpf" = x""yes; then :
22935 cat >>confdefs.h <<_ACEOF
22936 #define HAVE__FREXPF 1
22937 _ACEOF
22940 done
22949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22950 $as_echo_n "checking for hypotf declaration... " >&6; }
22951 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22952 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22953 $as_echo_n "(cached) " >&6
22954 else
22957 ac_ext=cpp
22958 ac_cpp='$CXXCPP $CPPFLAGS'
22959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22964 /* end confdefs.h. */
22965 #include <math.h>
22967 main ()
22969 hypotf(0, 0);
22971 return 0;
22973 _ACEOF
22974 if ac_fn_cxx_try_compile "$LINENO"; then :
22975 glibcxx_cv_func_hypotf_use=yes
22976 else
22977 glibcxx_cv_func_hypotf_use=no
22979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22980 ac_ext=c
22981 ac_cpp='$CPP $CPPFLAGS'
22982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22991 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22993 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22994 for ac_func in hypotf
22995 do :
22996 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22997 if test "x$ac_cv_func_hypotf" = x""yes; then :
22998 cat >>confdefs.h <<_ACEOF
22999 #define HAVE_HYPOTF 1
23000 _ACEOF
23003 done
23005 else
23007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23008 $as_echo_n "checking for _hypotf declaration... " >&6; }
23009 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23010 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23011 $as_echo_n "(cached) " >&6
23012 else
23015 ac_ext=cpp
23016 ac_cpp='$CXXCPP $CPPFLAGS'
23017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23022 /* end confdefs.h. */
23023 #include <math.h>
23025 main ()
23027 _hypotf(0, 0);
23029 return 0;
23031 _ACEOF
23032 if ac_fn_cxx_try_compile "$LINENO"; then :
23033 glibcxx_cv_func__hypotf_use=yes
23034 else
23035 glibcxx_cv_func__hypotf_use=no
23037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23038 ac_ext=c
23039 ac_cpp='$CPP $CPPFLAGS'
23040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23049 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23051 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23052 for ac_func in _hypotf
23053 do :
23054 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23055 if test "x$ac_cv_func__hypotf" = x""yes; then :
23056 cat >>confdefs.h <<_ACEOF
23057 #define HAVE__HYPOTF 1
23058 _ACEOF
23061 done
23070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23071 $as_echo_n "checking for ldexpf declaration... " >&6; }
23072 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23073 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23074 $as_echo_n "(cached) " >&6
23075 else
23078 ac_ext=cpp
23079 ac_cpp='$CXXCPP $CPPFLAGS'
23080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23085 /* end confdefs.h. */
23086 #include <math.h>
23088 main ()
23090 ldexpf(0, 0);
23092 return 0;
23094 _ACEOF
23095 if ac_fn_cxx_try_compile "$LINENO"; then :
23096 glibcxx_cv_func_ldexpf_use=yes
23097 else
23098 glibcxx_cv_func_ldexpf_use=no
23100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23101 ac_ext=c
23102 ac_cpp='$CPP $CPPFLAGS'
23103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23112 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23114 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23115 for ac_func in ldexpf
23116 do :
23117 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23118 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23119 cat >>confdefs.h <<_ACEOF
23120 #define HAVE_LDEXPF 1
23121 _ACEOF
23124 done
23126 else
23128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23129 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23130 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23131 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23132 $as_echo_n "(cached) " >&6
23133 else
23136 ac_ext=cpp
23137 ac_cpp='$CXXCPP $CPPFLAGS'
23138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23143 /* end confdefs.h. */
23144 #include <math.h>
23146 main ()
23148 _ldexpf(0, 0);
23150 return 0;
23152 _ACEOF
23153 if ac_fn_cxx_try_compile "$LINENO"; then :
23154 glibcxx_cv_func__ldexpf_use=yes
23155 else
23156 glibcxx_cv_func__ldexpf_use=no
23158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23159 ac_ext=c
23160 ac_cpp='$CPP $CPPFLAGS'
23161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23170 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23172 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23173 for ac_func in _ldexpf
23174 do :
23175 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23176 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23177 cat >>confdefs.h <<_ACEOF
23178 #define HAVE__LDEXPF 1
23179 _ACEOF
23182 done
23191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23192 $as_echo_n "checking for logf declaration... " >&6; }
23193 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23194 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23195 $as_echo_n "(cached) " >&6
23196 else
23199 ac_ext=cpp
23200 ac_cpp='$CXXCPP $CPPFLAGS'
23201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23206 /* end confdefs.h. */
23207 #include <math.h>
23208 #ifdef HAVE_IEEEFP_H
23209 #include <ieeefp.h>
23210 #endif
23213 main ()
23215 logf(0);
23217 return 0;
23219 _ACEOF
23220 if ac_fn_cxx_try_compile "$LINENO"; then :
23221 glibcxx_cv_func_logf_use=yes
23222 else
23223 glibcxx_cv_func_logf_use=no
23225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23226 ac_ext=c
23227 ac_cpp='$CPP $CPPFLAGS'
23228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23237 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23239 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23240 for ac_func in logf
23241 do :
23242 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23243 if test "x$ac_cv_func_logf" = x""yes; then :
23244 cat >>confdefs.h <<_ACEOF
23245 #define HAVE_LOGF 1
23246 _ACEOF
23249 done
23251 else
23253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23254 $as_echo_n "checking for _logf declaration... " >&6; }
23255 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23256 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23257 $as_echo_n "(cached) " >&6
23258 else
23261 ac_ext=cpp
23262 ac_cpp='$CXXCPP $CPPFLAGS'
23263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23268 /* end confdefs.h. */
23269 #include <math.h>
23270 #ifdef HAVE_IEEEFP_H
23271 #include <ieeefp.h>
23272 #endif
23275 main ()
23277 _logf(0);
23279 return 0;
23281 _ACEOF
23282 if ac_fn_cxx_try_compile "$LINENO"; then :
23283 glibcxx_cv_func__logf_use=yes
23284 else
23285 glibcxx_cv_func__logf_use=no
23287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23288 ac_ext=c
23289 ac_cpp='$CPP $CPPFLAGS'
23290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23299 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23301 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23302 for ac_func in _logf
23303 do :
23304 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23305 if test "x$ac_cv_func__logf" = x""yes; then :
23306 cat >>confdefs.h <<_ACEOF
23307 #define HAVE__LOGF 1
23308 _ACEOF
23311 done
23320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23321 $as_echo_n "checking for log10f declaration... " >&6; }
23322 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23323 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23324 $as_echo_n "(cached) " >&6
23325 else
23328 ac_ext=cpp
23329 ac_cpp='$CXXCPP $CPPFLAGS'
23330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23335 /* end confdefs.h. */
23336 #include <math.h>
23337 #ifdef HAVE_IEEEFP_H
23338 #include <ieeefp.h>
23339 #endif
23342 main ()
23344 log10f(0);
23346 return 0;
23348 _ACEOF
23349 if ac_fn_cxx_try_compile "$LINENO"; then :
23350 glibcxx_cv_func_log10f_use=yes
23351 else
23352 glibcxx_cv_func_log10f_use=no
23354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23355 ac_ext=c
23356 ac_cpp='$CPP $CPPFLAGS'
23357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23366 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23368 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23369 for ac_func in log10f
23370 do :
23371 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23372 if test "x$ac_cv_func_log10f" = x""yes; then :
23373 cat >>confdefs.h <<_ACEOF
23374 #define HAVE_LOG10F 1
23375 _ACEOF
23378 done
23380 else
23382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23383 $as_echo_n "checking for _log10f declaration... " >&6; }
23384 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23385 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23386 $as_echo_n "(cached) " >&6
23387 else
23390 ac_ext=cpp
23391 ac_cpp='$CXXCPP $CPPFLAGS'
23392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23397 /* end confdefs.h. */
23398 #include <math.h>
23399 #ifdef HAVE_IEEEFP_H
23400 #include <ieeefp.h>
23401 #endif
23404 main ()
23406 _log10f(0);
23408 return 0;
23410 _ACEOF
23411 if ac_fn_cxx_try_compile "$LINENO"; then :
23412 glibcxx_cv_func__log10f_use=yes
23413 else
23414 glibcxx_cv_func__log10f_use=no
23416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23417 ac_ext=c
23418 ac_cpp='$CPP $CPPFLAGS'
23419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23428 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23430 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23431 for ac_func in _log10f
23432 do :
23433 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23434 if test "x$ac_cv_func__log10f" = x""yes; then :
23435 cat >>confdefs.h <<_ACEOF
23436 #define HAVE__LOG10F 1
23437 _ACEOF
23440 done
23449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23450 $as_echo_n "checking for modff declaration... " >&6; }
23451 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23452 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23453 $as_echo_n "(cached) " >&6
23454 else
23457 ac_ext=cpp
23458 ac_cpp='$CXXCPP $CPPFLAGS'
23459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23464 /* end confdefs.h. */
23465 #include <math.h>
23467 main ()
23469 modff(0, 0);
23471 return 0;
23473 _ACEOF
23474 if ac_fn_cxx_try_compile "$LINENO"; then :
23475 glibcxx_cv_func_modff_use=yes
23476 else
23477 glibcxx_cv_func_modff_use=no
23479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23480 ac_ext=c
23481 ac_cpp='$CPP $CPPFLAGS'
23482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23491 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23493 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23494 for ac_func in modff
23495 do :
23496 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23497 if test "x$ac_cv_func_modff" = x""yes; then :
23498 cat >>confdefs.h <<_ACEOF
23499 #define HAVE_MODFF 1
23500 _ACEOF
23503 done
23505 else
23507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23508 $as_echo_n "checking for _modff declaration... " >&6; }
23509 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23510 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23511 $as_echo_n "(cached) " >&6
23512 else
23515 ac_ext=cpp
23516 ac_cpp='$CXXCPP $CPPFLAGS'
23517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23522 /* end confdefs.h. */
23523 #include <math.h>
23525 main ()
23527 _modff(0, 0);
23529 return 0;
23531 _ACEOF
23532 if ac_fn_cxx_try_compile "$LINENO"; then :
23533 glibcxx_cv_func__modff_use=yes
23534 else
23535 glibcxx_cv_func__modff_use=no
23537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23538 ac_ext=c
23539 ac_cpp='$CPP $CPPFLAGS'
23540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23549 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23551 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23552 for ac_func in _modff
23553 do :
23554 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23555 if test "x$ac_cv_func__modff" = x""yes; then :
23556 cat >>confdefs.h <<_ACEOF
23557 #define HAVE__MODFF 1
23558 _ACEOF
23561 done
23570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23571 $as_echo_n "checking for modf declaration... " >&6; }
23572 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23573 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23574 $as_echo_n "(cached) " >&6
23575 else
23578 ac_ext=cpp
23579 ac_cpp='$CXXCPP $CPPFLAGS'
23580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23585 /* end confdefs.h. */
23586 #include <math.h>
23588 main ()
23590 modf(0, 0);
23592 return 0;
23594 _ACEOF
23595 if ac_fn_cxx_try_compile "$LINENO"; then :
23596 glibcxx_cv_func_modf_use=yes
23597 else
23598 glibcxx_cv_func_modf_use=no
23600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23601 ac_ext=c
23602 ac_cpp='$CPP $CPPFLAGS'
23603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23612 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23614 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23615 for ac_func in modf
23616 do :
23617 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23618 if test "x$ac_cv_func_modf" = x""yes; then :
23619 cat >>confdefs.h <<_ACEOF
23620 #define HAVE_MODF 1
23621 _ACEOF
23624 done
23626 else
23628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23629 $as_echo_n "checking for _modf declaration... " >&6; }
23630 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23631 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23632 $as_echo_n "(cached) " >&6
23633 else
23636 ac_ext=cpp
23637 ac_cpp='$CXXCPP $CPPFLAGS'
23638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23643 /* end confdefs.h. */
23644 #include <math.h>
23646 main ()
23648 _modf(0, 0);
23650 return 0;
23652 _ACEOF
23653 if ac_fn_cxx_try_compile "$LINENO"; then :
23654 glibcxx_cv_func__modf_use=yes
23655 else
23656 glibcxx_cv_func__modf_use=no
23658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23659 ac_ext=c
23660 ac_cpp='$CPP $CPPFLAGS'
23661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23670 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23672 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23673 for ac_func in _modf
23674 do :
23675 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23676 if test "x$ac_cv_func__modf" = x""yes; then :
23677 cat >>confdefs.h <<_ACEOF
23678 #define HAVE__MODF 1
23679 _ACEOF
23682 done
23691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23692 $as_echo_n "checking for powf declaration... " >&6; }
23693 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23694 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23695 $as_echo_n "(cached) " >&6
23696 else
23699 ac_ext=cpp
23700 ac_cpp='$CXXCPP $CPPFLAGS'
23701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23706 /* end confdefs.h. */
23707 #include <math.h>
23709 main ()
23711 powf(0, 0);
23713 return 0;
23715 _ACEOF
23716 if ac_fn_cxx_try_compile "$LINENO"; then :
23717 glibcxx_cv_func_powf_use=yes
23718 else
23719 glibcxx_cv_func_powf_use=no
23721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23722 ac_ext=c
23723 ac_cpp='$CPP $CPPFLAGS'
23724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23733 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23735 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23736 for ac_func in powf
23737 do :
23738 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23739 if test "x$ac_cv_func_powf" = x""yes; then :
23740 cat >>confdefs.h <<_ACEOF
23741 #define HAVE_POWF 1
23742 _ACEOF
23745 done
23747 else
23749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23750 $as_echo_n "checking for _powf declaration... " >&6; }
23751 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23752 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23753 $as_echo_n "(cached) " >&6
23754 else
23757 ac_ext=cpp
23758 ac_cpp='$CXXCPP $CPPFLAGS'
23759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23764 /* end confdefs.h. */
23765 #include <math.h>
23767 main ()
23769 _powf(0, 0);
23771 return 0;
23773 _ACEOF
23774 if ac_fn_cxx_try_compile "$LINENO"; then :
23775 glibcxx_cv_func__powf_use=yes
23776 else
23777 glibcxx_cv_func__powf_use=no
23779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23780 ac_ext=c
23781 ac_cpp='$CPP $CPPFLAGS'
23782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23791 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23793 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23794 for ac_func in _powf
23795 do :
23796 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23797 if test "x$ac_cv_func__powf" = x""yes; then :
23798 cat >>confdefs.h <<_ACEOF
23799 #define HAVE__POWF 1
23800 _ACEOF
23803 done
23812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23813 $as_echo_n "checking for sqrtf declaration... " >&6; }
23814 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23815 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23816 $as_echo_n "(cached) " >&6
23817 else
23820 ac_ext=cpp
23821 ac_cpp='$CXXCPP $CPPFLAGS'
23822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23827 /* end confdefs.h. */
23828 #include <math.h>
23829 #ifdef HAVE_IEEEFP_H
23830 #include <ieeefp.h>
23831 #endif
23834 main ()
23836 sqrtf(0);
23838 return 0;
23840 _ACEOF
23841 if ac_fn_cxx_try_compile "$LINENO"; then :
23842 glibcxx_cv_func_sqrtf_use=yes
23843 else
23844 glibcxx_cv_func_sqrtf_use=no
23846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23847 ac_ext=c
23848 ac_cpp='$CPP $CPPFLAGS'
23849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23858 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23860 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23861 for ac_func in sqrtf
23862 do :
23863 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23864 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23865 cat >>confdefs.h <<_ACEOF
23866 #define HAVE_SQRTF 1
23867 _ACEOF
23870 done
23872 else
23874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23875 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23876 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23877 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23878 $as_echo_n "(cached) " >&6
23879 else
23882 ac_ext=cpp
23883 ac_cpp='$CXXCPP $CPPFLAGS'
23884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23889 /* end confdefs.h. */
23890 #include <math.h>
23891 #ifdef HAVE_IEEEFP_H
23892 #include <ieeefp.h>
23893 #endif
23896 main ()
23898 _sqrtf(0);
23900 return 0;
23902 _ACEOF
23903 if ac_fn_cxx_try_compile "$LINENO"; then :
23904 glibcxx_cv_func__sqrtf_use=yes
23905 else
23906 glibcxx_cv_func__sqrtf_use=no
23908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23909 ac_ext=c
23910 ac_cpp='$CPP $CPPFLAGS'
23911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23920 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23922 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23923 for ac_func in _sqrtf
23924 do :
23925 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23926 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23927 cat >>confdefs.h <<_ACEOF
23928 #define HAVE__SQRTF 1
23929 _ACEOF
23932 done
23941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23942 $as_echo_n "checking for sincosf declaration... " >&6; }
23943 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23944 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23945 $as_echo_n "(cached) " >&6
23946 else
23949 ac_ext=cpp
23950 ac_cpp='$CXXCPP $CPPFLAGS'
23951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23956 /* end confdefs.h. */
23957 #include <math.h>
23959 main ()
23961 sincosf(0, 0, 0);
23963 return 0;
23965 _ACEOF
23966 if ac_fn_cxx_try_compile "$LINENO"; then :
23967 glibcxx_cv_func_sincosf_use=yes
23968 else
23969 glibcxx_cv_func_sincosf_use=no
23971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23972 ac_ext=c
23973 ac_cpp='$CPP $CPPFLAGS'
23974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23983 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23985 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23986 for ac_func in sincosf
23987 do :
23988 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23989 if test "x$ac_cv_func_sincosf" = x""yes; then :
23990 cat >>confdefs.h <<_ACEOF
23991 #define HAVE_SINCOSF 1
23992 _ACEOF
23995 done
23997 else
23999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24000 $as_echo_n "checking for _sincosf declaration... " >&6; }
24001 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24002 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24003 $as_echo_n "(cached) " >&6
24004 else
24007 ac_ext=cpp
24008 ac_cpp='$CXXCPP $CPPFLAGS'
24009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24014 /* end confdefs.h. */
24015 #include <math.h>
24017 main ()
24019 _sincosf(0, 0, 0);
24021 return 0;
24023 _ACEOF
24024 if ac_fn_cxx_try_compile "$LINENO"; then :
24025 glibcxx_cv_func__sincosf_use=yes
24026 else
24027 glibcxx_cv_func__sincosf_use=no
24029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24030 ac_ext=c
24031 ac_cpp='$CPP $CPPFLAGS'
24032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24041 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24043 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24044 for ac_func in _sincosf
24045 do :
24046 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24047 if test "x$ac_cv_func__sincosf" = x""yes; then :
24048 cat >>confdefs.h <<_ACEOF
24049 #define HAVE__SINCOSF 1
24050 _ACEOF
24053 done
24062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24063 $as_echo_n "checking for finitef declaration... " >&6; }
24064 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24065 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24066 $as_echo_n "(cached) " >&6
24067 else
24070 ac_ext=cpp
24071 ac_cpp='$CXXCPP $CPPFLAGS'
24072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24077 /* end confdefs.h. */
24078 #include <math.h>
24079 #ifdef HAVE_IEEEFP_H
24080 #include <ieeefp.h>
24081 #endif
24084 main ()
24086 finitef(0);
24088 return 0;
24090 _ACEOF
24091 if ac_fn_cxx_try_compile "$LINENO"; then :
24092 glibcxx_cv_func_finitef_use=yes
24093 else
24094 glibcxx_cv_func_finitef_use=no
24096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24097 ac_ext=c
24098 ac_cpp='$CPP $CPPFLAGS'
24099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24108 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24110 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24111 for ac_func in finitef
24112 do :
24113 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24114 if test "x$ac_cv_func_finitef" = x""yes; then :
24115 cat >>confdefs.h <<_ACEOF
24116 #define HAVE_FINITEF 1
24117 _ACEOF
24120 done
24122 else
24124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24125 $as_echo_n "checking for _finitef declaration... " >&6; }
24126 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24127 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24128 $as_echo_n "(cached) " >&6
24129 else
24132 ac_ext=cpp
24133 ac_cpp='$CXXCPP $CPPFLAGS'
24134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24139 /* end confdefs.h. */
24140 #include <math.h>
24141 #ifdef HAVE_IEEEFP_H
24142 #include <ieeefp.h>
24143 #endif
24146 main ()
24148 _finitef(0);
24150 return 0;
24152 _ACEOF
24153 if ac_fn_cxx_try_compile "$LINENO"; then :
24154 glibcxx_cv_func__finitef_use=yes
24155 else
24156 glibcxx_cv_func__finitef_use=no
24158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24159 ac_ext=c
24160 ac_cpp='$CPP $CPPFLAGS'
24161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24170 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24172 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24173 for ac_func in _finitef
24174 do :
24175 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24176 if test "x$ac_cv_func__finitef" = x""yes; then :
24177 cat >>confdefs.h <<_ACEOF
24178 #define HAVE__FINITEF 1
24179 _ACEOF
24182 done
24191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24192 $as_echo_n "checking for long double trig functions... " >&6; }
24193 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24194 $as_echo_n "(cached) " >&6
24195 else
24198 ac_ext=cpp
24199 ac_cpp='$CXXCPP $CPPFLAGS'
24200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24205 /* end confdefs.h. */
24206 #include <math.h>
24208 main ()
24210 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24212 return 0;
24214 _ACEOF
24215 if ac_fn_cxx_try_compile "$LINENO"; then :
24216 glibcxx_cv_func_long_double_trig_use=yes
24217 else
24218 glibcxx_cv_func_long_double_trig_use=no
24220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24221 ac_ext=c
24222 ac_cpp='$CPP $CPPFLAGS'
24223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24230 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24231 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24232 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24233 do :
24234 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24235 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24236 eval as_val=\$$as_ac_var
24237 if test "x$as_val" = x""yes; then :
24238 cat >>confdefs.h <<_ACEOF
24239 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24240 _ACEOF
24243 done
24245 else
24246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24247 $as_echo_n "checking for _long double trig functions... " >&6; }
24248 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24249 $as_echo_n "(cached) " >&6
24250 else
24253 ac_ext=cpp
24254 ac_cpp='$CXXCPP $CPPFLAGS'
24255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24260 /* end confdefs.h. */
24261 #include <math.h>
24263 main ()
24265 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24267 return 0;
24269 _ACEOF
24270 if ac_fn_cxx_try_compile "$LINENO"; then :
24271 glibcxx_cv_func__long_double_trig_use=yes
24272 else
24273 glibcxx_cv_func__long_double_trig_use=no
24275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24276 ac_ext=c
24277 ac_cpp='$CPP $CPPFLAGS'
24278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24285 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24286 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24287 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24288 do :
24289 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24290 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24291 eval as_val=\$$as_ac_var
24292 if test "x$as_val" = x""yes; then :
24293 cat >>confdefs.h <<_ACEOF
24294 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24295 _ACEOF
24298 done
24307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24308 $as_echo_n "checking for long double round functions... " >&6; }
24309 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24310 $as_echo_n "(cached) " >&6
24311 else
24314 ac_ext=cpp
24315 ac_cpp='$CXXCPP $CPPFLAGS'
24316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24321 /* end confdefs.h. */
24322 #include <math.h>
24324 main ()
24326 ceill (0); floorl (0);
24328 return 0;
24330 _ACEOF
24331 if ac_fn_cxx_try_compile "$LINENO"; then :
24332 glibcxx_cv_func_long_double_round_use=yes
24333 else
24334 glibcxx_cv_func_long_double_round_use=no
24336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24337 ac_ext=c
24338 ac_cpp='$CPP $CPPFLAGS'
24339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24346 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24347 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24348 for ac_func in ceill floorl
24349 do :
24350 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24351 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24352 eval as_val=\$$as_ac_var
24353 if test "x$as_val" = x""yes; then :
24354 cat >>confdefs.h <<_ACEOF
24355 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24356 _ACEOF
24359 done
24361 else
24362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24363 $as_echo_n "checking for _long double round functions... " >&6; }
24364 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24365 $as_echo_n "(cached) " >&6
24366 else
24369 ac_ext=cpp
24370 ac_cpp='$CXXCPP $CPPFLAGS'
24371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24376 /* end confdefs.h. */
24377 #include <math.h>
24379 main ()
24381 _ceill (0); _floorl (0);
24383 return 0;
24385 _ACEOF
24386 if ac_fn_cxx_try_compile "$LINENO"; then :
24387 glibcxx_cv_func__long_double_round_use=yes
24388 else
24389 glibcxx_cv_func__long_double_round_use=no
24391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24392 ac_ext=c
24393 ac_cpp='$CPP $CPPFLAGS'
24394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24401 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24402 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24403 for ac_func in _ceill _floorl
24404 do :
24405 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24406 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24407 eval as_val=\$$as_ac_var
24408 if test "x$as_val" = x""yes; then :
24409 cat >>confdefs.h <<_ACEOF
24410 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24411 _ACEOF
24414 done
24424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24425 $as_echo_n "checking for isnanl declaration... " >&6; }
24426 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24427 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24428 $as_echo_n "(cached) " >&6
24429 else
24432 ac_ext=cpp
24433 ac_cpp='$CXXCPP $CPPFLAGS'
24434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24439 /* end confdefs.h. */
24440 #include <math.h>
24441 #ifdef HAVE_IEEEFP_H
24442 #include <ieeefp.h>
24443 #endif
24446 main ()
24448 isnanl(0);
24450 return 0;
24452 _ACEOF
24453 if ac_fn_cxx_try_compile "$LINENO"; then :
24454 glibcxx_cv_func_isnanl_use=yes
24455 else
24456 glibcxx_cv_func_isnanl_use=no
24458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24459 ac_ext=c
24460 ac_cpp='$CPP $CPPFLAGS'
24461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24470 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24472 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24473 for ac_func in isnanl
24474 do :
24475 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24476 if test "x$ac_cv_func_isnanl" = x""yes; then :
24477 cat >>confdefs.h <<_ACEOF
24478 #define HAVE_ISNANL 1
24479 _ACEOF
24482 done
24484 else
24486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24487 $as_echo_n "checking for _isnanl declaration... " >&6; }
24488 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24489 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24490 $as_echo_n "(cached) " >&6
24491 else
24494 ac_ext=cpp
24495 ac_cpp='$CXXCPP $CPPFLAGS'
24496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24501 /* end confdefs.h. */
24502 #include <math.h>
24503 #ifdef HAVE_IEEEFP_H
24504 #include <ieeefp.h>
24505 #endif
24508 main ()
24510 _isnanl(0);
24512 return 0;
24514 _ACEOF
24515 if ac_fn_cxx_try_compile "$LINENO"; then :
24516 glibcxx_cv_func__isnanl_use=yes
24517 else
24518 glibcxx_cv_func__isnanl_use=no
24520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24521 ac_ext=c
24522 ac_cpp='$CPP $CPPFLAGS'
24523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24532 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24534 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24535 for ac_func in _isnanl
24536 do :
24537 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24538 if test "x$ac_cv_func__isnanl" = x""yes; then :
24539 cat >>confdefs.h <<_ACEOF
24540 #define HAVE__ISNANL 1
24541 _ACEOF
24544 done
24553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24554 $as_echo_n "checking for isinfl declaration... " >&6; }
24555 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24556 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24557 $as_echo_n "(cached) " >&6
24558 else
24561 ac_ext=cpp
24562 ac_cpp='$CXXCPP $CPPFLAGS'
24563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24568 /* end confdefs.h. */
24569 #include <math.h>
24570 #ifdef HAVE_IEEEFP_H
24571 #include <ieeefp.h>
24572 #endif
24575 main ()
24577 isinfl(0);
24579 return 0;
24581 _ACEOF
24582 if ac_fn_cxx_try_compile "$LINENO"; then :
24583 glibcxx_cv_func_isinfl_use=yes
24584 else
24585 glibcxx_cv_func_isinfl_use=no
24587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24588 ac_ext=c
24589 ac_cpp='$CPP $CPPFLAGS'
24590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24599 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24601 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24602 for ac_func in isinfl
24603 do :
24604 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24605 if test "x$ac_cv_func_isinfl" = x""yes; then :
24606 cat >>confdefs.h <<_ACEOF
24607 #define HAVE_ISINFL 1
24608 _ACEOF
24611 done
24613 else
24615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24616 $as_echo_n "checking for _isinfl declaration... " >&6; }
24617 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24618 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24619 $as_echo_n "(cached) " >&6
24620 else
24623 ac_ext=cpp
24624 ac_cpp='$CXXCPP $CPPFLAGS'
24625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24630 /* end confdefs.h. */
24631 #include <math.h>
24632 #ifdef HAVE_IEEEFP_H
24633 #include <ieeefp.h>
24634 #endif
24637 main ()
24639 _isinfl(0);
24641 return 0;
24643 _ACEOF
24644 if ac_fn_cxx_try_compile "$LINENO"; then :
24645 glibcxx_cv_func__isinfl_use=yes
24646 else
24647 glibcxx_cv_func__isinfl_use=no
24649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24650 ac_ext=c
24651 ac_cpp='$CPP $CPPFLAGS'
24652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24661 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24663 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24664 for ac_func in _isinfl
24665 do :
24666 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24667 if test "x$ac_cv_func__isinfl" = x""yes; then :
24668 cat >>confdefs.h <<_ACEOF
24669 #define HAVE__ISINFL 1
24670 _ACEOF
24673 done
24682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24683 $as_echo_n "checking for atan2l declaration... " >&6; }
24684 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24685 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24686 $as_echo_n "(cached) " >&6
24687 else
24690 ac_ext=cpp
24691 ac_cpp='$CXXCPP $CPPFLAGS'
24692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24697 /* end confdefs.h. */
24698 #include <math.h>
24700 main ()
24702 atan2l(0, 0);
24704 return 0;
24706 _ACEOF
24707 if ac_fn_cxx_try_compile "$LINENO"; then :
24708 glibcxx_cv_func_atan2l_use=yes
24709 else
24710 glibcxx_cv_func_atan2l_use=no
24712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24713 ac_ext=c
24714 ac_cpp='$CPP $CPPFLAGS'
24715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24724 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24726 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24727 for ac_func in atan2l
24728 do :
24729 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24730 if test "x$ac_cv_func_atan2l" = x""yes; then :
24731 cat >>confdefs.h <<_ACEOF
24732 #define HAVE_ATAN2L 1
24733 _ACEOF
24736 done
24738 else
24740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24741 $as_echo_n "checking for _atan2l declaration... " >&6; }
24742 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24743 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24744 $as_echo_n "(cached) " >&6
24745 else
24748 ac_ext=cpp
24749 ac_cpp='$CXXCPP $CPPFLAGS'
24750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24755 /* end confdefs.h. */
24756 #include <math.h>
24758 main ()
24760 _atan2l(0, 0);
24762 return 0;
24764 _ACEOF
24765 if ac_fn_cxx_try_compile "$LINENO"; then :
24766 glibcxx_cv_func__atan2l_use=yes
24767 else
24768 glibcxx_cv_func__atan2l_use=no
24770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24771 ac_ext=c
24772 ac_cpp='$CPP $CPPFLAGS'
24773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24782 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24784 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24785 for ac_func in _atan2l
24786 do :
24787 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24788 if test "x$ac_cv_func__atan2l" = x""yes; then :
24789 cat >>confdefs.h <<_ACEOF
24790 #define HAVE__ATAN2L 1
24791 _ACEOF
24794 done
24803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24804 $as_echo_n "checking for expl declaration... " >&6; }
24805 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24806 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24807 $as_echo_n "(cached) " >&6
24808 else
24811 ac_ext=cpp
24812 ac_cpp='$CXXCPP $CPPFLAGS'
24813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24818 /* end confdefs.h. */
24819 #include <math.h>
24820 #ifdef HAVE_IEEEFP_H
24821 #include <ieeefp.h>
24822 #endif
24825 main ()
24827 expl(0);
24829 return 0;
24831 _ACEOF
24832 if ac_fn_cxx_try_compile "$LINENO"; then :
24833 glibcxx_cv_func_expl_use=yes
24834 else
24835 glibcxx_cv_func_expl_use=no
24837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24838 ac_ext=c
24839 ac_cpp='$CPP $CPPFLAGS'
24840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24849 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24851 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24852 for ac_func in expl
24853 do :
24854 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24855 if test "x$ac_cv_func_expl" = x""yes; then :
24856 cat >>confdefs.h <<_ACEOF
24857 #define HAVE_EXPL 1
24858 _ACEOF
24861 done
24863 else
24865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24866 $as_echo_n "checking for _expl declaration... " >&6; }
24867 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24868 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24869 $as_echo_n "(cached) " >&6
24870 else
24873 ac_ext=cpp
24874 ac_cpp='$CXXCPP $CPPFLAGS'
24875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24880 /* end confdefs.h. */
24881 #include <math.h>
24882 #ifdef HAVE_IEEEFP_H
24883 #include <ieeefp.h>
24884 #endif
24887 main ()
24889 _expl(0);
24891 return 0;
24893 _ACEOF
24894 if ac_fn_cxx_try_compile "$LINENO"; then :
24895 glibcxx_cv_func__expl_use=yes
24896 else
24897 glibcxx_cv_func__expl_use=no
24899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24900 ac_ext=c
24901 ac_cpp='$CPP $CPPFLAGS'
24902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24911 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24913 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24914 for ac_func in _expl
24915 do :
24916 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24917 if test "x$ac_cv_func__expl" = x""yes; then :
24918 cat >>confdefs.h <<_ACEOF
24919 #define HAVE__EXPL 1
24920 _ACEOF
24923 done
24932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24933 $as_echo_n "checking for fabsl declaration... " >&6; }
24934 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24935 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24936 $as_echo_n "(cached) " >&6
24937 else
24940 ac_ext=cpp
24941 ac_cpp='$CXXCPP $CPPFLAGS'
24942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24947 /* end confdefs.h. */
24948 #include <math.h>
24949 #ifdef HAVE_IEEEFP_H
24950 #include <ieeefp.h>
24951 #endif
24954 main ()
24956 fabsl(0);
24958 return 0;
24960 _ACEOF
24961 if ac_fn_cxx_try_compile "$LINENO"; then :
24962 glibcxx_cv_func_fabsl_use=yes
24963 else
24964 glibcxx_cv_func_fabsl_use=no
24966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24967 ac_ext=c
24968 ac_cpp='$CPP $CPPFLAGS'
24969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24978 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24980 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24981 for ac_func in fabsl
24982 do :
24983 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24984 if test "x$ac_cv_func_fabsl" = x""yes; then :
24985 cat >>confdefs.h <<_ACEOF
24986 #define HAVE_FABSL 1
24987 _ACEOF
24990 done
24992 else
24994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24995 $as_echo_n "checking for _fabsl declaration... " >&6; }
24996 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24997 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24998 $as_echo_n "(cached) " >&6
24999 else
25002 ac_ext=cpp
25003 ac_cpp='$CXXCPP $CPPFLAGS'
25004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25009 /* end confdefs.h. */
25010 #include <math.h>
25011 #ifdef HAVE_IEEEFP_H
25012 #include <ieeefp.h>
25013 #endif
25016 main ()
25018 _fabsl(0);
25020 return 0;
25022 _ACEOF
25023 if ac_fn_cxx_try_compile "$LINENO"; then :
25024 glibcxx_cv_func__fabsl_use=yes
25025 else
25026 glibcxx_cv_func__fabsl_use=no
25028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25029 ac_ext=c
25030 ac_cpp='$CPP $CPPFLAGS'
25031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25040 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25042 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25043 for ac_func in _fabsl
25044 do :
25045 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25046 if test "x$ac_cv_func__fabsl" = x""yes; then :
25047 cat >>confdefs.h <<_ACEOF
25048 #define HAVE__FABSL 1
25049 _ACEOF
25052 done
25061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25062 $as_echo_n "checking for fmodl declaration... " >&6; }
25063 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25064 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25065 $as_echo_n "(cached) " >&6
25066 else
25069 ac_ext=cpp
25070 ac_cpp='$CXXCPP $CPPFLAGS'
25071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25076 /* end confdefs.h. */
25077 #include <math.h>
25079 main ()
25081 fmodl(0, 0);
25083 return 0;
25085 _ACEOF
25086 if ac_fn_cxx_try_compile "$LINENO"; then :
25087 glibcxx_cv_func_fmodl_use=yes
25088 else
25089 glibcxx_cv_func_fmodl_use=no
25091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25092 ac_ext=c
25093 ac_cpp='$CPP $CPPFLAGS'
25094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25103 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25105 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25106 for ac_func in fmodl
25107 do :
25108 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25109 if test "x$ac_cv_func_fmodl" = x""yes; then :
25110 cat >>confdefs.h <<_ACEOF
25111 #define HAVE_FMODL 1
25112 _ACEOF
25115 done
25117 else
25119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25120 $as_echo_n "checking for _fmodl declaration... " >&6; }
25121 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25122 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25123 $as_echo_n "(cached) " >&6
25124 else
25127 ac_ext=cpp
25128 ac_cpp='$CXXCPP $CPPFLAGS'
25129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25134 /* end confdefs.h. */
25135 #include <math.h>
25137 main ()
25139 _fmodl(0, 0);
25141 return 0;
25143 _ACEOF
25144 if ac_fn_cxx_try_compile "$LINENO"; then :
25145 glibcxx_cv_func__fmodl_use=yes
25146 else
25147 glibcxx_cv_func__fmodl_use=no
25149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25150 ac_ext=c
25151 ac_cpp='$CPP $CPPFLAGS'
25152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25161 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25163 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25164 for ac_func in _fmodl
25165 do :
25166 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25167 if test "x$ac_cv_func__fmodl" = x""yes; then :
25168 cat >>confdefs.h <<_ACEOF
25169 #define HAVE__FMODL 1
25170 _ACEOF
25173 done
25182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25183 $as_echo_n "checking for frexpl declaration... " >&6; }
25184 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25185 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25186 $as_echo_n "(cached) " >&6
25187 else
25190 ac_ext=cpp
25191 ac_cpp='$CXXCPP $CPPFLAGS'
25192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25197 /* end confdefs.h. */
25198 #include <math.h>
25200 main ()
25202 frexpl(0, 0);
25204 return 0;
25206 _ACEOF
25207 if ac_fn_cxx_try_compile "$LINENO"; then :
25208 glibcxx_cv_func_frexpl_use=yes
25209 else
25210 glibcxx_cv_func_frexpl_use=no
25212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25213 ac_ext=c
25214 ac_cpp='$CPP $CPPFLAGS'
25215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25224 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25226 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25227 for ac_func in frexpl
25228 do :
25229 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25230 if test "x$ac_cv_func_frexpl" = x""yes; then :
25231 cat >>confdefs.h <<_ACEOF
25232 #define HAVE_FREXPL 1
25233 _ACEOF
25236 done
25238 else
25240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25241 $as_echo_n "checking for _frexpl declaration... " >&6; }
25242 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25243 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25244 $as_echo_n "(cached) " >&6
25245 else
25248 ac_ext=cpp
25249 ac_cpp='$CXXCPP $CPPFLAGS'
25250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25255 /* end confdefs.h. */
25256 #include <math.h>
25258 main ()
25260 _frexpl(0, 0);
25262 return 0;
25264 _ACEOF
25265 if ac_fn_cxx_try_compile "$LINENO"; then :
25266 glibcxx_cv_func__frexpl_use=yes
25267 else
25268 glibcxx_cv_func__frexpl_use=no
25270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25271 ac_ext=c
25272 ac_cpp='$CPP $CPPFLAGS'
25273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25282 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25284 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25285 for ac_func in _frexpl
25286 do :
25287 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25288 if test "x$ac_cv_func__frexpl" = x""yes; then :
25289 cat >>confdefs.h <<_ACEOF
25290 #define HAVE__FREXPL 1
25291 _ACEOF
25294 done
25303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25304 $as_echo_n "checking for hypotl declaration... " >&6; }
25305 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25306 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25307 $as_echo_n "(cached) " >&6
25308 else
25311 ac_ext=cpp
25312 ac_cpp='$CXXCPP $CPPFLAGS'
25313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25318 /* end confdefs.h. */
25319 #include <math.h>
25321 main ()
25323 hypotl(0, 0);
25325 return 0;
25327 _ACEOF
25328 if ac_fn_cxx_try_compile "$LINENO"; then :
25329 glibcxx_cv_func_hypotl_use=yes
25330 else
25331 glibcxx_cv_func_hypotl_use=no
25333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25334 ac_ext=c
25335 ac_cpp='$CPP $CPPFLAGS'
25336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25345 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25347 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25348 for ac_func in hypotl
25349 do :
25350 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25351 if test "x$ac_cv_func_hypotl" = x""yes; then :
25352 cat >>confdefs.h <<_ACEOF
25353 #define HAVE_HYPOTL 1
25354 _ACEOF
25357 done
25359 else
25361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25362 $as_echo_n "checking for _hypotl declaration... " >&6; }
25363 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25364 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25365 $as_echo_n "(cached) " >&6
25366 else
25369 ac_ext=cpp
25370 ac_cpp='$CXXCPP $CPPFLAGS'
25371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25376 /* end confdefs.h. */
25377 #include <math.h>
25379 main ()
25381 _hypotl(0, 0);
25383 return 0;
25385 _ACEOF
25386 if ac_fn_cxx_try_compile "$LINENO"; then :
25387 glibcxx_cv_func__hypotl_use=yes
25388 else
25389 glibcxx_cv_func__hypotl_use=no
25391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25392 ac_ext=c
25393 ac_cpp='$CPP $CPPFLAGS'
25394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25403 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25405 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25406 for ac_func in _hypotl
25407 do :
25408 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25409 if test "x$ac_cv_func__hypotl" = x""yes; then :
25410 cat >>confdefs.h <<_ACEOF
25411 #define HAVE__HYPOTL 1
25412 _ACEOF
25415 done
25424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25425 $as_echo_n "checking for ldexpl declaration... " >&6; }
25426 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25427 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25428 $as_echo_n "(cached) " >&6
25429 else
25432 ac_ext=cpp
25433 ac_cpp='$CXXCPP $CPPFLAGS'
25434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25439 /* end confdefs.h. */
25440 #include <math.h>
25442 main ()
25444 ldexpl(0, 0);
25446 return 0;
25448 _ACEOF
25449 if ac_fn_cxx_try_compile "$LINENO"; then :
25450 glibcxx_cv_func_ldexpl_use=yes
25451 else
25452 glibcxx_cv_func_ldexpl_use=no
25454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25455 ac_ext=c
25456 ac_cpp='$CPP $CPPFLAGS'
25457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25466 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25468 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25469 for ac_func in ldexpl
25470 do :
25471 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25472 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25473 cat >>confdefs.h <<_ACEOF
25474 #define HAVE_LDEXPL 1
25475 _ACEOF
25478 done
25480 else
25482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25483 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25484 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25485 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25486 $as_echo_n "(cached) " >&6
25487 else
25490 ac_ext=cpp
25491 ac_cpp='$CXXCPP $CPPFLAGS'
25492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25497 /* end confdefs.h. */
25498 #include <math.h>
25500 main ()
25502 _ldexpl(0, 0);
25504 return 0;
25506 _ACEOF
25507 if ac_fn_cxx_try_compile "$LINENO"; then :
25508 glibcxx_cv_func__ldexpl_use=yes
25509 else
25510 glibcxx_cv_func__ldexpl_use=no
25512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25513 ac_ext=c
25514 ac_cpp='$CPP $CPPFLAGS'
25515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25524 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25526 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25527 for ac_func in _ldexpl
25528 do :
25529 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25530 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25531 cat >>confdefs.h <<_ACEOF
25532 #define HAVE__LDEXPL 1
25533 _ACEOF
25536 done
25545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25546 $as_echo_n "checking for logl declaration... " >&6; }
25547 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25548 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25549 $as_echo_n "(cached) " >&6
25550 else
25553 ac_ext=cpp
25554 ac_cpp='$CXXCPP $CPPFLAGS'
25555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25560 /* end confdefs.h. */
25561 #include <math.h>
25562 #ifdef HAVE_IEEEFP_H
25563 #include <ieeefp.h>
25564 #endif
25567 main ()
25569 logl(0);
25571 return 0;
25573 _ACEOF
25574 if ac_fn_cxx_try_compile "$LINENO"; then :
25575 glibcxx_cv_func_logl_use=yes
25576 else
25577 glibcxx_cv_func_logl_use=no
25579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25580 ac_ext=c
25581 ac_cpp='$CPP $CPPFLAGS'
25582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25591 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25593 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25594 for ac_func in logl
25595 do :
25596 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25597 if test "x$ac_cv_func_logl" = x""yes; then :
25598 cat >>confdefs.h <<_ACEOF
25599 #define HAVE_LOGL 1
25600 _ACEOF
25603 done
25605 else
25607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25608 $as_echo_n "checking for _logl declaration... " >&6; }
25609 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25610 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25611 $as_echo_n "(cached) " >&6
25612 else
25615 ac_ext=cpp
25616 ac_cpp='$CXXCPP $CPPFLAGS'
25617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25622 /* end confdefs.h. */
25623 #include <math.h>
25624 #ifdef HAVE_IEEEFP_H
25625 #include <ieeefp.h>
25626 #endif
25629 main ()
25631 _logl(0);
25633 return 0;
25635 _ACEOF
25636 if ac_fn_cxx_try_compile "$LINENO"; then :
25637 glibcxx_cv_func__logl_use=yes
25638 else
25639 glibcxx_cv_func__logl_use=no
25641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25642 ac_ext=c
25643 ac_cpp='$CPP $CPPFLAGS'
25644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25653 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25655 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25656 for ac_func in _logl
25657 do :
25658 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25659 if test "x$ac_cv_func__logl" = x""yes; then :
25660 cat >>confdefs.h <<_ACEOF
25661 #define HAVE__LOGL 1
25662 _ACEOF
25665 done
25674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25675 $as_echo_n "checking for log10l declaration... " >&6; }
25676 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25677 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25678 $as_echo_n "(cached) " >&6
25679 else
25682 ac_ext=cpp
25683 ac_cpp='$CXXCPP $CPPFLAGS'
25684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25689 /* end confdefs.h. */
25690 #include <math.h>
25691 #ifdef HAVE_IEEEFP_H
25692 #include <ieeefp.h>
25693 #endif
25696 main ()
25698 log10l(0);
25700 return 0;
25702 _ACEOF
25703 if ac_fn_cxx_try_compile "$LINENO"; then :
25704 glibcxx_cv_func_log10l_use=yes
25705 else
25706 glibcxx_cv_func_log10l_use=no
25708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25709 ac_ext=c
25710 ac_cpp='$CPP $CPPFLAGS'
25711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25720 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25722 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25723 for ac_func in log10l
25724 do :
25725 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25726 if test "x$ac_cv_func_log10l" = x""yes; then :
25727 cat >>confdefs.h <<_ACEOF
25728 #define HAVE_LOG10L 1
25729 _ACEOF
25732 done
25734 else
25736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25737 $as_echo_n "checking for _log10l declaration... " >&6; }
25738 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25739 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25740 $as_echo_n "(cached) " >&6
25741 else
25744 ac_ext=cpp
25745 ac_cpp='$CXXCPP $CPPFLAGS'
25746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25751 /* end confdefs.h. */
25752 #include <math.h>
25753 #ifdef HAVE_IEEEFP_H
25754 #include <ieeefp.h>
25755 #endif
25758 main ()
25760 _log10l(0);
25762 return 0;
25764 _ACEOF
25765 if ac_fn_cxx_try_compile "$LINENO"; then :
25766 glibcxx_cv_func__log10l_use=yes
25767 else
25768 glibcxx_cv_func__log10l_use=no
25770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25771 ac_ext=c
25772 ac_cpp='$CPP $CPPFLAGS'
25773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25782 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25784 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25785 for ac_func in _log10l
25786 do :
25787 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25788 if test "x$ac_cv_func__log10l" = x""yes; then :
25789 cat >>confdefs.h <<_ACEOF
25790 #define HAVE__LOG10L 1
25791 _ACEOF
25794 done
25803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25804 $as_echo_n "checking for modfl declaration... " >&6; }
25805 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25806 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25807 $as_echo_n "(cached) " >&6
25808 else
25811 ac_ext=cpp
25812 ac_cpp='$CXXCPP $CPPFLAGS'
25813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25818 /* end confdefs.h. */
25819 #include <math.h>
25821 main ()
25823 modfl(0, 0);
25825 return 0;
25827 _ACEOF
25828 if ac_fn_cxx_try_compile "$LINENO"; then :
25829 glibcxx_cv_func_modfl_use=yes
25830 else
25831 glibcxx_cv_func_modfl_use=no
25833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25834 ac_ext=c
25835 ac_cpp='$CPP $CPPFLAGS'
25836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25845 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25847 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25848 for ac_func in modfl
25849 do :
25850 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25851 if test "x$ac_cv_func_modfl" = x""yes; then :
25852 cat >>confdefs.h <<_ACEOF
25853 #define HAVE_MODFL 1
25854 _ACEOF
25857 done
25859 else
25861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25862 $as_echo_n "checking for _modfl declaration... " >&6; }
25863 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25864 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25865 $as_echo_n "(cached) " >&6
25866 else
25869 ac_ext=cpp
25870 ac_cpp='$CXXCPP $CPPFLAGS'
25871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25876 /* end confdefs.h. */
25877 #include <math.h>
25879 main ()
25881 _modfl(0, 0);
25883 return 0;
25885 _ACEOF
25886 if ac_fn_cxx_try_compile "$LINENO"; then :
25887 glibcxx_cv_func__modfl_use=yes
25888 else
25889 glibcxx_cv_func__modfl_use=no
25891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25892 ac_ext=c
25893 ac_cpp='$CPP $CPPFLAGS'
25894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25903 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25905 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25906 for ac_func in _modfl
25907 do :
25908 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25909 if test "x$ac_cv_func__modfl" = x""yes; then :
25910 cat >>confdefs.h <<_ACEOF
25911 #define HAVE__MODFL 1
25912 _ACEOF
25915 done
25924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25925 $as_echo_n "checking for powl declaration... " >&6; }
25926 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25927 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25928 $as_echo_n "(cached) " >&6
25929 else
25932 ac_ext=cpp
25933 ac_cpp='$CXXCPP $CPPFLAGS'
25934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25939 /* end confdefs.h. */
25940 #include <math.h>
25942 main ()
25944 powl(0, 0);
25946 return 0;
25948 _ACEOF
25949 if ac_fn_cxx_try_compile "$LINENO"; then :
25950 glibcxx_cv_func_powl_use=yes
25951 else
25952 glibcxx_cv_func_powl_use=no
25954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25955 ac_ext=c
25956 ac_cpp='$CPP $CPPFLAGS'
25957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25966 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25968 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25969 for ac_func in powl
25970 do :
25971 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25972 if test "x$ac_cv_func_powl" = x""yes; then :
25973 cat >>confdefs.h <<_ACEOF
25974 #define HAVE_POWL 1
25975 _ACEOF
25978 done
25980 else
25982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25983 $as_echo_n "checking for _powl declaration... " >&6; }
25984 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25985 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25986 $as_echo_n "(cached) " >&6
25987 else
25990 ac_ext=cpp
25991 ac_cpp='$CXXCPP $CPPFLAGS'
25992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25997 /* end confdefs.h. */
25998 #include <math.h>
26000 main ()
26002 _powl(0, 0);
26004 return 0;
26006 _ACEOF
26007 if ac_fn_cxx_try_compile "$LINENO"; then :
26008 glibcxx_cv_func__powl_use=yes
26009 else
26010 glibcxx_cv_func__powl_use=no
26012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26013 ac_ext=c
26014 ac_cpp='$CPP $CPPFLAGS'
26015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26024 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26026 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26027 for ac_func in _powl
26028 do :
26029 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26030 if test "x$ac_cv_func__powl" = x""yes; then :
26031 cat >>confdefs.h <<_ACEOF
26032 #define HAVE__POWL 1
26033 _ACEOF
26036 done
26045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26046 $as_echo_n "checking for sqrtl declaration... " >&6; }
26047 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26048 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26049 $as_echo_n "(cached) " >&6
26050 else
26053 ac_ext=cpp
26054 ac_cpp='$CXXCPP $CPPFLAGS'
26055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26060 /* end confdefs.h. */
26061 #include <math.h>
26062 #ifdef HAVE_IEEEFP_H
26063 #include <ieeefp.h>
26064 #endif
26067 main ()
26069 sqrtl(0);
26071 return 0;
26073 _ACEOF
26074 if ac_fn_cxx_try_compile "$LINENO"; then :
26075 glibcxx_cv_func_sqrtl_use=yes
26076 else
26077 glibcxx_cv_func_sqrtl_use=no
26079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26080 ac_ext=c
26081 ac_cpp='$CPP $CPPFLAGS'
26082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26091 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26093 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26094 for ac_func in sqrtl
26095 do :
26096 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26097 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26098 cat >>confdefs.h <<_ACEOF
26099 #define HAVE_SQRTL 1
26100 _ACEOF
26103 done
26105 else
26107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26108 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26109 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26110 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26111 $as_echo_n "(cached) " >&6
26112 else
26115 ac_ext=cpp
26116 ac_cpp='$CXXCPP $CPPFLAGS'
26117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26122 /* end confdefs.h. */
26123 #include <math.h>
26124 #ifdef HAVE_IEEEFP_H
26125 #include <ieeefp.h>
26126 #endif
26129 main ()
26131 _sqrtl(0);
26133 return 0;
26135 _ACEOF
26136 if ac_fn_cxx_try_compile "$LINENO"; then :
26137 glibcxx_cv_func__sqrtl_use=yes
26138 else
26139 glibcxx_cv_func__sqrtl_use=no
26141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26142 ac_ext=c
26143 ac_cpp='$CPP $CPPFLAGS'
26144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26153 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26155 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26156 for ac_func in _sqrtl
26157 do :
26158 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26159 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26160 cat >>confdefs.h <<_ACEOF
26161 #define HAVE__SQRTL 1
26162 _ACEOF
26165 done
26174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26175 $as_echo_n "checking for sincosl declaration... " >&6; }
26176 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26177 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26178 $as_echo_n "(cached) " >&6
26179 else
26182 ac_ext=cpp
26183 ac_cpp='$CXXCPP $CPPFLAGS'
26184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26189 /* end confdefs.h. */
26190 #include <math.h>
26192 main ()
26194 sincosl(0, 0, 0);
26196 return 0;
26198 _ACEOF
26199 if ac_fn_cxx_try_compile "$LINENO"; then :
26200 glibcxx_cv_func_sincosl_use=yes
26201 else
26202 glibcxx_cv_func_sincosl_use=no
26204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26205 ac_ext=c
26206 ac_cpp='$CPP $CPPFLAGS'
26207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26216 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26218 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26219 for ac_func in sincosl
26220 do :
26221 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26222 if test "x$ac_cv_func_sincosl" = x""yes; then :
26223 cat >>confdefs.h <<_ACEOF
26224 #define HAVE_SINCOSL 1
26225 _ACEOF
26228 done
26230 else
26232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26233 $as_echo_n "checking for _sincosl declaration... " >&6; }
26234 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26235 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26236 $as_echo_n "(cached) " >&6
26237 else
26240 ac_ext=cpp
26241 ac_cpp='$CXXCPP $CPPFLAGS'
26242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26247 /* end confdefs.h. */
26248 #include <math.h>
26250 main ()
26252 _sincosl(0, 0, 0);
26254 return 0;
26256 _ACEOF
26257 if ac_fn_cxx_try_compile "$LINENO"; then :
26258 glibcxx_cv_func__sincosl_use=yes
26259 else
26260 glibcxx_cv_func__sincosl_use=no
26262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26263 ac_ext=c
26264 ac_cpp='$CPP $CPPFLAGS'
26265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26274 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26276 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26277 for ac_func in _sincosl
26278 do :
26279 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26280 if test "x$ac_cv_func__sincosl" = x""yes; then :
26281 cat >>confdefs.h <<_ACEOF
26282 #define HAVE__SINCOSL 1
26283 _ACEOF
26286 done
26295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26296 $as_echo_n "checking for finitel declaration... " >&6; }
26297 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26298 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26299 $as_echo_n "(cached) " >&6
26300 else
26303 ac_ext=cpp
26304 ac_cpp='$CXXCPP $CPPFLAGS'
26305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26310 /* end confdefs.h. */
26311 #include <math.h>
26312 #ifdef HAVE_IEEEFP_H
26313 #include <ieeefp.h>
26314 #endif
26317 main ()
26319 finitel(0);
26321 return 0;
26323 _ACEOF
26324 if ac_fn_cxx_try_compile "$LINENO"; then :
26325 glibcxx_cv_func_finitel_use=yes
26326 else
26327 glibcxx_cv_func_finitel_use=no
26329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26330 ac_ext=c
26331 ac_cpp='$CPP $CPPFLAGS'
26332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26341 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26343 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26344 for ac_func in finitel
26345 do :
26346 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26347 if test "x$ac_cv_func_finitel" = x""yes; then :
26348 cat >>confdefs.h <<_ACEOF
26349 #define HAVE_FINITEL 1
26350 _ACEOF
26353 done
26355 else
26357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26358 $as_echo_n "checking for _finitel declaration... " >&6; }
26359 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26360 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26361 $as_echo_n "(cached) " >&6
26362 else
26365 ac_ext=cpp
26366 ac_cpp='$CXXCPP $CPPFLAGS'
26367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26372 /* end confdefs.h. */
26373 #include <math.h>
26374 #ifdef HAVE_IEEEFP_H
26375 #include <ieeefp.h>
26376 #endif
26379 main ()
26381 _finitel(0);
26383 return 0;
26385 _ACEOF
26386 if ac_fn_cxx_try_compile "$LINENO"; then :
26387 glibcxx_cv_func__finitel_use=yes
26388 else
26389 glibcxx_cv_func__finitel_use=no
26391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26392 ac_ext=c
26393 ac_cpp='$CPP $CPPFLAGS'
26394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26403 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26405 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26406 for ac_func in _finitel
26407 do :
26408 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26409 if test "x$ac_cv_func__finitel" = x""yes; then :
26410 cat >>confdefs.h <<_ACEOF
26411 #define HAVE__FINITEL 1
26412 _ACEOF
26415 done
26423 LIBS="$ac_save_LIBS"
26424 CXXFLAGS="$ac_save_CXXFLAGS"
26427 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26428 ac_save_CXXFLAGS="$CXXFLAGS"
26429 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26433 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26434 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26435 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26436 $as_echo_n "(cached) " >&6
26437 else
26440 ac_ext=cpp
26441 ac_cpp='$CXXCPP $CPPFLAGS'
26442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26447 /* end confdefs.h. */
26448 #include <stdlib.h>
26450 main ()
26452 at_quick_exit(0);
26454 return 0;
26456 _ACEOF
26457 if ac_fn_cxx_try_compile "$LINENO"; then :
26458 glibcxx_cv_func_at_quick_exit_use=yes
26459 else
26460 glibcxx_cv_func_at_quick_exit_use=no
26462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26463 ac_ext=c
26464 ac_cpp='$CPP $CPPFLAGS'
26465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26474 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26475 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26476 for ac_func in at_quick_exit
26477 do :
26478 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26479 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26480 cat >>confdefs.h <<_ACEOF
26481 #define HAVE_AT_QUICK_EXIT 1
26482 _ACEOF
26485 done
26490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26491 $as_echo_n "checking for quick_exit declaration... " >&6; }
26492 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26493 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26494 $as_echo_n "(cached) " >&6
26495 else
26498 ac_ext=cpp
26499 ac_cpp='$CXXCPP $CPPFLAGS'
26500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26505 /* end confdefs.h. */
26506 #include <stdlib.h>
26508 main ()
26510 quick_exit(0);
26512 return 0;
26514 _ACEOF
26515 if ac_fn_cxx_try_compile "$LINENO"; then :
26516 glibcxx_cv_func_quick_exit_use=yes
26517 else
26518 glibcxx_cv_func_quick_exit_use=no
26520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26521 ac_ext=c
26522 ac_cpp='$CPP $CPPFLAGS'
26523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26532 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26533 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26534 for ac_func in quick_exit
26535 do :
26536 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26537 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26538 cat >>confdefs.h <<_ACEOF
26539 #define HAVE_QUICK_EXIT 1
26540 _ACEOF
26543 done
26548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26549 $as_echo_n "checking for strtold declaration... " >&6; }
26550 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26551 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26552 $as_echo_n "(cached) " >&6
26553 else
26556 ac_ext=cpp
26557 ac_cpp='$CXXCPP $CPPFLAGS'
26558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26563 /* end confdefs.h. */
26564 #include <stdlib.h>
26566 main ()
26568 strtold(0, 0);
26570 return 0;
26572 _ACEOF
26573 if ac_fn_cxx_try_compile "$LINENO"; then :
26574 glibcxx_cv_func_strtold_use=yes
26575 else
26576 glibcxx_cv_func_strtold_use=no
26578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26579 ac_ext=c
26580 ac_cpp='$CPP $CPPFLAGS'
26581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26590 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26591 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26592 for ac_func in strtold
26593 do :
26594 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26595 if test "x$ac_cv_func_strtold" = x""yes; then :
26596 cat >>confdefs.h <<_ACEOF
26597 #define HAVE_STRTOLD 1
26598 _ACEOF
26601 done
26608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26609 $as_echo_n "checking for strtof declaration... " >&6; }
26610 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26611 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26612 $as_echo_n "(cached) " >&6
26613 else
26616 ac_ext=cpp
26617 ac_cpp='$CXXCPP $CPPFLAGS'
26618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26623 /* end confdefs.h. */
26624 #include <stdlib.h>
26626 main ()
26628 strtof(0, 0);
26630 return 0;
26632 _ACEOF
26633 if ac_fn_cxx_try_compile "$LINENO"; then :
26634 glibcxx_cv_func_strtof_use=yes
26635 else
26636 glibcxx_cv_func_strtof_use=no
26638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26639 ac_ext=c
26640 ac_cpp='$CPP $CPPFLAGS'
26641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26650 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26651 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26652 for ac_func in strtof
26653 do :
26654 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26655 if test "x$ac_cv_func_strtof" = x""yes; then :
26656 cat >>confdefs.h <<_ACEOF
26657 #define HAVE_STRTOF 1
26658 _ACEOF
26661 done
26668 CXXFLAGS="$ac_save_CXXFLAGS"
26671 # For /dev/random and /dev/urandom for TR1.
26674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26675 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26676 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26677 $as_echo_n "(cached) " >&6
26678 else
26680 if test -r /dev/random && test -r /dev/urandom; then
26681 ## For MSys environment the test above is detect as false-positive
26682 ## on mingw-targets. So disable it explicit for them.
26683 case ${target_os} in
26684 *mingw*) glibcxx_cv_random_tr1=no ;;
26685 *) glibcxx_cv_random_tr1=yes ;;
26686 esac
26687 else
26688 glibcxx_cv_random_tr1=no;
26693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26694 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26696 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26698 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26704 # For TLS support.
26707 # Check whether --enable-tls was given.
26708 if test "${enable_tls+set}" = set; then :
26709 enableval=$enable_tls;
26710 case "$enableval" in
26711 yes|no) ;;
26712 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26713 esac
26715 else
26716 enable_tls=yes
26720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26721 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26722 if test "${gcc_cv_have_tls+set}" = set; then :
26723 $as_echo_n "(cached) " >&6
26724 else
26726 if test "$cross_compiling" = yes; then :
26727 if test x$gcc_no_link = xyes; then
26728 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26731 /* end confdefs.h. */
26732 __thread int a; int b; int main() { return a = b; }
26733 _ACEOF
26734 if ac_fn_c_try_link "$LINENO"; then :
26735 chktls_save_LDFLAGS="$LDFLAGS"
26736 case $host in
26737 *-*-linux*)
26738 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26740 esac
26741 chktls_save_CFLAGS="$CFLAGS"
26742 CFLAGS="-fPIC $CFLAGS"
26743 if test x$gcc_no_link = xyes; then
26744 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26747 /* end confdefs.h. */
26748 int f() { return 0; }
26749 _ACEOF
26750 if ac_fn_c_try_link "$LINENO"; then :
26751 if test x$gcc_no_link = xyes; then
26752 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26755 /* end confdefs.h. */
26756 __thread int a; int b; int f() { return a = b; }
26757 _ACEOF
26758 if ac_fn_c_try_link "$LINENO"; then :
26759 gcc_cv_have_tls=yes
26760 else
26761 gcc_cv_have_tls=no
26763 rm -f core conftest.err conftest.$ac_objext \
26764 conftest$ac_exeext conftest.$ac_ext
26765 else
26766 gcc_cv_have_tls=yes
26768 rm -f core conftest.err conftest.$ac_objext \
26769 conftest$ac_exeext conftest.$ac_ext
26770 CFLAGS="$chktls_save_CFLAGS"
26771 LDFLAGS="$chktls_save_LDFLAGS"
26772 else
26773 gcc_cv_have_tls=no
26775 rm -f core conftest.err conftest.$ac_objext \
26776 conftest$ac_exeext conftest.$ac_ext
26779 else
26780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26781 /* end confdefs.h. */
26782 __thread int a; int b; int main() { return a = b; }
26783 _ACEOF
26784 if ac_fn_c_try_run "$LINENO"; then :
26785 chktls_save_LDFLAGS="$LDFLAGS"
26786 LDFLAGS="-static $LDFLAGS"
26787 if test x$gcc_no_link = xyes; then
26788 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26791 /* end confdefs.h. */
26792 int main() { return 0; }
26793 _ACEOF
26794 if ac_fn_c_try_link "$LINENO"; then :
26795 if test "$cross_compiling" = yes; then :
26796 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26798 as_fn_error "cannot run test program while cross compiling
26799 See \`config.log' for more details." "$LINENO" 5; }
26800 else
26801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26802 /* end confdefs.h. */
26803 __thread int a; int b; int main() { return a = b; }
26804 _ACEOF
26805 if ac_fn_c_try_run "$LINENO"; then :
26806 gcc_cv_have_tls=yes
26807 else
26808 gcc_cv_have_tls=no
26810 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26811 conftest.$ac_objext conftest.beam conftest.$ac_ext
26814 else
26815 gcc_cv_have_tls=yes
26817 rm -f core conftest.err conftest.$ac_objext \
26818 conftest$ac_exeext conftest.$ac_ext
26819 LDFLAGS="$chktls_save_LDFLAGS"
26820 if test $gcc_cv_have_tls = yes; then
26821 chktls_save_CFLAGS="$CFLAGS"
26822 thread_CFLAGS=failed
26823 for flag in '' '-pthread' '-lpthread'; do
26824 CFLAGS="$flag $chktls_save_CFLAGS"
26825 if test x$gcc_no_link = xyes; then
26826 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26829 /* end confdefs.h. */
26830 #include <pthread.h>
26831 void *g(void *d) { return NULL; }
26833 main ()
26835 pthread_t t; pthread_create(&t,NULL,g,NULL);
26837 return 0;
26839 _ACEOF
26840 if ac_fn_c_try_link "$LINENO"; then :
26841 thread_CFLAGS="$flag"
26843 rm -f core conftest.err conftest.$ac_objext \
26844 conftest$ac_exeext conftest.$ac_ext
26845 if test "X$thread_CFLAGS" != Xfailed; then
26846 break
26848 done
26849 CFLAGS="$chktls_save_CFLAGS"
26850 if test "X$thread_CFLAGS" != Xfailed; then
26851 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26852 if test "$cross_compiling" = yes; then :
26853 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26855 as_fn_error "cannot run test program while cross compiling
26856 See \`config.log' for more details." "$LINENO" 5; }
26857 else
26858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26859 /* end confdefs.h. */
26860 #include <pthread.h>
26861 __thread int a;
26862 static int *volatile a_in_other_thread;
26863 static void *
26864 thread_func (void *arg)
26866 a_in_other_thread = &a;
26867 return (void *)0;
26870 main ()
26872 pthread_t thread;
26873 void *thread_retval;
26874 int *volatile a_in_main_thread;
26875 a_in_main_thread = &a;
26876 if (pthread_create (&thread, (pthread_attr_t *)0,
26877 thread_func, (void *)0))
26878 return 0;
26879 if (pthread_join (thread, &thread_retval))
26880 return 0;
26881 return (a_in_other_thread == a_in_main_thread);
26883 return 0;
26885 _ACEOF
26886 if ac_fn_c_try_run "$LINENO"; then :
26887 gcc_cv_have_tls=yes
26888 else
26889 gcc_cv_have_tls=no
26891 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26892 conftest.$ac_objext conftest.beam conftest.$ac_ext
26895 CFLAGS="$chktls_save_CFLAGS"
26898 else
26899 gcc_cv_have_tls=no
26901 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26902 conftest.$ac_objext conftest.beam conftest.$ac_ext
26906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26907 $as_echo "$gcc_cv_have_tls" >&6; }
26908 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26910 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26914 for ac_func in __cxa_thread_atexit_impl
26915 do :
26916 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
26917 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
26918 cat >>confdefs.h <<_ACEOF
26919 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
26920 _ACEOF
26923 done
26926 # For iconv support.
26928 if test "X$prefix" = "XNONE"; then
26929 acl_final_prefix="$ac_default_prefix"
26930 else
26931 acl_final_prefix="$prefix"
26933 if test "X$exec_prefix" = "XNONE"; then
26934 acl_final_exec_prefix='${prefix}'
26935 else
26936 acl_final_exec_prefix="$exec_prefix"
26938 acl_save_prefix="$prefix"
26939 prefix="$acl_final_prefix"
26940 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26941 prefix="$acl_save_prefix"
26944 # Check whether --with-gnu-ld was given.
26945 if test "${with_gnu_ld+set}" = set; then :
26946 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26947 else
26948 with_gnu_ld=no
26951 # Prepare PATH_SEPARATOR.
26952 # The user is always right.
26953 if test "${PATH_SEPARATOR+set}" != set; then
26954 echo "#! /bin/sh" >conf$$.sh
26955 echo "exit 0" >>conf$$.sh
26956 chmod +x conf$$.sh
26957 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26958 PATH_SEPARATOR=';'
26959 else
26960 PATH_SEPARATOR=:
26962 rm -f conf$$.sh
26964 ac_prog=ld
26965 if test "$GCC" = yes; then
26966 # Check if gcc -print-prog-name=ld gives a path.
26967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26968 $as_echo_n "checking for ld used by GCC... " >&6; }
26969 case $host in
26970 *-*-mingw*)
26971 # gcc leaves a trailing carriage return which upsets mingw
26972 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26974 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26975 esac
26976 case $ac_prog in
26977 # Accept absolute paths.
26978 [\\/]* | [A-Za-z]:[\\/]*)
26979 re_direlt='/[^/][^/]*/\.\./'
26980 # Canonicalize the path of ld
26981 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26982 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26983 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26984 done
26985 test -z "$LD" && LD="$ac_prog"
26988 # If it fails, then pretend we aren't using GCC.
26989 ac_prog=ld
26992 # If it is relative, then search for the first ld in PATH.
26993 with_gnu_ld=unknown
26995 esac
26996 elif test "$with_gnu_ld" = yes; then
26997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26998 $as_echo_n "checking for GNU ld... " >&6; }
26999 else
27000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27001 $as_echo_n "checking for non-GNU ld... " >&6; }
27003 if test "${acl_cv_path_LD+set}" = set; then :
27004 $as_echo_n "(cached) " >&6
27005 else
27006 if test -z "$LD"; then
27007 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27008 for ac_dir in $PATH; do
27009 test -z "$ac_dir" && ac_dir=.
27010 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27011 acl_cv_path_LD="$ac_dir/$ac_prog"
27012 # Check to see if the program is GNU ld. I'd rather use --version,
27013 # but apparently some GNU ld's only accept -v.
27014 # Break only if it was the GNU/non-GNU ld that we prefer.
27015 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27016 test "$with_gnu_ld" != no && break
27017 else
27018 test "$with_gnu_ld" != yes && break
27021 done
27022 IFS="$ac_save_ifs"
27023 else
27024 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27028 LD="$acl_cv_path_LD"
27029 if test -n "$LD"; then
27030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27031 $as_echo "$LD" >&6; }
27032 else
27033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27034 $as_echo "no" >&6; }
27036 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27038 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27039 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27040 $as_echo_n "(cached) " >&6
27041 else
27042 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27043 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27044 acl_cv_prog_gnu_ld=yes
27045 else
27046 acl_cv_prog_gnu_ld=no
27049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27050 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27051 with_gnu_ld=$acl_cv_prog_gnu_ld
27055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27056 $as_echo_n "checking for shared library run path origin... " >&6; }
27057 if test "${acl_cv_rpath+set}" = set; then :
27058 $as_echo_n "(cached) " >&6
27059 else
27061 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27062 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27063 . ./conftest.sh
27064 rm -f ./conftest.sh
27065 acl_cv_rpath=done
27068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27069 $as_echo "$acl_cv_rpath" >&6; }
27070 wl="$acl_cv_wl"
27071 libext="$acl_cv_libext"
27072 shlibext="$acl_cv_shlibext"
27073 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27074 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27075 hardcode_direct="$acl_cv_hardcode_direct"
27076 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27077 # Check whether --enable-rpath was given.
27078 if test "${enable_rpath+set}" = set; then :
27079 enableval=$enable_rpath; :
27080 else
27081 enable_rpath=yes
27091 use_additional=yes
27093 acl_save_prefix="$prefix"
27094 prefix="$acl_final_prefix"
27095 acl_save_exec_prefix="$exec_prefix"
27096 exec_prefix="$acl_final_exec_prefix"
27098 eval additional_includedir=\"$includedir\"
27099 eval additional_libdir=\"$libdir\"
27101 exec_prefix="$acl_save_exec_prefix"
27102 prefix="$acl_save_prefix"
27105 # Check whether --with-libiconv-prefix was given.
27106 if test "${with_libiconv_prefix+set}" = set; then :
27107 withval=$with_libiconv_prefix;
27108 if test "X$withval" = "Xno"; then
27109 use_additional=no
27110 else
27111 if test "X$withval" = "X"; then
27113 acl_save_prefix="$prefix"
27114 prefix="$acl_final_prefix"
27115 acl_save_exec_prefix="$exec_prefix"
27116 exec_prefix="$acl_final_exec_prefix"
27118 eval additional_includedir=\"$includedir\"
27119 eval additional_libdir=\"$libdir\"
27121 exec_prefix="$acl_save_exec_prefix"
27122 prefix="$acl_save_prefix"
27124 else
27125 additional_includedir="$withval/include"
27126 additional_libdir="$withval/lib"
27132 LIBICONV=
27133 LTLIBICONV=
27134 INCICONV=
27135 rpathdirs=
27136 ltrpathdirs=
27137 names_already_handled=
27138 names_next_round='iconv '
27139 while test -n "$names_next_round"; do
27140 names_this_round="$names_next_round"
27141 names_next_round=
27142 for name in $names_this_round; do
27143 already_handled=
27144 for n in $names_already_handled; do
27145 if test "$n" = "$name"; then
27146 already_handled=yes
27147 break
27149 done
27150 if test -z "$already_handled"; then
27151 names_already_handled="$names_already_handled $name"
27152 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27153 eval value=\"\$HAVE_LIB$uppername\"
27154 if test -n "$value"; then
27155 if test "$value" = yes; then
27156 eval value=\"\$LIB$uppername\"
27157 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27158 eval value=\"\$LTLIB$uppername\"
27159 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27160 else
27163 else
27164 found_dir=
27165 found_la=
27166 found_so=
27167 found_a=
27168 if test $use_additional = yes; then
27169 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27170 found_dir="$additional_libdir"
27171 found_so="$additional_libdir/lib$name.$shlibext"
27172 if test -f "$additional_libdir/lib$name.la"; then
27173 found_la="$additional_libdir/lib$name.la"
27175 else
27176 if test -f "$additional_libdir/lib$name.$libext"; then
27177 found_dir="$additional_libdir"
27178 found_a="$additional_libdir/lib$name.$libext"
27179 if test -f "$additional_libdir/lib$name.la"; then
27180 found_la="$additional_libdir/lib$name.la"
27185 if test "X$found_dir" = "X"; then
27186 for x in $LDFLAGS $LTLIBICONV; do
27188 acl_save_prefix="$prefix"
27189 prefix="$acl_final_prefix"
27190 acl_save_exec_prefix="$exec_prefix"
27191 exec_prefix="$acl_final_exec_prefix"
27192 eval x=\"$x\"
27193 exec_prefix="$acl_save_exec_prefix"
27194 prefix="$acl_save_prefix"
27196 case "$x" in
27197 -L*)
27198 dir=`echo "X$x" | sed -e 's/^X-L//'`
27199 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27200 found_dir="$dir"
27201 found_so="$dir/lib$name.$shlibext"
27202 if test -f "$dir/lib$name.la"; then
27203 found_la="$dir/lib$name.la"
27205 else
27206 if test -f "$dir/lib$name.$libext"; then
27207 found_dir="$dir"
27208 found_a="$dir/lib$name.$libext"
27209 if test -f "$dir/lib$name.la"; then
27210 found_la="$dir/lib$name.la"
27215 esac
27216 if test "X$found_dir" != "X"; then
27217 break
27219 done
27221 if test "X$found_dir" != "X"; then
27222 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27223 if test "X$found_so" != "X"; then
27224 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27225 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27226 else
27227 haveit=
27228 for x in $ltrpathdirs; do
27229 if test "X$x" = "X$found_dir"; then
27230 haveit=yes
27231 break
27233 done
27234 if test -z "$haveit"; then
27235 ltrpathdirs="$ltrpathdirs $found_dir"
27237 if test "$hardcode_direct" = yes; then
27238 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27239 else
27240 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27241 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27242 haveit=
27243 for x in $rpathdirs; do
27244 if test "X$x" = "X$found_dir"; then
27245 haveit=yes
27246 break
27248 done
27249 if test -z "$haveit"; then
27250 rpathdirs="$rpathdirs $found_dir"
27252 else
27253 haveit=
27254 for x in $LDFLAGS $LIBICONV; do
27256 acl_save_prefix="$prefix"
27257 prefix="$acl_final_prefix"
27258 acl_save_exec_prefix="$exec_prefix"
27259 exec_prefix="$acl_final_exec_prefix"
27260 eval x=\"$x\"
27261 exec_prefix="$acl_save_exec_prefix"
27262 prefix="$acl_save_prefix"
27264 if test "X$x" = "X-L$found_dir"; then
27265 haveit=yes
27266 break
27268 done
27269 if test -z "$haveit"; then
27270 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27272 if test "$hardcode_minus_L" != no; then
27273 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27274 else
27275 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27280 else
27281 if test "X$found_a" != "X"; then
27282 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27283 else
27284 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27287 additional_includedir=
27288 case "$found_dir" in
27289 */lib | */lib/)
27290 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27291 additional_includedir="$basedir/include"
27293 esac
27294 if test "X$additional_includedir" != "X"; then
27295 if test "X$additional_includedir" != "X/usr/include"; then
27296 haveit=
27297 if test "X$additional_includedir" = "X/usr/local/include"; then
27298 if test -n "$GCC"; then
27299 case $host_os in
27300 linux*) haveit=yes;;
27301 esac
27304 if test -z "$haveit"; then
27305 for x in $CPPFLAGS $INCICONV; do
27307 acl_save_prefix="$prefix"
27308 prefix="$acl_final_prefix"
27309 acl_save_exec_prefix="$exec_prefix"
27310 exec_prefix="$acl_final_exec_prefix"
27311 eval x=\"$x\"
27312 exec_prefix="$acl_save_exec_prefix"
27313 prefix="$acl_save_prefix"
27315 if test "X$x" = "X-I$additional_includedir"; then
27316 haveit=yes
27317 break
27319 done
27320 if test -z "$haveit"; then
27321 if test -d "$additional_includedir"; then
27322 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27328 if test -n "$found_la"; then
27329 save_libdir="$libdir"
27330 case "$found_la" in
27331 */* | *\\*) . "$found_la" ;;
27332 *) . "./$found_la" ;;
27333 esac
27334 libdir="$save_libdir"
27335 for dep in $dependency_libs; do
27336 case "$dep" in
27337 -L*)
27338 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27339 if test "X$additional_libdir" != "X/usr/lib"; then
27340 haveit=
27341 if test "X$additional_libdir" = "X/usr/local/lib"; then
27342 if test -n "$GCC"; then
27343 case $host_os in
27344 linux*) haveit=yes;;
27345 esac
27348 if test -z "$haveit"; then
27349 haveit=
27350 for x in $LDFLAGS $LIBICONV; do
27352 acl_save_prefix="$prefix"
27353 prefix="$acl_final_prefix"
27354 acl_save_exec_prefix="$exec_prefix"
27355 exec_prefix="$acl_final_exec_prefix"
27356 eval x=\"$x\"
27357 exec_prefix="$acl_save_exec_prefix"
27358 prefix="$acl_save_prefix"
27360 if test "X$x" = "X-L$additional_libdir"; then
27361 haveit=yes
27362 break
27364 done
27365 if test -z "$haveit"; then
27366 if test -d "$additional_libdir"; then
27367 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27370 haveit=
27371 for x in $LDFLAGS $LTLIBICONV; do
27373 acl_save_prefix="$prefix"
27374 prefix="$acl_final_prefix"
27375 acl_save_exec_prefix="$exec_prefix"
27376 exec_prefix="$acl_final_exec_prefix"
27377 eval x=\"$x\"
27378 exec_prefix="$acl_save_exec_prefix"
27379 prefix="$acl_save_prefix"
27381 if test "X$x" = "X-L$additional_libdir"; then
27382 haveit=yes
27383 break
27385 done
27386 if test -z "$haveit"; then
27387 if test -d "$additional_libdir"; then
27388 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27394 -R*)
27395 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27396 if test "$enable_rpath" != no; then
27397 haveit=
27398 for x in $rpathdirs; do
27399 if test "X$x" = "X$dir"; then
27400 haveit=yes
27401 break
27403 done
27404 if test -z "$haveit"; then
27405 rpathdirs="$rpathdirs $dir"
27407 haveit=
27408 for x in $ltrpathdirs; do
27409 if test "X$x" = "X$dir"; then
27410 haveit=yes
27411 break
27413 done
27414 if test -z "$haveit"; then
27415 ltrpathdirs="$ltrpathdirs $dir"
27419 -l*)
27420 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27422 *.la)
27423 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27426 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27427 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27429 esac
27430 done
27432 else
27433 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27434 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27438 done
27439 done
27440 if test "X$rpathdirs" != "X"; then
27441 if test -n "$hardcode_libdir_separator"; then
27442 alldirs=
27443 for found_dir in $rpathdirs; do
27444 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27445 done
27446 acl_save_libdir="$libdir"
27447 libdir="$alldirs"
27448 eval flag=\"$hardcode_libdir_flag_spec\"
27449 libdir="$acl_save_libdir"
27450 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27451 else
27452 for found_dir in $rpathdirs; do
27453 acl_save_libdir="$libdir"
27454 libdir="$found_dir"
27455 eval flag=\"$hardcode_libdir_flag_spec\"
27456 libdir="$acl_save_libdir"
27457 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27458 done
27461 if test "X$ltrpathdirs" != "X"; then
27462 for found_dir in $ltrpathdirs; do
27463 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27464 done
27473 am_save_CPPFLAGS="$CPPFLAGS"
27475 for element in $INCICONV; do
27476 haveit=
27477 for x in $CPPFLAGS; do
27479 acl_save_prefix="$prefix"
27480 prefix="$acl_final_prefix"
27481 acl_save_exec_prefix="$exec_prefix"
27482 exec_prefix="$acl_final_exec_prefix"
27483 eval x=\"$x\"
27484 exec_prefix="$acl_save_exec_prefix"
27485 prefix="$acl_save_prefix"
27487 if test "X$x" = "X$element"; then
27488 haveit=yes
27489 break
27491 done
27492 if test -z "$haveit"; then
27493 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27495 done
27498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27499 $as_echo_n "checking for iconv... " >&6; }
27500 if test "${am_cv_func_iconv+set}" = set; then :
27501 $as_echo_n "(cached) " >&6
27502 else
27504 am_cv_func_iconv="no, consider installing GNU libiconv"
27505 am_cv_lib_iconv=no
27506 if test x$gcc_no_link = xyes; then
27507 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27510 /* end confdefs.h. */
27511 #include <stdlib.h>
27512 #include <iconv.h>
27514 main ()
27516 iconv_t cd = iconv_open("","");
27517 iconv(cd,NULL,NULL,NULL,NULL);
27518 iconv_close(cd);
27520 return 0;
27522 _ACEOF
27523 if ac_fn_c_try_link "$LINENO"; then :
27524 am_cv_func_iconv=yes
27526 rm -f core conftest.err conftest.$ac_objext \
27527 conftest$ac_exeext conftest.$ac_ext
27528 if test "$am_cv_func_iconv" != yes; then
27529 am_save_LIBS="$LIBS"
27530 LIBS="$LIBS $LIBICONV"
27531 if test x$gcc_no_link = xyes; then
27532 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27535 /* end confdefs.h. */
27536 #include <stdlib.h>
27537 #include <iconv.h>
27539 main ()
27541 iconv_t cd = iconv_open("","");
27542 iconv(cd,NULL,NULL,NULL,NULL);
27543 iconv_close(cd);
27545 return 0;
27547 _ACEOF
27548 if ac_fn_c_try_link "$LINENO"; then :
27549 am_cv_lib_iconv=yes
27550 am_cv_func_iconv=yes
27552 rm -f core conftest.err conftest.$ac_objext \
27553 conftest$ac_exeext conftest.$ac_ext
27554 LIBS="$am_save_LIBS"
27558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27559 $as_echo "$am_cv_func_iconv" >&6; }
27560 if test "$am_cv_func_iconv" = yes; then
27562 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27565 if test "$am_cv_lib_iconv" = yes; then
27566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27567 $as_echo_n "checking how to link with libiconv... " >&6; }
27568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27569 $as_echo "$LIBICONV" >&6; }
27570 else
27571 CPPFLAGS="$am_save_CPPFLAGS"
27572 LIBICONV=
27573 LTLIBICONV=
27578 if test "$am_cv_func_iconv" = yes; then
27579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27580 $as_echo_n "checking for iconv declaration... " >&6; }
27581 if test "${am_cv_proto_iconv+set}" = set; then :
27582 $as_echo_n "(cached) " >&6
27583 else
27585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27586 /* end confdefs.h. */
27588 #include <stdlib.h>
27589 #include <iconv.h>
27590 extern
27591 #ifdef __cplusplus
27593 #endif
27594 #if defined(__STDC__) || defined(__cplusplus)
27595 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27596 #else
27597 size_t iconv();
27598 #endif
27601 main ()
27605 return 0;
27607 _ACEOF
27608 if ac_fn_c_try_compile "$LINENO"; then :
27609 am_cv_proto_iconv_arg1=""
27610 else
27611 am_cv_proto_iconv_arg1="const"
27613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27614 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);"
27617 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27619 }$am_cv_proto_iconv" >&5
27620 $as_echo "${ac_t:-
27621 }$am_cv_proto_iconv" >&6; }
27623 cat >>confdefs.h <<_ACEOF
27624 #define ICONV_CONST $am_cv_proto_iconv_arg1
27625 _ACEOF
27630 else
27632 # This lets us hard-code the functionality we know we'll have in the cross
27633 # target environment. "Let" is a sugar-coated word placed on an especially
27634 # dull and tedious hack, actually.
27636 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27637 # that involve linking, can't be used:
27638 # "cannot open sim-crt0.o"
27639 # "cannot open crt0.o"
27640 # etc. All this is because there currently exists no unified, consistent
27641 # way for top level CC information to be passed down to target directories:
27642 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27643 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27644 # crosses can be removed.
27646 # If Canadian cross, then don't pick up tools from the build directory.
27647 # Used only in GLIBCXX_EXPORT_INCLUDES.
27648 if test -n "$with_cross_host" &&
27649 test x"$build_alias" != x"$with_cross_host" &&
27650 test x"$build" != x"$target";
27651 then
27652 CANADIAN=yes
27653 else
27654 CANADIAN=no
27657 # Construct crosses by hand, eliminating bits that need ld...
27658 # GLIBCXX_CHECK_MATH_SUPPORT
27660 # First, test for "known" system libraries. We may be using newlib even
27661 # on a hosted environment.
27662 if test "x${with_newlib}" = "xyes"; then
27663 os_include_dir="os/newlib"
27664 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27667 # GLIBCXX_CHECK_STDLIB_SUPPORT
27668 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27671 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27673 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27675 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27677 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27679 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27681 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27683 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27685 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27687 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27689 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27691 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27693 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27695 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27697 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27699 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27701 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27703 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27705 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27707 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27709 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27711 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27713 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27716 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27718 else
27720 # Base decisions on target environment.
27721 case "${host}" in
27722 arm*-*-symbianelf*)
27723 # This is a freestanding configuration; there is nothing to do here.
27726 mips*-sde-elf*)
27727 # These definitions are for the SDE C library rather than newlib.
27728 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27731 # All these tests are for C++; save the language and the compiler flags.
27732 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27733 # found in GLIBCXX_CONFIGURE.
27735 ac_ext=cpp
27736 ac_cpp='$CXXCPP $CPPFLAGS'
27737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27741 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27742 ac_save_CXXFLAGS="$CXXFLAGS"
27744 # Check for maintainer-mode bits.
27745 if test x"$USE_MAINTAINER_MODE" = xno; then
27746 WERROR=''
27747 else
27748 WERROR='-Werror'
27751 # Check for -ffunction-sections -fdata-sections
27752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27753 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27754 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27756 /* end confdefs.h. */
27757 int foo; void bar() { };
27759 main ()
27763 return 0;
27765 _ACEOF
27766 if ac_fn_cxx_try_compile "$LINENO"; then :
27767 ac_fdsections=yes
27768 else
27769 ac_fdsections=no
27771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27772 if test "$ac_test_CXXFLAGS" = set; then
27773 CXXFLAGS="$ac_save_CXXFLAGS"
27774 else
27775 # this is the suspicious part
27776 CXXFLAGS=''
27778 if test x"$ac_fdsections" = x"yes"; then
27779 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27782 $as_echo "$ac_fdsections" >&6; }
27784 ac_ext=c
27785 ac_cpp='$CPP $CPPFLAGS'
27786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27794 # If we're not using GNU ld, then there's no point in even trying these
27795 # tests. Check for that first. We should have already tested for gld
27796 # by now (in libtool), but require it now just to be safe...
27797 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27798 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27802 # The name set by libtool depends on the version of libtool. Shame on us
27803 # for depending on an impl detail, but c'est la vie. Older versions used
27804 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27805 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27806 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27807 # set (hence we're using an older libtool), then set it.
27808 if test x${with_gnu_ld+set} != xset; then
27809 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27810 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27811 with_gnu_ld=no
27812 else
27813 with_gnu_ld=$ac_cv_prog_gnu_ld
27817 # Start by getting the version number. I think the libtool test already
27818 # does some of this, but throws away the result.
27819 glibcxx_ld_is_gold=no
27820 if test x"$with_gnu_ld" = x"yes"; then
27821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27822 $as_echo_n "checking for ld version... " >&6; }
27824 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27825 glibcxx_ld_is_gold=yes
27827 ldver=`$LD --version 2>/dev/null |
27828 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'`
27830 glibcxx_gnu_ld_version=`echo $ldver | \
27831 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27833 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27836 # Set --gc-sections.
27837 glibcxx_have_gc_sections=no
27838 if test "$glibcxx_ld_is_gold" = "yes"; then
27839 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27840 glibcxx_have_gc_sections=yes
27842 else
27843 glibcxx_gcsections_min_ld=21602
27844 if test x"$with_gnu_ld" = x"yes" &&
27845 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27846 glibcxx_have_gc_sections=yes
27849 if test "$glibcxx_have_gc_sections" = "yes"; then
27850 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27851 # NB: This flag only works reliably after 2.16.1. Configure tests
27852 # for this are difficult, so hard wire a value that should work.
27854 ac_test_CFLAGS="${CFLAGS+set}"
27855 ac_save_CFLAGS="$CFLAGS"
27856 CFLAGS='-Wl,--gc-sections'
27858 # Check for -Wl,--gc-sections
27859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27860 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27861 if test x$gcc_no_link = xyes; then
27862 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27865 /* end confdefs.h. */
27866 int one(void) { return 1; }
27867 int two(void) { return 2; }
27870 main ()
27872 two();
27874 return 0;
27876 _ACEOF
27877 if ac_fn_c_try_link "$LINENO"; then :
27878 ac_gcsections=yes
27879 else
27880 ac_gcsections=no
27882 rm -f core conftest.err conftest.$ac_objext \
27883 conftest$ac_exeext conftest.$ac_ext
27884 if test "$ac_gcsections" = "yes"; then
27885 rm -f conftest.c
27886 touch conftest.c
27887 if $CC -c conftest.c; then
27888 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27889 grep "Warning: gc-sections option ignored" > /dev/null; then
27890 ac_gcsections=no
27893 rm -f conftest.c conftest.o conftest
27895 if test "$ac_gcsections" = "yes"; then
27896 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27899 $as_echo "$ac_gcsections" >&6; }
27901 if test "$ac_test_CFLAGS" = set; then
27902 CFLAGS="$ac_save_CFLAGS"
27903 else
27904 # this is the suspicious part
27905 CFLAGS=''
27909 # Set -z,relro.
27910 # Note this is only for shared objects.
27911 ac_ld_relro=no
27912 if test x"$with_gnu_ld" = x"yes"; then
27913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27914 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27915 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27916 if test -n "$cxx_z_relo"; then
27917 OPT_LDFLAGS="-Wl,-z,relro"
27918 ac_ld_relro=yes
27920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27921 $as_echo "$ac_ld_relro" >&6; }
27924 # Set linker optimization flags.
27925 if test x"$with_gnu_ld" = x"yes"; then
27926 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27933 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27934 ac_save_CXXFLAGS="$CXXFLAGS"
27935 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27938 $as_echo_n "checking for sin in -lm... " >&6; }
27939 if test "${ac_cv_lib_m_sin+set}" = set; then :
27940 $as_echo_n "(cached) " >&6
27941 else
27942 ac_check_lib_save_LIBS=$LIBS
27943 LIBS="-lm $LIBS"
27944 if test x$gcc_no_link = xyes; then
27945 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27948 /* end confdefs.h. */
27950 /* Override any GCC internal prototype to avoid an error.
27951 Use char because int might match the return type of a GCC
27952 builtin and then its argument prototype would still apply. */
27953 #ifdef __cplusplus
27954 extern "C"
27955 #endif
27956 char sin ();
27958 main ()
27960 return sin ();
27962 return 0;
27964 _ACEOF
27965 if ac_fn_c_try_link "$LINENO"; then :
27966 ac_cv_lib_m_sin=yes
27967 else
27968 ac_cv_lib_m_sin=no
27970 rm -f core conftest.err conftest.$ac_objext \
27971 conftest$ac_exeext conftest.$ac_ext
27972 LIBS=$ac_check_lib_save_LIBS
27974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27975 $as_echo "$ac_cv_lib_m_sin" >&6; }
27976 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27977 libm="-lm"
27980 ac_save_LIBS="$LIBS"
27981 LIBS="$LIBS $libm"
27985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27986 $as_echo_n "checking for isinf declaration... " >&6; }
27987 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27988 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27989 $as_echo_n "(cached) " >&6
27990 else
27993 ac_ext=cpp
27994 ac_cpp='$CXXCPP $CPPFLAGS'
27995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28000 /* end confdefs.h. */
28001 #include <math.h>
28002 #ifdef HAVE_IEEEFP_H
28003 #include <ieeefp.h>
28004 #endif
28007 main ()
28009 isinf(0);
28011 return 0;
28013 _ACEOF
28014 if ac_fn_cxx_try_compile "$LINENO"; then :
28015 glibcxx_cv_func_isinf_use=yes
28016 else
28017 glibcxx_cv_func_isinf_use=no
28019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28020 ac_ext=c
28021 ac_cpp='$CPP $CPPFLAGS'
28022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28031 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28033 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28034 for ac_func in isinf
28035 do :
28036 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28037 if test "x$ac_cv_func_isinf" = x""yes; then :
28038 cat >>confdefs.h <<_ACEOF
28039 #define HAVE_ISINF 1
28040 _ACEOF
28043 done
28045 else
28047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28048 $as_echo_n "checking for _isinf declaration... " >&6; }
28049 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28050 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28051 $as_echo_n "(cached) " >&6
28052 else
28055 ac_ext=cpp
28056 ac_cpp='$CXXCPP $CPPFLAGS'
28057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28062 /* end confdefs.h. */
28063 #include <math.h>
28064 #ifdef HAVE_IEEEFP_H
28065 #include <ieeefp.h>
28066 #endif
28069 main ()
28071 _isinf(0);
28073 return 0;
28075 _ACEOF
28076 if ac_fn_cxx_try_compile "$LINENO"; then :
28077 glibcxx_cv_func__isinf_use=yes
28078 else
28079 glibcxx_cv_func__isinf_use=no
28081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28082 ac_ext=c
28083 ac_cpp='$CPP $CPPFLAGS'
28084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28093 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28095 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28096 for ac_func in _isinf
28097 do :
28098 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28099 if test "x$ac_cv_func__isinf" = x""yes; then :
28100 cat >>confdefs.h <<_ACEOF
28101 #define HAVE__ISINF 1
28102 _ACEOF
28105 done
28114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28115 $as_echo_n "checking for isnan declaration... " >&6; }
28116 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28117 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28118 $as_echo_n "(cached) " >&6
28119 else
28122 ac_ext=cpp
28123 ac_cpp='$CXXCPP $CPPFLAGS'
28124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28129 /* end confdefs.h. */
28130 #include <math.h>
28131 #ifdef HAVE_IEEEFP_H
28132 #include <ieeefp.h>
28133 #endif
28136 main ()
28138 isnan(0);
28140 return 0;
28142 _ACEOF
28143 if ac_fn_cxx_try_compile "$LINENO"; then :
28144 glibcxx_cv_func_isnan_use=yes
28145 else
28146 glibcxx_cv_func_isnan_use=no
28148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28149 ac_ext=c
28150 ac_cpp='$CPP $CPPFLAGS'
28151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28160 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28162 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28163 for ac_func in isnan
28164 do :
28165 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28166 if test "x$ac_cv_func_isnan" = x""yes; then :
28167 cat >>confdefs.h <<_ACEOF
28168 #define HAVE_ISNAN 1
28169 _ACEOF
28172 done
28174 else
28176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28177 $as_echo_n "checking for _isnan declaration... " >&6; }
28178 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28179 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28180 $as_echo_n "(cached) " >&6
28181 else
28184 ac_ext=cpp
28185 ac_cpp='$CXXCPP $CPPFLAGS'
28186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28191 /* end confdefs.h. */
28192 #include <math.h>
28193 #ifdef HAVE_IEEEFP_H
28194 #include <ieeefp.h>
28195 #endif
28198 main ()
28200 _isnan(0);
28202 return 0;
28204 _ACEOF
28205 if ac_fn_cxx_try_compile "$LINENO"; then :
28206 glibcxx_cv_func__isnan_use=yes
28207 else
28208 glibcxx_cv_func__isnan_use=no
28210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28211 ac_ext=c
28212 ac_cpp='$CPP $CPPFLAGS'
28213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28222 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28224 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28225 for ac_func in _isnan
28226 do :
28227 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28228 if test "x$ac_cv_func__isnan" = x""yes; then :
28229 cat >>confdefs.h <<_ACEOF
28230 #define HAVE__ISNAN 1
28231 _ACEOF
28234 done
28243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28244 $as_echo_n "checking for finite declaration... " >&6; }
28245 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28246 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28247 $as_echo_n "(cached) " >&6
28248 else
28251 ac_ext=cpp
28252 ac_cpp='$CXXCPP $CPPFLAGS'
28253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28258 /* end confdefs.h. */
28259 #include <math.h>
28260 #ifdef HAVE_IEEEFP_H
28261 #include <ieeefp.h>
28262 #endif
28265 main ()
28267 finite(0);
28269 return 0;
28271 _ACEOF
28272 if ac_fn_cxx_try_compile "$LINENO"; then :
28273 glibcxx_cv_func_finite_use=yes
28274 else
28275 glibcxx_cv_func_finite_use=no
28277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28278 ac_ext=c
28279 ac_cpp='$CPP $CPPFLAGS'
28280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28289 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28291 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28292 for ac_func in finite
28293 do :
28294 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28295 if test "x$ac_cv_func_finite" = x""yes; then :
28296 cat >>confdefs.h <<_ACEOF
28297 #define HAVE_FINITE 1
28298 _ACEOF
28301 done
28303 else
28305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28306 $as_echo_n "checking for _finite declaration... " >&6; }
28307 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28308 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28309 $as_echo_n "(cached) " >&6
28310 else
28313 ac_ext=cpp
28314 ac_cpp='$CXXCPP $CPPFLAGS'
28315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28320 /* end confdefs.h. */
28321 #include <math.h>
28322 #ifdef HAVE_IEEEFP_H
28323 #include <ieeefp.h>
28324 #endif
28327 main ()
28329 _finite(0);
28331 return 0;
28333 _ACEOF
28334 if ac_fn_cxx_try_compile "$LINENO"; then :
28335 glibcxx_cv_func__finite_use=yes
28336 else
28337 glibcxx_cv_func__finite_use=no
28339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28340 ac_ext=c
28341 ac_cpp='$CPP $CPPFLAGS'
28342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28351 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28353 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28354 for ac_func in _finite
28355 do :
28356 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28357 if test "x$ac_cv_func__finite" = x""yes; then :
28358 cat >>confdefs.h <<_ACEOF
28359 #define HAVE__FINITE 1
28360 _ACEOF
28363 done
28372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28373 $as_echo_n "checking for sincos declaration... " >&6; }
28374 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28375 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28376 $as_echo_n "(cached) " >&6
28377 else
28380 ac_ext=cpp
28381 ac_cpp='$CXXCPP $CPPFLAGS'
28382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28387 /* end confdefs.h. */
28388 #include <math.h>
28390 main ()
28392 sincos(0, 0, 0);
28394 return 0;
28396 _ACEOF
28397 if ac_fn_cxx_try_compile "$LINENO"; then :
28398 glibcxx_cv_func_sincos_use=yes
28399 else
28400 glibcxx_cv_func_sincos_use=no
28402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28403 ac_ext=c
28404 ac_cpp='$CPP $CPPFLAGS'
28405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28414 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28416 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28417 for ac_func in sincos
28418 do :
28419 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28420 if test "x$ac_cv_func_sincos" = x""yes; then :
28421 cat >>confdefs.h <<_ACEOF
28422 #define HAVE_SINCOS 1
28423 _ACEOF
28426 done
28428 else
28430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28431 $as_echo_n "checking for _sincos declaration... " >&6; }
28432 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28433 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28434 $as_echo_n "(cached) " >&6
28435 else
28438 ac_ext=cpp
28439 ac_cpp='$CXXCPP $CPPFLAGS'
28440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28445 /* end confdefs.h. */
28446 #include <math.h>
28448 main ()
28450 _sincos(0, 0, 0);
28452 return 0;
28454 _ACEOF
28455 if ac_fn_cxx_try_compile "$LINENO"; then :
28456 glibcxx_cv_func__sincos_use=yes
28457 else
28458 glibcxx_cv_func__sincos_use=no
28460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28461 ac_ext=c
28462 ac_cpp='$CPP $CPPFLAGS'
28463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28472 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28474 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28475 for ac_func in _sincos
28476 do :
28477 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28478 if test "x$ac_cv_func__sincos" = x""yes; then :
28479 cat >>confdefs.h <<_ACEOF
28480 #define HAVE__SINCOS 1
28481 _ACEOF
28484 done
28493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28494 $as_echo_n "checking for fpclass declaration... " >&6; }
28495 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28496 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28497 $as_echo_n "(cached) " >&6
28498 else
28501 ac_ext=cpp
28502 ac_cpp='$CXXCPP $CPPFLAGS'
28503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28508 /* end confdefs.h. */
28509 #include <math.h>
28510 #ifdef HAVE_IEEEFP_H
28511 #include <ieeefp.h>
28512 #endif
28515 main ()
28517 fpclass(0);
28519 return 0;
28521 _ACEOF
28522 if ac_fn_cxx_try_compile "$LINENO"; then :
28523 glibcxx_cv_func_fpclass_use=yes
28524 else
28525 glibcxx_cv_func_fpclass_use=no
28527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28528 ac_ext=c
28529 ac_cpp='$CPP $CPPFLAGS'
28530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28539 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28541 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28542 for ac_func in fpclass
28543 do :
28544 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28545 if test "x$ac_cv_func_fpclass" = x""yes; then :
28546 cat >>confdefs.h <<_ACEOF
28547 #define HAVE_FPCLASS 1
28548 _ACEOF
28551 done
28553 else
28555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28556 $as_echo_n "checking for _fpclass declaration... " >&6; }
28557 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28558 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28559 $as_echo_n "(cached) " >&6
28560 else
28563 ac_ext=cpp
28564 ac_cpp='$CXXCPP $CPPFLAGS'
28565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28570 /* end confdefs.h. */
28571 #include <math.h>
28572 #ifdef HAVE_IEEEFP_H
28573 #include <ieeefp.h>
28574 #endif
28577 main ()
28579 _fpclass(0);
28581 return 0;
28583 _ACEOF
28584 if ac_fn_cxx_try_compile "$LINENO"; then :
28585 glibcxx_cv_func__fpclass_use=yes
28586 else
28587 glibcxx_cv_func__fpclass_use=no
28589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28590 ac_ext=c
28591 ac_cpp='$CPP $CPPFLAGS'
28592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28601 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28603 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28604 for ac_func in _fpclass
28605 do :
28606 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28607 if test "x$ac_cv_func__fpclass" = x""yes; then :
28608 cat >>confdefs.h <<_ACEOF
28609 #define HAVE__FPCLASS 1
28610 _ACEOF
28613 done
28622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28623 $as_echo_n "checking for qfpclass declaration... " >&6; }
28624 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28625 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28626 $as_echo_n "(cached) " >&6
28627 else
28630 ac_ext=cpp
28631 ac_cpp='$CXXCPP $CPPFLAGS'
28632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28637 /* end confdefs.h. */
28638 #include <math.h>
28639 #ifdef HAVE_IEEEFP_H
28640 #include <ieeefp.h>
28641 #endif
28644 main ()
28646 qfpclass(0);
28648 return 0;
28650 _ACEOF
28651 if ac_fn_cxx_try_compile "$LINENO"; then :
28652 glibcxx_cv_func_qfpclass_use=yes
28653 else
28654 glibcxx_cv_func_qfpclass_use=no
28656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28657 ac_ext=c
28658 ac_cpp='$CPP $CPPFLAGS'
28659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28668 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28670 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28671 for ac_func in qfpclass
28672 do :
28673 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28674 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28675 cat >>confdefs.h <<_ACEOF
28676 #define HAVE_QFPCLASS 1
28677 _ACEOF
28680 done
28682 else
28684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28685 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28686 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28687 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28688 $as_echo_n "(cached) " >&6
28689 else
28692 ac_ext=cpp
28693 ac_cpp='$CXXCPP $CPPFLAGS'
28694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28699 /* end confdefs.h. */
28700 #include <math.h>
28701 #ifdef HAVE_IEEEFP_H
28702 #include <ieeefp.h>
28703 #endif
28706 main ()
28708 _qfpclass(0);
28710 return 0;
28712 _ACEOF
28713 if ac_fn_cxx_try_compile "$LINENO"; then :
28714 glibcxx_cv_func__qfpclass_use=yes
28715 else
28716 glibcxx_cv_func__qfpclass_use=no
28718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28719 ac_ext=c
28720 ac_cpp='$CPP $CPPFLAGS'
28721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28730 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28732 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28733 for ac_func in _qfpclass
28734 do :
28735 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28736 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28737 cat >>confdefs.h <<_ACEOF
28738 #define HAVE__QFPCLASS 1
28739 _ACEOF
28742 done
28751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28752 $as_echo_n "checking for hypot declaration... " >&6; }
28753 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28754 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28755 $as_echo_n "(cached) " >&6
28756 else
28759 ac_ext=cpp
28760 ac_cpp='$CXXCPP $CPPFLAGS'
28761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28766 /* end confdefs.h. */
28767 #include <math.h>
28769 main ()
28771 hypot(0, 0);
28773 return 0;
28775 _ACEOF
28776 if ac_fn_cxx_try_compile "$LINENO"; then :
28777 glibcxx_cv_func_hypot_use=yes
28778 else
28779 glibcxx_cv_func_hypot_use=no
28781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28782 ac_ext=c
28783 ac_cpp='$CPP $CPPFLAGS'
28784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28793 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28795 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28796 for ac_func in hypot
28797 do :
28798 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28799 if test "x$ac_cv_func_hypot" = x""yes; then :
28800 cat >>confdefs.h <<_ACEOF
28801 #define HAVE_HYPOT 1
28802 _ACEOF
28805 done
28807 else
28809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28810 $as_echo_n "checking for _hypot declaration... " >&6; }
28811 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28812 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28813 $as_echo_n "(cached) " >&6
28814 else
28817 ac_ext=cpp
28818 ac_cpp='$CXXCPP $CPPFLAGS'
28819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28824 /* end confdefs.h. */
28825 #include <math.h>
28827 main ()
28829 _hypot(0, 0);
28831 return 0;
28833 _ACEOF
28834 if ac_fn_cxx_try_compile "$LINENO"; then :
28835 glibcxx_cv_func__hypot_use=yes
28836 else
28837 glibcxx_cv_func__hypot_use=no
28839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28840 ac_ext=c
28841 ac_cpp='$CPP $CPPFLAGS'
28842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28851 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28853 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28854 for ac_func in _hypot
28855 do :
28856 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28857 if test "x$ac_cv_func__hypot" = x""yes; then :
28858 cat >>confdefs.h <<_ACEOF
28859 #define HAVE__HYPOT 1
28860 _ACEOF
28863 done
28872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28873 $as_echo_n "checking for float trig functions... " >&6; }
28874 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28875 $as_echo_n "(cached) " >&6
28876 else
28879 ac_ext=cpp
28880 ac_cpp='$CXXCPP $CPPFLAGS'
28881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28886 /* end confdefs.h. */
28887 #include <math.h>
28889 main ()
28891 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28893 return 0;
28895 _ACEOF
28896 if ac_fn_cxx_try_compile "$LINENO"; then :
28897 glibcxx_cv_func_float_trig_use=yes
28898 else
28899 glibcxx_cv_func_float_trig_use=no
28901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28902 ac_ext=c
28903 ac_cpp='$CPP $CPPFLAGS'
28904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28911 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28912 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28913 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28914 do :
28915 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28916 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28917 eval as_val=\$$as_ac_var
28918 if test "x$as_val" = x""yes; then :
28919 cat >>confdefs.h <<_ACEOF
28920 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28921 _ACEOF
28924 done
28926 else
28927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28928 $as_echo_n "checking for _float trig functions... " >&6; }
28929 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28930 $as_echo_n "(cached) " >&6
28931 else
28934 ac_ext=cpp
28935 ac_cpp='$CXXCPP $CPPFLAGS'
28936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28941 /* end confdefs.h. */
28942 #include <math.h>
28944 main ()
28946 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28948 return 0;
28950 _ACEOF
28951 if ac_fn_cxx_try_compile "$LINENO"; then :
28952 glibcxx_cv_func__float_trig_use=yes
28953 else
28954 glibcxx_cv_func__float_trig_use=no
28956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28957 ac_ext=c
28958 ac_cpp='$CPP $CPPFLAGS'
28959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28966 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28967 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28968 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28969 do :
28970 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28971 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28972 eval as_val=\$$as_ac_var
28973 if test "x$as_val" = x""yes; then :
28974 cat >>confdefs.h <<_ACEOF
28975 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28976 _ACEOF
28979 done
28988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28989 $as_echo_n "checking for float round functions... " >&6; }
28990 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28991 $as_echo_n "(cached) " >&6
28992 else
28995 ac_ext=cpp
28996 ac_cpp='$CXXCPP $CPPFLAGS'
28997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29002 /* end confdefs.h. */
29003 #include <math.h>
29005 main ()
29007 ceilf (0); floorf (0);
29009 return 0;
29011 _ACEOF
29012 if ac_fn_cxx_try_compile "$LINENO"; then :
29013 glibcxx_cv_func_float_round_use=yes
29014 else
29015 glibcxx_cv_func_float_round_use=no
29017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29018 ac_ext=c
29019 ac_cpp='$CPP $CPPFLAGS'
29020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29027 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29028 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29029 for ac_func in ceilf floorf
29030 do :
29031 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29032 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29033 eval as_val=\$$as_ac_var
29034 if test "x$as_val" = x""yes; then :
29035 cat >>confdefs.h <<_ACEOF
29036 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29037 _ACEOF
29040 done
29042 else
29043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29044 $as_echo_n "checking for _float round functions... " >&6; }
29045 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29046 $as_echo_n "(cached) " >&6
29047 else
29050 ac_ext=cpp
29051 ac_cpp='$CXXCPP $CPPFLAGS'
29052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29057 /* end confdefs.h. */
29058 #include <math.h>
29060 main ()
29062 _ceilf (0); _floorf (0);
29064 return 0;
29066 _ACEOF
29067 if ac_fn_cxx_try_compile "$LINENO"; then :
29068 glibcxx_cv_func__float_round_use=yes
29069 else
29070 glibcxx_cv_func__float_round_use=no
29072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29073 ac_ext=c
29074 ac_cpp='$CPP $CPPFLAGS'
29075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29082 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29083 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29084 for ac_func in _ceilf _floorf
29085 do :
29086 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29087 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29088 eval as_val=\$$as_ac_var
29089 if test "x$as_val" = x""yes; then :
29090 cat >>confdefs.h <<_ACEOF
29091 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29092 _ACEOF
29095 done
29105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29106 $as_echo_n "checking for expf declaration... " >&6; }
29107 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29108 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29109 $as_echo_n "(cached) " >&6
29110 else
29113 ac_ext=cpp
29114 ac_cpp='$CXXCPP $CPPFLAGS'
29115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29120 /* end confdefs.h. */
29121 #include <math.h>
29122 #ifdef HAVE_IEEEFP_H
29123 #include <ieeefp.h>
29124 #endif
29127 main ()
29129 expf(0);
29131 return 0;
29133 _ACEOF
29134 if ac_fn_cxx_try_compile "$LINENO"; then :
29135 glibcxx_cv_func_expf_use=yes
29136 else
29137 glibcxx_cv_func_expf_use=no
29139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29140 ac_ext=c
29141 ac_cpp='$CPP $CPPFLAGS'
29142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29151 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29153 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29154 for ac_func in expf
29155 do :
29156 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29157 if test "x$ac_cv_func_expf" = x""yes; then :
29158 cat >>confdefs.h <<_ACEOF
29159 #define HAVE_EXPF 1
29160 _ACEOF
29163 done
29165 else
29167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29168 $as_echo_n "checking for _expf declaration... " >&6; }
29169 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29170 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29171 $as_echo_n "(cached) " >&6
29172 else
29175 ac_ext=cpp
29176 ac_cpp='$CXXCPP $CPPFLAGS'
29177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29182 /* end confdefs.h. */
29183 #include <math.h>
29184 #ifdef HAVE_IEEEFP_H
29185 #include <ieeefp.h>
29186 #endif
29189 main ()
29191 _expf(0);
29193 return 0;
29195 _ACEOF
29196 if ac_fn_cxx_try_compile "$LINENO"; then :
29197 glibcxx_cv_func__expf_use=yes
29198 else
29199 glibcxx_cv_func__expf_use=no
29201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29202 ac_ext=c
29203 ac_cpp='$CPP $CPPFLAGS'
29204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29213 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29215 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29216 for ac_func in _expf
29217 do :
29218 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29219 if test "x$ac_cv_func__expf" = x""yes; then :
29220 cat >>confdefs.h <<_ACEOF
29221 #define HAVE__EXPF 1
29222 _ACEOF
29225 done
29234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29235 $as_echo_n "checking for isnanf declaration... " >&6; }
29236 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29237 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29238 $as_echo_n "(cached) " >&6
29239 else
29242 ac_ext=cpp
29243 ac_cpp='$CXXCPP $CPPFLAGS'
29244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29249 /* end confdefs.h. */
29250 #include <math.h>
29251 #ifdef HAVE_IEEEFP_H
29252 #include <ieeefp.h>
29253 #endif
29256 main ()
29258 isnanf(0);
29260 return 0;
29262 _ACEOF
29263 if ac_fn_cxx_try_compile "$LINENO"; then :
29264 glibcxx_cv_func_isnanf_use=yes
29265 else
29266 glibcxx_cv_func_isnanf_use=no
29268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29269 ac_ext=c
29270 ac_cpp='$CPP $CPPFLAGS'
29271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29280 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29282 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29283 for ac_func in isnanf
29284 do :
29285 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29286 if test "x$ac_cv_func_isnanf" = x""yes; then :
29287 cat >>confdefs.h <<_ACEOF
29288 #define HAVE_ISNANF 1
29289 _ACEOF
29292 done
29294 else
29296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29297 $as_echo_n "checking for _isnanf declaration... " >&6; }
29298 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29299 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29300 $as_echo_n "(cached) " >&6
29301 else
29304 ac_ext=cpp
29305 ac_cpp='$CXXCPP $CPPFLAGS'
29306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29311 /* end confdefs.h. */
29312 #include <math.h>
29313 #ifdef HAVE_IEEEFP_H
29314 #include <ieeefp.h>
29315 #endif
29318 main ()
29320 _isnanf(0);
29322 return 0;
29324 _ACEOF
29325 if ac_fn_cxx_try_compile "$LINENO"; then :
29326 glibcxx_cv_func__isnanf_use=yes
29327 else
29328 glibcxx_cv_func__isnanf_use=no
29330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29331 ac_ext=c
29332 ac_cpp='$CPP $CPPFLAGS'
29333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29342 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29344 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29345 for ac_func in _isnanf
29346 do :
29347 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29348 if test "x$ac_cv_func__isnanf" = x""yes; then :
29349 cat >>confdefs.h <<_ACEOF
29350 #define HAVE__ISNANF 1
29351 _ACEOF
29354 done
29363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29364 $as_echo_n "checking for isinff declaration... " >&6; }
29365 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29366 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29367 $as_echo_n "(cached) " >&6
29368 else
29371 ac_ext=cpp
29372 ac_cpp='$CXXCPP $CPPFLAGS'
29373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29378 /* end confdefs.h. */
29379 #include <math.h>
29380 #ifdef HAVE_IEEEFP_H
29381 #include <ieeefp.h>
29382 #endif
29385 main ()
29387 isinff(0);
29389 return 0;
29391 _ACEOF
29392 if ac_fn_cxx_try_compile "$LINENO"; then :
29393 glibcxx_cv_func_isinff_use=yes
29394 else
29395 glibcxx_cv_func_isinff_use=no
29397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29398 ac_ext=c
29399 ac_cpp='$CPP $CPPFLAGS'
29400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29409 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29411 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29412 for ac_func in isinff
29413 do :
29414 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29415 if test "x$ac_cv_func_isinff" = x""yes; then :
29416 cat >>confdefs.h <<_ACEOF
29417 #define HAVE_ISINFF 1
29418 _ACEOF
29421 done
29423 else
29425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29426 $as_echo_n "checking for _isinff declaration... " >&6; }
29427 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29428 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29429 $as_echo_n "(cached) " >&6
29430 else
29433 ac_ext=cpp
29434 ac_cpp='$CXXCPP $CPPFLAGS'
29435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29440 /* end confdefs.h. */
29441 #include <math.h>
29442 #ifdef HAVE_IEEEFP_H
29443 #include <ieeefp.h>
29444 #endif
29447 main ()
29449 _isinff(0);
29451 return 0;
29453 _ACEOF
29454 if ac_fn_cxx_try_compile "$LINENO"; then :
29455 glibcxx_cv_func__isinff_use=yes
29456 else
29457 glibcxx_cv_func__isinff_use=no
29459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29460 ac_ext=c
29461 ac_cpp='$CPP $CPPFLAGS'
29462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29471 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29473 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29474 for ac_func in _isinff
29475 do :
29476 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29477 if test "x$ac_cv_func__isinff" = x""yes; then :
29478 cat >>confdefs.h <<_ACEOF
29479 #define HAVE__ISINFF 1
29480 _ACEOF
29483 done
29492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29493 $as_echo_n "checking for atan2f declaration... " >&6; }
29494 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29495 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29496 $as_echo_n "(cached) " >&6
29497 else
29500 ac_ext=cpp
29501 ac_cpp='$CXXCPP $CPPFLAGS'
29502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29507 /* end confdefs.h. */
29508 #include <math.h>
29510 main ()
29512 atan2f(0, 0);
29514 return 0;
29516 _ACEOF
29517 if ac_fn_cxx_try_compile "$LINENO"; then :
29518 glibcxx_cv_func_atan2f_use=yes
29519 else
29520 glibcxx_cv_func_atan2f_use=no
29522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29523 ac_ext=c
29524 ac_cpp='$CPP $CPPFLAGS'
29525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29534 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29536 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29537 for ac_func in atan2f
29538 do :
29539 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29540 if test "x$ac_cv_func_atan2f" = x""yes; then :
29541 cat >>confdefs.h <<_ACEOF
29542 #define HAVE_ATAN2F 1
29543 _ACEOF
29546 done
29548 else
29550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29551 $as_echo_n "checking for _atan2f declaration... " >&6; }
29552 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29553 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29554 $as_echo_n "(cached) " >&6
29555 else
29558 ac_ext=cpp
29559 ac_cpp='$CXXCPP $CPPFLAGS'
29560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29565 /* end confdefs.h. */
29566 #include <math.h>
29568 main ()
29570 _atan2f(0, 0);
29572 return 0;
29574 _ACEOF
29575 if ac_fn_cxx_try_compile "$LINENO"; then :
29576 glibcxx_cv_func__atan2f_use=yes
29577 else
29578 glibcxx_cv_func__atan2f_use=no
29580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29581 ac_ext=c
29582 ac_cpp='$CPP $CPPFLAGS'
29583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29592 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29594 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29595 for ac_func in _atan2f
29596 do :
29597 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29598 if test "x$ac_cv_func__atan2f" = x""yes; then :
29599 cat >>confdefs.h <<_ACEOF
29600 #define HAVE__ATAN2F 1
29601 _ACEOF
29604 done
29613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29614 $as_echo_n "checking for fabsf declaration... " >&6; }
29615 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29616 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29617 $as_echo_n "(cached) " >&6
29618 else
29621 ac_ext=cpp
29622 ac_cpp='$CXXCPP $CPPFLAGS'
29623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29628 /* end confdefs.h. */
29629 #include <math.h>
29630 #ifdef HAVE_IEEEFP_H
29631 #include <ieeefp.h>
29632 #endif
29635 main ()
29637 fabsf(0);
29639 return 0;
29641 _ACEOF
29642 if ac_fn_cxx_try_compile "$LINENO"; then :
29643 glibcxx_cv_func_fabsf_use=yes
29644 else
29645 glibcxx_cv_func_fabsf_use=no
29647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29648 ac_ext=c
29649 ac_cpp='$CPP $CPPFLAGS'
29650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29659 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29661 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29662 for ac_func in fabsf
29663 do :
29664 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29665 if test "x$ac_cv_func_fabsf" = x""yes; then :
29666 cat >>confdefs.h <<_ACEOF
29667 #define HAVE_FABSF 1
29668 _ACEOF
29671 done
29673 else
29675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29676 $as_echo_n "checking for _fabsf declaration... " >&6; }
29677 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29678 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29679 $as_echo_n "(cached) " >&6
29680 else
29683 ac_ext=cpp
29684 ac_cpp='$CXXCPP $CPPFLAGS'
29685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29690 /* end confdefs.h. */
29691 #include <math.h>
29692 #ifdef HAVE_IEEEFP_H
29693 #include <ieeefp.h>
29694 #endif
29697 main ()
29699 _fabsf(0);
29701 return 0;
29703 _ACEOF
29704 if ac_fn_cxx_try_compile "$LINENO"; then :
29705 glibcxx_cv_func__fabsf_use=yes
29706 else
29707 glibcxx_cv_func__fabsf_use=no
29709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29710 ac_ext=c
29711 ac_cpp='$CPP $CPPFLAGS'
29712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29721 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29723 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29724 for ac_func in _fabsf
29725 do :
29726 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29727 if test "x$ac_cv_func__fabsf" = x""yes; then :
29728 cat >>confdefs.h <<_ACEOF
29729 #define HAVE__FABSF 1
29730 _ACEOF
29733 done
29742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29743 $as_echo_n "checking for fmodf declaration... " >&6; }
29744 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29745 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29746 $as_echo_n "(cached) " >&6
29747 else
29750 ac_ext=cpp
29751 ac_cpp='$CXXCPP $CPPFLAGS'
29752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29757 /* end confdefs.h. */
29758 #include <math.h>
29760 main ()
29762 fmodf(0, 0);
29764 return 0;
29766 _ACEOF
29767 if ac_fn_cxx_try_compile "$LINENO"; then :
29768 glibcxx_cv_func_fmodf_use=yes
29769 else
29770 glibcxx_cv_func_fmodf_use=no
29772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29773 ac_ext=c
29774 ac_cpp='$CPP $CPPFLAGS'
29775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29784 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29786 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29787 for ac_func in fmodf
29788 do :
29789 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29790 if test "x$ac_cv_func_fmodf" = x""yes; then :
29791 cat >>confdefs.h <<_ACEOF
29792 #define HAVE_FMODF 1
29793 _ACEOF
29796 done
29798 else
29800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29801 $as_echo_n "checking for _fmodf declaration... " >&6; }
29802 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29803 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29804 $as_echo_n "(cached) " >&6
29805 else
29808 ac_ext=cpp
29809 ac_cpp='$CXXCPP $CPPFLAGS'
29810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29815 /* end confdefs.h. */
29816 #include <math.h>
29818 main ()
29820 _fmodf(0, 0);
29822 return 0;
29824 _ACEOF
29825 if ac_fn_cxx_try_compile "$LINENO"; then :
29826 glibcxx_cv_func__fmodf_use=yes
29827 else
29828 glibcxx_cv_func__fmodf_use=no
29830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29831 ac_ext=c
29832 ac_cpp='$CPP $CPPFLAGS'
29833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29842 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29844 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29845 for ac_func in _fmodf
29846 do :
29847 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29848 if test "x$ac_cv_func__fmodf" = x""yes; then :
29849 cat >>confdefs.h <<_ACEOF
29850 #define HAVE__FMODF 1
29851 _ACEOF
29854 done
29863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29864 $as_echo_n "checking for frexpf declaration... " >&6; }
29865 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29866 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29867 $as_echo_n "(cached) " >&6
29868 else
29871 ac_ext=cpp
29872 ac_cpp='$CXXCPP $CPPFLAGS'
29873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29878 /* end confdefs.h. */
29879 #include <math.h>
29881 main ()
29883 frexpf(0, 0);
29885 return 0;
29887 _ACEOF
29888 if ac_fn_cxx_try_compile "$LINENO"; then :
29889 glibcxx_cv_func_frexpf_use=yes
29890 else
29891 glibcxx_cv_func_frexpf_use=no
29893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29894 ac_ext=c
29895 ac_cpp='$CPP $CPPFLAGS'
29896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29905 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29907 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29908 for ac_func in frexpf
29909 do :
29910 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29911 if test "x$ac_cv_func_frexpf" = x""yes; then :
29912 cat >>confdefs.h <<_ACEOF
29913 #define HAVE_FREXPF 1
29914 _ACEOF
29917 done
29919 else
29921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29922 $as_echo_n "checking for _frexpf declaration... " >&6; }
29923 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29924 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29925 $as_echo_n "(cached) " >&6
29926 else
29929 ac_ext=cpp
29930 ac_cpp='$CXXCPP $CPPFLAGS'
29931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29936 /* end confdefs.h. */
29937 #include <math.h>
29939 main ()
29941 _frexpf(0, 0);
29943 return 0;
29945 _ACEOF
29946 if ac_fn_cxx_try_compile "$LINENO"; then :
29947 glibcxx_cv_func__frexpf_use=yes
29948 else
29949 glibcxx_cv_func__frexpf_use=no
29951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29952 ac_ext=c
29953 ac_cpp='$CPP $CPPFLAGS'
29954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29963 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29965 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29966 for ac_func in _frexpf
29967 do :
29968 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29969 if test "x$ac_cv_func__frexpf" = x""yes; then :
29970 cat >>confdefs.h <<_ACEOF
29971 #define HAVE__FREXPF 1
29972 _ACEOF
29975 done
29984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29985 $as_echo_n "checking for hypotf declaration... " >&6; }
29986 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29987 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29988 $as_echo_n "(cached) " >&6
29989 else
29992 ac_ext=cpp
29993 ac_cpp='$CXXCPP $CPPFLAGS'
29994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29999 /* end confdefs.h. */
30000 #include <math.h>
30002 main ()
30004 hypotf(0, 0);
30006 return 0;
30008 _ACEOF
30009 if ac_fn_cxx_try_compile "$LINENO"; then :
30010 glibcxx_cv_func_hypotf_use=yes
30011 else
30012 glibcxx_cv_func_hypotf_use=no
30014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30015 ac_ext=c
30016 ac_cpp='$CPP $CPPFLAGS'
30017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30026 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30028 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30029 for ac_func in hypotf
30030 do :
30031 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30032 if test "x$ac_cv_func_hypotf" = x""yes; then :
30033 cat >>confdefs.h <<_ACEOF
30034 #define HAVE_HYPOTF 1
30035 _ACEOF
30038 done
30040 else
30042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30043 $as_echo_n "checking for _hypotf declaration... " >&6; }
30044 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30045 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30046 $as_echo_n "(cached) " >&6
30047 else
30050 ac_ext=cpp
30051 ac_cpp='$CXXCPP $CPPFLAGS'
30052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30057 /* end confdefs.h. */
30058 #include <math.h>
30060 main ()
30062 _hypotf(0, 0);
30064 return 0;
30066 _ACEOF
30067 if ac_fn_cxx_try_compile "$LINENO"; then :
30068 glibcxx_cv_func__hypotf_use=yes
30069 else
30070 glibcxx_cv_func__hypotf_use=no
30072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30073 ac_ext=c
30074 ac_cpp='$CPP $CPPFLAGS'
30075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30084 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30086 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30087 for ac_func in _hypotf
30088 do :
30089 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30090 if test "x$ac_cv_func__hypotf" = x""yes; then :
30091 cat >>confdefs.h <<_ACEOF
30092 #define HAVE__HYPOTF 1
30093 _ACEOF
30096 done
30105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30106 $as_echo_n "checking for ldexpf declaration... " >&6; }
30107 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30108 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30109 $as_echo_n "(cached) " >&6
30110 else
30113 ac_ext=cpp
30114 ac_cpp='$CXXCPP $CPPFLAGS'
30115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30120 /* end confdefs.h. */
30121 #include <math.h>
30123 main ()
30125 ldexpf(0, 0);
30127 return 0;
30129 _ACEOF
30130 if ac_fn_cxx_try_compile "$LINENO"; then :
30131 glibcxx_cv_func_ldexpf_use=yes
30132 else
30133 glibcxx_cv_func_ldexpf_use=no
30135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30136 ac_ext=c
30137 ac_cpp='$CPP $CPPFLAGS'
30138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30147 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30149 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30150 for ac_func in ldexpf
30151 do :
30152 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30153 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30154 cat >>confdefs.h <<_ACEOF
30155 #define HAVE_LDEXPF 1
30156 _ACEOF
30159 done
30161 else
30163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30164 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30165 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30166 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30167 $as_echo_n "(cached) " >&6
30168 else
30171 ac_ext=cpp
30172 ac_cpp='$CXXCPP $CPPFLAGS'
30173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30178 /* end confdefs.h. */
30179 #include <math.h>
30181 main ()
30183 _ldexpf(0, 0);
30185 return 0;
30187 _ACEOF
30188 if ac_fn_cxx_try_compile "$LINENO"; then :
30189 glibcxx_cv_func__ldexpf_use=yes
30190 else
30191 glibcxx_cv_func__ldexpf_use=no
30193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30194 ac_ext=c
30195 ac_cpp='$CPP $CPPFLAGS'
30196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30205 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30207 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30208 for ac_func in _ldexpf
30209 do :
30210 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30211 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30212 cat >>confdefs.h <<_ACEOF
30213 #define HAVE__LDEXPF 1
30214 _ACEOF
30217 done
30226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30227 $as_echo_n "checking for logf declaration... " >&6; }
30228 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30229 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30230 $as_echo_n "(cached) " >&6
30231 else
30234 ac_ext=cpp
30235 ac_cpp='$CXXCPP $CPPFLAGS'
30236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30241 /* end confdefs.h. */
30242 #include <math.h>
30243 #ifdef HAVE_IEEEFP_H
30244 #include <ieeefp.h>
30245 #endif
30248 main ()
30250 logf(0);
30252 return 0;
30254 _ACEOF
30255 if ac_fn_cxx_try_compile "$LINENO"; then :
30256 glibcxx_cv_func_logf_use=yes
30257 else
30258 glibcxx_cv_func_logf_use=no
30260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30261 ac_ext=c
30262 ac_cpp='$CPP $CPPFLAGS'
30263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30272 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30274 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30275 for ac_func in logf
30276 do :
30277 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30278 if test "x$ac_cv_func_logf" = x""yes; then :
30279 cat >>confdefs.h <<_ACEOF
30280 #define HAVE_LOGF 1
30281 _ACEOF
30284 done
30286 else
30288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30289 $as_echo_n "checking for _logf declaration... " >&6; }
30290 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30291 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30292 $as_echo_n "(cached) " >&6
30293 else
30296 ac_ext=cpp
30297 ac_cpp='$CXXCPP $CPPFLAGS'
30298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30303 /* end confdefs.h. */
30304 #include <math.h>
30305 #ifdef HAVE_IEEEFP_H
30306 #include <ieeefp.h>
30307 #endif
30310 main ()
30312 _logf(0);
30314 return 0;
30316 _ACEOF
30317 if ac_fn_cxx_try_compile "$LINENO"; then :
30318 glibcxx_cv_func__logf_use=yes
30319 else
30320 glibcxx_cv_func__logf_use=no
30322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30323 ac_ext=c
30324 ac_cpp='$CPP $CPPFLAGS'
30325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30334 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30336 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30337 for ac_func in _logf
30338 do :
30339 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30340 if test "x$ac_cv_func__logf" = x""yes; then :
30341 cat >>confdefs.h <<_ACEOF
30342 #define HAVE__LOGF 1
30343 _ACEOF
30346 done
30355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30356 $as_echo_n "checking for log10f declaration... " >&6; }
30357 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30358 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30359 $as_echo_n "(cached) " >&6
30360 else
30363 ac_ext=cpp
30364 ac_cpp='$CXXCPP $CPPFLAGS'
30365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30370 /* end confdefs.h. */
30371 #include <math.h>
30372 #ifdef HAVE_IEEEFP_H
30373 #include <ieeefp.h>
30374 #endif
30377 main ()
30379 log10f(0);
30381 return 0;
30383 _ACEOF
30384 if ac_fn_cxx_try_compile "$LINENO"; then :
30385 glibcxx_cv_func_log10f_use=yes
30386 else
30387 glibcxx_cv_func_log10f_use=no
30389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30390 ac_ext=c
30391 ac_cpp='$CPP $CPPFLAGS'
30392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30401 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30403 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30404 for ac_func in log10f
30405 do :
30406 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30407 if test "x$ac_cv_func_log10f" = x""yes; then :
30408 cat >>confdefs.h <<_ACEOF
30409 #define HAVE_LOG10F 1
30410 _ACEOF
30413 done
30415 else
30417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30418 $as_echo_n "checking for _log10f declaration... " >&6; }
30419 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30420 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30421 $as_echo_n "(cached) " >&6
30422 else
30425 ac_ext=cpp
30426 ac_cpp='$CXXCPP $CPPFLAGS'
30427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30432 /* end confdefs.h. */
30433 #include <math.h>
30434 #ifdef HAVE_IEEEFP_H
30435 #include <ieeefp.h>
30436 #endif
30439 main ()
30441 _log10f(0);
30443 return 0;
30445 _ACEOF
30446 if ac_fn_cxx_try_compile "$LINENO"; then :
30447 glibcxx_cv_func__log10f_use=yes
30448 else
30449 glibcxx_cv_func__log10f_use=no
30451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30452 ac_ext=c
30453 ac_cpp='$CPP $CPPFLAGS'
30454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30463 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30465 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30466 for ac_func in _log10f
30467 do :
30468 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30469 if test "x$ac_cv_func__log10f" = x""yes; then :
30470 cat >>confdefs.h <<_ACEOF
30471 #define HAVE__LOG10F 1
30472 _ACEOF
30475 done
30484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30485 $as_echo_n "checking for modff declaration... " >&6; }
30486 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30487 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30488 $as_echo_n "(cached) " >&6
30489 else
30492 ac_ext=cpp
30493 ac_cpp='$CXXCPP $CPPFLAGS'
30494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30499 /* end confdefs.h. */
30500 #include <math.h>
30502 main ()
30504 modff(0, 0);
30506 return 0;
30508 _ACEOF
30509 if ac_fn_cxx_try_compile "$LINENO"; then :
30510 glibcxx_cv_func_modff_use=yes
30511 else
30512 glibcxx_cv_func_modff_use=no
30514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30515 ac_ext=c
30516 ac_cpp='$CPP $CPPFLAGS'
30517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30526 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30528 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30529 for ac_func in modff
30530 do :
30531 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30532 if test "x$ac_cv_func_modff" = x""yes; then :
30533 cat >>confdefs.h <<_ACEOF
30534 #define HAVE_MODFF 1
30535 _ACEOF
30538 done
30540 else
30542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30543 $as_echo_n "checking for _modff declaration... " >&6; }
30544 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30545 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30546 $as_echo_n "(cached) " >&6
30547 else
30550 ac_ext=cpp
30551 ac_cpp='$CXXCPP $CPPFLAGS'
30552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30557 /* end confdefs.h. */
30558 #include <math.h>
30560 main ()
30562 _modff(0, 0);
30564 return 0;
30566 _ACEOF
30567 if ac_fn_cxx_try_compile "$LINENO"; then :
30568 glibcxx_cv_func__modff_use=yes
30569 else
30570 glibcxx_cv_func__modff_use=no
30572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30573 ac_ext=c
30574 ac_cpp='$CPP $CPPFLAGS'
30575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30584 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30586 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30587 for ac_func in _modff
30588 do :
30589 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30590 if test "x$ac_cv_func__modff" = x""yes; then :
30591 cat >>confdefs.h <<_ACEOF
30592 #define HAVE__MODFF 1
30593 _ACEOF
30596 done
30605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30606 $as_echo_n "checking for modf declaration... " >&6; }
30607 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30608 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30609 $as_echo_n "(cached) " >&6
30610 else
30613 ac_ext=cpp
30614 ac_cpp='$CXXCPP $CPPFLAGS'
30615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30620 /* end confdefs.h. */
30621 #include <math.h>
30623 main ()
30625 modf(0, 0);
30627 return 0;
30629 _ACEOF
30630 if ac_fn_cxx_try_compile "$LINENO"; then :
30631 glibcxx_cv_func_modf_use=yes
30632 else
30633 glibcxx_cv_func_modf_use=no
30635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30636 ac_ext=c
30637 ac_cpp='$CPP $CPPFLAGS'
30638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30647 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30649 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30650 for ac_func in modf
30651 do :
30652 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30653 if test "x$ac_cv_func_modf" = x""yes; then :
30654 cat >>confdefs.h <<_ACEOF
30655 #define HAVE_MODF 1
30656 _ACEOF
30659 done
30661 else
30663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30664 $as_echo_n "checking for _modf declaration... " >&6; }
30665 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30666 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30667 $as_echo_n "(cached) " >&6
30668 else
30671 ac_ext=cpp
30672 ac_cpp='$CXXCPP $CPPFLAGS'
30673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30678 /* end confdefs.h. */
30679 #include <math.h>
30681 main ()
30683 _modf(0, 0);
30685 return 0;
30687 _ACEOF
30688 if ac_fn_cxx_try_compile "$LINENO"; then :
30689 glibcxx_cv_func__modf_use=yes
30690 else
30691 glibcxx_cv_func__modf_use=no
30693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30694 ac_ext=c
30695 ac_cpp='$CPP $CPPFLAGS'
30696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30705 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30707 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30708 for ac_func in _modf
30709 do :
30710 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30711 if test "x$ac_cv_func__modf" = x""yes; then :
30712 cat >>confdefs.h <<_ACEOF
30713 #define HAVE__MODF 1
30714 _ACEOF
30717 done
30726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30727 $as_echo_n "checking for powf declaration... " >&6; }
30728 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30729 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30730 $as_echo_n "(cached) " >&6
30731 else
30734 ac_ext=cpp
30735 ac_cpp='$CXXCPP $CPPFLAGS'
30736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30741 /* end confdefs.h. */
30742 #include <math.h>
30744 main ()
30746 powf(0, 0);
30748 return 0;
30750 _ACEOF
30751 if ac_fn_cxx_try_compile "$LINENO"; then :
30752 glibcxx_cv_func_powf_use=yes
30753 else
30754 glibcxx_cv_func_powf_use=no
30756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30757 ac_ext=c
30758 ac_cpp='$CPP $CPPFLAGS'
30759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30768 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30770 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30771 for ac_func in powf
30772 do :
30773 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30774 if test "x$ac_cv_func_powf" = x""yes; then :
30775 cat >>confdefs.h <<_ACEOF
30776 #define HAVE_POWF 1
30777 _ACEOF
30780 done
30782 else
30784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30785 $as_echo_n "checking for _powf declaration... " >&6; }
30786 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30787 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30788 $as_echo_n "(cached) " >&6
30789 else
30792 ac_ext=cpp
30793 ac_cpp='$CXXCPP $CPPFLAGS'
30794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30799 /* end confdefs.h. */
30800 #include <math.h>
30802 main ()
30804 _powf(0, 0);
30806 return 0;
30808 _ACEOF
30809 if ac_fn_cxx_try_compile "$LINENO"; then :
30810 glibcxx_cv_func__powf_use=yes
30811 else
30812 glibcxx_cv_func__powf_use=no
30814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30815 ac_ext=c
30816 ac_cpp='$CPP $CPPFLAGS'
30817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30826 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30828 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30829 for ac_func in _powf
30830 do :
30831 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30832 if test "x$ac_cv_func__powf" = x""yes; then :
30833 cat >>confdefs.h <<_ACEOF
30834 #define HAVE__POWF 1
30835 _ACEOF
30838 done
30847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30848 $as_echo_n "checking for sqrtf declaration... " >&6; }
30849 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30850 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30851 $as_echo_n "(cached) " >&6
30852 else
30855 ac_ext=cpp
30856 ac_cpp='$CXXCPP $CPPFLAGS'
30857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30862 /* end confdefs.h. */
30863 #include <math.h>
30864 #ifdef HAVE_IEEEFP_H
30865 #include <ieeefp.h>
30866 #endif
30869 main ()
30871 sqrtf(0);
30873 return 0;
30875 _ACEOF
30876 if ac_fn_cxx_try_compile "$LINENO"; then :
30877 glibcxx_cv_func_sqrtf_use=yes
30878 else
30879 glibcxx_cv_func_sqrtf_use=no
30881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30882 ac_ext=c
30883 ac_cpp='$CPP $CPPFLAGS'
30884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30893 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30895 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30896 for ac_func in sqrtf
30897 do :
30898 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30899 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30900 cat >>confdefs.h <<_ACEOF
30901 #define HAVE_SQRTF 1
30902 _ACEOF
30905 done
30907 else
30909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30910 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30911 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30912 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30913 $as_echo_n "(cached) " >&6
30914 else
30917 ac_ext=cpp
30918 ac_cpp='$CXXCPP $CPPFLAGS'
30919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30924 /* end confdefs.h. */
30925 #include <math.h>
30926 #ifdef HAVE_IEEEFP_H
30927 #include <ieeefp.h>
30928 #endif
30931 main ()
30933 _sqrtf(0);
30935 return 0;
30937 _ACEOF
30938 if ac_fn_cxx_try_compile "$LINENO"; then :
30939 glibcxx_cv_func__sqrtf_use=yes
30940 else
30941 glibcxx_cv_func__sqrtf_use=no
30943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30944 ac_ext=c
30945 ac_cpp='$CPP $CPPFLAGS'
30946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30955 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30957 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30958 for ac_func in _sqrtf
30959 do :
30960 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30961 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30962 cat >>confdefs.h <<_ACEOF
30963 #define HAVE__SQRTF 1
30964 _ACEOF
30967 done
30976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30977 $as_echo_n "checking for sincosf declaration... " >&6; }
30978 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30979 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30980 $as_echo_n "(cached) " >&6
30981 else
30984 ac_ext=cpp
30985 ac_cpp='$CXXCPP $CPPFLAGS'
30986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30991 /* end confdefs.h. */
30992 #include <math.h>
30994 main ()
30996 sincosf(0, 0, 0);
30998 return 0;
31000 _ACEOF
31001 if ac_fn_cxx_try_compile "$LINENO"; then :
31002 glibcxx_cv_func_sincosf_use=yes
31003 else
31004 glibcxx_cv_func_sincosf_use=no
31006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31007 ac_ext=c
31008 ac_cpp='$CPP $CPPFLAGS'
31009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31018 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31020 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31021 for ac_func in sincosf
31022 do :
31023 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31024 if test "x$ac_cv_func_sincosf" = x""yes; then :
31025 cat >>confdefs.h <<_ACEOF
31026 #define HAVE_SINCOSF 1
31027 _ACEOF
31030 done
31032 else
31034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31035 $as_echo_n "checking for _sincosf declaration... " >&6; }
31036 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31037 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31038 $as_echo_n "(cached) " >&6
31039 else
31042 ac_ext=cpp
31043 ac_cpp='$CXXCPP $CPPFLAGS'
31044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31049 /* end confdefs.h. */
31050 #include <math.h>
31052 main ()
31054 _sincosf(0, 0, 0);
31056 return 0;
31058 _ACEOF
31059 if ac_fn_cxx_try_compile "$LINENO"; then :
31060 glibcxx_cv_func__sincosf_use=yes
31061 else
31062 glibcxx_cv_func__sincosf_use=no
31064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31065 ac_ext=c
31066 ac_cpp='$CPP $CPPFLAGS'
31067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31076 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31078 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31079 for ac_func in _sincosf
31080 do :
31081 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31082 if test "x$ac_cv_func__sincosf" = x""yes; then :
31083 cat >>confdefs.h <<_ACEOF
31084 #define HAVE__SINCOSF 1
31085 _ACEOF
31088 done
31097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31098 $as_echo_n "checking for finitef declaration... " >&6; }
31099 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31100 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31101 $as_echo_n "(cached) " >&6
31102 else
31105 ac_ext=cpp
31106 ac_cpp='$CXXCPP $CPPFLAGS'
31107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31112 /* end confdefs.h. */
31113 #include <math.h>
31114 #ifdef HAVE_IEEEFP_H
31115 #include <ieeefp.h>
31116 #endif
31119 main ()
31121 finitef(0);
31123 return 0;
31125 _ACEOF
31126 if ac_fn_cxx_try_compile "$LINENO"; then :
31127 glibcxx_cv_func_finitef_use=yes
31128 else
31129 glibcxx_cv_func_finitef_use=no
31131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31132 ac_ext=c
31133 ac_cpp='$CPP $CPPFLAGS'
31134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31143 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31145 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31146 for ac_func in finitef
31147 do :
31148 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31149 if test "x$ac_cv_func_finitef" = x""yes; then :
31150 cat >>confdefs.h <<_ACEOF
31151 #define HAVE_FINITEF 1
31152 _ACEOF
31155 done
31157 else
31159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31160 $as_echo_n "checking for _finitef declaration... " >&6; }
31161 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31162 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31163 $as_echo_n "(cached) " >&6
31164 else
31167 ac_ext=cpp
31168 ac_cpp='$CXXCPP $CPPFLAGS'
31169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31174 /* end confdefs.h. */
31175 #include <math.h>
31176 #ifdef HAVE_IEEEFP_H
31177 #include <ieeefp.h>
31178 #endif
31181 main ()
31183 _finitef(0);
31185 return 0;
31187 _ACEOF
31188 if ac_fn_cxx_try_compile "$LINENO"; then :
31189 glibcxx_cv_func__finitef_use=yes
31190 else
31191 glibcxx_cv_func__finitef_use=no
31193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31194 ac_ext=c
31195 ac_cpp='$CPP $CPPFLAGS'
31196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31205 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31207 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31208 for ac_func in _finitef
31209 do :
31210 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31211 if test "x$ac_cv_func__finitef" = x""yes; then :
31212 cat >>confdefs.h <<_ACEOF
31213 #define HAVE__FINITEF 1
31214 _ACEOF
31217 done
31226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31227 $as_echo_n "checking for long double trig functions... " >&6; }
31228 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31229 $as_echo_n "(cached) " >&6
31230 else
31233 ac_ext=cpp
31234 ac_cpp='$CXXCPP $CPPFLAGS'
31235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31240 /* end confdefs.h. */
31241 #include <math.h>
31243 main ()
31245 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31247 return 0;
31249 _ACEOF
31250 if ac_fn_cxx_try_compile "$LINENO"; then :
31251 glibcxx_cv_func_long_double_trig_use=yes
31252 else
31253 glibcxx_cv_func_long_double_trig_use=no
31255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31256 ac_ext=c
31257 ac_cpp='$CPP $CPPFLAGS'
31258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31265 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31266 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31267 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31268 do :
31269 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31270 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31271 eval as_val=\$$as_ac_var
31272 if test "x$as_val" = x""yes; then :
31273 cat >>confdefs.h <<_ACEOF
31274 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31275 _ACEOF
31278 done
31280 else
31281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31282 $as_echo_n "checking for _long double trig functions... " >&6; }
31283 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31284 $as_echo_n "(cached) " >&6
31285 else
31288 ac_ext=cpp
31289 ac_cpp='$CXXCPP $CPPFLAGS'
31290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31295 /* end confdefs.h. */
31296 #include <math.h>
31298 main ()
31300 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31302 return 0;
31304 _ACEOF
31305 if ac_fn_cxx_try_compile "$LINENO"; then :
31306 glibcxx_cv_func__long_double_trig_use=yes
31307 else
31308 glibcxx_cv_func__long_double_trig_use=no
31310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31311 ac_ext=c
31312 ac_cpp='$CPP $CPPFLAGS'
31313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31320 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31321 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31322 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31323 do :
31324 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31325 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31326 eval as_val=\$$as_ac_var
31327 if test "x$as_val" = x""yes; then :
31328 cat >>confdefs.h <<_ACEOF
31329 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31330 _ACEOF
31333 done
31342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31343 $as_echo_n "checking for long double round functions... " >&6; }
31344 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31345 $as_echo_n "(cached) " >&6
31346 else
31349 ac_ext=cpp
31350 ac_cpp='$CXXCPP $CPPFLAGS'
31351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31356 /* end confdefs.h. */
31357 #include <math.h>
31359 main ()
31361 ceill (0); floorl (0);
31363 return 0;
31365 _ACEOF
31366 if ac_fn_cxx_try_compile "$LINENO"; then :
31367 glibcxx_cv_func_long_double_round_use=yes
31368 else
31369 glibcxx_cv_func_long_double_round_use=no
31371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31372 ac_ext=c
31373 ac_cpp='$CPP $CPPFLAGS'
31374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31381 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31382 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31383 for ac_func in ceill floorl
31384 do :
31385 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31386 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31387 eval as_val=\$$as_ac_var
31388 if test "x$as_val" = x""yes; then :
31389 cat >>confdefs.h <<_ACEOF
31390 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31391 _ACEOF
31394 done
31396 else
31397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31398 $as_echo_n "checking for _long double round functions... " >&6; }
31399 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31400 $as_echo_n "(cached) " >&6
31401 else
31404 ac_ext=cpp
31405 ac_cpp='$CXXCPP $CPPFLAGS'
31406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31411 /* end confdefs.h. */
31412 #include <math.h>
31414 main ()
31416 _ceill (0); _floorl (0);
31418 return 0;
31420 _ACEOF
31421 if ac_fn_cxx_try_compile "$LINENO"; then :
31422 glibcxx_cv_func__long_double_round_use=yes
31423 else
31424 glibcxx_cv_func__long_double_round_use=no
31426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31427 ac_ext=c
31428 ac_cpp='$CPP $CPPFLAGS'
31429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31436 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31437 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31438 for ac_func in _ceill _floorl
31439 do :
31440 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31441 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31442 eval as_val=\$$as_ac_var
31443 if test "x$as_val" = x""yes; then :
31444 cat >>confdefs.h <<_ACEOF
31445 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31446 _ACEOF
31449 done
31459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31460 $as_echo_n "checking for isnanl declaration... " >&6; }
31461 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31462 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31463 $as_echo_n "(cached) " >&6
31464 else
31467 ac_ext=cpp
31468 ac_cpp='$CXXCPP $CPPFLAGS'
31469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31474 /* end confdefs.h. */
31475 #include <math.h>
31476 #ifdef HAVE_IEEEFP_H
31477 #include <ieeefp.h>
31478 #endif
31481 main ()
31483 isnanl(0);
31485 return 0;
31487 _ACEOF
31488 if ac_fn_cxx_try_compile "$LINENO"; then :
31489 glibcxx_cv_func_isnanl_use=yes
31490 else
31491 glibcxx_cv_func_isnanl_use=no
31493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31494 ac_ext=c
31495 ac_cpp='$CPP $CPPFLAGS'
31496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31505 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31507 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31508 for ac_func in isnanl
31509 do :
31510 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31511 if test "x$ac_cv_func_isnanl" = x""yes; then :
31512 cat >>confdefs.h <<_ACEOF
31513 #define HAVE_ISNANL 1
31514 _ACEOF
31517 done
31519 else
31521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31522 $as_echo_n "checking for _isnanl declaration... " >&6; }
31523 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31524 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31525 $as_echo_n "(cached) " >&6
31526 else
31529 ac_ext=cpp
31530 ac_cpp='$CXXCPP $CPPFLAGS'
31531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31536 /* end confdefs.h. */
31537 #include <math.h>
31538 #ifdef HAVE_IEEEFP_H
31539 #include <ieeefp.h>
31540 #endif
31543 main ()
31545 _isnanl(0);
31547 return 0;
31549 _ACEOF
31550 if ac_fn_cxx_try_compile "$LINENO"; then :
31551 glibcxx_cv_func__isnanl_use=yes
31552 else
31553 glibcxx_cv_func__isnanl_use=no
31555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31556 ac_ext=c
31557 ac_cpp='$CPP $CPPFLAGS'
31558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31567 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31569 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31570 for ac_func in _isnanl
31571 do :
31572 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31573 if test "x$ac_cv_func__isnanl" = x""yes; then :
31574 cat >>confdefs.h <<_ACEOF
31575 #define HAVE__ISNANL 1
31576 _ACEOF
31579 done
31588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31589 $as_echo_n "checking for isinfl declaration... " >&6; }
31590 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31591 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31592 $as_echo_n "(cached) " >&6
31593 else
31596 ac_ext=cpp
31597 ac_cpp='$CXXCPP $CPPFLAGS'
31598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31603 /* end confdefs.h. */
31604 #include <math.h>
31605 #ifdef HAVE_IEEEFP_H
31606 #include <ieeefp.h>
31607 #endif
31610 main ()
31612 isinfl(0);
31614 return 0;
31616 _ACEOF
31617 if ac_fn_cxx_try_compile "$LINENO"; then :
31618 glibcxx_cv_func_isinfl_use=yes
31619 else
31620 glibcxx_cv_func_isinfl_use=no
31622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31623 ac_ext=c
31624 ac_cpp='$CPP $CPPFLAGS'
31625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31634 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31636 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31637 for ac_func in isinfl
31638 do :
31639 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31640 if test "x$ac_cv_func_isinfl" = x""yes; then :
31641 cat >>confdefs.h <<_ACEOF
31642 #define HAVE_ISINFL 1
31643 _ACEOF
31646 done
31648 else
31650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31651 $as_echo_n "checking for _isinfl declaration... " >&6; }
31652 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31653 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31654 $as_echo_n "(cached) " >&6
31655 else
31658 ac_ext=cpp
31659 ac_cpp='$CXXCPP $CPPFLAGS'
31660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31665 /* end confdefs.h. */
31666 #include <math.h>
31667 #ifdef HAVE_IEEEFP_H
31668 #include <ieeefp.h>
31669 #endif
31672 main ()
31674 _isinfl(0);
31676 return 0;
31678 _ACEOF
31679 if ac_fn_cxx_try_compile "$LINENO"; then :
31680 glibcxx_cv_func__isinfl_use=yes
31681 else
31682 glibcxx_cv_func__isinfl_use=no
31684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31685 ac_ext=c
31686 ac_cpp='$CPP $CPPFLAGS'
31687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31696 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31698 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31699 for ac_func in _isinfl
31700 do :
31701 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31702 if test "x$ac_cv_func__isinfl" = x""yes; then :
31703 cat >>confdefs.h <<_ACEOF
31704 #define HAVE__ISINFL 1
31705 _ACEOF
31708 done
31717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31718 $as_echo_n "checking for atan2l declaration... " >&6; }
31719 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31720 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31721 $as_echo_n "(cached) " >&6
31722 else
31725 ac_ext=cpp
31726 ac_cpp='$CXXCPP $CPPFLAGS'
31727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31732 /* end confdefs.h. */
31733 #include <math.h>
31735 main ()
31737 atan2l(0, 0);
31739 return 0;
31741 _ACEOF
31742 if ac_fn_cxx_try_compile "$LINENO"; then :
31743 glibcxx_cv_func_atan2l_use=yes
31744 else
31745 glibcxx_cv_func_atan2l_use=no
31747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31748 ac_ext=c
31749 ac_cpp='$CPP $CPPFLAGS'
31750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31759 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31761 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31762 for ac_func in atan2l
31763 do :
31764 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31765 if test "x$ac_cv_func_atan2l" = x""yes; then :
31766 cat >>confdefs.h <<_ACEOF
31767 #define HAVE_ATAN2L 1
31768 _ACEOF
31771 done
31773 else
31775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31776 $as_echo_n "checking for _atan2l declaration... " >&6; }
31777 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31778 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31779 $as_echo_n "(cached) " >&6
31780 else
31783 ac_ext=cpp
31784 ac_cpp='$CXXCPP $CPPFLAGS'
31785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31790 /* end confdefs.h. */
31791 #include <math.h>
31793 main ()
31795 _atan2l(0, 0);
31797 return 0;
31799 _ACEOF
31800 if ac_fn_cxx_try_compile "$LINENO"; then :
31801 glibcxx_cv_func__atan2l_use=yes
31802 else
31803 glibcxx_cv_func__atan2l_use=no
31805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31806 ac_ext=c
31807 ac_cpp='$CPP $CPPFLAGS'
31808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31817 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31819 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31820 for ac_func in _atan2l
31821 do :
31822 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31823 if test "x$ac_cv_func__atan2l" = x""yes; then :
31824 cat >>confdefs.h <<_ACEOF
31825 #define HAVE__ATAN2L 1
31826 _ACEOF
31829 done
31838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31839 $as_echo_n "checking for expl declaration... " >&6; }
31840 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31841 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31842 $as_echo_n "(cached) " >&6
31843 else
31846 ac_ext=cpp
31847 ac_cpp='$CXXCPP $CPPFLAGS'
31848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31853 /* end confdefs.h. */
31854 #include <math.h>
31855 #ifdef HAVE_IEEEFP_H
31856 #include <ieeefp.h>
31857 #endif
31860 main ()
31862 expl(0);
31864 return 0;
31866 _ACEOF
31867 if ac_fn_cxx_try_compile "$LINENO"; then :
31868 glibcxx_cv_func_expl_use=yes
31869 else
31870 glibcxx_cv_func_expl_use=no
31872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31873 ac_ext=c
31874 ac_cpp='$CPP $CPPFLAGS'
31875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31884 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31886 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31887 for ac_func in expl
31888 do :
31889 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31890 if test "x$ac_cv_func_expl" = x""yes; then :
31891 cat >>confdefs.h <<_ACEOF
31892 #define HAVE_EXPL 1
31893 _ACEOF
31896 done
31898 else
31900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31901 $as_echo_n "checking for _expl declaration... " >&6; }
31902 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31903 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31904 $as_echo_n "(cached) " >&6
31905 else
31908 ac_ext=cpp
31909 ac_cpp='$CXXCPP $CPPFLAGS'
31910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31915 /* end confdefs.h. */
31916 #include <math.h>
31917 #ifdef HAVE_IEEEFP_H
31918 #include <ieeefp.h>
31919 #endif
31922 main ()
31924 _expl(0);
31926 return 0;
31928 _ACEOF
31929 if ac_fn_cxx_try_compile "$LINENO"; then :
31930 glibcxx_cv_func__expl_use=yes
31931 else
31932 glibcxx_cv_func__expl_use=no
31934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31935 ac_ext=c
31936 ac_cpp='$CPP $CPPFLAGS'
31937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31946 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31948 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31949 for ac_func in _expl
31950 do :
31951 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31952 if test "x$ac_cv_func__expl" = x""yes; then :
31953 cat >>confdefs.h <<_ACEOF
31954 #define HAVE__EXPL 1
31955 _ACEOF
31958 done
31967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31968 $as_echo_n "checking for fabsl declaration... " >&6; }
31969 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31970 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31971 $as_echo_n "(cached) " >&6
31972 else
31975 ac_ext=cpp
31976 ac_cpp='$CXXCPP $CPPFLAGS'
31977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31982 /* end confdefs.h. */
31983 #include <math.h>
31984 #ifdef HAVE_IEEEFP_H
31985 #include <ieeefp.h>
31986 #endif
31989 main ()
31991 fabsl(0);
31993 return 0;
31995 _ACEOF
31996 if ac_fn_cxx_try_compile "$LINENO"; then :
31997 glibcxx_cv_func_fabsl_use=yes
31998 else
31999 glibcxx_cv_func_fabsl_use=no
32001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32002 ac_ext=c
32003 ac_cpp='$CPP $CPPFLAGS'
32004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32013 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32015 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32016 for ac_func in fabsl
32017 do :
32018 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32019 if test "x$ac_cv_func_fabsl" = x""yes; then :
32020 cat >>confdefs.h <<_ACEOF
32021 #define HAVE_FABSL 1
32022 _ACEOF
32025 done
32027 else
32029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32030 $as_echo_n "checking for _fabsl declaration... " >&6; }
32031 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32032 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32033 $as_echo_n "(cached) " >&6
32034 else
32037 ac_ext=cpp
32038 ac_cpp='$CXXCPP $CPPFLAGS'
32039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32044 /* end confdefs.h. */
32045 #include <math.h>
32046 #ifdef HAVE_IEEEFP_H
32047 #include <ieeefp.h>
32048 #endif
32051 main ()
32053 _fabsl(0);
32055 return 0;
32057 _ACEOF
32058 if ac_fn_cxx_try_compile "$LINENO"; then :
32059 glibcxx_cv_func__fabsl_use=yes
32060 else
32061 glibcxx_cv_func__fabsl_use=no
32063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32064 ac_ext=c
32065 ac_cpp='$CPP $CPPFLAGS'
32066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32075 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32077 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32078 for ac_func in _fabsl
32079 do :
32080 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32081 if test "x$ac_cv_func__fabsl" = x""yes; then :
32082 cat >>confdefs.h <<_ACEOF
32083 #define HAVE__FABSL 1
32084 _ACEOF
32087 done
32096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32097 $as_echo_n "checking for fmodl declaration... " >&6; }
32098 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32099 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32100 $as_echo_n "(cached) " >&6
32101 else
32104 ac_ext=cpp
32105 ac_cpp='$CXXCPP $CPPFLAGS'
32106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32111 /* end confdefs.h. */
32112 #include <math.h>
32114 main ()
32116 fmodl(0, 0);
32118 return 0;
32120 _ACEOF
32121 if ac_fn_cxx_try_compile "$LINENO"; then :
32122 glibcxx_cv_func_fmodl_use=yes
32123 else
32124 glibcxx_cv_func_fmodl_use=no
32126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32127 ac_ext=c
32128 ac_cpp='$CPP $CPPFLAGS'
32129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32138 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32140 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32141 for ac_func in fmodl
32142 do :
32143 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32144 if test "x$ac_cv_func_fmodl" = x""yes; then :
32145 cat >>confdefs.h <<_ACEOF
32146 #define HAVE_FMODL 1
32147 _ACEOF
32150 done
32152 else
32154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32155 $as_echo_n "checking for _fmodl declaration... " >&6; }
32156 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32157 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32158 $as_echo_n "(cached) " >&6
32159 else
32162 ac_ext=cpp
32163 ac_cpp='$CXXCPP $CPPFLAGS'
32164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32169 /* end confdefs.h. */
32170 #include <math.h>
32172 main ()
32174 _fmodl(0, 0);
32176 return 0;
32178 _ACEOF
32179 if ac_fn_cxx_try_compile "$LINENO"; then :
32180 glibcxx_cv_func__fmodl_use=yes
32181 else
32182 glibcxx_cv_func__fmodl_use=no
32184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32185 ac_ext=c
32186 ac_cpp='$CPP $CPPFLAGS'
32187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32196 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32198 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32199 for ac_func in _fmodl
32200 do :
32201 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32202 if test "x$ac_cv_func__fmodl" = x""yes; then :
32203 cat >>confdefs.h <<_ACEOF
32204 #define HAVE__FMODL 1
32205 _ACEOF
32208 done
32217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32218 $as_echo_n "checking for frexpl declaration... " >&6; }
32219 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32220 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32221 $as_echo_n "(cached) " >&6
32222 else
32225 ac_ext=cpp
32226 ac_cpp='$CXXCPP $CPPFLAGS'
32227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32232 /* end confdefs.h. */
32233 #include <math.h>
32235 main ()
32237 frexpl(0, 0);
32239 return 0;
32241 _ACEOF
32242 if ac_fn_cxx_try_compile "$LINENO"; then :
32243 glibcxx_cv_func_frexpl_use=yes
32244 else
32245 glibcxx_cv_func_frexpl_use=no
32247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32248 ac_ext=c
32249 ac_cpp='$CPP $CPPFLAGS'
32250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32259 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32261 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32262 for ac_func in frexpl
32263 do :
32264 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32265 if test "x$ac_cv_func_frexpl" = x""yes; then :
32266 cat >>confdefs.h <<_ACEOF
32267 #define HAVE_FREXPL 1
32268 _ACEOF
32271 done
32273 else
32275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32276 $as_echo_n "checking for _frexpl declaration... " >&6; }
32277 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32278 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32279 $as_echo_n "(cached) " >&6
32280 else
32283 ac_ext=cpp
32284 ac_cpp='$CXXCPP $CPPFLAGS'
32285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32290 /* end confdefs.h. */
32291 #include <math.h>
32293 main ()
32295 _frexpl(0, 0);
32297 return 0;
32299 _ACEOF
32300 if ac_fn_cxx_try_compile "$LINENO"; then :
32301 glibcxx_cv_func__frexpl_use=yes
32302 else
32303 glibcxx_cv_func__frexpl_use=no
32305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32306 ac_ext=c
32307 ac_cpp='$CPP $CPPFLAGS'
32308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32317 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32319 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32320 for ac_func in _frexpl
32321 do :
32322 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32323 if test "x$ac_cv_func__frexpl" = x""yes; then :
32324 cat >>confdefs.h <<_ACEOF
32325 #define HAVE__FREXPL 1
32326 _ACEOF
32329 done
32338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32339 $as_echo_n "checking for hypotl declaration... " >&6; }
32340 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32341 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32342 $as_echo_n "(cached) " >&6
32343 else
32346 ac_ext=cpp
32347 ac_cpp='$CXXCPP $CPPFLAGS'
32348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32353 /* end confdefs.h. */
32354 #include <math.h>
32356 main ()
32358 hypotl(0, 0);
32360 return 0;
32362 _ACEOF
32363 if ac_fn_cxx_try_compile "$LINENO"; then :
32364 glibcxx_cv_func_hypotl_use=yes
32365 else
32366 glibcxx_cv_func_hypotl_use=no
32368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32369 ac_ext=c
32370 ac_cpp='$CPP $CPPFLAGS'
32371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32380 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32382 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32383 for ac_func in hypotl
32384 do :
32385 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32386 if test "x$ac_cv_func_hypotl" = x""yes; then :
32387 cat >>confdefs.h <<_ACEOF
32388 #define HAVE_HYPOTL 1
32389 _ACEOF
32392 done
32394 else
32396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32397 $as_echo_n "checking for _hypotl declaration... " >&6; }
32398 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32399 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32400 $as_echo_n "(cached) " >&6
32401 else
32404 ac_ext=cpp
32405 ac_cpp='$CXXCPP $CPPFLAGS'
32406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32411 /* end confdefs.h. */
32412 #include <math.h>
32414 main ()
32416 _hypotl(0, 0);
32418 return 0;
32420 _ACEOF
32421 if ac_fn_cxx_try_compile "$LINENO"; then :
32422 glibcxx_cv_func__hypotl_use=yes
32423 else
32424 glibcxx_cv_func__hypotl_use=no
32426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32427 ac_ext=c
32428 ac_cpp='$CPP $CPPFLAGS'
32429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32438 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32440 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32441 for ac_func in _hypotl
32442 do :
32443 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32444 if test "x$ac_cv_func__hypotl" = x""yes; then :
32445 cat >>confdefs.h <<_ACEOF
32446 #define HAVE__HYPOTL 1
32447 _ACEOF
32450 done
32459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32460 $as_echo_n "checking for ldexpl declaration... " >&6; }
32461 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32462 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32463 $as_echo_n "(cached) " >&6
32464 else
32467 ac_ext=cpp
32468 ac_cpp='$CXXCPP $CPPFLAGS'
32469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32474 /* end confdefs.h. */
32475 #include <math.h>
32477 main ()
32479 ldexpl(0, 0);
32481 return 0;
32483 _ACEOF
32484 if ac_fn_cxx_try_compile "$LINENO"; then :
32485 glibcxx_cv_func_ldexpl_use=yes
32486 else
32487 glibcxx_cv_func_ldexpl_use=no
32489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32490 ac_ext=c
32491 ac_cpp='$CPP $CPPFLAGS'
32492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32501 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32503 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32504 for ac_func in ldexpl
32505 do :
32506 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32507 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32508 cat >>confdefs.h <<_ACEOF
32509 #define HAVE_LDEXPL 1
32510 _ACEOF
32513 done
32515 else
32517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32518 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32519 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32520 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32521 $as_echo_n "(cached) " >&6
32522 else
32525 ac_ext=cpp
32526 ac_cpp='$CXXCPP $CPPFLAGS'
32527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32532 /* end confdefs.h. */
32533 #include <math.h>
32535 main ()
32537 _ldexpl(0, 0);
32539 return 0;
32541 _ACEOF
32542 if ac_fn_cxx_try_compile "$LINENO"; then :
32543 glibcxx_cv_func__ldexpl_use=yes
32544 else
32545 glibcxx_cv_func__ldexpl_use=no
32547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32548 ac_ext=c
32549 ac_cpp='$CPP $CPPFLAGS'
32550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32559 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32561 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32562 for ac_func in _ldexpl
32563 do :
32564 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32565 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32566 cat >>confdefs.h <<_ACEOF
32567 #define HAVE__LDEXPL 1
32568 _ACEOF
32571 done
32580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32581 $as_echo_n "checking for logl declaration... " >&6; }
32582 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32583 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32584 $as_echo_n "(cached) " >&6
32585 else
32588 ac_ext=cpp
32589 ac_cpp='$CXXCPP $CPPFLAGS'
32590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32595 /* end confdefs.h. */
32596 #include <math.h>
32597 #ifdef HAVE_IEEEFP_H
32598 #include <ieeefp.h>
32599 #endif
32602 main ()
32604 logl(0);
32606 return 0;
32608 _ACEOF
32609 if ac_fn_cxx_try_compile "$LINENO"; then :
32610 glibcxx_cv_func_logl_use=yes
32611 else
32612 glibcxx_cv_func_logl_use=no
32614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32615 ac_ext=c
32616 ac_cpp='$CPP $CPPFLAGS'
32617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32626 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32628 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32629 for ac_func in logl
32630 do :
32631 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32632 if test "x$ac_cv_func_logl" = x""yes; then :
32633 cat >>confdefs.h <<_ACEOF
32634 #define HAVE_LOGL 1
32635 _ACEOF
32638 done
32640 else
32642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32643 $as_echo_n "checking for _logl declaration... " >&6; }
32644 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32645 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32646 $as_echo_n "(cached) " >&6
32647 else
32650 ac_ext=cpp
32651 ac_cpp='$CXXCPP $CPPFLAGS'
32652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32657 /* end confdefs.h. */
32658 #include <math.h>
32659 #ifdef HAVE_IEEEFP_H
32660 #include <ieeefp.h>
32661 #endif
32664 main ()
32666 _logl(0);
32668 return 0;
32670 _ACEOF
32671 if ac_fn_cxx_try_compile "$LINENO"; then :
32672 glibcxx_cv_func__logl_use=yes
32673 else
32674 glibcxx_cv_func__logl_use=no
32676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32677 ac_ext=c
32678 ac_cpp='$CPP $CPPFLAGS'
32679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32688 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32690 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32691 for ac_func in _logl
32692 do :
32693 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32694 if test "x$ac_cv_func__logl" = x""yes; then :
32695 cat >>confdefs.h <<_ACEOF
32696 #define HAVE__LOGL 1
32697 _ACEOF
32700 done
32709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32710 $as_echo_n "checking for log10l declaration... " >&6; }
32711 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32712 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32713 $as_echo_n "(cached) " >&6
32714 else
32717 ac_ext=cpp
32718 ac_cpp='$CXXCPP $CPPFLAGS'
32719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32724 /* end confdefs.h. */
32725 #include <math.h>
32726 #ifdef HAVE_IEEEFP_H
32727 #include <ieeefp.h>
32728 #endif
32731 main ()
32733 log10l(0);
32735 return 0;
32737 _ACEOF
32738 if ac_fn_cxx_try_compile "$LINENO"; then :
32739 glibcxx_cv_func_log10l_use=yes
32740 else
32741 glibcxx_cv_func_log10l_use=no
32743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32744 ac_ext=c
32745 ac_cpp='$CPP $CPPFLAGS'
32746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32755 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32757 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32758 for ac_func in log10l
32759 do :
32760 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32761 if test "x$ac_cv_func_log10l" = x""yes; then :
32762 cat >>confdefs.h <<_ACEOF
32763 #define HAVE_LOG10L 1
32764 _ACEOF
32767 done
32769 else
32771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32772 $as_echo_n "checking for _log10l declaration... " >&6; }
32773 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32774 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32775 $as_echo_n "(cached) " >&6
32776 else
32779 ac_ext=cpp
32780 ac_cpp='$CXXCPP $CPPFLAGS'
32781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32786 /* end confdefs.h. */
32787 #include <math.h>
32788 #ifdef HAVE_IEEEFP_H
32789 #include <ieeefp.h>
32790 #endif
32793 main ()
32795 _log10l(0);
32797 return 0;
32799 _ACEOF
32800 if ac_fn_cxx_try_compile "$LINENO"; then :
32801 glibcxx_cv_func__log10l_use=yes
32802 else
32803 glibcxx_cv_func__log10l_use=no
32805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32806 ac_ext=c
32807 ac_cpp='$CPP $CPPFLAGS'
32808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32817 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32819 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32820 for ac_func in _log10l
32821 do :
32822 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32823 if test "x$ac_cv_func__log10l" = x""yes; then :
32824 cat >>confdefs.h <<_ACEOF
32825 #define HAVE__LOG10L 1
32826 _ACEOF
32829 done
32838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32839 $as_echo_n "checking for modfl declaration... " >&6; }
32840 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32841 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32842 $as_echo_n "(cached) " >&6
32843 else
32846 ac_ext=cpp
32847 ac_cpp='$CXXCPP $CPPFLAGS'
32848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32853 /* end confdefs.h. */
32854 #include <math.h>
32856 main ()
32858 modfl(0, 0);
32860 return 0;
32862 _ACEOF
32863 if ac_fn_cxx_try_compile "$LINENO"; then :
32864 glibcxx_cv_func_modfl_use=yes
32865 else
32866 glibcxx_cv_func_modfl_use=no
32868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32869 ac_ext=c
32870 ac_cpp='$CPP $CPPFLAGS'
32871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32880 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32882 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32883 for ac_func in modfl
32884 do :
32885 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32886 if test "x$ac_cv_func_modfl" = x""yes; then :
32887 cat >>confdefs.h <<_ACEOF
32888 #define HAVE_MODFL 1
32889 _ACEOF
32892 done
32894 else
32896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32897 $as_echo_n "checking for _modfl declaration... " >&6; }
32898 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32899 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32900 $as_echo_n "(cached) " >&6
32901 else
32904 ac_ext=cpp
32905 ac_cpp='$CXXCPP $CPPFLAGS'
32906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32911 /* end confdefs.h. */
32912 #include <math.h>
32914 main ()
32916 _modfl(0, 0);
32918 return 0;
32920 _ACEOF
32921 if ac_fn_cxx_try_compile "$LINENO"; then :
32922 glibcxx_cv_func__modfl_use=yes
32923 else
32924 glibcxx_cv_func__modfl_use=no
32926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32927 ac_ext=c
32928 ac_cpp='$CPP $CPPFLAGS'
32929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32938 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32940 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32941 for ac_func in _modfl
32942 do :
32943 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32944 if test "x$ac_cv_func__modfl" = x""yes; then :
32945 cat >>confdefs.h <<_ACEOF
32946 #define HAVE__MODFL 1
32947 _ACEOF
32950 done
32959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32960 $as_echo_n "checking for powl declaration... " >&6; }
32961 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32962 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32963 $as_echo_n "(cached) " >&6
32964 else
32967 ac_ext=cpp
32968 ac_cpp='$CXXCPP $CPPFLAGS'
32969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32974 /* end confdefs.h. */
32975 #include <math.h>
32977 main ()
32979 powl(0, 0);
32981 return 0;
32983 _ACEOF
32984 if ac_fn_cxx_try_compile "$LINENO"; then :
32985 glibcxx_cv_func_powl_use=yes
32986 else
32987 glibcxx_cv_func_powl_use=no
32989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32990 ac_ext=c
32991 ac_cpp='$CPP $CPPFLAGS'
32992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33001 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33003 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33004 for ac_func in powl
33005 do :
33006 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33007 if test "x$ac_cv_func_powl" = x""yes; then :
33008 cat >>confdefs.h <<_ACEOF
33009 #define HAVE_POWL 1
33010 _ACEOF
33013 done
33015 else
33017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33018 $as_echo_n "checking for _powl declaration... " >&6; }
33019 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33020 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33021 $as_echo_n "(cached) " >&6
33022 else
33025 ac_ext=cpp
33026 ac_cpp='$CXXCPP $CPPFLAGS'
33027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33032 /* end confdefs.h. */
33033 #include <math.h>
33035 main ()
33037 _powl(0, 0);
33039 return 0;
33041 _ACEOF
33042 if ac_fn_cxx_try_compile "$LINENO"; then :
33043 glibcxx_cv_func__powl_use=yes
33044 else
33045 glibcxx_cv_func__powl_use=no
33047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33048 ac_ext=c
33049 ac_cpp='$CPP $CPPFLAGS'
33050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33059 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33061 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33062 for ac_func in _powl
33063 do :
33064 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33065 if test "x$ac_cv_func__powl" = x""yes; then :
33066 cat >>confdefs.h <<_ACEOF
33067 #define HAVE__POWL 1
33068 _ACEOF
33071 done
33080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33081 $as_echo_n "checking for sqrtl declaration... " >&6; }
33082 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33083 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33084 $as_echo_n "(cached) " >&6
33085 else
33088 ac_ext=cpp
33089 ac_cpp='$CXXCPP $CPPFLAGS'
33090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33095 /* end confdefs.h. */
33096 #include <math.h>
33097 #ifdef HAVE_IEEEFP_H
33098 #include <ieeefp.h>
33099 #endif
33102 main ()
33104 sqrtl(0);
33106 return 0;
33108 _ACEOF
33109 if ac_fn_cxx_try_compile "$LINENO"; then :
33110 glibcxx_cv_func_sqrtl_use=yes
33111 else
33112 glibcxx_cv_func_sqrtl_use=no
33114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33115 ac_ext=c
33116 ac_cpp='$CPP $CPPFLAGS'
33117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33126 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33128 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33129 for ac_func in sqrtl
33130 do :
33131 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33132 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33133 cat >>confdefs.h <<_ACEOF
33134 #define HAVE_SQRTL 1
33135 _ACEOF
33138 done
33140 else
33142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33143 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33144 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33145 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33146 $as_echo_n "(cached) " >&6
33147 else
33150 ac_ext=cpp
33151 ac_cpp='$CXXCPP $CPPFLAGS'
33152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33157 /* end confdefs.h. */
33158 #include <math.h>
33159 #ifdef HAVE_IEEEFP_H
33160 #include <ieeefp.h>
33161 #endif
33164 main ()
33166 _sqrtl(0);
33168 return 0;
33170 _ACEOF
33171 if ac_fn_cxx_try_compile "$LINENO"; then :
33172 glibcxx_cv_func__sqrtl_use=yes
33173 else
33174 glibcxx_cv_func__sqrtl_use=no
33176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33177 ac_ext=c
33178 ac_cpp='$CPP $CPPFLAGS'
33179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33188 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33190 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33191 for ac_func in _sqrtl
33192 do :
33193 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33194 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33195 cat >>confdefs.h <<_ACEOF
33196 #define HAVE__SQRTL 1
33197 _ACEOF
33200 done
33209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33210 $as_echo_n "checking for sincosl declaration... " >&6; }
33211 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33212 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33213 $as_echo_n "(cached) " >&6
33214 else
33217 ac_ext=cpp
33218 ac_cpp='$CXXCPP $CPPFLAGS'
33219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33224 /* end confdefs.h. */
33225 #include <math.h>
33227 main ()
33229 sincosl(0, 0, 0);
33231 return 0;
33233 _ACEOF
33234 if ac_fn_cxx_try_compile "$LINENO"; then :
33235 glibcxx_cv_func_sincosl_use=yes
33236 else
33237 glibcxx_cv_func_sincosl_use=no
33239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33240 ac_ext=c
33241 ac_cpp='$CPP $CPPFLAGS'
33242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33251 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33253 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33254 for ac_func in sincosl
33255 do :
33256 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33257 if test "x$ac_cv_func_sincosl" = x""yes; then :
33258 cat >>confdefs.h <<_ACEOF
33259 #define HAVE_SINCOSL 1
33260 _ACEOF
33263 done
33265 else
33267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33268 $as_echo_n "checking for _sincosl declaration... " >&6; }
33269 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33270 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33271 $as_echo_n "(cached) " >&6
33272 else
33275 ac_ext=cpp
33276 ac_cpp='$CXXCPP $CPPFLAGS'
33277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33282 /* end confdefs.h. */
33283 #include <math.h>
33285 main ()
33287 _sincosl(0, 0, 0);
33289 return 0;
33291 _ACEOF
33292 if ac_fn_cxx_try_compile "$LINENO"; then :
33293 glibcxx_cv_func__sincosl_use=yes
33294 else
33295 glibcxx_cv_func__sincosl_use=no
33297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33298 ac_ext=c
33299 ac_cpp='$CPP $CPPFLAGS'
33300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33309 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33311 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33312 for ac_func in _sincosl
33313 do :
33314 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33315 if test "x$ac_cv_func__sincosl" = x""yes; then :
33316 cat >>confdefs.h <<_ACEOF
33317 #define HAVE__SINCOSL 1
33318 _ACEOF
33321 done
33330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33331 $as_echo_n "checking for finitel declaration... " >&6; }
33332 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33333 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33334 $as_echo_n "(cached) " >&6
33335 else
33338 ac_ext=cpp
33339 ac_cpp='$CXXCPP $CPPFLAGS'
33340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33345 /* end confdefs.h. */
33346 #include <math.h>
33347 #ifdef HAVE_IEEEFP_H
33348 #include <ieeefp.h>
33349 #endif
33352 main ()
33354 finitel(0);
33356 return 0;
33358 _ACEOF
33359 if ac_fn_cxx_try_compile "$LINENO"; then :
33360 glibcxx_cv_func_finitel_use=yes
33361 else
33362 glibcxx_cv_func_finitel_use=no
33364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33365 ac_ext=c
33366 ac_cpp='$CPP $CPPFLAGS'
33367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33376 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33378 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33379 for ac_func in finitel
33380 do :
33381 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33382 if test "x$ac_cv_func_finitel" = x""yes; then :
33383 cat >>confdefs.h <<_ACEOF
33384 #define HAVE_FINITEL 1
33385 _ACEOF
33388 done
33390 else
33392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33393 $as_echo_n "checking for _finitel declaration... " >&6; }
33394 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33395 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33396 $as_echo_n "(cached) " >&6
33397 else
33400 ac_ext=cpp
33401 ac_cpp='$CXXCPP $CPPFLAGS'
33402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33407 /* end confdefs.h. */
33408 #include <math.h>
33409 #ifdef HAVE_IEEEFP_H
33410 #include <ieeefp.h>
33411 #endif
33414 main ()
33416 _finitel(0);
33418 return 0;
33420 _ACEOF
33421 if ac_fn_cxx_try_compile "$LINENO"; then :
33422 glibcxx_cv_func__finitel_use=yes
33423 else
33424 glibcxx_cv_func__finitel_use=no
33426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33427 ac_ext=c
33428 ac_cpp='$CPP $CPPFLAGS'
33429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33438 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33440 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33441 for ac_func in _finitel
33442 do :
33443 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33444 if test "x$ac_cv_func__finitel" = x""yes; then :
33445 cat >>confdefs.h <<_ACEOF
33446 #define HAVE__FINITEL 1
33447 _ACEOF
33450 done
33458 LIBS="$ac_save_LIBS"
33459 CXXFLAGS="$ac_save_CXXFLAGS"
33462 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33463 ac_save_CXXFLAGS="$CXXFLAGS"
33464 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33468 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33469 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33470 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33471 $as_echo_n "(cached) " >&6
33472 else
33475 ac_ext=cpp
33476 ac_cpp='$CXXCPP $CPPFLAGS'
33477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33482 /* end confdefs.h. */
33483 #include <stdlib.h>
33485 main ()
33487 at_quick_exit(0);
33489 return 0;
33491 _ACEOF
33492 if ac_fn_cxx_try_compile "$LINENO"; then :
33493 glibcxx_cv_func_at_quick_exit_use=yes
33494 else
33495 glibcxx_cv_func_at_quick_exit_use=no
33497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33498 ac_ext=c
33499 ac_cpp='$CPP $CPPFLAGS'
33500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33509 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33510 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33511 for ac_func in at_quick_exit
33512 do :
33513 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33514 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33515 cat >>confdefs.h <<_ACEOF
33516 #define HAVE_AT_QUICK_EXIT 1
33517 _ACEOF
33520 done
33525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33526 $as_echo_n "checking for quick_exit declaration... " >&6; }
33527 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33528 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33529 $as_echo_n "(cached) " >&6
33530 else
33533 ac_ext=cpp
33534 ac_cpp='$CXXCPP $CPPFLAGS'
33535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33540 /* end confdefs.h. */
33541 #include <stdlib.h>
33543 main ()
33545 quick_exit(0);
33547 return 0;
33549 _ACEOF
33550 if ac_fn_cxx_try_compile "$LINENO"; then :
33551 glibcxx_cv_func_quick_exit_use=yes
33552 else
33553 glibcxx_cv_func_quick_exit_use=no
33555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33556 ac_ext=c
33557 ac_cpp='$CPP $CPPFLAGS'
33558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33567 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33568 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33569 for ac_func in quick_exit
33570 do :
33571 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33572 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33573 cat >>confdefs.h <<_ACEOF
33574 #define HAVE_QUICK_EXIT 1
33575 _ACEOF
33578 done
33583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33584 $as_echo_n "checking for strtold declaration... " >&6; }
33585 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33586 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33587 $as_echo_n "(cached) " >&6
33588 else
33591 ac_ext=cpp
33592 ac_cpp='$CXXCPP $CPPFLAGS'
33593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33598 /* end confdefs.h. */
33599 #include <stdlib.h>
33601 main ()
33603 strtold(0, 0);
33605 return 0;
33607 _ACEOF
33608 if ac_fn_cxx_try_compile "$LINENO"; then :
33609 glibcxx_cv_func_strtold_use=yes
33610 else
33611 glibcxx_cv_func_strtold_use=no
33613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33614 ac_ext=c
33615 ac_cpp='$CPP $CPPFLAGS'
33616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33625 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33626 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33627 for ac_func in strtold
33628 do :
33629 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33630 if test "x$ac_cv_func_strtold" = x""yes; then :
33631 cat >>confdefs.h <<_ACEOF
33632 #define HAVE_STRTOLD 1
33633 _ACEOF
33636 done
33643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33644 $as_echo_n "checking for strtof declaration... " >&6; }
33645 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33646 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33647 $as_echo_n "(cached) " >&6
33648 else
33651 ac_ext=cpp
33652 ac_cpp='$CXXCPP $CPPFLAGS'
33653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33658 /* end confdefs.h. */
33659 #include <stdlib.h>
33661 main ()
33663 strtof(0, 0);
33665 return 0;
33667 _ACEOF
33668 if ac_fn_cxx_try_compile "$LINENO"; then :
33669 glibcxx_cv_func_strtof_use=yes
33670 else
33671 glibcxx_cv_func_strtof_use=no
33673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33674 ac_ext=c
33675 ac_cpp='$CPP $CPPFLAGS'
33676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33685 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33686 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33687 for ac_func in strtof
33688 do :
33689 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33690 if test "x$ac_cv_func_strtof" = x""yes; then :
33691 cat >>confdefs.h <<_ACEOF
33692 #define HAVE_STRTOF 1
33693 _ACEOF
33696 done
33703 CXXFLAGS="$ac_save_CXXFLAGS"
33706 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33708 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33710 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33712 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33715 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33717 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33719 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33723 *-aix*)
33725 # If we're not using GNU ld, then there's no point in even trying these
33726 # tests. Check for that first. We should have already tested for gld
33727 # by now (in libtool), but require it now just to be safe...
33728 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33729 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33733 # The name set by libtool depends on the version of libtool. Shame on us
33734 # for depending on an impl detail, but c'est la vie. Older versions used
33735 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33736 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33737 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33738 # set (hence we're using an older libtool), then set it.
33739 if test x${with_gnu_ld+set} != xset; then
33740 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33741 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33742 with_gnu_ld=no
33743 else
33744 with_gnu_ld=$ac_cv_prog_gnu_ld
33748 # Start by getting the version number. I think the libtool test already
33749 # does some of this, but throws away the result.
33750 glibcxx_ld_is_gold=no
33751 if test x"$with_gnu_ld" = x"yes"; then
33752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33753 $as_echo_n "checking for ld version... " >&6; }
33755 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33756 glibcxx_ld_is_gold=yes
33758 ldver=`$LD --version 2>/dev/null |
33759 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'`
33761 glibcxx_gnu_ld_version=`echo $ldver | \
33762 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33764 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33767 # Set --gc-sections.
33768 glibcxx_have_gc_sections=no
33769 if test "$glibcxx_ld_is_gold" = "yes"; then
33770 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33771 glibcxx_have_gc_sections=yes
33773 else
33774 glibcxx_gcsections_min_ld=21602
33775 if test x"$with_gnu_ld" = x"yes" &&
33776 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33777 glibcxx_have_gc_sections=yes
33780 if test "$glibcxx_have_gc_sections" = "yes"; then
33781 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33782 # NB: This flag only works reliably after 2.16.1. Configure tests
33783 # for this are difficult, so hard wire a value that should work.
33785 ac_test_CFLAGS="${CFLAGS+set}"
33786 ac_save_CFLAGS="$CFLAGS"
33787 CFLAGS='-Wl,--gc-sections'
33789 # Check for -Wl,--gc-sections
33790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33791 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33792 if test x$gcc_no_link = xyes; then
33793 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33796 /* end confdefs.h. */
33797 int one(void) { return 1; }
33798 int two(void) { return 2; }
33801 main ()
33803 two();
33805 return 0;
33807 _ACEOF
33808 if ac_fn_c_try_link "$LINENO"; then :
33809 ac_gcsections=yes
33810 else
33811 ac_gcsections=no
33813 rm -f core conftest.err conftest.$ac_objext \
33814 conftest$ac_exeext conftest.$ac_ext
33815 if test "$ac_gcsections" = "yes"; then
33816 rm -f conftest.c
33817 touch conftest.c
33818 if $CC -c conftest.c; then
33819 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33820 grep "Warning: gc-sections option ignored" > /dev/null; then
33821 ac_gcsections=no
33824 rm -f conftest.c conftest.o conftest
33826 if test "$ac_gcsections" = "yes"; then
33827 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33830 $as_echo "$ac_gcsections" >&6; }
33832 if test "$ac_test_CFLAGS" = set; then
33833 CFLAGS="$ac_save_CFLAGS"
33834 else
33835 # this is the suspicious part
33836 CFLAGS=''
33840 # Set -z,relro.
33841 # Note this is only for shared objects.
33842 ac_ld_relro=no
33843 if test x"$with_gnu_ld" = x"yes"; then
33844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33845 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33846 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33847 if test -n "$cxx_z_relo"; then
33848 OPT_LDFLAGS="-Wl,-z,relro"
33849 ac_ld_relro=yes
33851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33852 $as_echo "$ac_ld_relro" >&6; }
33855 # Set linker optimization flags.
33856 if test x"$with_gnu_ld" = x"yes"; then
33857 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33864 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33865 ac_save_CXXFLAGS="$CXXFLAGS"
33866 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33869 $as_echo_n "checking for sin in -lm... " >&6; }
33870 if test "${ac_cv_lib_m_sin+set}" = set; then :
33871 $as_echo_n "(cached) " >&6
33872 else
33873 ac_check_lib_save_LIBS=$LIBS
33874 LIBS="-lm $LIBS"
33875 if test x$gcc_no_link = xyes; then
33876 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33879 /* end confdefs.h. */
33881 /* Override any GCC internal prototype to avoid an error.
33882 Use char because int might match the return type of a GCC
33883 builtin and then its argument prototype would still apply. */
33884 #ifdef __cplusplus
33885 extern "C"
33886 #endif
33887 char sin ();
33889 main ()
33891 return sin ();
33893 return 0;
33895 _ACEOF
33896 if ac_fn_c_try_link "$LINENO"; then :
33897 ac_cv_lib_m_sin=yes
33898 else
33899 ac_cv_lib_m_sin=no
33901 rm -f core conftest.err conftest.$ac_objext \
33902 conftest$ac_exeext conftest.$ac_ext
33903 LIBS=$ac_check_lib_save_LIBS
33905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33906 $as_echo "$ac_cv_lib_m_sin" >&6; }
33907 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33908 libm="-lm"
33911 ac_save_LIBS="$LIBS"
33912 LIBS="$LIBS $libm"
33916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33917 $as_echo_n "checking for isinf declaration... " >&6; }
33918 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33919 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33920 $as_echo_n "(cached) " >&6
33921 else
33924 ac_ext=cpp
33925 ac_cpp='$CXXCPP $CPPFLAGS'
33926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33931 /* end confdefs.h. */
33932 #include <math.h>
33933 #ifdef HAVE_IEEEFP_H
33934 #include <ieeefp.h>
33935 #endif
33938 main ()
33940 isinf(0);
33942 return 0;
33944 _ACEOF
33945 if ac_fn_cxx_try_compile "$LINENO"; then :
33946 glibcxx_cv_func_isinf_use=yes
33947 else
33948 glibcxx_cv_func_isinf_use=no
33950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33951 ac_ext=c
33952 ac_cpp='$CPP $CPPFLAGS'
33953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33962 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33964 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33965 for ac_func in isinf
33966 do :
33967 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33968 if test "x$ac_cv_func_isinf" = x""yes; then :
33969 cat >>confdefs.h <<_ACEOF
33970 #define HAVE_ISINF 1
33971 _ACEOF
33974 done
33976 else
33978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33979 $as_echo_n "checking for _isinf declaration... " >&6; }
33980 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33981 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33982 $as_echo_n "(cached) " >&6
33983 else
33986 ac_ext=cpp
33987 ac_cpp='$CXXCPP $CPPFLAGS'
33988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33993 /* end confdefs.h. */
33994 #include <math.h>
33995 #ifdef HAVE_IEEEFP_H
33996 #include <ieeefp.h>
33997 #endif
34000 main ()
34002 _isinf(0);
34004 return 0;
34006 _ACEOF
34007 if ac_fn_cxx_try_compile "$LINENO"; then :
34008 glibcxx_cv_func__isinf_use=yes
34009 else
34010 glibcxx_cv_func__isinf_use=no
34012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34013 ac_ext=c
34014 ac_cpp='$CPP $CPPFLAGS'
34015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34024 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34026 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34027 for ac_func in _isinf
34028 do :
34029 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34030 if test "x$ac_cv_func__isinf" = x""yes; then :
34031 cat >>confdefs.h <<_ACEOF
34032 #define HAVE__ISINF 1
34033 _ACEOF
34036 done
34045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34046 $as_echo_n "checking for isnan declaration... " >&6; }
34047 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34048 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34049 $as_echo_n "(cached) " >&6
34050 else
34053 ac_ext=cpp
34054 ac_cpp='$CXXCPP $CPPFLAGS'
34055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34060 /* end confdefs.h. */
34061 #include <math.h>
34062 #ifdef HAVE_IEEEFP_H
34063 #include <ieeefp.h>
34064 #endif
34067 main ()
34069 isnan(0);
34071 return 0;
34073 _ACEOF
34074 if ac_fn_cxx_try_compile "$LINENO"; then :
34075 glibcxx_cv_func_isnan_use=yes
34076 else
34077 glibcxx_cv_func_isnan_use=no
34079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34080 ac_ext=c
34081 ac_cpp='$CPP $CPPFLAGS'
34082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34091 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34093 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34094 for ac_func in isnan
34095 do :
34096 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34097 if test "x$ac_cv_func_isnan" = x""yes; then :
34098 cat >>confdefs.h <<_ACEOF
34099 #define HAVE_ISNAN 1
34100 _ACEOF
34103 done
34105 else
34107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34108 $as_echo_n "checking for _isnan declaration... " >&6; }
34109 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34110 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34111 $as_echo_n "(cached) " >&6
34112 else
34115 ac_ext=cpp
34116 ac_cpp='$CXXCPP $CPPFLAGS'
34117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34122 /* end confdefs.h. */
34123 #include <math.h>
34124 #ifdef HAVE_IEEEFP_H
34125 #include <ieeefp.h>
34126 #endif
34129 main ()
34131 _isnan(0);
34133 return 0;
34135 _ACEOF
34136 if ac_fn_cxx_try_compile "$LINENO"; then :
34137 glibcxx_cv_func__isnan_use=yes
34138 else
34139 glibcxx_cv_func__isnan_use=no
34141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34142 ac_ext=c
34143 ac_cpp='$CPP $CPPFLAGS'
34144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34153 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34155 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34156 for ac_func in _isnan
34157 do :
34158 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34159 if test "x$ac_cv_func__isnan" = x""yes; then :
34160 cat >>confdefs.h <<_ACEOF
34161 #define HAVE__ISNAN 1
34162 _ACEOF
34165 done
34174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34175 $as_echo_n "checking for finite declaration... " >&6; }
34176 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34177 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34178 $as_echo_n "(cached) " >&6
34179 else
34182 ac_ext=cpp
34183 ac_cpp='$CXXCPP $CPPFLAGS'
34184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34189 /* end confdefs.h. */
34190 #include <math.h>
34191 #ifdef HAVE_IEEEFP_H
34192 #include <ieeefp.h>
34193 #endif
34196 main ()
34198 finite(0);
34200 return 0;
34202 _ACEOF
34203 if ac_fn_cxx_try_compile "$LINENO"; then :
34204 glibcxx_cv_func_finite_use=yes
34205 else
34206 glibcxx_cv_func_finite_use=no
34208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34209 ac_ext=c
34210 ac_cpp='$CPP $CPPFLAGS'
34211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34220 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34222 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34223 for ac_func in finite
34224 do :
34225 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34226 if test "x$ac_cv_func_finite" = x""yes; then :
34227 cat >>confdefs.h <<_ACEOF
34228 #define HAVE_FINITE 1
34229 _ACEOF
34232 done
34234 else
34236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34237 $as_echo_n "checking for _finite declaration... " >&6; }
34238 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34239 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34240 $as_echo_n "(cached) " >&6
34241 else
34244 ac_ext=cpp
34245 ac_cpp='$CXXCPP $CPPFLAGS'
34246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34251 /* end confdefs.h. */
34252 #include <math.h>
34253 #ifdef HAVE_IEEEFP_H
34254 #include <ieeefp.h>
34255 #endif
34258 main ()
34260 _finite(0);
34262 return 0;
34264 _ACEOF
34265 if ac_fn_cxx_try_compile "$LINENO"; then :
34266 glibcxx_cv_func__finite_use=yes
34267 else
34268 glibcxx_cv_func__finite_use=no
34270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34271 ac_ext=c
34272 ac_cpp='$CPP $CPPFLAGS'
34273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34282 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34284 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34285 for ac_func in _finite
34286 do :
34287 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34288 if test "x$ac_cv_func__finite" = x""yes; then :
34289 cat >>confdefs.h <<_ACEOF
34290 #define HAVE__FINITE 1
34291 _ACEOF
34294 done
34303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34304 $as_echo_n "checking for sincos declaration... " >&6; }
34305 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34306 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34307 $as_echo_n "(cached) " >&6
34308 else
34311 ac_ext=cpp
34312 ac_cpp='$CXXCPP $CPPFLAGS'
34313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34318 /* end confdefs.h. */
34319 #include <math.h>
34321 main ()
34323 sincos(0, 0, 0);
34325 return 0;
34327 _ACEOF
34328 if ac_fn_cxx_try_compile "$LINENO"; then :
34329 glibcxx_cv_func_sincos_use=yes
34330 else
34331 glibcxx_cv_func_sincos_use=no
34333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34334 ac_ext=c
34335 ac_cpp='$CPP $CPPFLAGS'
34336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34345 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34347 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34348 for ac_func in sincos
34349 do :
34350 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34351 if test "x$ac_cv_func_sincos" = x""yes; then :
34352 cat >>confdefs.h <<_ACEOF
34353 #define HAVE_SINCOS 1
34354 _ACEOF
34357 done
34359 else
34361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34362 $as_echo_n "checking for _sincos declaration... " >&6; }
34363 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34364 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34365 $as_echo_n "(cached) " >&6
34366 else
34369 ac_ext=cpp
34370 ac_cpp='$CXXCPP $CPPFLAGS'
34371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34376 /* end confdefs.h. */
34377 #include <math.h>
34379 main ()
34381 _sincos(0, 0, 0);
34383 return 0;
34385 _ACEOF
34386 if ac_fn_cxx_try_compile "$LINENO"; then :
34387 glibcxx_cv_func__sincos_use=yes
34388 else
34389 glibcxx_cv_func__sincos_use=no
34391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34392 ac_ext=c
34393 ac_cpp='$CPP $CPPFLAGS'
34394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34403 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34405 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34406 for ac_func in _sincos
34407 do :
34408 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34409 if test "x$ac_cv_func__sincos" = x""yes; then :
34410 cat >>confdefs.h <<_ACEOF
34411 #define HAVE__SINCOS 1
34412 _ACEOF
34415 done
34424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34425 $as_echo_n "checking for fpclass declaration... " >&6; }
34426 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34427 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34428 $as_echo_n "(cached) " >&6
34429 else
34432 ac_ext=cpp
34433 ac_cpp='$CXXCPP $CPPFLAGS'
34434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34439 /* end confdefs.h. */
34440 #include <math.h>
34441 #ifdef HAVE_IEEEFP_H
34442 #include <ieeefp.h>
34443 #endif
34446 main ()
34448 fpclass(0);
34450 return 0;
34452 _ACEOF
34453 if ac_fn_cxx_try_compile "$LINENO"; then :
34454 glibcxx_cv_func_fpclass_use=yes
34455 else
34456 glibcxx_cv_func_fpclass_use=no
34458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34459 ac_ext=c
34460 ac_cpp='$CPP $CPPFLAGS'
34461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34470 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34472 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34473 for ac_func in fpclass
34474 do :
34475 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34476 if test "x$ac_cv_func_fpclass" = x""yes; then :
34477 cat >>confdefs.h <<_ACEOF
34478 #define HAVE_FPCLASS 1
34479 _ACEOF
34482 done
34484 else
34486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34487 $as_echo_n "checking for _fpclass declaration... " >&6; }
34488 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34489 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34490 $as_echo_n "(cached) " >&6
34491 else
34494 ac_ext=cpp
34495 ac_cpp='$CXXCPP $CPPFLAGS'
34496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34501 /* end confdefs.h. */
34502 #include <math.h>
34503 #ifdef HAVE_IEEEFP_H
34504 #include <ieeefp.h>
34505 #endif
34508 main ()
34510 _fpclass(0);
34512 return 0;
34514 _ACEOF
34515 if ac_fn_cxx_try_compile "$LINENO"; then :
34516 glibcxx_cv_func__fpclass_use=yes
34517 else
34518 glibcxx_cv_func__fpclass_use=no
34520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34521 ac_ext=c
34522 ac_cpp='$CPP $CPPFLAGS'
34523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34532 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34534 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34535 for ac_func in _fpclass
34536 do :
34537 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34538 if test "x$ac_cv_func__fpclass" = x""yes; then :
34539 cat >>confdefs.h <<_ACEOF
34540 #define HAVE__FPCLASS 1
34541 _ACEOF
34544 done
34553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34554 $as_echo_n "checking for qfpclass declaration... " >&6; }
34555 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34556 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34557 $as_echo_n "(cached) " >&6
34558 else
34561 ac_ext=cpp
34562 ac_cpp='$CXXCPP $CPPFLAGS'
34563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34568 /* end confdefs.h. */
34569 #include <math.h>
34570 #ifdef HAVE_IEEEFP_H
34571 #include <ieeefp.h>
34572 #endif
34575 main ()
34577 qfpclass(0);
34579 return 0;
34581 _ACEOF
34582 if ac_fn_cxx_try_compile "$LINENO"; then :
34583 glibcxx_cv_func_qfpclass_use=yes
34584 else
34585 glibcxx_cv_func_qfpclass_use=no
34587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34588 ac_ext=c
34589 ac_cpp='$CPP $CPPFLAGS'
34590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34599 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34601 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34602 for ac_func in qfpclass
34603 do :
34604 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34605 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34606 cat >>confdefs.h <<_ACEOF
34607 #define HAVE_QFPCLASS 1
34608 _ACEOF
34611 done
34613 else
34615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34616 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34617 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34618 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34619 $as_echo_n "(cached) " >&6
34620 else
34623 ac_ext=cpp
34624 ac_cpp='$CXXCPP $CPPFLAGS'
34625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34630 /* end confdefs.h. */
34631 #include <math.h>
34632 #ifdef HAVE_IEEEFP_H
34633 #include <ieeefp.h>
34634 #endif
34637 main ()
34639 _qfpclass(0);
34641 return 0;
34643 _ACEOF
34644 if ac_fn_cxx_try_compile "$LINENO"; then :
34645 glibcxx_cv_func__qfpclass_use=yes
34646 else
34647 glibcxx_cv_func__qfpclass_use=no
34649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34650 ac_ext=c
34651 ac_cpp='$CPP $CPPFLAGS'
34652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34661 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34663 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34664 for ac_func in _qfpclass
34665 do :
34666 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34667 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34668 cat >>confdefs.h <<_ACEOF
34669 #define HAVE__QFPCLASS 1
34670 _ACEOF
34673 done
34682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34683 $as_echo_n "checking for hypot declaration... " >&6; }
34684 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34685 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34686 $as_echo_n "(cached) " >&6
34687 else
34690 ac_ext=cpp
34691 ac_cpp='$CXXCPP $CPPFLAGS'
34692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34697 /* end confdefs.h. */
34698 #include <math.h>
34700 main ()
34702 hypot(0, 0);
34704 return 0;
34706 _ACEOF
34707 if ac_fn_cxx_try_compile "$LINENO"; then :
34708 glibcxx_cv_func_hypot_use=yes
34709 else
34710 glibcxx_cv_func_hypot_use=no
34712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34713 ac_ext=c
34714 ac_cpp='$CPP $CPPFLAGS'
34715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34724 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34726 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34727 for ac_func in hypot
34728 do :
34729 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34730 if test "x$ac_cv_func_hypot" = x""yes; then :
34731 cat >>confdefs.h <<_ACEOF
34732 #define HAVE_HYPOT 1
34733 _ACEOF
34736 done
34738 else
34740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34741 $as_echo_n "checking for _hypot declaration... " >&6; }
34742 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34743 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34744 $as_echo_n "(cached) " >&6
34745 else
34748 ac_ext=cpp
34749 ac_cpp='$CXXCPP $CPPFLAGS'
34750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34755 /* end confdefs.h. */
34756 #include <math.h>
34758 main ()
34760 _hypot(0, 0);
34762 return 0;
34764 _ACEOF
34765 if ac_fn_cxx_try_compile "$LINENO"; then :
34766 glibcxx_cv_func__hypot_use=yes
34767 else
34768 glibcxx_cv_func__hypot_use=no
34770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34771 ac_ext=c
34772 ac_cpp='$CPP $CPPFLAGS'
34773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34782 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34784 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34785 for ac_func in _hypot
34786 do :
34787 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34788 if test "x$ac_cv_func__hypot" = x""yes; then :
34789 cat >>confdefs.h <<_ACEOF
34790 #define HAVE__HYPOT 1
34791 _ACEOF
34794 done
34803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34804 $as_echo_n "checking for float trig functions... " >&6; }
34805 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34806 $as_echo_n "(cached) " >&6
34807 else
34810 ac_ext=cpp
34811 ac_cpp='$CXXCPP $CPPFLAGS'
34812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34817 /* end confdefs.h. */
34818 #include <math.h>
34820 main ()
34822 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34824 return 0;
34826 _ACEOF
34827 if ac_fn_cxx_try_compile "$LINENO"; then :
34828 glibcxx_cv_func_float_trig_use=yes
34829 else
34830 glibcxx_cv_func_float_trig_use=no
34832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34833 ac_ext=c
34834 ac_cpp='$CPP $CPPFLAGS'
34835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34842 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34843 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34844 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34845 do :
34846 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34847 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34848 eval as_val=\$$as_ac_var
34849 if test "x$as_val" = x""yes; then :
34850 cat >>confdefs.h <<_ACEOF
34851 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34852 _ACEOF
34855 done
34857 else
34858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34859 $as_echo_n "checking for _float trig functions... " >&6; }
34860 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34861 $as_echo_n "(cached) " >&6
34862 else
34865 ac_ext=cpp
34866 ac_cpp='$CXXCPP $CPPFLAGS'
34867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34872 /* end confdefs.h. */
34873 #include <math.h>
34875 main ()
34877 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34879 return 0;
34881 _ACEOF
34882 if ac_fn_cxx_try_compile "$LINENO"; then :
34883 glibcxx_cv_func__float_trig_use=yes
34884 else
34885 glibcxx_cv_func__float_trig_use=no
34887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34888 ac_ext=c
34889 ac_cpp='$CPP $CPPFLAGS'
34890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34897 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34898 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34899 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34900 do :
34901 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34902 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34903 eval as_val=\$$as_ac_var
34904 if test "x$as_val" = x""yes; then :
34905 cat >>confdefs.h <<_ACEOF
34906 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34907 _ACEOF
34910 done
34919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34920 $as_echo_n "checking for float round functions... " >&6; }
34921 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34922 $as_echo_n "(cached) " >&6
34923 else
34926 ac_ext=cpp
34927 ac_cpp='$CXXCPP $CPPFLAGS'
34928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34933 /* end confdefs.h. */
34934 #include <math.h>
34936 main ()
34938 ceilf (0); floorf (0);
34940 return 0;
34942 _ACEOF
34943 if ac_fn_cxx_try_compile "$LINENO"; then :
34944 glibcxx_cv_func_float_round_use=yes
34945 else
34946 glibcxx_cv_func_float_round_use=no
34948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34949 ac_ext=c
34950 ac_cpp='$CPP $CPPFLAGS'
34951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34958 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34959 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34960 for ac_func in ceilf floorf
34961 do :
34962 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34963 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34964 eval as_val=\$$as_ac_var
34965 if test "x$as_val" = x""yes; then :
34966 cat >>confdefs.h <<_ACEOF
34967 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34968 _ACEOF
34971 done
34973 else
34974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34975 $as_echo_n "checking for _float round functions... " >&6; }
34976 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34977 $as_echo_n "(cached) " >&6
34978 else
34981 ac_ext=cpp
34982 ac_cpp='$CXXCPP $CPPFLAGS'
34983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34988 /* end confdefs.h. */
34989 #include <math.h>
34991 main ()
34993 _ceilf (0); _floorf (0);
34995 return 0;
34997 _ACEOF
34998 if ac_fn_cxx_try_compile "$LINENO"; then :
34999 glibcxx_cv_func__float_round_use=yes
35000 else
35001 glibcxx_cv_func__float_round_use=no
35003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35004 ac_ext=c
35005 ac_cpp='$CPP $CPPFLAGS'
35006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35013 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35014 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35015 for ac_func in _ceilf _floorf
35016 do :
35017 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35018 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35019 eval as_val=\$$as_ac_var
35020 if test "x$as_val" = x""yes; then :
35021 cat >>confdefs.h <<_ACEOF
35022 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35023 _ACEOF
35026 done
35036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35037 $as_echo_n "checking for expf declaration... " >&6; }
35038 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35039 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35040 $as_echo_n "(cached) " >&6
35041 else
35044 ac_ext=cpp
35045 ac_cpp='$CXXCPP $CPPFLAGS'
35046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35051 /* end confdefs.h. */
35052 #include <math.h>
35053 #ifdef HAVE_IEEEFP_H
35054 #include <ieeefp.h>
35055 #endif
35058 main ()
35060 expf(0);
35062 return 0;
35064 _ACEOF
35065 if ac_fn_cxx_try_compile "$LINENO"; then :
35066 glibcxx_cv_func_expf_use=yes
35067 else
35068 glibcxx_cv_func_expf_use=no
35070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35071 ac_ext=c
35072 ac_cpp='$CPP $CPPFLAGS'
35073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35082 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35084 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35085 for ac_func in expf
35086 do :
35087 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35088 if test "x$ac_cv_func_expf" = x""yes; then :
35089 cat >>confdefs.h <<_ACEOF
35090 #define HAVE_EXPF 1
35091 _ACEOF
35094 done
35096 else
35098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35099 $as_echo_n "checking for _expf declaration... " >&6; }
35100 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35101 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35102 $as_echo_n "(cached) " >&6
35103 else
35106 ac_ext=cpp
35107 ac_cpp='$CXXCPP $CPPFLAGS'
35108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35113 /* end confdefs.h. */
35114 #include <math.h>
35115 #ifdef HAVE_IEEEFP_H
35116 #include <ieeefp.h>
35117 #endif
35120 main ()
35122 _expf(0);
35124 return 0;
35126 _ACEOF
35127 if ac_fn_cxx_try_compile "$LINENO"; then :
35128 glibcxx_cv_func__expf_use=yes
35129 else
35130 glibcxx_cv_func__expf_use=no
35132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35133 ac_ext=c
35134 ac_cpp='$CPP $CPPFLAGS'
35135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35144 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35146 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35147 for ac_func in _expf
35148 do :
35149 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35150 if test "x$ac_cv_func__expf" = x""yes; then :
35151 cat >>confdefs.h <<_ACEOF
35152 #define HAVE__EXPF 1
35153 _ACEOF
35156 done
35165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35166 $as_echo_n "checking for isnanf declaration... " >&6; }
35167 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35168 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35169 $as_echo_n "(cached) " >&6
35170 else
35173 ac_ext=cpp
35174 ac_cpp='$CXXCPP $CPPFLAGS'
35175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35180 /* end confdefs.h. */
35181 #include <math.h>
35182 #ifdef HAVE_IEEEFP_H
35183 #include <ieeefp.h>
35184 #endif
35187 main ()
35189 isnanf(0);
35191 return 0;
35193 _ACEOF
35194 if ac_fn_cxx_try_compile "$LINENO"; then :
35195 glibcxx_cv_func_isnanf_use=yes
35196 else
35197 glibcxx_cv_func_isnanf_use=no
35199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35200 ac_ext=c
35201 ac_cpp='$CPP $CPPFLAGS'
35202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35211 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35213 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35214 for ac_func in isnanf
35215 do :
35216 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35217 if test "x$ac_cv_func_isnanf" = x""yes; then :
35218 cat >>confdefs.h <<_ACEOF
35219 #define HAVE_ISNANF 1
35220 _ACEOF
35223 done
35225 else
35227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35228 $as_echo_n "checking for _isnanf declaration... " >&6; }
35229 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35230 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35231 $as_echo_n "(cached) " >&6
35232 else
35235 ac_ext=cpp
35236 ac_cpp='$CXXCPP $CPPFLAGS'
35237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35242 /* end confdefs.h. */
35243 #include <math.h>
35244 #ifdef HAVE_IEEEFP_H
35245 #include <ieeefp.h>
35246 #endif
35249 main ()
35251 _isnanf(0);
35253 return 0;
35255 _ACEOF
35256 if ac_fn_cxx_try_compile "$LINENO"; then :
35257 glibcxx_cv_func__isnanf_use=yes
35258 else
35259 glibcxx_cv_func__isnanf_use=no
35261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35262 ac_ext=c
35263 ac_cpp='$CPP $CPPFLAGS'
35264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35273 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35275 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35276 for ac_func in _isnanf
35277 do :
35278 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35279 if test "x$ac_cv_func__isnanf" = x""yes; then :
35280 cat >>confdefs.h <<_ACEOF
35281 #define HAVE__ISNANF 1
35282 _ACEOF
35285 done
35294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35295 $as_echo_n "checking for isinff declaration... " >&6; }
35296 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35297 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35298 $as_echo_n "(cached) " >&6
35299 else
35302 ac_ext=cpp
35303 ac_cpp='$CXXCPP $CPPFLAGS'
35304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35309 /* end confdefs.h. */
35310 #include <math.h>
35311 #ifdef HAVE_IEEEFP_H
35312 #include <ieeefp.h>
35313 #endif
35316 main ()
35318 isinff(0);
35320 return 0;
35322 _ACEOF
35323 if ac_fn_cxx_try_compile "$LINENO"; then :
35324 glibcxx_cv_func_isinff_use=yes
35325 else
35326 glibcxx_cv_func_isinff_use=no
35328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35329 ac_ext=c
35330 ac_cpp='$CPP $CPPFLAGS'
35331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35340 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35342 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35343 for ac_func in isinff
35344 do :
35345 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35346 if test "x$ac_cv_func_isinff" = x""yes; then :
35347 cat >>confdefs.h <<_ACEOF
35348 #define HAVE_ISINFF 1
35349 _ACEOF
35352 done
35354 else
35356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35357 $as_echo_n "checking for _isinff declaration... " >&6; }
35358 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35359 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35360 $as_echo_n "(cached) " >&6
35361 else
35364 ac_ext=cpp
35365 ac_cpp='$CXXCPP $CPPFLAGS'
35366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35371 /* end confdefs.h. */
35372 #include <math.h>
35373 #ifdef HAVE_IEEEFP_H
35374 #include <ieeefp.h>
35375 #endif
35378 main ()
35380 _isinff(0);
35382 return 0;
35384 _ACEOF
35385 if ac_fn_cxx_try_compile "$LINENO"; then :
35386 glibcxx_cv_func__isinff_use=yes
35387 else
35388 glibcxx_cv_func__isinff_use=no
35390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35391 ac_ext=c
35392 ac_cpp='$CPP $CPPFLAGS'
35393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35402 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35404 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35405 for ac_func in _isinff
35406 do :
35407 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35408 if test "x$ac_cv_func__isinff" = x""yes; then :
35409 cat >>confdefs.h <<_ACEOF
35410 #define HAVE__ISINFF 1
35411 _ACEOF
35414 done
35423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35424 $as_echo_n "checking for atan2f declaration... " >&6; }
35425 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35426 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35427 $as_echo_n "(cached) " >&6
35428 else
35431 ac_ext=cpp
35432 ac_cpp='$CXXCPP $CPPFLAGS'
35433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35438 /* end confdefs.h. */
35439 #include <math.h>
35441 main ()
35443 atan2f(0, 0);
35445 return 0;
35447 _ACEOF
35448 if ac_fn_cxx_try_compile "$LINENO"; then :
35449 glibcxx_cv_func_atan2f_use=yes
35450 else
35451 glibcxx_cv_func_atan2f_use=no
35453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35454 ac_ext=c
35455 ac_cpp='$CPP $CPPFLAGS'
35456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35465 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35467 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35468 for ac_func in atan2f
35469 do :
35470 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35471 if test "x$ac_cv_func_atan2f" = x""yes; then :
35472 cat >>confdefs.h <<_ACEOF
35473 #define HAVE_ATAN2F 1
35474 _ACEOF
35477 done
35479 else
35481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35482 $as_echo_n "checking for _atan2f declaration... " >&6; }
35483 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35484 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35485 $as_echo_n "(cached) " >&6
35486 else
35489 ac_ext=cpp
35490 ac_cpp='$CXXCPP $CPPFLAGS'
35491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35496 /* end confdefs.h. */
35497 #include <math.h>
35499 main ()
35501 _atan2f(0, 0);
35503 return 0;
35505 _ACEOF
35506 if ac_fn_cxx_try_compile "$LINENO"; then :
35507 glibcxx_cv_func__atan2f_use=yes
35508 else
35509 glibcxx_cv_func__atan2f_use=no
35511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35512 ac_ext=c
35513 ac_cpp='$CPP $CPPFLAGS'
35514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35523 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35525 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35526 for ac_func in _atan2f
35527 do :
35528 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35529 if test "x$ac_cv_func__atan2f" = x""yes; then :
35530 cat >>confdefs.h <<_ACEOF
35531 #define HAVE__ATAN2F 1
35532 _ACEOF
35535 done
35544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35545 $as_echo_n "checking for fabsf declaration... " >&6; }
35546 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35547 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35548 $as_echo_n "(cached) " >&6
35549 else
35552 ac_ext=cpp
35553 ac_cpp='$CXXCPP $CPPFLAGS'
35554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35559 /* end confdefs.h. */
35560 #include <math.h>
35561 #ifdef HAVE_IEEEFP_H
35562 #include <ieeefp.h>
35563 #endif
35566 main ()
35568 fabsf(0);
35570 return 0;
35572 _ACEOF
35573 if ac_fn_cxx_try_compile "$LINENO"; then :
35574 glibcxx_cv_func_fabsf_use=yes
35575 else
35576 glibcxx_cv_func_fabsf_use=no
35578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35579 ac_ext=c
35580 ac_cpp='$CPP $CPPFLAGS'
35581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35590 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35592 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35593 for ac_func in fabsf
35594 do :
35595 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35596 if test "x$ac_cv_func_fabsf" = x""yes; then :
35597 cat >>confdefs.h <<_ACEOF
35598 #define HAVE_FABSF 1
35599 _ACEOF
35602 done
35604 else
35606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35607 $as_echo_n "checking for _fabsf declaration... " >&6; }
35608 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35609 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35610 $as_echo_n "(cached) " >&6
35611 else
35614 ac_ext=cpp
35615 ac_cpp='$CXXCPP $CPPFLAGS'
35616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35621 /* end confdefs.h. */
35622 #include <math.h>
35623 #ifdef HAVE_IEEEFP_H
35624 #include <ieeefp.h>
35625 #endif
35628 main ()
35630 _fabsf(0);
35632 return 0;
35634 _ACEOF
35635 if ac_fn_cxx_try_compile "$LINENO"; then :
35636 glibcxx_cv_func__fabsf_use=yes
35637 else
35638 glibcxx_cv_func__fabsf_use=no
35640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35641 ac_ext=c
35642 ac_cpp='$CPP $CPPFLAGS'
35643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35652 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35654 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35655 for ac_func in _fabsf
35656 do :
35657 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35658 if test "x$ac_cv_func__fabsf" = x""yes; then :
35659 cat >>confdefs.h <<_ACEOF
35660 #define HAVE__FABSF 1
35661 _ACEOF
35664 done
35673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35674 $as_echo_n "checking for fmodf declaration... " >&6; }
35675 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35676 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35677 $as_echo_n "(cached) " >&6
35678 else
35681 ac_ext=cpp
35682 ac_cpp='$CXXCPP $CPPFLAGS'
35683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35688 /* end confdefs.h. */
35689 #include <math.h>
35691 main ()
35693 fmodf(0, 0);
35695 return 0;
35697 _ACEOF
35698 if ac_fn_cxx_try_compile "$LINENO"; then :
35699 glibcxx_cv_func_fmodf_use=yes
35700 else
35701 glibcxx_cv_func_fmodf_use=no
35703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35704 ac_ext=c
35705 ac_cpp='$CPP $CPPFLAGS'
35706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35715 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35717 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35718 for ac_func in fmodf
35719 do :
35720 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35721 if test "x$ac_cv_func_fmodf" = x""yes; then :
35722 cat >>confdefs.h <<_ACEOF
35723 #define HAVE_FMODF 1
35724 _ACEOF
35727 done
35729 else
35731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35732 $as_echo_n "checking for _fmodf declaration... " >&6; }
35733 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35734 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35735 $as_echo_n "(cached) " >&6
35736 else
35739 ac_ext=cpp
35740 ac_cpp='$CXXCPP $CPPFLAGS'
35741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35746 /* end confdefs.h. */
35747 #include <math.h>
35749 main ()
35751 _fmodf(0, 0);
35753 return 0;
35755 _ACEOF
35756 if ac_fn_cxx_try_compile "$LINENO"; then :
35757 glibcxx_cv_func__fmodf_use=yes
35758 else
35759 glibcxx_cv_func__fmodf_use=no
35761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35762 ac_ext=c
35763 ac_cpp='$CPP $CPPFLAGS'
35764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35773 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35775 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35776 for ac_func in _fmodf
35777 do :
35778 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35779 if test "x$ac_cv_func__fmodf" = x""yes; then :
35780 cat >>confdefs.h <<_ACEOF
35781 #define HAVE__FMODF 1
35782 _ACEOF
35785 done
35794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35795 $as_echo_n "checking for frexpf declaration... " >&6; }
35796 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35797 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35798 $as_echo_n "(cached) " >&6
35799 else
35802 ac_ext=cpp
35803 ac_cpp='$CXXCPP $CPPFLAGS'
35804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35809 /* end confdefs.h. */
35810 #include <math.h>
35812 main ()
35814 frexpf(0, 0);
35816 return 0;
35818 _ACEOF
35819 if ac_fn_cxx_try_compile "$LINENO"; then :
35820 glibcxx_cv_func_frexpf_use=yes
35821 else
35822 glibcxx_cv_func_frexpf_use=no
35824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35825 ac_ext=c
35826 ac_cpp='$CPP $CPPFLAGS'
35827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35836 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35838 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35839 for ac_func in frexpf
35840 do :
35841 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35842 if test "x$ac_cv_func_frexpf" = x""yes; then :
35843 cat >>confdefs.h <<_ACEOF
35844 #define HAVE_FREXPF 1
35845 _ACEOF
35848 done
35850 else
35852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35853 $as_echo_n "checking for _frexpf declaration... " >&6; }
35854 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35855 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35856 $as_echo_n "(cached) " >&6
35857 else
35860 ac_ext=cpp
35861 ac_cpp='$CXXCPP $CPPFLAGS'
35862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35867 /* end confdefs.h. */
35868 #include <math.h>
35870 main ()
35872 _frexpf(0, 0);
35874 return 0;
35876 _ACEOF
35877 if ac_fn_cxx_try_compile "$LINENO"; then :
35878 glibcxx_cv_func__frexpf_use=yes
35879 else
35880 glibcxx_cv_func__frexpf_use=no
35882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35883 ac_ext=c
35884 ac_cpp='$CPP $CPPFLAGS'
35885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35894 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35896 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35897 for ac_func in _frexpf
35898 do :
35899 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35900 if test "x$ac_cv_func__frexpf" = x""yes; then :
35901 cat >>confdefs.h <<_ACEOF
35902 #define HAVE__FREXPF 1
35903 _ACEOF
35906 done
35915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35916 $as_echo_n "checking for hypotf declaration... " >&6; }
35917 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35918 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35919 $as_echo_n "(cached) " >&6
35920 else
35923 ac_ext=cpp
35924 ac_cpp='$CXXCPP $CPPFLAGS'
35925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35930 /* end confdefs.h. */
35931 #include <math.h>
35933 main ()
35935 hypotf(0, 0);
35937 return 0;
35939 _ACEOF
35940 if ac_fn_cxx_try_compile "$LINENO"; then :
35941 glibcxx_cv_func_hypotf_use=yes
35942 else
35943 glibcxx_cv_func_hypotf_use=no
35945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35946 ac_ext=c
35947 ac_cpp='$CPP $CPPFLAGS'
35948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35957 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35959 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35960 for ac_func in hypotf
35961 do :
35962 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35963 if test "x$ac_cv_func_hypotf" = x""yes; then :
35964 cat >>confdefs.h <<_ACEOF
35965 #define HAVE_HYPOTF 1
35966 _ACEOF
35969 done
35971 else
35973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35974 $as_echo_n "checking for _hypotf declaration... " >&6; }
35975 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35976 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35977 $as_echo_n "(cached) " >&6
35978 else
35981 ac_ext=cpp
35982 ac_cpp='$CXXCPP $CPPFLAGS'
35983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35988 /* end confdefs.h. */
35989 #include <math.h>
35991 main ()
35993 _hypotf(0, 0);
35995 return 0;
35997 _ACEOF
35998 if ac_fn_cxx_try_compile "$LINENO"; then :
35999 glibcxx_cv_func__hypotf_use=yes
36000 else
36001 glibcxx_cv_func__hypotf_use=no
36003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36004 ac_ext=c
36005 ac_cpp='$CPP $CPPFLAGS'
36006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36015 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36017 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36018 for ac_func in _hypotf
36019 do :
36020 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36021 if test "x$ac_cv_func__hypotf" = x""yes; then :
36022 cat >>confdefs.h <<_ACEOF
36023 #define HAVE__HYPOTF 1
36024 _ACEOF
36027 done
36036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36037 $as_echo_n "checking for ldexpf declaration... " >&6; }
36038 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36039 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36040 $as_echo_n "(cached) " >&6
36041 else
36044 ac_ext=cpp
36045 ac_cpp='$CXXCPP $CPPFLAGS'
36046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36051 /* end confdefs.h. */
36052 #include <math.h>
36054 main ()
36056 ldexpf(0, 0);
36058 return 0;
36060 _ACEOF
36061 if ac_fn_cxx_try_compile "$LINENO"; then :
36062 glibcxx_cv_func_ldexpf_use=yes
36063 else
36064 glibcxx_cv_func_ldexpf_use=no
36066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36067 ac_ext=c
36068 ac_cpp='$CPP $CPPFLAGS'
36069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36078 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36080 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36081 for ac_func in ldexpf
36082 do :
36083 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36084 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36085 cat >>confdefs.h <<_ACEOF
36086 #define HAVE_LDEXPF 1
36087 _ACEOF
36090 done
36092 else
36094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36095 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36096 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36097 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36098 $as_echo_n "(cached) " >&6
36099 else
36102 ac_ext=cpp
36103 ac_cpp='$CXXCPP $CPPFLAGS'
36104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36109 /* end confdefs.h. */
36110 #include <math.h>
36112 main ()
36114 _ldexpf(0, 0);
36116 return 0;
36118 _ACEOF
36119 if ac_fn_cxx_try_compile "$LINENO"; then :
36120 glibcxx_cv_func__ldexpf_use=yes
36121 else
36122 glibcxx_cv_func__ldexpf_use=no
36124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36125 ac_ext=c
36126 ac_cpp='$CPP $CPPFLAGS'
36127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36136 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36138 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36139 for ac_func in _ldexpf
36140 do :
36141 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36142 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36143 cat >>confdefs.h <<_ACEOF
36144 #define HAVE__LDEXPF 1
36145 _ACEOF
36148 done
36157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36158 $as_echo_n "checking for logf declaration... " >&6; }
36159 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36160 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36161 $as_echo_n "(cached) " >&6
36162 else
36165 ac_ext=cpp
36166 ac_cpp='$CXXCPP $CPPFLAGS'
36167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36172 /* end confdefs.h. */
36173 #include <math.h>
36174 #ifdef HAVE_IEEEFP_H
36175 #include <ieeefp.h>
36176 #endif
36179 main ()
36181 logf(0);
36183 return 0;
36185 _ACEOF
36186 if ac_fn_cxx_try_compile "$LINENO"; then :
36187 glibcxx_cv_func_logf_use=yes
36188 else
36189 glibcxx_cv_func_logf_use=no
36191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36192 ac_ext=c
36193 ac_cpp='$CPP $CPPFLAGS'
36194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36203 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36205 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36206 for ac_func in logf
36207 do :
36208 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36209 if test "x$ac_cv_func_logf" = x""yes; then :
36210 cat >>confdefs.h <<_ACEOF
36211 #define HAVE_LOGF 1
36212 _ACEOF
36215 done
36217 else
36219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36220 $as_echo_n "checking for _logf declaration... " >&6; }
36221 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36222 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36223 $as_echo_n "(cached) " >&6
36224 else
36227 ac_ext=cpp
36228 ac_cpp='$CXXCPP $CPPFLAGS'
36229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36234 /* end confdefs.h. */
36235 #include <math.h>
36236 #ifdef HAVE_IEEEFP_H
36237 #include <ieeefp.h>
36238 #endif
36241 main ()
36243 _logf(0);
36245 return 0;
36247 _ACEOF
36248 if ac_fn_cxx_try_compile "$LINENO"; then :
36249 glibcxx_cv_func__logf_use=yes
36250 else
36251 glibcxx_cv_func__logf_use=no
36253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36254 ac_ext=c
36255 ac_cpp='$CPP $CPPFLAGS'
36256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36265 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36267 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36268 for ac_func in _logf
36269 do :
36270 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36271 if test "x$ac_cv_func__logf" = x""yes; then :
36272 cat >>confdefs.h <<_ACEOF
36273 #define HAVE__LOGF 1
36274 _ACEOF
36277 done
36286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36287 $as_echo_n "checking for log10f declaration... " >&6; }
36288 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36289 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36290 $as_echo_n "(cached) " >&6
36291 else
36294 ac_ext=cpp
36295 ac_cpp='$CXXCPP $CPPFLAGS'
36296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36301 /* end confdefs.h. */
36302 #include <math.h>
36303 #ifdef HAVE_IEEEFP_H
36304 #include <ieeefp.h>
36305 #endif
36308 main ()
36310 log10f(0);
36312 return 0;
36314 _ACEOF
36315 if ac_fn_cxx_try_compile "$LINENO"; then :
36316 glibcxx_cv_func_log10f_use=yes
36317 else
36318 glibcxx_cv_func_log10f_use=no
36320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36321 ac_ext=c
36322 ac_cpp='$CPP $CPPFLAGS'
36323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36332 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36334 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36335 for ac_func in log10f
36336 do :
36337 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36338 if test "x$ac_cv_func_log10f" = x""yes; then :
36339 cat >>confdefs.h <<_ACEOF
36340 #define HAVE_LOG10F 1
36341 _ACEOF
36344 done
36346 else
36348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36349 $as_echo_n "checking for _log10f declaration... " >&6; }
36350 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36351 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36352 $as_echo_n "(cached) " >&6
36353 else
36356 ac_ext=cpp
36357 ac_cpp='$CXXCPP $CPPFLAGS'
36358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36363 /* end confdefs.h. */
36364 #include <math.h>
36365 #ifdef HAVE_IEEEFP_H
36366 #include <ieeefp.h>
36367 #endif
36370 main ()
36372 _log10f(0);
36374 return 0;
36376 _ACEOF
36377 if ac_fn_cxx_try_compile "$LINENO"; then :
36378 glibcxx_cv_func__log10f_use=yes
36379 else
36380 glibcxx_cv_func__log10f_use=no
36382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36383 ac_ext=c
36384 ac_cpp='$CPP $CPPFLAGS'
36385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36394 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36396 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36397 for ac_func in _log10f
36398 do :
36399 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36400 if test "x$ac_cv_func__log10f" = x""yes; then :
36401 cat >>confdefs.h <<_ACEOF
36402 #define HAVE__LOG10F 1
36403 _ACEOF
36406 done
36415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36416 $as_echo_n "checking for modff declaration... " >&6; }
36417 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36418 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36419 $as_echo_n "(cached) " >&6
36420 else
36423 ac_ext=cpp
36424 ac_cpp='$CXXCPP $CPPFLAGS'
36425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36430 /* end confdefs.h. */
36431 #include <math.h>
36433 main ()
36435 modff(0, 0);
36437 return 0;
36439 _ACEOF
36440 if ac_fn_cxx_try_compile "$LINENO"; then :
36441 glibcxx_cv_func_modff_use=yes
36442 else
36443 glibcxx_cv_func_modff_use=no
36445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36446 ac_ext=c
36447 ac_cpp='$CPP $CPPFLAGS'
36448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36457 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36459 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36460 for ac_func in modff
36461 do :
36462 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36463 if test "x$ac_cv_func_modff" = x""yes; then :
36464 cat >>confdefs.h <<_ACEOF
36465 #define HAVE_MODFF 1
36466 _ACEOF
36469 done
36471 else
36473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36474 $as_echo_n "checking for _modff declaration... " >&6; }
36475 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36476 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36477 $as_echo_n "(cached) " >&6
36478 else
36481 ac_ext=cpp
36482 ac_cpp='$CXXCPP $CPPFLAGS'
36483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36488 /* end confdefs.h. */
36489 #include <math.h>
36491 main ()
36493 _modff(0, 0);
36495 return 0;
36497 _ACEOF
36498 if ac_fn_cxx_try_compile "$LINENO"; then :
36499 glibcxx_cv_func__modff_use=yes
36500 else
36501 glibcxx_cv_func__modff_use=no
36503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36504 ac_ext=c
36505 ac_cpp='$CPP $CPPFLAGS'
36506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36515 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36517 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36518 for ac_func in _modff
36519 do :
36520 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36521 if test "x$ac_cv_func__modff" = x""yes; then :
36522 cat >>confdefs.h <<_ACEOF
36523 #define HAVE__MODFF 1
36524 _ACEOF
36527 done
36536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36537 $as_echo_n "checking for modf declaration... " >&6; }
36538 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36539 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36540 $as_echo_n "(cached) " >&6
36541 else
36544 ac_ext=cpp
36545 ac_cpp='$CXXCPP $CPPFLAGS'
36546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36551 /* end confdefs.h. */
36552 #include <math.h>
36554 main ()
36556 modf(0, 0);
36558 return 0;
36560 _ACEOF
36561 if ac_fn_cxx_try_compile "$LINENO"; then :
36562 glibcxx_cv_func_modf_use=yes
36563 else
36564 glibcxx_cv_func_modf_use=no
36566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36567 ac_ext=c
36568 ac_cpp='$CPP $CPPFLAGS'
36569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36578 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36580 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36581 for ac_func in modf
36582 do :
36583 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36584 if test "x$ac_cv_func_modf" = x""yes; then :
36585 cat >>confdefs.h <<_ACEOF
36586 #define HAVE_MODF 1
36587 _ACEOF
36590 done
36592 else
36594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36595 $as_echo_n "checking for _modf declaration... " >&6; }
36596 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36597 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36598 $as_echo_n "(cached) " >&6
36599 else
36602 ac_ext=cpp
36603 ac_cpp='$CXXCPP $CPPFLAGS'
36604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36609 /* end confdefs.h. */
36610 #include <math.h>
36612 main ()
36614 _modf(0, 0);
36616 return 0;
36618 _ACEOF
36619 if ac_fn_cxx_try_compile "$LINENO"; then :
36620 glibcxx_cv_func__modf_use=yes
36621 else
36622 glibcxx_cv_func__modf_use=no
36624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36625 ac_ext=c
36626 ac_cpp='$CPP $CPPFLAGS'
36627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36636 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36638 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36639 for ac_func in _modf
36640 do :
36641 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36642 if test "x$ac_cv_func__modf" = x""yes; then :
36643 cat >>confdefs.h <<_ACEOF
36644 #define HAVE__MODF 1
36645 _ACEOF
36648 done
36657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36658 $as_echo_n "checking for powf declaration... " >&6; }
36659 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36660 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36661 $as_echo_n "(cached) " >&6
36662 else
36665 ac_ext=cpp
36666 ac_cpp='$CXXCPP $CPPFLAGS'
36667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36672 /* end confdefs.h. */
36673 #include <math.h>
36675 main ()
36677 powf(0, 0);
36679 return 0;
36681 _ACEOF
36682 if ac_fn_cxx_try_compile "$LINENO"; then :
36683 glibcxx_cv_func_powf_use=yes
36684 else
36685 glibcxx_cv_func_powf_use=no
36687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36688 ac_ext=c
36689 ac_cpp='$CPP $CPPFLAGS'
36690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36699 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36701 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36702 for ac_func in powf
36703 do :
36704 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36705 if test "x$ac_cv_func_powf" = x""yes; then :
36706 cat >>confdefs.h <<_ACEOF
36707 #define HAVE_POWF 1
36708 _ACEOF
36711 done
36713 else
36715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36716 $as_echo_n "checking for _powf declaration... " >&6; }
36717 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36718 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36719 $as_echo_n "(cached) " >&6
36720 else
36723 ac_ext=cpp
36724 ac_cpp='$CXXCPP $CPPFLAGS'
36725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36730 /* end confdefs.h. */
36731 #include <math.h>
36733 main ()
36735 _powf(0, 0);
36737 return 0;
36739 _ACEOF
36740 if ac_fn_cxx_try_compile "$LINENO"; then :
36741 glibcxx_cv_func__powf_use=yes
36742 else
36743 glibcxx_cv_func__powf_use=no
36745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36746 ac_ext=c
36747 ac_cpp='$CPP $CPPFLAGS'
36748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36757 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36759 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36760 for ac_func in _powf
36761 do :
36762 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36763 if test "x$ac_cv_func__powf" = x""yes; then :
36764 cat >>confdefs.h <<_ACEOF
36765 #define HAVE__POWF 1
36766 _ACEOF
36769 done
36778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36779 $as_echo_n "checking for sqrtf declaration... " >&6; }
36780 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36781 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36782 $as_echo_n "(cached) " >&6
36783 else
36786 ac_ext=cpp
36787 ac_cpp='$CXXCPP $CPPFLAGS'
36788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36793 /* end confdefs.h. */
36794 #include <math.h>
36795 #ifdef HAVE_IEEEFP_H
36796 #include <ieeefp.h>
36797 #endif
36800 main ()
36802 sqrtf(0);
36804 return 0;
36806 _ACEOF
36807 if ac_fn_cxx_try_compile "$LINENO"; then :
36808 glibcxx_cv_func_sqrtf_use=yes
36809 else
36810 glibcxx_cv_func_sqrtf_use=no
36812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36813 ac_ext=c
36814 ac_cpp='$CPP $CPPFLAGS'
36815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36824 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36826 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36827 for ac_func in sqrtf
36828 do :
36829 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36830 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36831 cat >>confdefs.h <<_ACEOF
36832 #define HAVE_SQRTF 1
36833 _ACEOF
36836 done
36838 else
36840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36841 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36842 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36843 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36844 $as_echo_n "(cached) " >&6
36845 else
36848 ac_ext=cpp
36849 ac_cpp='$CXXCPP $CPPFLAGS'
36850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36855 /* end confdefs.h. */
36856 #include <math.h>
36857 #ifdef HAVE_IEEEFP_H
36858 #include <ieeefp.h>
36859 #endif
36862 main ()
36864 _sqrtf(0);
36866 return 0;
36868 _ACEOF
36869 if ac_fn_cxx_try_compile "$LINENO"; then :
36870 glibcxx_cv_func__sqrtf_use=yes
36871 else
36872 glibcxx_cv_func__sqrtf_use=no
36874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36875 ac_ext=c
36876 ac_cpp='$CPP $CPPFLAGS'
36877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36886 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36888 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36889 for ac_func in _sqrtf
36890 do :
36891 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36892 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36893 cat >>confdefs.h <<_ACEOF
36894 #define HAVE__SQRTF 1
36895 _ACEOF
36898 done
36907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36908 $as_echo_n "checking for sincosf declaration... " >&6; }
36909 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36910 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36911 $as_echo_n "(cached) " >&6
36912 else
36915 ac_ext=cpp
36916 ac_cpp='$CXXCPP $CPPFLAGS'
36917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36922 /* end confdefs.h. */
36923 #include <math.h>
36925 main ()
36927 sincosf(0, 0, 0);
36929 return 0;
36931 _ACEOF
36932 if ac_fn_cxx_try_compile "$LINENO"; then :
36933 glibcxx_cv_func_sincosf_use=yes
36934 else
36935 glibcxx_cv_func_sincosf_use=no
36937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36938 ac_ext=c
36939 ac_cpp='$CPP $CPPFLAGS'
36940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36949 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36951 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36952 for ac_func in sincosf
36953 do :
36954 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36955 if test "x$ac_cv_func_sincosf" = x""yes; then :
36956 cat >>confdefs.h <<_ACEOF
36957 #define HAVE_SINCOSF 1
36958 _ACEOF
36961 done
36963 else
36965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36966 $as_echo_n "checking for _sincosf declaration... " >&6; }
36967 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36968 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36969 $as_echo_n "(cached) " >&6
36970 else
36973 ac_ext=cpp
36974 ac_cpp='$CXXCPP $CPPFLAGS'
36975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36980 /* end confdefs.h. */
36981 #include <math.h>
36983 main ()
36985 _sincosf(0, 0, 0);
36987 return 0;
36989 _ACEOF
36990 if ac_fn_cxx_try_compile "$LINENO"; then :
36991 glibcxx_cv_func__sincosf_use=yes
36992 else
36993 glibcxx_cv_func__sincosf_use=no
36995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36996 ac_ext=c
36997 ac_cpp='$CPP $CPPFLAGS'
36998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37007 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37009 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37010 for ac_func in _sincosf
37011 do :
37012 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37013 if test "x$ac_cv_func__sincosf" = x""yes; then :
37014 cat >>confdefs.h <<_ACEOF
37015 #define HAVE__SINCOSF 1
37016 _ACEOF
37019 done
37028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37029 $as_echo_n "checking for finitef declaration... " >&6; }
37030 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37031 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37032 $as_echo_n "(cached) " >&6
37033 else
37036 ac_ext=cpp
37037 ac_cpp='$CXXCPP $CPPFLAGS'
37038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37043 /* end confdefs.h. */
37044 #include <math.h>
37045 #ifdef HAVE_IEEEFP_H
37046 #include <ieeefp.h>
37047 #endif
37050 main ()
37052 finitef(0);
37054 return 0;
37056 _ACEOF
37057 if ac_fn_cxx_try_compile "$LINENO"; then :
37058 glibcxx_cv_func_finitef_use=yes
37059 else
37060 glibcxx_cv_func_finitef_use=no
37062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37063 ac_ext=c
37064 ac_cpp='$CPP $CPPFLAGS'
37065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37074 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37076 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37077 for ac_func in finitef
37078 do :
37079 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37080 if test "x$ac_cv_func_finitef" = x""yes; then :
37081 cat >>confdefs.h <<_ACEOF
37082 #define HAVE_FINITEF 1
37083 _ACEOF
37086 done
37088 else
37090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37091 $as_echo_n "checking for _finitef declaration... " >&6; }
37092 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37093 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37094 $as_echo_n "(cached) " >&6
37095 else
37098 ac_ext=cpp
37099 ac_cpp='$CXXCPP $CPPFLAGS'
37100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37105 /* end confdefs.h. */
37106 #include <math.h>
37107 #ifdef HAVE_IEEEFP_H
37108 #include <ieeefp.h>
37109 #endif
37112 main ()
37114 _finitef(0);
37116 return 0;
37118 _ACEOF
37119 if ac_fn_cxx_try_compile "$LINENO"; then :
37120 glibcxx_cv_func__finitef_use=yes
37121 else
37122 glibcxx_cv_func__finitef_use=no
37124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37125 ac_ext=c
37126 ac_cpp='$CPP $CPPFLAGS'
37127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37136 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37138 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37139 for ac_func in _finitef
37140 do :
37141 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37142 if test "x$ac_cv_func__finitef" = x""yes; then :
37143 cat >>confdefs.h <<_ACEOF
37144 #define HAVE__FINITEF 1
37145 _ACEOF
37148 done
37157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37158 $as_echo_n "checking for long double trig functions... " >&6; }
37159 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37160 $as_echo_n "(cached) " >&6
37161 else
37164 ac_ext=cpp
37165 ac_cpp='$CXXCPP $CPPFLAGS'
37166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37171 /* end confdefs.h. */
37172 #include <math.h>
37174 main ()
37176 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37178 return 0;
37180 _ACEOF
37181 if ac_fn_cxx_try_compile "$LINENO"; then :
37182 glibcxx_cv_func_long_double_trig_use=yes
37183 else
37184 glibcxx_cv_func_long_double_trig_use=no
37186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37187 ac_ext=c
37188 ac_cpp='$CPP $CPPFLAGS'
37189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37196 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37197 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37198 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37199 do :
37200 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37201 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37202 eval as_val=\$$as_ac_var
37203 if test "x$as_val" = x""yes; then :
37204 cat >>confdefs.h <<_ACEOF
37205 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37206 _ACEOF
37209 done
37211 else
37212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37213 $as_echo_n "checking for _long double trig functions... " >&6; }
37214 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37215 $as_echo_n "(cached) " >&6
37216 else
37219 ac_ext=cpp
37220 ac_cpp='$CXXCPP $CPPFLAGS'
37221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37226 /* end confdefs.h. */
37227 #include <math.h>
37229 main ()
37231 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37233 return 0;
37235 _ACEOF
37236 if ac_fn_cxx_try_compile "$LINENO"; then :
37237 glibcxx_cv_func__long_double_trig_use=yes
37238 else
37239 glibcxx_cv_func__long_double_trig_use=no
37241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37242 ac_ext=c
37243 ac_cpp='$CPP $CPPFLAGS'
37244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37251 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37252 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37253 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37254 do :
37255 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37256 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37257 eval as_val=\$$as_ac_var
37258 if test "x$as_val" = x""yes; then :
37259 cat >>confdefs.h <<_ACEOF
37260 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37261 _ACEOF
37264 done
37273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37274 $as_echo_n "checking for long double round functions... " >&6; }
37275 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37276 $as_echo_n "(cached) " >&6
37277 else
37280 ac_ext=cpp
37281 ac_cpp='$CXXCPP $CPPFLAGS'
37282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37287 /* end confdefs.h. */
37288 #include <math.h>
37290 main ()
37292 ceill (0); floorl (0);
37294 return 0;
37296 _ACEOF
37297 if ac_fn_cxx_try_compile "$LINENO"; then :
37298 glibcxx_cv_func_long_double_round_use=yes
37299 else
37300 glibcxx_cv_func_long_double_round_use=no
37302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37303 ac_ext=c
37304 ac_cpp='$CPP $CPPFLAGS'
37305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37312 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37313 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37314 for ac_func in ceill floorl
37315 do :
37316 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37317 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37318 eval as_val=\$$as_ac_var
37319 if test "x$as_val" = x""yes; then :
37320 cat >>confdefs.h <<_ACEOF
37321 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37322 _ACEOF
37325 done
37327 else
37328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37329 $as_echo_n "checking for _long double round functions... " >&6; }
37330 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37331 $as_echo_n "(cached) " >&6
37332 else
37335 ac_ext=cpp
37336 ac_cpp='$CXXCPP $CPPFLAGS'
37337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37342 /* end confdefs.h. */
37343 #include <math.h>
37345 main ()
37347 _ceill (0); _floorl (0);
37349 return 0;
37351 _ACEOF
37352 if ac_fn_cxx_try_compile "$LINENO"; then :
37353 glibcxx_cv_func__long_double_round_use=yes
37354 else
37355 glibcxx_cv_func__long_double_round_use=no
37357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37358 ac_ext=c
37359 ac_cpp='$CPP $CPPFLAGS'
37360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37367 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37368 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37369 for ac_func in _ceill _floorl
37370 do :
37371 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37372 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37373 eval as_val=\$$as_ac_var
37374 if test "x$as_val" = x""yes; then :
37375 cat >>confdefs.h <<_ACEOF
37376 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37377 _ACEOF
37380 done
37390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37391 $as_echo_n "checking for isnanl declaration... " >&6; }
37392 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37393 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37394 $as_echo_n "(cached) " >&6
37395 else
37398 ac_ext=cpp
37399 ac_cpp='$CXXCPP $CPPFLAGS'
37400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37405 /* end confdefs.h. */
37406 #include <math.h>
37407 #ifdef HAVE_IEEEFP_H
37408 #include <ieeefp.h>
37409 #endif
37412 main ()
37414 isnanl(0);
37416 return 0;
37418 _ACEOF
37419 if ac_fn_cxx_try_compile "$LINENO"; then :
37420 glibcxx_cv_func_isnanl_use=yes
37421 else
37422 glibcxx_cv_func_isnanl_use=no
37424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37425 ac_ext=c
37426 ac_cpp='$CPP $CPPFLAGS'
37427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37436 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37438 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37439 for ac_func in isnanl
37440 do :
37441 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37442 if test "x$ac_cv_func_isnanl" = x""yes; then :
37443 cat >>confdefs.h <<_ACEOF
37444 #define HAVE_ISNANL 1
37445 _ACEOF
37448 done
37450 else
37452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37453 $as_echo_n "checking for _isnanl declaration... " >&6; }
37454 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37455 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37456 $as_echo_n "(cached) " >&6
37457 else
37460 ac_ext=cpp
37461 ac_cpp='$CXXCPP $CPPFLAGS'
37462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37467 /* end confdefs.h. */
37468 #include <math.h>
37469 #ifdef HAVE_IEEEFP_H
37470 #include <ieeefp.h>
37471 #endif
37474 main ()
37476 _isnanl(0);
37478 return 0;
37480 _ACEOF
37481 if ac_fn_cxx_try_compile "$LINENO"; then :
37482 glibcxx_cv_func__isnanl_use=yes
37483 else
37484 glibcxx_cv_func__isnanl_use=no
37486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37487 ac_ext=c
37488 ac_cpp='$CPP $CPPFLAGS'
37489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37498 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37500 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37501 for ac_func in _isnanl
37502 do :
37503 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37504 if test "x$ac_cv_func__isnanl" = x""yes; then :
37505 cat >>confdefs.h <<_ACEOF
37506 #define HAVE__ISNANL 1
37507 _ACEOF
37510 done
37519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37520 $as_echo_n "checking for isinfl declaration... " >&6; }
37521 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37522 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37523 $as_echo_n "(cached) " >&6
37524 else
37527 ac_ext=cpp
37528 ac_cpp='$CXXCPP $CPPFLAGS'
37529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37534 /* end confdefs.h. */
37535 #include <math.h>
37536 #ifdef HAVE_IEEEFP_H
37537 #include <ieeefp.h>
37538 #endif
37541 main ()
37543 isinfl(0);
37545 return 0;
37547 _ACEOF
37548 if ac_fn_cxx_try_compile "$LINENO"; then :
37549 glibcxx_cv_func_isinfl_use=yes
37550 else
37551 glibcxx_cv_func_isinfl_use=no
37553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37554 ac_ext=c
37555 ac_cpp='$CPP $CPPFLAGS'
37556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37565 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37567 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37568 for ac_func in isinfl
37569 do :
37570 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37571 if test "x$ac_cv_func_isinfl" = x""yes; then :
37572 cat >>confdefs.h <<_ACEOF
37573 #define HAVE_ISINFL 1
37574 _ACEOF
37577 done
37579 else
37581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37582 $as_echo_n "checking for _isinfl declaration... " >&6; }
37583 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37584 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37585 $as_echo_n "(cached) " >&6
37586 else
37589 ac_ext=cpp
37590 ac_cpp='$CXXCPP $CPPFLAGS'
37591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37596 /* end confdefs.h. */
37597 #include <math.h>
37598 #ifdef HAVE_IEEEFP_H
37599 #include <ieeefp.h>
37600 #endif
37603 main ()
37605 _isinfl(0);
37607 return 0;
37609 _ACEOF
37610 if ac_fn_cxx_try_compile "$LINENO"; then :
37611 glibcxx_cv_func__isinfl_use=yes
37612 else
37613 glibcxx_cv_func__isinfl_use=no
37615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37616 ac_ext=c
37617 ac_cpp='$CPP $CPPFLAGS'
37618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37627 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37629 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37630 for ac_func in _isinfl
37631 do :
37632 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37633 if test "x$ac_cv_func__isinfl" = x""yes; then :
37634 cat >>confdefs.h <<_ACEOF
37635 #define HAVE__ISINFL 1
37636 _ACEOF
37639 done
37648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37649 $as_echo_n "checking for atan2l declaration... " >&6; }
37650 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37651 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37652 $as_echo_n "(cached) " >&6
37653 else
37656 ac_ext=cpp
37657 ac_cpp='$CXXCPP $CPPFLAGS'
37658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37663 /* end confdefs.h. */
37664 #include <math.h>
37666 main ()
37668 atan2l(0, 0);
37670 return 0;
37672 _ACEOF
37673 if ac_fn_cxx_try_compile "$LINENO"; then :
37674 glibcxx_cv_func_atan2l_use=yes
37675 else
37676 glibcxx_cv_func_atan2l_use=no
37678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37679 ac_ext=c
37680 ac_cpp='$CPP $CPPFLAGS'
37681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37690 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37692 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37693 for ac_func in atan2l
37694 do :
37695 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37696 if test "x$ac_cv_func_atan2l" = x""yes; then :
37697 cat >>confdefs.h <<_ACEOF
37698 #define HAVE_ATAN2L 1
37699 _ACEOF
37702 done
37704 else
37706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37707 $as_echo_n "checking for _atan2l declaration... " >&6; }
37708 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37709 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37710 $as_echo_n "(cached) " >&6
37711 else
37714 ac_ext=cpp
37715 ac_cpp='$CXXCPP $CPPFLAGS'
37716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37721 /* end confdefs.h. */
37722 #include <math.h>
37724 main ()
37726 _atan2l(0, 0);
37728 return 0;
37730 _ACEOF
37731 if ac_fn_cxx_try_compile "$LINENO"; then :
37732 glibcxx_cv_func__atan2l_use=yes
37733 else
37734 glibcxx_cv_func__atan2l_use=no
37736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37737 ac_ext=c
37738 ac_cpp='$CPP $CPPFLAGS'
37739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37748 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37750 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37751 for ac_func in _atan2l
37752 do :
37753 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37754 if test "x$ac_cv_func__atan2l" = x""yes; then :
37755 cat >>confdefs.h <<_ACEOF
37756 #define HAVE__ATAN2L 1
37757 _ACEOF
37760 done
37769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37770 $as_echo_n "checking for expl declaration... " >&6; }
37771 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37772 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37773 $as_echo_n "(cached) " >&6
37774 else
37777 ac_ext=cpp
37778 ac_cpp='$CXXCPP $CPPFLAGS'
37779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37784 /* end confdefs.h. */
37785 #include <math.h>
37786 #ifdef HAVE_IEEEFP_H
37787 #include <ieeefp.h>
37788 #endif
37791 main ()
37793 expl(0);
37795 return 0;
37797 _ACEOF
37798 if ac_fn_cxx_try_compile "$LINENO"; then :
37799 glibcxx_cv_func_expl_use=yes
37800 else
37801 glibcxx_cv_func_expl_use=no
37803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37804 ac_ext=c
37805 ac_cpp='$CPP $CPPFLAGS'
37806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37815 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37817 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37818 for ac_func in expl
37819 do :
37820 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37821 if test "x$ac_cv_func_expl" = x""yes; then :
37822 cat >>confdefs.h <<_ACEOF
37823 #define HAVE_EXPL 1
37824 _ACEOF
37827 done
37829 else
37831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37832 $as_echo_n "checking for _expl declaration... " >&6; }
37833 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37834 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37835 $as_echo_n "(cached) " >&6
37836 else
37839 ac_ext=cpp
37840 ac_cpp='$CXXCPP $CPPFLAGS'
37841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37846 /* end confdefs.h. */
37847 #include <math.h>
37848 #ifdef HAVE_IEEEFP_H
37849 #include <ieeefp.h>
37850 #endif
37853 main ()
37855 _expl(0);
37857 return 0;
37859 _ACEOF
37860 if ac_fn_cxx_try_compile "$LINENO"; then :
37861 glibcxx_cv_func__expl_use=yes
37862 else
37863 glibcxx_cv_func__expl_use=no
37865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37866 ac_ext=c
37867 ac_cpp='$CPP $CPPFLAGS'
37868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37877 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37879 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37880 for ac_func in _expl
37881 do :
37882 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37883 if test "x$ac_cv_func__expl" = x""yes; then :
37884 cat >>confdefs.h <<_ACEOF
37885 #define HAVE__EXPL 1
37886 _ACEOF
37889 done
37898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37899 $as_echo_n "checking for fabsl declaration... " >&6; }
37900 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37901 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37902 $as_echo_n "(cached) " >&6
37903 else
37906 ac_ext=cpp
37907 ac_cpp='$CXXCPP $CPPFLAGS'
37908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37913 /* end confdefs.h. */
37914 #include <math.h>
37915 #ifdef HAVE_IEEEFP_H
37916 #include <ieeefp.h>
37917 #endif
37920 main ()
37922 fabsl(0);
37924 return 0;
37926 _ACEOF
37927 if ac_fn_cxx_try_compile "$LINENO"; then :
37928 glibcxx_cv_func_fabsl_use=yes
37929 else
37930 glibcxx_cv_func_fabsl_use=no
37932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37933 ac_ext=c
37934 ac_cpp='$CPP $CPPFLAGS'
37935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37944 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37946 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37947 for ac_func in fabsl
37948 do :
37949 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37950 if test "x$ac_cv_func_fabsl" = x""yes; then :
37951 cat >>confdefs.h <<_ACEOF
37952 #define HAVE_FABSL 1
37953 _ACEOF
37956 done
37958 else
37960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37961 $as_echo_n "checking for _fabsl declaration... " >&6; }
37962 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37963 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37964 $as_echo_n "(cached) " >&6
37965 else
37968 ac_ext=cpp
37969 ac_cpp='$CXXCPP $CPPFLAGS'
37970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37975 /* end confdefs.h. */
37976 #include <math.h>
37977 #ifdef HAVE_IEEEFP_H
37978 #include <ieeefp.h>
37979 #endif
37982 main ()
37984 _fabsl(0);
37986 return 0;
37988 _ACEOF
37989 if ac_fn_cxx_try_compile "$LINENO"; then :
37990 glibcxx_cv_func__fabsl_use=yes
37991 else
37992 glibcxx_cv_func__fabsl_use=no
37994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37995 ac_ext=c
37996 ac_cpp='$CPP $CPPFLAGS'
37997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38006 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38008 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38009 for ac_func in _fabsl
38010 do :
38011 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38012 if test "x$ac_cv_func__fabsl" = x""yes; then :
38013 cat >>confdefs.h <<_ACEOF
38014 #define HAVE__FABSL 1
38015 _ACEOF
38018 done
38027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38028 $as_echo_n "checking for fmodl declaration... " >&6; }
38029 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38030 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38031 $as_echo_n "(cached) " >&6
38032 else
38035 ac_ext=cpp
38036 ac_cpp='$CXXCPP $CPPFLAGS'
38037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38042 /* end confdefs.h. */
38043 #include <math.h>
38045 main ()
38047 fmodl(0, 0);
38049 return 0;
38051 _ACEOF
38052 if ac_fn_cxx_try_compile "$LINENO"; then :
38053 glibcxx_cv_func_fmodl_use=yes
38054 else
38055 glibcxx_cv_func_fmodl_use=no
38057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38058 ac_ext=c
38059 ac_cpp='$CPP $CPPFLAGS'
38060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38069 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38071 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38072 for ac_func in fmodl
38073 do :
38074 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38075 if test "x$ac_cv_func_fmodl" = x""yes; then :
38076 cat >>confdefs.h <<_ACEOF
38077 #define HAVE_FMODL 1
38078 _ACEOF
38081 done
38083 else
38085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38086 $as_echo_n "checking for _fmodl declaration... " >&6; }
38087 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38088 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38089 $as_echo_n "(cached) " >&6
38090 else
38093 ac_ext=cpp
38094 ac_cpp='$CXXCPP $CPPFLAGS'
38095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38100 /* end confdefs.h. */
38101 #include <math.h>
38103 main ()
38105 _fmodl(0, 0);
38107 return 0;
38109 _ACEOF
38110 if ac_fn_cxx_try_compile "$LINENO"; then :
38111 glibcxx_cv_func__fmodl_use=yes
38112 else
38113 glibcxx_cv_func__fmodl_use=no
38115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38116 ac_ext=c
38117 ac_cpp='$CPP $CPPFLAGS'
38118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38127 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38129 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38130 for ac_func in _fmodl
38131 do :
38132 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38133 if test "x$ac_cv_func__fmodl" = x""yes; then :
38134 cat >>confdefs.h <<_ACEOF
38135 #define HAVE__FMODL 1
38136 _ACEOF
38139 done
38148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38149 $as_echo_n "checking for frexpl declaration... " >&6; }
38150 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38151 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38152 $as_echo_n "(cached) " >&6
38153 else
38156 ac_ext=cpp
38157 ac_cpp='$CXXCPP $CPPFLAGS'
38158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38163 /* end confdefs.h. */
38164 #include <math.h>
38166 main ()
38168 frexpl(0, 0);
38170 return 0;
38172 _ACEOF
38173 if ac_fn_cxx_try_compile "$LINENO"; then :
38174 glibcxx_cv_func_frexpl_use=yes
38175 else
38176 glibcxx_cv_func_frexpl_use=no
38178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38179 ac_ext=c
38180 ac_cpp='$CPP $CPPFLAGS'
38181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38190 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38192 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38193 for ac_func in frexpl
38194 do :
38195 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38196 if test "x$ac_cv_func_frexpl" = x""yes; then :
38197 cat >>confdefs.h <<_ACEOF
38198 #define HAVE_FREXPL 1
38199 _ACEOF
38202 done
38204 else
38206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38207 $as_echo_n "checking for _frexpl declaration... " >&6; }
38208 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38209 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38210 $as_echo_n "(cached) " >&6
38211 else
38214 ac_ext=cpp
38215 ac_cpp='$CXXCPP $CPPFLAGS'
38216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38221 /* end confdefs.h. */
38222 #include <math.h>
38224 main ()
38226 _frexpl(0, 0);
38228 return 0;
38230 _ACEOF
38231 if ac_fn_cxx_try_compile "$LINENO"; then :
38232 glibcxx_cv_func__frexpl_use=yes
38233 else
38234 glibcxx_cv_func__frexpl_use=no
38236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38237 ac_ext=c
38238 ac_cpp='$CPP $CPPFLAGS'
38239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38248 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38250 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38251 for ac_func in _frexpl
38252 do :
38253 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38254 if test "x$ac_cv_func__frexpl" = x""yes; then :
38255 cat >>confdefs.h <<_ACEOF
38256 #define HAVE__FREXPL 1
38257 _ACEOF
38260 done
38269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38270 $as_echo_n "checking for hypotl declaration... " >&6; }
38271 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38272 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38273 $as_echo_n "(cached) " >&6
38274 else
38277 ac_ext=cpp
38278 ac_cpp='$CXXCPP $CPPFLAGS'
38279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38284 /* end confdefs.h. */
38285 #include <math.h>
38287 main ()
38289 hypotl(0, 0);
38291 return 0;
38293 _ACEOF
38294 if ac_fn_cxx_try_compile "$LINENO"; then :
38295 glibcxx_cv_func_hypotl_use=yes
38296 else
38297 glibcxx_cv_func_hypotl_use=no
38299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38300 ac_ext=c
38301 ac_cpp='$CPP $CPPFLAGS'
38302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38311 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38313 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38314 for ac_func in hypotl
38315 do :
38316 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38317 if test "x$ac_cv_func_hypotl" = x""yes; then :
38318 cat >>confdefs.h <<_ACEOF
38319 #define HAVE_HYPOTL 1
38320 _ACEOF
38323 done
38325 else
38327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38328 $as_echo_n "checking for _hypotl declaration... " >&6; }
38329 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38330 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38331 $as_echo_n "(cached) " >&6
38332 else
38335 ac_ext=cpp
38336 ac_cpp='$CXXCPP $CPPFLAGS'
38337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38342 /* end confdefs.h. */
38343 #include <math.h>
38345 main ()
38347 _hypotl(0, 0);
38349 return 0;
38351 _ACEOF
38352 if ac_fn_cxx_try_compile "$LINENO"; then :
38353 glibcxx_cv_func__hypotl_use=yes
38354 else
38355 glibcxx_cv_func__hypotl_use=no
38357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38358 ac_ext=c
38359 ac_cpp='$CPP $CPPFLAGS'
38360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38369 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38371 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38372 for ac_func in _hypotl
38373 do :
38374 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38375 if test "x$ac_cv_func__hypotl" = x""yes; then :
38376 cat >>confdefs.h <<_ACEOF
38377 #define HAVE__HYPOTL 1
38378 _ACEOF
38381 done
38390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38391 $as_echo_n "checking for ldexpl declaration... " >&6; }
38392 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38393 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38394 $as_echo_n "(cached) " >&6
38395 else
38398 ac_ext=cpp
38399 ac_cpp='$CXXCPP $CPPFLAGS'
38400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38405 /* end confdefs.h. */
38406 #include <math.h>
38408 main ()
38410 ldexpl(0, 0);
38412 return 0;
38414 _ACEOF
38415 if ac_fn_cxx_try_compile "$LINENO"; then :
38416 glibcxx_cv_func_ldexpl_use=yes
38417 else
38418 glibcxx_cv_func_ldexpl_use=no
38420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38421 ac_ext=c
38422 ac_cpp='$CPP $CPPFLAGS'
38423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38432 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38434 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38435 for ac_func in ldexpl
38436 do :
38437 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38438 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38439 cat >>confdefs.h <<_ACEOF
38440 #define HAVE_LDEXPL 1
38441 _ACEOF
38444 done
38446 else
38448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38449 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38450 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38451 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38452 $as_echo_n "(cached) " >&6
38453 else
38456 ac_ext=cpp
38457 ac_cpp='$CXXCPP $CPPFLAGS'
38458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38463 /* end confdefs.h. */
38464 #include <math.h>
38466 main ()
38468 _ldexpl(0, 0);
38470 return 0;
38472 _ACEOF
38473 if ac_fn_cxx_try_compile "$LINENO"; then :
38474 glibcxx_cv_func__ldexpl_use=yes
38475 else
38476 glibcxx_cv_func__ldexpl_use=no
38478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38479 ac_ext=c
38480 ac_cpp='$CPP $CPPFLAGS'
38481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38490 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38492 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38493 for ac_func in _ldexpl
38494 do :
38495 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38496 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38497 cat >>confdefs.h <<_ACEOF
38498 #define HAVE__LDEXPL 1
38499 _ACEOF
38502 done
38511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38512 $as_echo_n "checking for logl declaration... " >&6; }
38513 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38514 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38515 $as_echo_n "(cached) " >&6
38516 else
38519 ac_ext=cpp
38520 ac_cpp='$CXXCPP $CPPFLAGS'
38521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38526 /* end confdefs.h. */
38527 #include <math.h>
38528 #ifdef HAVE_IEEEFP_H
38529 #include <ieeefp.h>
38530 #endif
38533 main ()
38535 logl(0);
38537 return 0;
38539 _ACEOF
38540 if ac_fn_cxx_try_compile "$LINENO"; then :
38541 glibcxx_cv_func_logl_use=yes
38542 else
38543 glibcxx_cv_func_logl_use=no
38545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38546 ac_ext=c
38547 ac_cpp='$CPP $CPPFLAGS'
38548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38557 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38559 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38560 for ac_func in logl
38561 do :
38562 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38563 if test "x$ac_cv_func_logl" = x""yes; then :
38564 cat >>confdefs.h <<_ACEOF
38565 #define HAVE_LOGL 1
38566 _ACEOF
38569 done
38571 else
38573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38574 $as_echo_n "checking for _logl declaration... " >&6; }
38575 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38576 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38577 $as_echo_n "(cached) " >&6
38578 else
38581 ac_ext=cpp
38582 ac_cpp='$CXXCPP $CPPFLAGS'
38583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38588 /* end confdefs.h. */
38589 #include <math.h>
38590 #ifdef HAVE_IEEEFP_H
38591 #include <ieeefp.h>
38592 #endif
38595 main ()
38597 _logl(0);
38599 return 0;
38601 _ACEOF
38602 if ac_fn_cxx_try_compile "$LINENO"; then :
38603 glibcxx_cv_func__logl_use=yes
38604 else
38605 glibcxx_cv_func__logl_use=no
38607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38608 ac_ext=c
38609 ac_cpp='$CPP $CPPFLAGS'
38610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38619 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38621 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38622 for ac_func in _logl
38623 do :
38624 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38625 if test "x$ac_cv_func__logl" = x""yes; then :
38626 cat >>confdefs.h <<_ACEOF
38627 #define HAVE__LOGL 1
38628 _ACEOF
38631 done
38640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38641 $as_echo_n "checking for log10l declaration... " >&6; }
38642 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38643 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38644 $as_echo_n "(cached) " >&6
38645 else
38648 ac_ext=cpp
38649 ac_cpp='$CXXCPP $CPPFLAGS'
38650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38655 /* end confdefs.h. */
38656 #include <math.h>
38657 #ifdef HAVE_IEEEFP_H
38658 #include <ieeefp.h>
38659 #endif
38662 main ()
38664 log10l(0);
38666 return 0;
38668 _ACEOF
38669 if ac_fn_cxx_try_compile "$LINENO"; then :
38670 glibcxx_cv_func_log10l_use=yes
38671 else
38672 glibcxx_cv_func_log10l_use=no
38674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38675 ac_ext=c
38676 ac_cpp='$CPP $CPPFLAGS'
38677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38686 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38688 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38689 for ac_func in log10l
38690 do :
38691 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38692 if test "x$ac_cv_func_log10l" = x""yes; then :
38693 cat >>confdefs.h <<_ACEOF
38694 #define HAVE_LOG10L 1
38695 _ACEOF
38698 done
38700 else
38702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38703 $as_echo_n "checking for _log10l declaration... " >&6; }
38704 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38705 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38706 $as_echo_n "(cached) " >&6
38707 else
38710 ac_ext=cpp
38711 ac_cpp='$CXXCPP $CPPFLAGS'
38712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38717 /* end confdefs.h. */
38718 #include <math.h>
38719 #ifdef HAVE_IEEEFP_H
38720 #include <ieeefp.h>
38721 #endif
38724 main ()
38726 _log10l(0);
38728 return 0;
38730 _ACEOF
38731 if ac_fn_cxx_try_compile "$LINENO"; then :
38732 glibcxx_cv_func__log10l_use=yes
38733 else
38734 glibcxx_cv_func__log10l_use=no
38736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38737 ac_ext=c
38738 ac_cpp='$CPP $CPPFLAGS'
38739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38748 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38750 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38751 for ac_func in _log10l
38752 do :
38753 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38754 if test "x$ac_cv_func__log10l" = x""yes; then :
38755 cat >>confdefs.h <<_ACEOF
38756 #define HAVE__LOG10L 1
38757 _ACEOF
38760 done
38769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38770 $as_echo_n "checking for modfl declaration... " >&6; }
38771 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38772 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38773 $as_echo_n "(cached) " >&6
38774 else
38777 ac_ext=cpp
38778 ac_cpp='$CXXCPP $CPPFLAGS'
38779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38784 /* end confdefs.h. */
38785 #include <math.h>
38787 main ()
38789 modfl(0, 0);
38791 return 0;
38793 _ACEOF
38794 if ac_fn_cxx_try_compile "$LINENO"; then :
38795 glibcxx_cv_func_modfl_use=yes
38796 else
38797 glibcxx_cv_func_modfl_use=no
38799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38800 ac_ext=c
38801 ac_cpp='$CPP $CPPFLAGS'
38802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38811 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38813 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38814 for ac_func in modfl
38815 do :
38816 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38817 if test "x$ac_cv_func_modfl" = x""yes; then :
38818 cat >>confdefs.h <<_ACEOF
38819 #define HAVE_MODFL 1
38820 _ACEOF
38823 done
38825 else
38827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38828 $as_echo_n "checking for _modfl declaration... " >&6; }
38829 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38830 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38831 $as_echo_n "(cached) " >&6
38832 else
38835 ac_ext=cpp
38836 ac_cpp='$CXXCPP $CPPFLAGS'
38837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38842 /* end confdefs.h. */
38843 #include <math.h>
38845 main ()
38847 _modfl(0, 0);
38849 return 0;
38851 _ACEOF
38852 if ac_fn_cxx_try_compile "$LINENO"; then :
38853 glibcxx_cv_func__modfl_use=yes
38854 else
38855 glibcxx_cv_func__modfl_use=no
38857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38858 ac_ext=c
38859 ac_cpp='$CPP $CPPFLAGS'
38860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38869 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38871 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38872 for ac_func in _modfl
38873 do :
38874 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38875 if test "x$ac_cv_func__modfl" = x""yes; then :
38876 cat >>confdefs.h <<_ACEOF
38877 #define HAVE__MODFL 1
38878 _ACEOF
38881 done
38890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38891 $as_echo_n "checking for powl declaration... " >&6; }
38892 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38893 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38894 $as_echo_n "(cached) " >&6
38895 else
38898 ac_ext=cpp
38899 ac_cpp='$CXXCPP $CPPFLAGS'
38900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38905 /* end confdefs.h. */
38906 #include <math.h>
38908 main ()
38910 powl(0, 0);
38912 return 0;
38914 _ACEOF
38915 if ac_fn_cxx_try_compile "$LINENO"; then :
38916 glibcxx_cv_func_powl_use=yes
38917 else
38918 glibcxx_cv_func_powl_use=no
38920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38921 ac_ext=c
38922 ac_cpp='$CPP $CPPFLAGS'
38923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38932 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38934 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38935 for ac_func in powl
38936 do :
38937 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38938 if test "x$ac_cv_func_powl" = x""yes; then :
38939 cat >>confdefs.h <<_ACEOF
38940 #define HAVE_POWL 1
38941 _ACEOF
38944 done
38946 else
38948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38949 $as_echo_n "checking for _powl declaration... " >&6; }
38950 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38951 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38952 $as_echo_n "(cached) " >&6
38953 else
38956 ac_ext=cpp
38957 ac_cpp='$CXXCPP $CPPFLAGS'
38958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38963 /* end confdefs.h. */
38964 #include <math.h>
38966 main ()
38968 _powl(0, 0);
38970 return 0;
38972 _ACEOF
38973 if ac_fn_cxx_try_compile "$LINENO"; then :
38974 glibcxx_cv_func__powl_use=yes
38975 else
38976 glibcxx_cv_func__powl_use=no
38978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38979 ac_ext=c
38980 ac_cpp='$CPP $CPPFLAGS'
38981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38990 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38992 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38993 for ac_func in _powl
38994 do :
38995 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38996 if test "x$ac_cv_func__powl" = x""yes; then :
38997 cat >>confdefs.h <<_ACEOF
38998 #define HAVE__POWL 1
38999 _ACEOF
39002 done
39011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39012 $as_echo_n "checking for sqrtl declaration... " >&6; }
39013 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39014 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39015 $as_echo_n "(cached) " >&6
39016 else
39019 ac_ext=cpp
39020 ac_cpp='$CXXCPP $CPPFLAGS'
39021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39026 /* end confdefs.h. */
39027 #include <math.h>
39028 #ifdef HAVE_IEEEFP_H
39029 #include <ieeefp.h>
39030 #endif
39033 main ()
39035 sqrtl(0);
39037 return 0;
39039 _ACEOF
39040 if ac_fn_cxx_try_compile "$LINENO"; then :
39041 glibcxx_cv_func_sqrtl_use=yes
39042 else
39043 glibcxx_cv_func_sqrtl_use=no
39045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39046 ac_ext=c
39047 ac_cpp='$CPP $CPPFLAGS'
39048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39057 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39059 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39060 for ac_func in sqrtl
39061 do :
39062 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39063 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39064 cat >>confdefs.h <<_ACEOF
39065 #define HAVE_SQRTL 1
39066 _ACEOF
39069 done
39071 else
39073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39074 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39075 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39076 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39077 $as_echo_n "(cached) " >&6
39078 else
39081 ac_ext=cpp
39082 ac_cpp='$CXXCPP $CPPFLAGS'
39083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39088 /* end confdefs.h. */
39089 #include <math.h>
39090 #ifdef HAVE_IEEEFP_H
39091 #include <ieeefp.h>
39092 #endif
39095 main ()
39097 _sqrtl(0);
39099 return 0;
39101 _ACEOF
39102 if ac_fn_cxx_try_compile "$LINENO"; then :
39103 glibcxx_cv_func__sqrtl_use=yes
39104 else
39105 glibcxx_cv_func__sqrtl_use=no
39107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39108 ac_ext=c
39109 ac_cpp='$CPP $CPPFLAGS'
39110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39119 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39121 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39122 for ac_func in _sqrtl
39123 do :
39124 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39125 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39126 cat >>confdefs.h <<_ACEOF
39127 #define HAVE__SQRTL 1
39128 _ACEOF
39131 done
39140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39141 $as_echo_n "checking for sincosl declaration... " >&6; }
39142 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39143 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39144 $as_echo_n "(cached) " >&6
39145 else
39148 ac_ext=cpp
39149 ac_cpp='$CXXCPP $CPPFLAGS'
39150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39155 /* end confdefs.h. */
39156 #include <math.h>
39158 main ()
39160 sincosl(0, 0, 0);
39162 return 0;
39164 _ACEOF
39165 if ac_fn_cxx_try_compile "$LINENO"; then :
39166 glibcxx_cv_func_sincosl_use=yes
39167 else
39168 glibcxx_cv_func_sincosl_use=no
39170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39171 ac_ext=c
39172 ac_cpp='$CPP $CPPFLAGS'
39173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39182 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39184 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39185 for ac_func in sincosl
39186 do :
39187 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39188 if test "x$ac_cv_func_sincosl" = x""yes; then :
39189 cat >>confdefs.h <<_ACEOF
39190 #define HAVE_SINCOSL 1
39191 _ACEOF
39194 done
39196 else
39198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39199 $as_echo_n "checking for _sincosl declaration... " >&6; }
39200 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39201 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39202 $as_echo_n "(cached) " >&6
39203 else
39206 ac_ext=cpp
39207 ac_cpp='$CXXCPP $CPPFLAGS'
39208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39213 /* end confdefs.h. */
39214 #include <math.h>
39216 main ()
39218 _sincosl(0, 0, 0);
39220 return 0;
39222 _ACEOF
39223 if ac_fn_cxx_try_compile "$LINENO"; then :
39224 glibcxx_cv_func__sincosl_use=yes
39225 else
39226 glibcxx_cv_func__sincosl_use=no
39228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39229 ac_ext=c
39230 ac_cpp='$CPP $CPPFLAGS'
39231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39240 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39242 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39243 for ac_func in _sincosl
39244 do :
39245 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39246 if test "x$ac_cv_func__sincosl" = x""yes; then :
39247 cat >>confdefs.h <<_ACEOF
39248 #define HAVE__SINCOSL 1
39249 _ACEOF
39252 done
39261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39262 $as_echo_n "checking for finitel declaration... " >&6; }
39263 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39264 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39265 $as_echo_n "(cached) " >&6
39266 else
39269 ac_ext=cpp
39270 ac_cpp='$CXXCPP $CPPFLAGS'
39271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39276 /* end confdefs.h. */
39277 #include <math.h>
39278 #ifdef HAVE_IEEEFP_H
39279 #include <ieeefp.h>
39280 #endif
39283 main ()
39285 finitel(0);
39287 return 0;
39289 _ACEOF
39290 if ac_fn_cxx_try_compile "$LINENO"; then :
39291 glibcxx_cv_func_finitel_use=yes
39292 else
39293 glibcxx_cv_func_finitel_use=no
39295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39296 ac_ext=c
39297 ac_cpp='$CPP $CPPFLAGS'
39298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39307 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39309 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39310 for ac_func in finitel
39311 do :
39312 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39313 if test "x$ac_cv_func_finitel" = x""yes; then :
39314 cat >>confdefs.h <<_ACEOF
39315 #define HAVE_FINITEL 1
39316 _ACEOF
39319 done
39321 else
39323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39324 $as_echo_n "checking for _finitel declaration... " >&6; }
39325 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39326 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39327 $as_echo_n "(cached) " >&6
39328 else
39331 ac_ext=cpp
39332 ac_cpp='$CXXCPP $CPPFLAGS'
39333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39338 /* end confdefs.h. */
39339 #include <math.h>
39340 #ifdef HAVE_IEEEFP_H
39341 #include <ieeefp.h>
39342 #endif
39345 main ()
39347 _finitel(0);
39349 return 0;
39351 _ACEOF
39352 if ac_fn_cxx_try_compile "$LINENO"; then :
39353 glibcxx_cv_func__finitel_use=yes
39354 else
39355 glibcxx_cv_func__finitel_use=no
39357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39358 ac_ext=c
39359 ac_cpp='$CPP $CPPFLAGS'
39360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39369 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39371 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39372 for ac_func in _finitel
39373 do :
39374 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39375 if test "x$ac_cv_func__finitel" = x""yes; then :
39376 cat >>confdefs.h <<_ACEOF
39377 #define HAVE__FINITEL 1
39378 _ACEOF
39381 done
39389 LIBS="$ac_save_LIBS"
39390 CXXFLAGS="$ac_save_CXXFLAGS"
39393 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39394 ac_save_CXXFLAGS="$CXXFLAGS"
39395 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39399 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39400 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39401 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39402 $as_echo_n "(cached) " >&6
39403 else
39406 ac_ext=cpp
39407 ac_cpp='$CXXCPP $CPPFLAGS'
39408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39413 /* end confdefs.h. */
39414 #include <stdlib.h>
39416 main ()
39418 at_quick_exit(0);
39420 return 0;
39422 _ACEOF
39423 if ac_fn_cxx_try_compile "$LINENO"; then :
39424 glibcxx_cv_func_at_quick_exit_use=yes
39425 else
39426 glibcxx_cv_func_at_quick_exit_use=no
39428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39429 ac_ext=c
39430 ac_cpp='$CPP $CPPFLAGS'
39431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39440 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39441 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39442 for ac_func in at_quick_exit
39443 do :
39444 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39445 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39446 cat >>confdefs.h <<_ACEOF
39447 #define HAVE_AT_QUICK_EXIT 1
39448 _ACEOF
39451 done
39456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39457 $as_echo_n "checking for quick_exit declaration... " >&6; }
39458 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39459 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39460 $as_echo_n "(cached) " >&6
39461 else
39464 ac_ext=cpp
39465 ac_cpp='$CXXCPP $CPPFLAGS'
39466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39471 /* end confdefs.h. */
39472 #include <stdlib.h>
39474 main ()
39476 quick_exit(0);
39478 return 0;
39480 _ACEOF
39481 if ac_fn_cxx_try_compile "$LINENO"; then :
39482 glibcxx_cv_func_quick_exit_use=yes
39483 else
39484 glibcxx_cv_func_quick_exit_use=no
39486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39487 ac_ext=c
39488 ac_cpp='$CPP $CPPFLAGS'
39489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39498 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39499 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39500 for ac_func in quick_exit
39501 do :
39502 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39503 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39504 cat >>confdefs.h <<_ACEOF
39505 #define HAVE_QUICK_EXIT 1
39506 _ACEOF
39509 done
39514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39515 $as_echo_n "checking for strtold declaration... " >&6; }
39516 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39517 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39518 $as_echo_n "(cached) " >&6
39519 else
39522 ac_ext=cpp
39523 ac_cpp='$CXXCPP $CPPFLAGS'
39524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39529 /* end confdefs.h. */
39530 #include <stdlib.h>
39532 main ()
39534 strtold(0, 0);
39536 return 0;
39538 _ACEOF
39539 if ac_fn_cxx_try_compile "$LINENO"; then :
39540 glibcxx_cv_func_strtold_use=yes
39541 else
39542 glibcxx_cv_func_strtold_use=no
39544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39545 ac_ext=c
39546 ac_cpp='$CPP $CPPFLAGS'
39547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39556 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39557 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39558 for ac_func in strtold
39559 do :
39560 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39561 if test "x$ac_cv_func_strtold" = x""yes; then :
39562 cat >>confdefs.h <<_ACEOF
39563 #define HAVE_STRTOLD 1
39564 _ACEOF
39567 done
39574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39575 $as_echo_n "checking for strtof declaration... " >&6; }
39576 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39577 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39578 $as_echo_n "(cached) " >&6
39579 else
39582 ac_ext=cpp
39583 ac_cpp='$CXXCPP $CPPFLAGS'
39584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39589 /* end confdefs.h. */
39590 #include <stdlib.h>
39592 main ()
39594 strtof(0, 0);
39596 return 0;
39598 _ACEOF
39599 if ac_fn_cxx_try_compile "$LINENO"; then :
39600 glibcxx_cv_func_strtof_use=yes
39601 else
39602 glibcxx_cv_func_strtof_use=no
39604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39605 ac_ext=c
39606 ac_cpp='$CPP $CPPFLAGS'
39607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39616 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39617 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39618 for ac_func in strtof
39619 do :
39620 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39621 if test "x$ac_cv_func_strtof" = x""yes; then :
39622 cat >>confdefs.h <<_ACEOF
39623 #define HAVE_STRTOF 1
39624 _ACEOF
39627 done
39634 CXXFLAGS="$ac_save_CXXFLAGS"
39636 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39638 # We don't yet support AIX's TLS ABI.
39639 #GCC_CHECK_TLS
39645 am_save_CPPFLAGS="$CPPFLAGS"
39647 for element in $INCICONV; do
39648 haveit=
39649 for x in $CPPFLAGS; do
39651 acl_save_prefix="$prefix"
39652 prefix="$acl_final_prefix"
39653 acl_save_exec_prefix="$exec_prefix"
39654 exec_prefix="$acl_final_exec_prefix"
39655 eval x=\"$x\"
39656 exec_prefix="$acl_save_exec_prefix"
39657 prefix="$acl_save_prefix"
39659 if test "X$x" = "X$element"; then
39660 haveit=yes
39661 break
39663 done
39664 if test -z "$haveit"; then
39665 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39667 done
39670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39671 $as_echo_n "checking for iconv... " >&6; }
39672 if test "${am_cv_func_iconv+set}" = set; then :
39673 $as_echo_n "(cached) " >&6
39674 else
39676 am_cv_func_iconv="no, consider installing GNU libiconv"
39677 am_cv_lib_iconv=no
39678 if test x$gcc_no_link = xyes; then
39679 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39682 /* end confdefs.h. */
39683 #include <stdlib.h>
39684 #include <iconv.h>
39686 main ()
39688 iconv_t cd = iconv_open("","");
39689 iconv(cd,NULL,NULL,NULL,NULL);
39690 iconv_close(cd);
39692 return 0;
39694 _ACEOF
39695 if ac_fn_c_try_link "$LINENO"; then :
39696 am_cv_func_iconv=yes
39698 rm -f core conftest.err conftest.$ac_objext \
39699 conftest$ac_exeext conftest.$ac_ext
39700 if test "$am_cv_func_iconv" != yes; then
39701 am_save_LIBS="$LIBS"
39702 LIBS="$LIBS $LIBICONV"
39703 if test x$gcc_no_link = xyes; then
39704 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39707 /* end confdefs.h. */
39708 #include <stdlib.h>
39709 #include <iconv.h>
39711 main ()
39713 iconv_t cd = iconv_open("","");
39714 iconv(cd,NULL,NULL,NULL,NULL);
39715 iconv_close(cd);
39717 return 0;
39719 _ACEOF
39720 if ac_fn_c_try_link "$LINENO"; then :
39721 am_cv_lib_iconv=yes
39722 am_cv_func_iconv=yes
39724 rm -f core conftest.err conftest.$ac_objext \
39725 conftest$ac_exeext conftest.$ac_ext
39726 LIBS="$am_save_LIBS"
39730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39731 $as_echo "$am_cv_func_iconv" >&6; }
39732 if test "$am_cv_func_iconv" = yes; then
39734 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39737 if test "$am_cv_lib_iconv" = yes; then
39738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39739 $as_echo_n "checking how to link with libiconv... " >&6; }
39740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39741 $as_echo "$LIBICONV" >&6; }
39742 else
39743 CPPFLAGS="$am_save_CPPFLAGS"
39744 LIBICONV=
39745 LTLIBICONV=
39750 if test "$am_cv_func_iconv" = yes; then
39751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39752 $as_echo_n "checking for iconv declaration... " >&6; }
39753 if test "${am_cv_proto_iconv+set}" = set; then :
39754 $as_echo_n "(cached) " >&6
39755 else
39757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39758 /* end confdefs.h. */
39760 #include <stdlib.h>
39761 #include <iconv.h>
39762 extern
39763 #ifdef __cplusplus
39765 #endif
39766 #if defined(__STDC__) || defined(__cplusplus)
39767 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39768 #else
39769 size_t iconv();
39770 #endif
39773 main ()
39777 return 0;
39779 _ACEOF
39780 if ac_fn_c_try_compile "$LINENO"; then :
39781 am_cv_proto_iconv_arg1=""
39782 else
39783 am_cv_proto_iconv_arg1="const"
39785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39786 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);"
39789 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39791 }$am_cv_proto_iconv" >&5
39792 $as_echo "${ac_t:-
39793 }$am_cv_proto_iconv" >&6; }
39795 cat >>confdefs.h <<_ACEOF
39796 #define ICONV_CONST $am_cv_proto_iconv_arg1
39797 _ACEOF
39803 *-darwin*)
39804 # Darwin versions vary, but the linker should work in a cross environment,
39805 # so we just check for all the features here.
39806 # Check for available headers.
39808 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39810 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39811 ac_save_CXXFLAGS="$CXXFLAGS"
39812 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39815 $as_echo_n "checking for sin in -lm... " >&6; }
39816 if test "${ac_cv_lib_m_sin+set}" = set; then :
39817 $as_echo_n "(cached) " >&6
39818 else
39819 ac_check_lib_save_LIBS=$LIBS
39820 LIBS="-lm $LIBS"
39821 if test x$gcc_no_link = xyes; then
39822 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39825 /* end confdefs.h. */
39827 /* Override any GCC internal prototype to avoid an error.
39828 Use char because int might match the return type of a GCC
39829 builtin and then its argument prototype would still apply. */
39830 #ifdef __cplusplus
39831 extern "C"
39832 #endif
39833 char sin ();
39835 main ()
39837 return sin ();
39839 return 0;
39841 _ACEOF
39842 if ac_fn_c_try_link "$LINENO"; then :
39843 ac_cv_lib_m_sin=yes
39844 else
39845 ac_cv_lib_m_sin=no
39847 rm -f core conftest.err conftest.$ac_objext \
39848 conftest$ac_exeext conftest.$ac_ext
39849 LIBS=$ac_check_lib_save_LIBS
39851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39852 $as_echo "$ac_cv_lib_m_sin" >&6; }
39853 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39854 libm="-lm"
39857 ac_save_LIBS="$LIBS"
39858 LIBS="$LIBS $libm"
39862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39863 $as_echo_n "checking for isinf declaration... " >&6; }
39864 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39865 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39866 $as_echo_n "(cached) " >&6
39867 else
39870 ac_ext=cpp
39871 ac_cpp='$CXXCPP $CPPFLAGS'
39872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39877 /* end confdefs.h. */
39878 #include <math.h>
39879 #ifdef HAVE_IEEEFP_H
39880 #include <ieeefp.h>
39881 #endif
39884 main ()
39886 isinf(0);
39888 return 0;
39890 _ACEOF
39891 if ac_fn_cxx_try_compile "$LINENO"; then :
39892 glibcxx_cv_func_isinf_use=yes
39893 else
39894 glibcxx_cv_func_isinf_use=no
39896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39897 ac_ext=c
39898 ac_cpp='$CPP $CPPFLAGS'
39899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39908 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39910 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39911 for ac_func in isinf
39912 do :
39913 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39914 if test "x$ac_cv_func_isinf" = x""yes; then :
39915 cat >>confdefs.h <<_ACEOF
39916 #define HAVE_ISINF 1
39917 _ACEOF
39920 done
39922 else
39924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39925 $as_echo_n "checking for _isinf declaration... " >&6; }
39926 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39927 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39928 $as_echo_n "(cached) " >&6
39929 else
39932 ac_ext=cpp
39933 ac_cpp='$CXXCPP $CPPFLAGS'
39934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39939 /* end confdefs.h. */
39940 #include <math.h>
39941 #ifdef HAVE_IEEEFP_H
39942 #include <ieeefp.h>
39943 #endif
39946 main ()
39948 _isinf(0);
39950 return 0;
39952 _ACEOF
39953 if ac_fn_cxx_try_compile "$LINENO"; then :
39954 glibcxx_cv_func__isinf_use=yes
39955 else
39956 glibcxx_cv_func__isinf_use=no
39958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39959 ac_ext=c
39960 ac_cpp='$CPP $CPPFLAGS'
39961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39970 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39972 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39973 for ac_func in _isinf
39974 do :
39975 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39976 if test "x$ac_cv_func__isinf" = x""yes; then :
39977 cat >>confdefs.h <<_ACEOF
39978 #define HAVE__ISINF 1
39979 _ACEOF
39982 done
39991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39992 $as_echo_n "checking for isnan declaration... " >&6; }
39993 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39994 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39995 $as_echo_n "(cached) " >&6
39996 else
39999 ac_ext=cpp
40000 ac_cpp='$CXXCPP $CPPFLAGS'
40001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40006 /* end confdefs.h. */
40007 #include <math.h>
40008 #ifdef HAVE_IEEEFP_H
40009 #include <ieeefp.h>
40010 #endif
40013 main ()
40015 isnan(0);
40017 return 0;
40019 _ACEOF
40020 if ac_fn_cxx_try_compile "$LINENO"; then :
40021 glibcxx_cv_func_isnan_use=yes
40022 else
40023 glibcxx_cv_func_isnan_use=no
40025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40026 ac_ext=c
40027 ac_cpp='$CPP $CPPFLAGS'
40028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40037 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40039 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40040 for ac_func in isnan
40041 do :
40042 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40043 if test "x$ac_cv_func_isnan" = x""yes; then :
40044 cat >>confdefs.h <<_ACEOF
40045 #define HAVE_ISNAN 1
40046 _ACEOF
40049 done
40051 else
40053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40054 $as_echo_n "checking for _isnan declaration... " >&6; }
40055 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40056 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40057 $as_echo_n "(cached) " >&6
40058 else
40061 ac_ext=cpp
40062 ac_cpp='$CXXCPP $CPPFLAGS'
40063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40068 /* end confdefs.h. */
40069 #include <math.h>
40070 #ifdef HAVE_IEEEFP_H
40071 #include <ieeefp.h>
40072 #endif
40075 main ()
40077 _isnan(0);
40079 return 0;
40081 _ACEOF
40082 if ac_fn_cxx_try_compile "$LINENO"; then :
40083 glibcxx_cv_func__isnan_use=yes
40084 else
40085 glibcxx_cv_func__isnan_use=no
40087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40088 ac_ext=c
40089 ac_cpp='$CPP $CPPFLAGS'
40090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40099 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40101 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40102 for ac_func in _isnan
40103 do :
40104 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40105 if test "x$ac_cv_func__isnan" = x""yes; then :
40106 cat >>confdefs.h <<_ACEOF
40107 #define HAVE__ISNAN 1
40108 _ACEOF
40111 done
40120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40121 $as_echo_n "checking for finite declaration... " >&6; }
40122 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40123 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40124 $as_echo_n "(cached) " >&6
40125 else
40128 ac_ext=cpp
40129 ac_cpp='$CXXCPP $CPPFLAGS'
40130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40135 /* end confdefs.h. */
40136 #include <math.h>
40137 #ifdef HAVE_IEEEFP_H
40138 #include <ieeefp.h>
40139 #endif
40142 main ()
40144 finite(0);
40146 return 0;
40148 _ACEOF
40149 if ac_fn_cxx_try_compile "$LINENO"; then :
40150 glibcxx_cv_func_finite_use=yes
40151 else
40152 glibcxx_cv_func_finite_use=no
40154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40155 ac_ext=c
40156 ac_cpp='$CPP $CPPFLAGS'
40157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40166 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40168 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40169 for ac_func in finite
40170 do :
40171 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40172 if test "x$ac_cv_func_finite" = x""yes; then :
40173 cat >>confdefs.h <<_ACEOF
40174 #define HAVE_FINITE 1
40175 _ACEOF
40178 done
40180 else
40182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40183 $as_echo_n "checking for _finite declaration... " >&6; }
40184 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40185 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40186 $as_echo_n "(cached) " >&6
40187 else
40190 ac_ext=cpp
40191 ac_cpp='$CXXCPP $CPPFLAGS'
40192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40197 /* end confdefs.h. */
40198 #include <math.h>
40199 #ifdef HAVE_IEEEFP_H
40200 #include <ieeefp.h>
40201 #endif
40204 main ()
40206 _finite(0);
40208 return 0;
40210 _ACEOF
40211 if ac_fn_cxx_try_compile "$LINENO"; then :
40212 glibcxx_cv_func__finite_use=yes
40213 else
40214 glibcxx_cv_func__finite_use=no
40216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40217 ac_ext=c
40218 ac_cpp='$CPP $CPPFLAGS'
40219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40228 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40230 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40231 for ac_func in _finite
40232 do :
40233 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40234 if test "x$ac_cv_func__finite" = x""yes; then :
40235 cat >>confdefs.h <<_ACEOF
40236 #define HAVE__FINITE 1
40237 _ACEOF
40240 done
40249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40250 $as_echo_n "checking for sincos declaration... " >&6; }
40251 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40252 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40253 $as_echo_n "(cached) " >&6
40254 else
40257 ac_ext=cpp
40258 ac_cpp='$CXXCPP $CPPFLAGS'
40259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40264 /* end confdefs.h. */
40265 #include <math.h>
40267 main ()
40269 sincos(0, 0, 0);
40271 return 0;
40273 _ACEOF
40274 if ac_fn_cxx_try_compile "$LINENO"; then :
40275 glibcxx_cv_func_sincos_use=yes
40276 else
40277 glibcxx_cv_func_sincos_use=no
40279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40280 ac_ext=c
40281 ac_cpp='$CPP $CPPFLAGS'
40282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40291 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40293 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40294 for ac_func in sincos
40295 do :
40296 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40297 if test "x$ac_cv_func_sincos" = x""yes; then :
40298 cat >>confdefs.h <<_ACEOF
40299 #define HAVE_SINCOS 1
40300 _ACEOF
40303 done
40305 else
40307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40308 $as_echo_n "checking for _sincos declaration... " >&6; }
40309 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40310 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40311 $as_echo_n "(cached) " >&6
40312 else
40315 ac_ext=cpp
40316 ac_cpp='$CXXCPP $CPPFLAGS'
40317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40322 /* end confdefs.h. */
40323 #include <math.h>
40325 main ()
40327 _sincos(0, 0, 0);
40329 return 0;
40331 _ACEOF
40332 if ac_fn_cxx_try_compile "$LINENO"; then :
40333 glibcxx_cv_func__sincos_use=yes
40334 else
40335 glibcxx_cv_func__sincos_use=no
40337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40338 ac_ext=c
40339 ac_cpp='$CPP $CPPFLAGS'
40340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40349 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40351 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40352 for ac_func in _sincos
40353 do :
40354 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40355 if test "x$ac_cv_func__sincos" = x""yes; then :
40356 cat >>confdefs.h <<_ACEOF
40357 #define HAVE__SINCOS 1
40358 _ACEOF
40361 done
40370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40371 $as_echo_n "checking for fpclass declaration... " >&6; }
40372 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40373 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40374 $as_echo_n "(cached) " >&6
40375 else
40378 ac_ext=cpp
40379 ac_cpp='$CXXCPP $CPPFLAGS'
40380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40385 /* end confdefs.h. */
40386 #include <math.h>
40387 #ifdef HAVE_IEEEFP_H
40388 #include <ieeefp.h>
40389 #endif
40392 main ()
40394 fpclass(0);
40396 return 0;
40398 _ACEOF
40399 if ac_fn_cxx_try_compile "$LINENO"; then :
40400 glibcxx_cv_func_fpclass_use=yes
40401 else
40402 glibcxx_cv_func_fpclass_use=no
40404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40405 ac_ext=c
40406 ac_cpp='$CPP $CPPFLAGS'
40407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40416 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40418 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40419 for ac_func in fpclass
40420 do :
40421 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40422 if test "x$ac_cv_func_fpclass" = x""yes; then :
40423 cat >>confdefs.h <<_ACEOF
40424 #define HAVE_FPCLASS 1
40425 _ACEOF
40428 done
40430 else
40432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40433 $as_echo_n "checking for _fpclass declaration... " >&6; }
40434 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40435 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40436 $as_echo_n "(cached) " >&6
40437 else
40440 ac_ext=cpp
40441 ac_cpp='$CXXCPP $CPPFLAGS'
40442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40447 /* end confdefs.h. */
40448 #include <math.h>
40449 #ifdef HAVE_IEEEFP_H
40450 #include <ieeefp.h>
40451 #endif
40454 main ()
40456 _fpclass(0);
40458 return 0;
40460 _ACEOF
40461 if ac_fn_cxx_try_compile "$LINENO"; then :
40462 glibcxx_cv_func__fpclass_use=yes
40463 else
40464 glibcxx_cv_func__fpclass_use=no
40466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40467 ac_ext=c
40468 ac_cpp='$CPP $CPPFLAGS'
40469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40478 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40480 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40481 for ac_func in _fpclass
40482 do :
40483 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40484 if test "x$ac_cv_func__fpclass" = x""yes; then :
40485 cat >>confdefs.h <<_ACEOF
40486 #define HAVE__FPCLASS 1
40487 _ACEOF
40490 done
40499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40500 $as_echo_n "checking for qfpclass declaration... " >&6; }
40501 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40502 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40503 $as_echo_n "(cached) " >&6
40504 else
40507 ac_ext=cpp
40508 ac_cpp='$CXXCPP $CPPFLAGS'
40509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40514 /* end confdefs.h. */
40515 #include <math.h>
40516 #ifdef HAVE_IEEEFP_H
40517 #include <ieeefp.h>
40518 #endif
40521 main ()
40523 qfpclass(0);
40525 return 0;
40527 _ACEOF
40528 if ac_fn_cxx_try_compile "$LINENO"; then :
40529 glibcxx_cv_func_qfpclass_use=yes
40530 else
40531 glibcxx_cv_func_qfpclass_use=no
40533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40534 ac_ext=c
40535 ac_cpp='$CPP $CPPFLAGS'
40536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40545 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40547 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40548 for ac_func in qfpclass
40549 do :
40550 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40551 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40552 cat >>confdefs.h <<_ACEOF
40553 #define HAVE_QFPCLASS 1
40554 _ACEOF
40557 done
40559 else
40561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40562 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40563 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40564 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40565 $as_echo_n "(cached) " >&6
40566 else
40569 ac_ext=cpp
40570 ac_cpp='$CXXCPP $CPPFLAGS'
40571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40576 /* end confdefs.h. */
40577 #include <math.h>
40578 #ifdef HAVE_IEEEFP_H
40579 #include <ieeefp.h>
40580 #endif
40583 main ()
40585 _qfpclass(0);
40587 return 0;
40589 _ACEOF
40590 if ac_fn_cxx_try_compile "$LINENO"; then :
40591 glibcxx_cv_func__qfpclass_use=yes
40592 else
40593 glibcxx_cv_func__qfpclass_use=no
40595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40596 ac_ext=c
40597 ac_cpp='$CPP $CPPFLAGS'
40598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40607 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40609 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40610 for ac_func in _qfpclass
40611 do :
40612 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40613 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40614 cat >>confdefs.h <<_ACEOF
40615 #define HAVE__QFPCLASS 1
40616 _ACEOF
40619 done
40628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40629 $as_echo_n "checking for hypot declaration... " >&6; }
40630 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40631 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40632 $as_echo_n "(cached) " >&6
40633 else
40636 ac_ext=cpp
40637 ac_cpp='$CXXCPP $CPPFLAGS'
40638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40643 /* end confdefs.h. */
40644 #include <math.h>
40646 main ()
40648 hypot(0, 0);
40650 return 0;
40652 _ACEOF
40653 if ac_fn_cxx_try_compile "$LINENO"; then :
40654 glibcxx_cv_func_hypot_use=yes
40655 else
40656 glibcxx_cv_func_hypot_use=no
40658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40659 ac_ext=c
40660 ac_cpp='$CPP $CPPFLAGS'
40661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40670 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40672 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40673 for ac_func in hypot
40674 do :
40675 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40676 if test "x$ac_cv_func_hypot" = x""yes; then :
40677 cat >>confdefs.h <<_ACEOF
40678 #define HAVE_HYPOT 1
40679 _ACEOF
40682 done
40684 else
40686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40687 $as_echo_n "checking for _hypot declaration... " >&6; }
40688 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40689 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40690 $as_echo_n "(cached) " >&6
40691 else
40694 ac_ext=cpp
40695 ac_cpp='$CXXCPP $CPPFLAGS'
40696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40701 /* end confdefs.h. */
40702 #include <math.h>
40704 main ()
40706 _hypot(0, 0);
40708 return 0;
40710 _ACEOF
40711 if ac_fn_cxx_try_compile "$LINENO"; then :
40712 glibcxx_cv_func__hypot_use=yes
40713 else
40714 glibcxx_cv_func__hypot_use=no
40716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40717 ac_ext=c
40718 ac_cpp='$CPP $CPPFLAGS'
40719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40728 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40730 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40731 for ac_func in _hypot
40732 do :
40733 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40734 if test "x$ac_cv_func__hypot" = x""yes; then :
40735 cat >>confdefs.h <<_ACEOF
40736 #define HAVE__HYPOT 1
40737 _ACEOF
40740 done
40749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40750 $as_echo_n "checking for float trig functions... " >&6; }
40751 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40752 $as_echo_n "(cached) " >&6
40753 else
40756 ac_ext=cpp
40757 ac_cpp='$CXXCPP $CPPFLAGS'
40758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40763 /* end confdefs.h. */
40764 #include <math.h>
40766 main ()
40768 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40770 return 0;
40772 _ACEOF
40773 if ac_fn_cxx_try_compile "$LINENO"; then :
40774 glibcxx_cv_func_float_trig_use=yes
40775 else
40776 glibcxx_cv_func_float_trig_use=no
40778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40779 ac_ext=c
40780 ac_cpp='$CPP $CPPFLAGS'
40781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40788 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40789 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40790 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40791 do :
40792 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40793 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40794 eval as_val=\$$as_ac_var
40795 if test "x$as_val" = x""yes; then :
40796 cat >>confdefs.h <<_ACEOF
40797 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40798 _ACEOF
40801 done
40803 else
40804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40805 $as_echo_n "checking for _float trig functions... " >&6; }
40806 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40807 $as_echo_n "(cached) " >&6
40808 else
40811 ac_ext=cpp
40812 ac_cpp='$CXXCPP $CPPFLAGS'
40813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40818 /* end confdefs.h. */
40819 #include <math.h>
40821 main ()
40823 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40825 return 0;
40827 _ACEOF
40828 if ac_fn_cxx_try_compile "$LINENO"; then :
40829 glibcxx_cv_func__float_trig_use=yes
40830 else
40831 glibcxx_cv_func__float_trig_use=no
40833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40834 ac_ext=c
40835 ac_cpp='$CPP $CPPFLAGS'
40836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40843 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40844 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40845 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40846 do :
40847 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40848 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40849 eval as_val=\$$as_ac_var
40850 if test "x$as_val" = x""yes; then :
40851 cat >>confdefs.h <<_ACEOF
40852 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40853 _ACEOF
40856 done
40865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40866 $as_echo_n "checking for float round functions... " >&6; }
40867 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40868 $as_echo_n "(cached) " >&6
40869 else
40872 ac_ext=cpp
40873 ac_cpp='$CXXCPP $CPPFLAGS'
40874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40879 /* end confdefs.h. */
40880 #include <math.h>
40882 main ()
40884 ceilf (0); floorf (0);
40886 return 0;
40888 _ACEOF
40889 if ac_fn_cxx_try_compile "$LINENO"; then :
40890 glibcxx_cv_func_float_round_use=yes
40891 else
40892 glibcxx_cv_func_float_round_use=no
40894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40895 ac_ext=c
40896 ac_cpp='$CPP $CPPFLAGS'
40897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40904 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40905 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40906 for ac_func in ceilf floorf
40907 do :
40908 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40909 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40910 eval as_val=\$$as_ac_var
40911 if test "x$as_val" = x""yes; then :
40912 cat >>confdefs.h <<_ACEOF
40913 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40914 _ACEOF
40917 done
40919 else
40920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40921 $as_echo_n "checking for _float round functions... " >&6; }
40922 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40923 $as_echo_n "(cached) " >&6
40924 else
40927 ac_ext=cpp
40928 ac_cpp='$CXXCPP $CPPFLAGS'
40929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40934 /* end confdefs.h. */
40935 #include <math.h>
40937 main ()
40939 _ceilf (0); _floorf (0);
40941 return 0;
40943 _ACEOF
40944 if ac_fn_cxx_try_compile "$LINENO"; then :
40945 glibcxx_cv_func__float_round_use=yes
40946 else
40947 glibcxx_cv_func__float_round_use=no
40949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40950 ac_ext=c
40951 ac_cpp='$CPP $CPPFLAGS'
40952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40959 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40960 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40961 for ac_func in _ceilf _floorf
40962 do :
40963 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40964 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40965 eval as_val=\$$as_ac_var
40966 if test "x$as_val" = x""yes; then :
40967 cat >>confdefs.h <<_ACEOF
40968 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40969 _ACEOF
40972 done
40982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40983 $as_echo_n "checking for expf declaration... " >&6; }
40984 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40985 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40986 $as_echo_n "(cached) " >&6
40987 else
40990 ac_ext=cpp
40991 ac_cpp='$CXXCPP $CPPFLAGS'
40992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40997 /* end confdefs.h. */
40998 #include <math.h>
40999 #ifdef HAVE_IEEEFP_H
41000 #include <ieeefp.h>
41001 #endif
41004 main ()
41006 expf(0);
41008 return 0;
41010 _ACEOF
41011 if ac_fn_cxx_try_compile "$LINENO"; then :
41012 glibcxx_cv_func_expf_use=yes
41013 else
41014 glibcxx_cv_func_expf_use=no
41016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41017 ac_ext=c
41018 ac_cpp='$CPP $CPPFLAGS'
41019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41028 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41030 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41031 for ac_func in expf
41032 do :
41033 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41034 if test "x$ac_cv_func_expf" = x""yes; then :
41035 cat >>confdefs.h <<_ACEOF
41036 #define HAVE_EXPF 1
41037 _ACEOF
41040 done
41042 else
41044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41045 $as_echo_n "checking for _expf declaration... " >&6; }
41046 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41047 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41048 $as_echo_n "(cached) " >&6
41049 else
41052 ac_ext=cpp
41053 ac_cpp='$CXXCPP $CPPFLAGS'
41054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41059 /* end confdefs.h. */
41060 #include <math.h>
41061 #ifdef HAVE_IEEEFP_H
41062 #include <ieeefp.h>
41063 #endif
41066 main ()
41068 _expf(0);
41070 return 0;
41072 _ACEOF
41073 if ac_fn_cxx_try_compile "$LINENO"; then :
41074 glibcxx_cv_func__expf_use=yes
41075 else
41076 glibcxx_cv_func__expf_use=no
41078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41079 ac_ext=c
41080 ac_cpp='$CPP $CPPFLAGS'
41081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41090 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41092 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41093 for ac_func in _expf
41094 do :
41095 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41096 if test "x$ac_cv_func__expf" = x""yes; then :
41097 cat >>confdefs.h <<_ACEOF
41098 #define HAVE__EXPF 1
41099 _ACEOF
41102 done
41111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41112 $as_echo_n "checking for isnanf declaration... " >&6; }
41113 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41114 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41115 $as_echo_n "(cached) " >&6
41116 else
41119 ac_ext=cpp
41120 ac_cpp='$CXXCPP $CPPFLAGS'
41121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41126 /* end confdefs.h. */
41127 #include <math.h>
41128 #ifdef HAVE_IEEEFP_H
41129 #include <ieeefp.h>
41130 #endif
41133 main ()
41135 isnanf(0);
41137 return 0;
41139 _ACEOF
41140 if ac_fn_cxx_try_compile "$LINENO"; then :
41141 glibcxx_cv_func_isnanf_use=yes
41142 else
41143 glibcxx_cv_func_isnanf_use=no
41145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41146 ac_ext=c
41147 ac_cpp='$CPP $CPPFLAGS'
41148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41157 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41159 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41160 for ac_func in isnanf
41161 do :
41162 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41163 if test "x$ac_cv_func_isnanf" = x""yes; then :
41164 cat >>confdefs.h <<_ACEOF
41165 #define HAVE_ISNANF 1
41166 _ACEOF
41169 done
41171 else
41173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41174 $as_echo_n "checking for _isnanf declaration... " >&6; }
41175 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41176 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41177 $as_echo_n "(cached) " >&6
41178 else
41181 ac_ext=cpp
41182 ac_cpp='$CXXCPP $CPPFLAGS'
41183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41188 /* end confdefs.h. */
41189 #include <math.h>
41190 #ifdef HAVE_IEEEFP_H
41191 #include <ieeefp.h>
41192 #endif
41195 main ()
41197 _isnanf(0);
41199 return 0;
41201 _ACEOF
41202 if ac_fn_cxx_try_compile "$LINENO"; then :
41203 glibcxx_cv_func__isnanf_use=yes
41204 else
41205 glibcxx_cv_func__isnanf_use=no
41207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41208 ac_ext=c
41209 ac_cpp='$CPP $CPPFLAGS'
41210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41219 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41221 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41222 for ac_func in _isnanf
41223 do :
41224 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41225 if test "x$ac_cv_func__isnanf" = x""yes; then :
41226 cat >>confdefs.h <<_ACEOF
41227 #define HAVE__ISNANF 1
41228 _ACEOF
41231 done
41240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41241 $as_echo_n "checking for isinff declaration... " >&6; }
41242 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41243 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41244 $as_echo_n "(cached) " >&6
41245 else
41248 ac_ext=cpp
41249 ac_cpp='$CXXCPP $CPPFLAGS'
41250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41255 /* end confdefs.h. */
41256 #include <math.h>
41257 #ifdef HAVE_IEEEFP_H
41258 #include <ieeefp.h>
41259 #endif
41262 main ()
41264 isinff(0);
41266 return 0;
41268 _ACEOF
41269 if ac_fn_cxx_try_compile "$LINENO"; then :
41270 glibcxx_cv_func_isinff_use=yes
41271 else
41272 glibcxx_cv_func_isinff_use=no
41274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41275 ac_ext=c
41276 ac_cpp='$CPP $CPPFLAGS'
41277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41286 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41288 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41289 for ac_func in isinff
41290 do :
41291 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41292 if test "x$ac_cv_func_isinff" = x""yes; then :
41293 cat >>confdefs.h <<_ACEOF
41294 #define HAVE_ISINFF 1
41295 _ACEOF
41298 done
41300 else
41302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41303 $as_echo_n "checking for _isinff declaration... " >&6; }
41304 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41305 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41306 $as_echo_n "(cached) " >&6
41307 else
41310 ac_ext=cpp
41311 ac_cpp='$CXXCPP $CPPFLAGS'
41312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41317 /* end confdefs.h. */
41318 #include <math.h>
41319 #ifdef HAVE_IEEEFP_H
41320 #include <ieeefp.h>
41321 #endif
41324 main ()
41326 _isinff(0);
41328 return 0;
41330 _ACEOF
41331 if ac_fn_cxx_try_compile "$LINENO"; then :
41332 glibcxx_cv_func__isinff_use=yes
41333 else
41334 glibcxx_cv_func__isinff_use=no
41336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41337 ac_ext=c
41338 ac_cpp='$CPP $CPPFLAGS'
41339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41348 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41350 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41351 for ac_func in _isinff
41352 do :
41353 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41354 if test "x$ac_cv_func__isinff" = x""yes; then :
41355 cat >>confdefs.h <<_ACEOF
41356 #define HAVE__ISINFF 1
41357 _ACEOF
41360 done
41369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41370 $as_echo_n "checking for atan2f declaration... " >&6; }
41371 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41372 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41373 $as_echo_n "(cached) " >&6
41374 else
41377 ac_ext=cpp
41378 ac_cpp='$CXXCPP $CPPFLAGS'
41379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41384 /* end confdefs.h. */
41385 #include <math.h>
41387 main ()
41389 atan2f(0, 0);
41391 return 0;
41393 _ACEOF
41394 if ac_fn_cxx_try_compile "$LINENO"; then :
41395 glibcxx_cv_func_atan2f_use=yes
41396 else
41397 glibcxx_cv_func_atan2f_use=no
41399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41400 ac_ext=c
41401 ac_cpp='$CPP $CPPFLAGS'
41402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41411 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41413 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41414 for ac_func in atan2f
41415 do :
41416 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41417 if test "x$ac_cv_func_atan2f" = x""yes; then :
41418 cat >>confdefs.h <<_ACEOF
41419 #define HAVE_ATAN2F 1
41420 _ACEOF
41423 done
41425 else
41427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41428 $as_echo_n "checking for _atan2f declaration... " >&6; }
41429 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41430 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41431 $as_echo_n "(cached) " >&6
41432 else
41435 ac_ext=cpp
41436 ac_cpp='$CXXCPP $CPPFLAGS'
41437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41442 /* end confdefs.h. */
41443 #include <math.h>
41445 main ()
41447 _atan2f(0, 0);
41449 return 0;
41451 _ACEOF
41452 if ac_fn_cxx_try_compile "$LINENO"; then :
41453 glibcxx_cv_func__atan2f_use=yes
41454 else
41455 glibcxx_cv_func__atan2f_use=no
41457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41458 ac_ext=c
41459 ac_cpp='$CPP $CPPFLAGS'
41460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41469 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41471 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41472 for ac_func in _atan2f
41473 do :
41474 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41475 if test "x$ac_cv_func__atan2f" = x""yes; then :
41476 cat >>confdefs.h <<_ACEOF
41477 #define HAVE__ATAN2F 1
41478 _ACEOF
41481 done
41490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41491 $as_echo_n "checking for fabsf declaration... " >&6; }
41492 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41493 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41494 $as_echo_n "(cached) " >&6
41495 else
41498 ac_ext=cpp
41499 ac_cpp='$CXXCPP $CPPFLAGS'
41500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41505 /* end confdefs.h. */
41506 #include <math.h>
41507 #ifdef HAVE_IEEEFP_H
41508 #include <ieeefp.h>
41509 #endif
41512 main ()
41514 fabsf(0);
41516 return 0;
41518 _ACEOF
41519 if ac_fn_cxx_try_compile "$LINENO"; then :
41520 glibcxx_cv_func_fabsf_use=yes
41521 else
41522 glibcxx_cv_func_fabsf_use=no
41524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41525 ac_ext=c
41526 ac_cpp='$CPP $CPPFLAGS'
41527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41536 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41538 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41539 for ac_func in fabsf
41540 do :
41541 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41542 if test "x$ac_cv_func_fabsf" = x""yes; then :
41543 cat >>confdefs.h <<_ACEOF
41544 #define HAVE_FABSF 1
41545 _ACEOF
41548 done
41550 else
41552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41553 $as_echo_n "checking for _fabsf declaration... " >&6; }
41554 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41555 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41556 $as_echo_n "(cached) " >&6
41557 else
41560 ac_ext=cpp
41561 ac_cpp='$CXXCPP $CPPFLAGS'
41562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41567 /* end confdefs.h. */
41568 #include <math.h>
41569 #ifdef HAVE_IEEEFP_H
41570 #include <ieeefp.h>
41571 #endif
41574 main ()
41576 _fabsf(0);
41578 return 0;
41580 _ACEOF
41581 if ac_fn_cxx_try_compile "$LINENO"; then :
41582 glibcxx_cv_func__fabsf_use=yes
41583 else
41584 glibcxx_cv_func__fabsf_use=no
41586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41587 ac_ext=c
41588 ac_cpp='$CPP $CPPFLAGS'
41589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41598 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41600 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41601 for ac_func in _fabsf
41602 do :
41603 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41604 if test "x$ac_cv_func__fabsf" = x""yes; then :
41605 cat >>confdefs.h <<_ACEOF
41606 #define HAVE__FABSF 1
41607 _ACEOF
41610 done
41619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41620 $as_echo_n "checking for fmodf declaration... " >&6; }
41621 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41622 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41623 $as_echo_n "(cached) " >&6
41624 else
41627 ac_ext=cpp
41628 ac_cpp='$CXXCPP $CPPFLAGS'
41629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41634 /* end confdefs.h. */
41635 #include <math.h>
41637 main ()
41639 fmodf(0, 0);
41641 return 0;
41643 _ACEOF
41644 if ac_fn_cxx_try_compile "$LINENO"; then :
41645 glibcxx_cv_func_fmodf_use=yes
41646 else
41647 glibcxx_cv_func_fmodf_use=no
41649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41650 ac_ext=c
41651 ac_cpp='$CPP $CPPFLAGS'
41652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41661 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41663 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41664 for ac_func in fmodf
41665 do :
41666 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41667 if test "x$ac_cv_func_fmodf" = x""yes; then :
41668 cat >>confdefs.h <<_ACEOF
41669 #define HAVE_FMODF 1
41670 _ACEOF
41673 done
41675 else
41677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41678 $as_echo_n "checking for _fmodf declaration... " >&6; }
41679 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41680 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41681 $as_echo_n "(cached) " >&6
41682 else
41685 ac_ext=cpp
41686 ac_cpp='$CXXCPP $CPPFLAGS'
41687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41692 /* end confdefs.h. */
41693 #include <math.h>
41695 main ()
41697 _fmodf(0, 0);
41699 return 0;
41701 _ACEOF
41702 if ac_fn_cxx_try_compile "$LINENO"; then :
41703 glibcxx_cv_func__fmodf_use=yes
41704 else
41705 glibcxx_cv_func__fmodf_use=no
41707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41708 ac_ext=c
41709 ac_cpp='$CPP $CPPFLAGS'
41710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41719 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41721 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41722 for ac_func in _fmodf
41723 do :
41724 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41725 if test "x$ac_cv_func__fmodf" = x""yes; then :
41726 cat >>confdefs.h <<_ACEOF
41727 #define HAVE__FMODF 1
41728 _ACEOF
41731 done
41740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41741 $as_echo_n "checking for frexpf declaration... " >&6; }
41742 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41743 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41744 $as_echo_n "(cached) " >&6
41745 else
41748 ac_ext=cpp
41749 ac_cpp='$CXXCPP $CPPFLAGS'
41750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41755 /* end confdefs.h. */
41756 #include <math.h>
41758 main ()
41760 frexpf(0, 0);
41762 return 0;
41764 _ACEOF
41765 if ac_fn_cxx_try_compile "$LINENO"; then :
41766 glibcxx_cv_func_frexpf_use=yes
41767 else
41768 glibcxx_cv_func_frexpf_use=no
41770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41771 ac_ext=c
41772 ac_cpp='$CPP $CPPFLAGS'
41773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41782 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41784 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41785 for ac_func in frexpf
41786 do :
41787 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41788 if test "x$ac_cv_func_frexpf" = x""yes; then :
41789 cat >>confdefs.h <<_ACEOF
41790 #define HAVE_FREXPF 1
41791 _ACEOF
41794 done
41796 else
41798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41799 $as_echo_n "checking for _frexpf declaration... " >&6; }
41800 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41801 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41802 $as_echo_n "(cached) " >&6
41803 else
41806 ac_ext=cpp
41807 ac_cpp='$CXXCPP $CPPFLAGS'
41808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41813 /* end confdefs.h. */
41814 #include <math.h>
41816 main ()
41818 _frexpf(0, 0);
41820 return 0;
41822 _ACEOF
41823 if ac_fn_cxx_try_compile "$LINENO"; then :
41824 glibcxx_cv_func__frexpf_use=yes
41825 else
41826 glibcxx_cv_func__frexpf_use=no
41828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41829 ac_ext=c
41830 ac_cpp='$CPP $CPPFLAGS'
41831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41840 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41842 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41843 for ac_func in _frexpf
41844 do :
41845 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41846 if test "x$ac_cv_func__frexpf" = x""yes; then :
41847 cat >>confdefs.h <<_ACEOF
41848 #define HAVE__FREXPF 1
41849 _ACEOF
41852 done
41861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41862 $as_echo_n "checking for hypotf declaration... " >&6; }
41863 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41864 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41865 $as_echo_n "(cached) " >&6
41866 else
41869 ac_ext=cpp
41870 ac_cpp='$CXXCPP $CPPFLAGS'
41871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41876 /* end confdefs.h. */
41877 #include <math.h>
41879 main ()
41881 hypotf(0, 0);
41883 return 0;
41885 _ACEOF
41886 if ac_fn_cxx_try_compile "$LINENO"; then :
41887 glibcxx_cv_func_hypotf_use=yes
41888 else
41889 glibcxx_cv_func_hypotf_use=no
41891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41892 ac_ext=c
41893 ac_cpp='$CPP $CPPFLAGS'
41894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41903 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41905 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41906 for ac_func in hypotf
41907 do :
41908 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41909 if test "x$ac_cv_func_hypotf" = x""yes; then :
41910 cat >>confdefs.h <<_ACEOF
41911 #define HAVE_HYPOTF 1
41912 _ACEOF
41915 done
41917 else
41919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41920 $as_echo_n "checking for _hypotf declaration... " >&6; }
41921 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41922 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41923 $as_echo_n "(cached) " >&6
41924 else
41927 ac_ext=cpp
41928 ac_cpp='$CXXCPP $CPPFLAGS'
41929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41934 /* end confdefs.h. */
41935 #include <math.h>
41937 main ()
41939 _hypotf(0, 0);
41941 return 0;
41943 _ACEOF
41944 if ac_fn_cxx_try_compile "$LINENO"; then :
41945 glibcxx_cv_func__hypotf_use=yes
41946 else
41947 glibcxx_cv_func__hypotf_use=no
41949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41950 ac_ext=c
41951 ac_cpp='$CPP $CPPFLAGS'
41952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41961 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41963 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41964 for ac_func in _hypotf
41965 do :
41966 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41967 if test "x$ac_cv_func__hypotf" = x""yes; then :
41968 cat >>confdefs.h <<_ACEOF
41969 #define HAVE__HYPOTF 1
41970 _ACEOF
41973 done
41982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41983 $as_echo_n "checking for ldexpf declaration... " >&6; }
41984 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41985 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41986 $as_echo_n "(cached) " >&6
41987 else
41990 ac_ext=cpp
41991 ac_cpp='$CXXCPP $CPPFLAGS'
41992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41997 /* end confdefs.h. */
41998 #include <math.h>
42000 main ()
42002 ldexpf(0, 0);
42004 return 0;
42006 _ACEOF
42007 if ac_fn_cxx_try_compile "$LINENO"; then :
42008 glibcxx_cv_func_ldexpf_use=yes
42009 else
42010 glibcxx_cv_func_ldexpf_use=no
42012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42013 ac_ext=c
42014 ac_cpp='$CPP $CPPFLAGS'
42015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42024 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42026 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42027 for ac_func in ldexpf
42028 do :
42029 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42030 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42031 cat >>confdefs.h <<_ACEOF
42032 #define HAVE_LDEXPF 1
42033 _ACEOF
42036 done
42038 else
42040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42041 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42042 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42043 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42044 $as_echo_n "(cached) " >&6
42045 else
42048 ac_ext=cpp
42049 ac_cpp='$CXXCPP $CPPFLAGS'
42050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42055 /* end confdefs.h. */
42056 #include <math.h>
42058 main ()
42060 _ldexpf(0, 0);
42062 return 0;
42064 _ACEOF
42065 if ac_fn_cxx_try_compile "$LINENO"; then :
42066 glibcxx_cv_func__ldexpf_use=yes
42067 else
42068 glibcxx_cv_func__ldexpf_use=no
42070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42071 ac_ext=c
42072 ac_cpp='$CPP $CPPFLAGS'
42073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42082 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42084 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42085 for ac_func in _ldexpf
42086 do :
42087 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42088 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42089 cat >>confdefs.h <<_ACEOF
42090 #define HAVE__LDEXPF 1
42091 _ACEOF
42094 done
42103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42104 $as_echo_n "checking for logf declaration... " >&6; }
42105 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42106 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42107 $as_echo_n "(cached) " >&6
42108 else
42111 ac_ext=cpp
42112 ac_cpp='$CXXCPP $CPPFLAGS'
42113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42118 /* end confdefs.h. */
42119 #include <math.h>
42120 #ifdef HAVE_IEEEFP_H
42121 #include <ieeefp.h>
42122 #endif
42125 main ()
42127 logf(0);
42129 return 0;
42131 _ACEOF
42132 if ac_fn_cxx_try_compile "$LINENO"; then :
42133 glibcxx_cv_func_logf_use=yes
42134 else
42135 glibcxx_cv_func_logf_use=no
42137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42138 ac_ext=c
42139 ac_cpp='$CPP $CPPFLAGS'
42140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42149 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42151 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42152 for ac_func in logf
42153 do :
42154 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42155 if test "x$ac_cv_func_logf" = x""yes; then :
42156 cat >>confdefs.h <<_ACEOF
42157 #define HAVE_LOGF 1
42158 _ACEOF
42161 done
42163 else
42165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42166 $as_echo_n "checking for _logf declaration... " >&6; }
42167 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42168 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42169 $as_echo_n "(cached) " >&6
42170 else
42173 ac_ext=cpp
42174 ac_cpp='$CXXCPP $CPPFLAGS'
42175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42180 /* end confdefs.h. */
42181 #include <math.h>
42182 #ifdef HAVE_IEEEFP_H
42183 #include <ieeefp.h>
42184 #endif
42187 main ()
42189 _logf(0);
42191 return 0;
42193 _ACEOF
42194 if ac_fn_cxx_try_compile "$LINENO"; then :
42195 glibcxx_cv_func__logf_use=yes
42196 else
42197 glibcxx_cv_func__logf_use=no
42199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42200 ac_ext=c
42201 ac_cpp='$CPP $CPPFLAGS'
42202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42211 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42213 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42214 for ac_func in _logf
42215 do :
42216 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42217 if test "x$ac_cv_func__logf" = x""yes; then :
42218 cat >>confdefs.h <<_ACEOF
42219 #define HAVE__LOGF 1
42220 _ACEOF
42223 done
42232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42233 $as_echo_n "checking for log10f declaration... " >&6; }
42234 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42235 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42236 $as_echo_n "(cached) " >&6
42237 else
42240 ac_ext=cpp
42241 ac_cpp='$CXXCPP $CPPFLAGS'
42242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42247 /* end confdefs.h. */
42248 #include <math.h>
42249 #ifdef HAVE_IEEEFP_H
42250 #include <ieeefp.h>
42251 #endif
42254 main ()
42256 log10f(0);
42258 return 0;
42260 _ACEOF
42261 if ac_fn_cxx_try_compile "$LINENO"; then :
42262 glibcxx_cv_func_log10f_use=yes
42263 else
42264 glibcxx_cv_func_log10f_use=no
42266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42267 ac_ext=c
42268 ac_cpp='$CPP $CPPFLAGS'
42269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42278 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42280 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42281 for ac_func in log10f
42282 do :
42283 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42284 if test "x$ac_cv_func_log10f" = x""yes; then :
42285 cat >>confdefs.h <<_ACEOF
42286 #define HAVE_LOG10F 1
42287 _ACEOF
42290 done
42292 else
42294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42295 $as_echo_n "checking for _log10f declaration... " >&6; }
42296 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42297 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42298 $as_echo_n "(cached) " >&6
42299 else
42302 ac_ext=cpp
42303 ac_cpp='$CXXCPP $CPPFLAGS'
42304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42309 /* end confdefs.h. */
42310 #include <math.h>
42311 #ifdef HAVE_IEEEFP_H
42312 #include <ieeefp.h>
42313 #endif
42316 main ()
42318 _log10f(0);
42320 return 0;
42322 _ACEOF
42323 if ac_fn_cxx_try_compile "$LINENO"; then :
42324 glibcxx_cv_func__log10f_use=yes
42325 else
42326 glibcxx_cv_func__log10f_use=no
42328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42329 ac_ext=c
42330 ac_cpp='$CPP $CPPFLAGS'
42331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42340 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42342 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42343 for ac_func in _log10f
42344 do :
42345 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42346 if test "x$ac_cv_func__log10f" = x""yes; then :
42347 cat >>confdefs.h <<_ACEOF
42348 #define HAVE__LOG10F 1
42349 _ACEOF
42352 done
42361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42362 $as_echo_n "checking for modff declaration... " >&6; }
42363 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42364 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42365 $as_echo_n "(cached) " >&6
42366 else
42369 ac_ext=cpp
42370 ac_cpp='$CXXCPP $CPPFLAGS'
42371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42376 /* end confdefs.h. */
42377 #include <math.h>
42379 main ()
42381 modff(0, 0);
42383 return 0;
42385 _ACEOF
42386 if ac_fn_cxx_try_compile "$LINENO"; then :
42387 glibcxx_cv_func_modff_use=yes
42388 else
42389 glibcxx_cv_func_modff_use=no
42391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42392 ac_ext=c
42393 ac_cpp='$CPP $CPPFLAGS'
42394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42403 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42405 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42406 for ac_func in modff
42407 do :
42408 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42409 if test "x$ac_cv_func_modff" = x""yes; then :
42410 cat >>confdefs.h <<_ACEOF
42411 #define HAVE_MODFF 1
42412 _ACEOF
42415 done
42417 else
42419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42420 $as_echo_n "checking for _modff declaration... " >&6; }
42421 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42422 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42423 $as_echo_n "(cached) " >&6
42424 else
42427 ac_ext=cpp
42428 ac_cpp='$CXXCPP $CPPFLAGS'
42429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42434 /* end confdefs.h. */
42435 #include <math.h>
42437 main ()
42439 _modff(0, 0);
42441 return 0;
42443 _ACEOF
42444 if ac_fn_cxx_try_compile "$LINENO"; then :
42445 glibcxx_cv_func__modff_use=yes
42446 else
42447 glibcxx_cv_func__modff_use=no
42449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42450 ac_ext=c
42451 ac_cpp='$CPP $CPPFLAGS'
42452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42461 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42463 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42464 for ac_func in _modff
42465 do :
42466 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42467 if test "x$ac_cv_func__modff" = x""yes; then :
42468 cat >>confdefs.h <<_ACEOF
42469 #define HAVE__MODFF 1
42470 _ACEOF
42473 done
42482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42483 $as_echo_n "checking for modf declaration... " >&6; }
42484 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42485 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42486 $as_echo_n "(cached) " >&6
42487 else
42490 ac_ext=cpp
42491 ac_cpp='$CXXCPP $CPPFLAGS'
42492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42497 /* end confdefs.h. */
42498 #include <math.h>
42500 main ()
42502 modf(0, 0);
42504 return 0;
42506 _ACEOF
42507 if ac_fn_cxx_try_compile "$LINENO"; then :
42508 glibcxx_cv_func_modf_use=yes
42509 else
42510 glibcxx_cv_func_modf_use=no
42512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42513 ac_ext=c
42514 ac_cpp='$CPP $CPPFLAGS'
42515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42524 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42526 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42527 for ac_func in modf
42528 do :
42529 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42530 if test "x$ac_cv_func_modf" = x""yes; then :
42531 cat >>confdefs.h <<_ACEOF
42532 #define HAVE_MODF 1
42533 _ACEOF
42536 done
42538 else
42540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42541 $as_echo_n "checking for _modf declaration... " >&6; }
42542 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42543 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42544 $as_echo_n "(cached) " >&6
42545 else
42548 ac_ext=cpp
42549 ac_cpp='$CXXCPP $CPPFLAGS'
42550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42555 /* end confdefs.h. */
42556 #include <math.h>
42558 main ()
42560 _modf(0, 0);
42562 return 0;
42564 _ACEOF
42565 if ac_fn_cxx_try_compile "$LINENO"; then :
42566 glibcxx_cv_func__modf_use=yes
42567 else
42568 glibcxx_cv_func__modf_use=no
42570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42571 ac_ext=c
42572 ac_cpp='$CPP $CPPFLAGS'
42573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42582 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42584 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42585 for ac_func in _modf
42586 do :
42587 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42588 if test "x$ac_cv_func__modf" = x""yes; then :
42589 cat >>confdefs.h <<_ACEOF
42590 #define HAVE__MODF 1
42591 _ACEOF
42594 done
42603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42604 $as_echo_n "checking for powf declaration... " >&6; }
42605 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42606 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42607 $as_echo_n "(cached) " >&6
42608 else
42611 ac_ext=cpp
42612 ac_cpp='$CXXCPP $CPPFLAGS'
42613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42618 /* end confdefs.h. */
42619 #include <math.h>
42621 main ()
42623 powf(0, 0);
42625 return 0;
42627 _ACEOF
42628 if ac_fn_cxx_try_compile "$LINENO"; then :
42629 glibcxx_cv_func_powf_use=yes
42630 else
42631 glibcxx_cv_func_powf_use=no
42633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42634 ac_ext=c
42635 ac_cpp='$CPP $CPPFLAGS'
42636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42645 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42647 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42648 for ac_func in powf
42649 do :
42650 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42651 if test "x$ac_cv_func_powf" = x""yes; then :
42652 cat >>confdefs.h <<_ACEOF
42653 #define HAVE_POWF 1
42654 _ACEOF
42657 done
42659 else
42661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42662 $as_echo_n "checking for _powf declaration... " >&6; }
42663 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42664 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42665 $as_echo_n "(cached) " >&6
42666 else
42669 ac_ext=cpp
42670 ac_cpp='$CXXCPP $CPPFLAGS'
42671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42676 /* end confdefs.h. */
42677 #include <math.h>
42679 main ()
42681 _powf(0, 0);
42683 return 0;
42685 _ACEOF
42686 if ac_fn_cxx_try_compile "$LINENO"; then :
42687 glibcxx_cv_func__powf_use=yes
42688 else
42689 glibcxx_cv_func__powf_use=no
42691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42692 ac_ext=c
42693 ac_cpp='$CPP $CPPFLAGS'
42694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42703 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42705 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42706 for ac_func in _powf
42707 do :
42708 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42709 if test "x$ac_cv_func__powf" = x""yes; then :
42710 cat >>confdefs.h <<_ACEOF
42711 #define HAVE__POWF 1
42712 _ACEOF
42715 done
42724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42725 $as_echo_n "checking for sqrtf declaration... " >&6; }
42726 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42727 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42728 $as_echo_n "(cached) " >&6
42729 else
42732 ac_ext=cpp
42733 ac_cpp='$CXXCPP $CPPFLAGS'
42734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42739 /* end confdefs.h. */
42740 #include <math.h>
42741 #ifdef HAVE_IEEEFP_H
42742 #include <ieeefp.h>
42743 #endif
42746 main ()
42748 sqrtf(0);
42750 return 0;
42752 _ACEOF
42753 if ac_fn_cxx_try_compile "$LINENO"; then :
42754 glibcxx_cv_func_sqrtf_use=yes
42755 else
42756 glibcxx_cv_func_sqrtf_use=no
42758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42759 ac_ext=c
42760 ac_cpp='$CPP $CPPFLAGS'
42761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42770 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42772 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42773 for ac_func in sqrtf
42774 do :
42775 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42776 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42777 cat >>confdefs.h <<_ACEOF
42778 #define HAVE_SQRTF 1
42779 _ACEOF
42782 done
42784 else
42786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42787 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42788 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42789 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42790 $as_echo_n "(cached) " >&6
42791 else
42794 ac_ext=cpp
42795 ac_cpp='$CXXCPP $CPPFLAGS'
42796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42801 /* end confdefs.h. */
42802 #include <math.h>
42803 #ifdef HAVE_IEEEFP_H
42804 #include <ieeefp.h>
42805 #endif
42808 main ()
42810 _sqrtf(0);
42812 return 0;
42814 _ACEOF
42815 if ac_fn_cxx_try_compile "$LINENO"; then :
42816 glibcxx_cv_func__sqrtf_use=yes
42817 else
42818 glibcxx_cv_func__sqrtf_use=no
42820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42821 ac_ext=c
42822 ac_cpp='$CPP $CPPFLAGS'
42823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42832 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42834 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42835 for ac_func in _sqrtf
42836 do :
42837 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42838 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42839 cat >>confdefs.h <<_ACEOF
42840 #define HAVE__SQRTF 1
42841 _ACEOF
42844 done
42853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42854 $as_echo_n "checking for sincosf declaration... " >&6; }
42855 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42856 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42857 $as_echo_n "(cached) " >&6
42858 else
42861 ac_ext=cpp
42862 ac_cpp='$CXXCPP $CPPFLAGS'
42863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42868 /* end confdefs.h. */
42869 #include <math.h>
42871 main ()
42873 sincosf(0, 0, 0);
42875 return 0;
42877 _ACEOF
42878 if ac_fn_cxx_try_compile "$LINENO"; then :
42879 glibcxx_cv_func_sincosf_use=yes
42880 else
42881 glibcxx_cv_func_sincosf_use=no
42883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42884 ac_ext=c
42885 ac_cpp='$CPP $CPPFLAGS'
42886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42895 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42897 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42898 for ac_func in sincosf
42899 do :
42900 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42901 if test "x$ac_cv_func_sincosf" = x""yes; then :
42902 cat >>confdefs.h <<_ACEOF
42903 #define HAVE_SINCOSF 1
42904 _ACEOF
42907 done
42909 else
42911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42912 $as_echo_n "checking for _sincosf declaration... " >&6; }
42913 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42914 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42915 $as_echo_n "(cached) " >&6
42916 else
42919 ac_ext=cpp
42920 ac_cpp='$CXXCPP $CPPFLAGS'
42921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42926 /* end confdefs.h. */
42927 #include <math.h>
42929 main ()
42931 _sincosf(0, 0, 0);
42933 return 0;
42935 _ACEOF
42936 if ac_fn_cxx_try_compile "$LINENO"; then :
42937 glibcxx_cv_func__sincosf_use=yes
42938 else
42939 glibcxx_cv_func__sincosf_use=no
42941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42942 ac_ext=c
42943 ac_cpp='$CPP $CPPFLAGS'
42944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42953 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42955 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42956 for ac_func in _sincosf
42957 do :
42958 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42959 if test "x$ac_cv_func__sincosf" = x""yes; then :
42960 cat >>confdefs.h <<_ACEOF
42961 #define HAVE__SINCOSF 1
42962 _ACEOF
42965 done
42974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42975 $as_echo_n "checking for finitef declaration... " >&6; }
42976 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42977 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42978 $as_echo_n "(cached) " >&6
42979 else
42982 ac_ext=cpp
42983 ac_cpp='$CXXCPP $CPPFLAGS'
42984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42989 /* end confdefs.h. */
42990 #include <math.h>
42991 #ifdef HAVE_IEEEFP_H
42992 #include <ieeefp.h>
42993 #endif
42996 main ()
42998 finitef(0);
43000 return 0;
43002 _ACEOF
43003 if ac_fn_cxx_try_compile "$LINENO"; then :
43004 glibcxx_cv_func_finitef_use=yes
43005 else
43006 glibcxx_cv_func_finitef_use=no
43008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43009 ac_ext=c
43010 ac_cpp='$CPP $CPPFLAGS'
43011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43020 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43022 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43023 for ac_func in finitef
43024 do :
43025 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43026 if test "x$ac_cv_func_finitef" = x""yes; then :
43027 cat >>confdefs.h <<_ACEOF
43028 #define HAVE_FINITEF 1
43029 _ACEOF
43032 done
43034 else
43036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43037 $as_echo_n "checking for _finitef declaration... " >&6; }
43038 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43039 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43040 $as_echo_n "(cached) " >&6
43041 else
43044 ac_ext=cpp
43045 ac_cpp='$CXXCPP $CPPFLAGS'
43046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43051 /* end confdefs.h. */
43052 #include <math.h>
43053 #ifdef HAVE_IEEEFP_H
43054 #include <ieeefp.h>
43055 #endif
43058 main ()
43060 _finitef(0);
43062 return 0;
43064 _ACEOF
43065 if ac_fn_cxx_try_compile "$LINENO"; then :
43066 glibcxx_cv_func__finitef_use=yes
43067 else
43068 glibcxx_cv_func__finitef_use=no
43070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43071 ac_ext=c
43072 ac_cpp='$CPP $CPPFLAGS'
43073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43082 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43084 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43085 for ac_func in _finitef
43086 do :
43087 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43088 if test "x$ac_cv_func__finitef" = x""yes; then :
43089 cat >>confdefs.h <<_ACEOF
43090 #define HAVE__FINITEF 1
43091 _ACEOF
43094 done
43103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43104 $as_echo_n "checking for long double trig functions... " >&6; }
43105 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43106 $as_echo_n "(cached) " >&6
43107 else
43110 ac_ext=cpp
43111 ac_cpp='$CXXCPP $CPPFLAGS'
43112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43117 /* end confdefs.h. */
43118 #include <math.h>
43120 main ()
43122 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43124 return 0;
43126 _ACEOF
43127 if ac_fn_cxx_try_compile "$LINENO"; then :
43128 glibcxx_cv_func_long_double_trig_use=yes
43129 else
43130 glibcxx_cv_func_long_double_trig_use=no
43132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43133 ac_ext=c
43134 ac_cpp='$CPP $CPPFLAGS'
43135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43142 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43143 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43144 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43145 do :
43146 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43147 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43148 eval as_val=\$$as_ac_var
43149 if test "x$as_val" = x""yes; then :
43150 cat >>confdefs.h <<_ACEOF
43151 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43152 _ACEOF
43155 done
43157 else
43158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43159 $as_echo_n "checking for _long double trig functions... " >&6; }
43160 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43161 $as_echo_n "(cached) " >&6
43162 else
43165 ac_ext=cpp
43166 ac_cpp='$CXXCPP $CPPFLAGS'
43167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43172 /* end confdefs.h. */
43173 #include <math.h>
43175 main ()
43177 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43179 return 0;
43181 _ACEOF
43182 if ac_fn_cxx_try_compile "$LINENO"; then :
43183 glibcxx_cv_func__long_double_trig_use=yes
43184 else
43185 glibcxx_cv_func__long_double_trig_use=no
43187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43188 ac_ext=c
43189 ac_cpp='$CPP $CPPFLAGS'
43190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43197 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43198 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43199 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43200 do :
43201 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43202 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43203 eval as_val=\$$as_ac_var
43204 if test "x$as_val" = x""yes; then :
43205 cat >>confdefs.h <<_ACEOF
43206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43207 _ACEOF
43210 done
43219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43220 $as_echo_n "checking for long double round functions... " >&6; }
43221 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43222 $as_echo_n "(cached) " >&6
43223 else
43226 ac_ext=cpp
43227 ac_cpp='$CXXCPP $CPPFLAGS'
43228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43233 /* end confdefs.h. */
43234 #include <math.h>
43236 main ()
43238 ceill (0); floorl (0);
43240 return 0;
43242 _ACEOF
43243 if ac_fn_cxx_try_compile "$LINENO"; then :
43244 glibcxx_cv_func_long_double_round_use=yes
43245 else
43246 glibcxx_cv_func_long_double_round_use=no
43248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43249 ac_ext=c
43250 ac_cpp='$CPP $CPPFLAGS'
43251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43258 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43259 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43260 for ac_func in ceill floorl
43261 do :
43262 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43263 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43264 eval as_val=\$$as_ac_var
43265 if test "x$as_val" = x""yes; then :
43266 cat >>confdefs.h <<_ACEOF
43267 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43268 _ACEOF
43271 done
43273 else
43274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43275 $as_echo_n "checking for _long double round functions... " >&6; }
43276 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43277 $as_echo_n "(cached) " >&6
43278 else
43281 ac_ext=cpp
43282 ac_cpp='$CXXCPP $CPPFLAGS'
43283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43288 /* end confdefs.h. */
43289 #include <math.h>
43291 main ()
43293 _ceill (0); _floorl (0);
43295 return 0;
43297 _ACEOF
43298 if ac_fn_cxx_try_compile "$LINENO"; then :
43299 glibcxx_cv_func__long_double_round_use=yes
43300 else
43301 glibcxx_cv_func__long_double_round_use=no
43303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43304 ac_ext=c
43305 ac_cpp='$CPP $CPPFLAGS'
43306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43313 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43314 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43315 for ac_func in _ceill _floorl
43316 do :
43317 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43318 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43319 eval as_val=\$$as_ac_var
43320 if test "x$as_val" = x""yes; then :
43321 cat >>confdefs.h <<_ACEOF
43322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43323 _ACEOF
43326 done
43336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43337 $as_echo_n "checking for isnanl declaration... " >&6; }
43338 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43339 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43340 $as_echo_n "(cached) " >&6
43341 else
43344 ac_ext=cpp
43345 ac_cpp='$CXXCPP $CPPFLAGS'
43346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43351 /* end confdefs.h. */
43352 #include <math.h>
43353 #ifdef HAVE_IEEEFP_H
43354 #include <ieeefp.h>
43355 #endif
43358 main ()
43360 isnanl(0);
43362 return 0;
43364 _ACEOF
43365 if ac_fn_cxx_try_compile "$LINENO"; then :
43366 glibcxx_cv_func_isnanl_use=yes
43367 else
43368 glibcxx_cv_func_isnanl_use=no
43370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43371 ac_ext=c
43372 ac_cpp='$CPP $CPPFLAGS'
43373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43382 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43384 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43385 for ac_func in isnanl
43386 do :
43387 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43388 if test "x$ac_cv_func_isnanl" = x""yes; then :
43389 cat >>confdefs.h <<_ACEOF
43390 #define HAVE_ISNANL 1
43391 _ACEOF
43394 done
43396 else
43398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43399 $as_echo_n "checking for _isnanl declaration... " >&6; }
43400 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43401 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43402 $as_echo_n "(cached) " >&6
43403 else
43406 ac_ext=cpp
43407 ac_cpp='$CXXCPP $CPPFLAGS'
43408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43413 /* end confdefs.h. */
43414 #include <math.h>
43415 #ifdef HAVE_IEEEFP_H
43416 #include <ieeefp.h>
43417 #endif
43420 main ()
43422 _isnanl(0);
43424 return 0;
43426 _ACEOF
43427 if ac_fn_cxx_try_compile "$LINENO"; then :
43428 glibcxx_cv_func__isnanl_use=yes
43429 else
43430 glibcxx_cv_func__isnanl_use=no
43432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43433 ac_ext=c
43434 ac_cpp='$CPP $CPPFLAGS'
43435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43444 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43446 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43447 for ac_func in _isnanl
43448 do :
43449 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43450 if test "x$ac_cv_func__isnanl" = x""yes; then :
43451 cat >>confdefs.h <<_ACEOF
43452 #define HAVE__ISNANL 1
43453 _ACEOF
43456 done
43465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43466 $as_echo_n "checking for isinfl declaration... " >&6; }
43467 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43468 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43469 $as_echo_n "(cached) " >&6
43470 else
43473 ac_ext=cpp
43474 ac_cpp='$CXXCPP $CPPFLAGS'
43475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43480 /* end confdefs.h. */
43481 #include <math.h>
43482 #ifdef HAVE_IEEEFP_H
43483 #include <ieeefp.h>
43484 #endif
43487 main ()
43489 isinfl(0);
43491 return 0;
43493 _ACEOF
43494 if ac_fn_cxx_try_compile "$LINENO"; then :
43495 glibcxx_cv_func_isinfl_use=yes
43496 else
43497 glibcxx_cv_func_isinfl_use=no
43499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43500 ac_ext=c
43501 ac_cpp='$CPP $CPPFLAGS'
43502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43511 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43513 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43514 for ac_func in isinfl
43515 do :
43516 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43517 if test "x$ac_cv_func_isinfl" = x""yes; then :
43518 cat >>confdefs.h <<_ACEOF
43519 #define HAVE_ISINFL 1
43520 _ACEOF
43523 done
43525 else
43527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43528 $as_echo_n "checking for _isinfl declaration... " >&6; }
43529 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43530 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43531 $as_echo_n "(cached) " >&6
43532 else
43535 ac_ext=cpp
43536 ac_cpp='$CXXCPP $CPPFLAGS'
43537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43542 /* end confdefs.h. */
43543 #include <math.h>
43544 #ifdef HAVE_IEEEFP_H
43545 #include <ieeefp.h>
43546 #endif
43549 main ()
43551 _isinfl(0);
43553 return 0;
43555 _ACEOF
43556 if ac_fn_cxx_try_compile "$LINENO"; then :
43557 glibcxx_cv_func__isinfl_use=yes
43558 else
43559 glibcxx_cv_func__isinfl_use=no
43561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43562 ac_ext=c
43563 ac_cpp='$CPP $CPPFLAGS'
43564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43573 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43575 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43576 for ac_func in _isinfl
43577 do :
43578 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43579 if test "x$ac_cv_func__isinfl" = x""yes; then :
43580 cat >>confdefs.h <<_ACEOF
43581 #define HAVE__ISINFL 1
43582 _ACEOF
43585 done
43594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43595 $as_echo_n "checking for atan2l declaration... " >&6; }
43596 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43597 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43598 $as_echo_n "(cached) " >&6
43599 else
43602 ac_ext=cpp
43603 ac_cpp='$CXXCPP $CPPFLAGS'
43604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43609 /* end confdefs.h. */
43610 #include <math.h>
43612 main ()
43614 atan2l(0, 0);
43616 return 0;
43618 _ACEOF
43619 if ac_fn_cxx_try_compile "$LINENO"; then :
43620 glibcxx_cv_func_atan2l_use=yes
43621 else
43622 glibcxx_cv_func_atan2l_use=no
43624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43625 ac_ext=c
43626 ac_cpp='$CPP $CPPFLAGS'
43627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43636 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43638 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43639 for ac_func in atan2l
43640 do :
43641 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43642 if test "x$ac_cv_func_atan2l" = x""yes; then :
43643 cat >>confdefs.h <<_ACEOF
43644 #define HAVE_ATAN2L 1
43645 _ACEOF
43648 done
43650 else
43652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43653 $as_echo_n "checking for _atan2l declaration... " >&6; }
43654 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43655 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43656 $as_echo_n "(cached) " >&6
43657 else
43660 ac_ext=cpp
43661 ac_cpp='$CXXCPP $CPPFLAGS'
43662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43667 /* end confdefs.h. */
43668 #include <math.h>
43670 main ()
43672 _atan2l(0, 0);
43674 return 0;
43676 _ACEOF
43677 if ac_fn_cxx_try_compile "$LINENO"; then :
43678 glibcxx_cv_func__atan2l_use=yes
43679 else
43680 glibcxx_cv_func__atan2l_use=no
43682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43683 ac_ext=c
43684 ac_cpp='$CPP $CPPFLAGS'
43685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43694 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43696 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43697 for ac_func in _atan2l
43698 do :
43699 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43700 if test "x$ac_cv_func__atan2l" = x""yes; then :
43701 cat >>confdefs.h <<_ACEOF
43702 #define HAVE__ATAN2L 1
43703 _ACEOF
43706 done
43715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43716 $as_echo_n "checking for expl declaration... " >&6; }
43717 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43718 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43719 $as_echo_n "(cached) " >&6
43720 else
43723 ac_ext=cpp
43724 ac_cpp='$CXXCPP $CPPFLAGS'
43725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43730 /* end confdefs.h. */
43731 #include <math.h>
43732 #ifdef HAVE_IEEEFP_H
43733 #include <ieeefp.h>
43734 #endif
43737 main ()
43739 expl(0);
43741 return 0;
43743 _ACEOF
43744 if ac_fn_cxx_try_compile "$LINENO"; then :
43745 glibcxx_cv_func_expl_use=yes
43746 else
43747 glibcxx_cv_func_expl_use=no
43749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43750 ac_ext=c
43751 ac_cpp='$CPP $CPPFLAGS'
43752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43761 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43763 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43764 for ac_func in expl
43765 do :
43766 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43767 if test "x$ac_cv_func_expl" = x""yes; then :
43768 cat >>confdefs.h <<_ACEOF
43769 #define HAVE_EXPL 1
43770 _ACEOF
43773 done
43775 else
43777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43778 $as_echo_n "checking for _expl declaration... " >&6; }
43779 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43780 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43781 $as_echo_n "(cached) " >&6
43782 else
43785 ac_ext=cpp
43786 ac_cpp='$CXXCPP $CPPFLAGS'
43787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43792 /* end confdefs.h. */
43793 #include <math.h>
43794 #ifdef HAVE_IEEEFP_H
43795 #include <ieeefp.h>
43796 #endif
43799 main ()
43801 _expl(0);
43803 return 0;
43805 _ACEOF
43806 if ac_fn_cxx_try_compile "$LINENO"; then :
43807 glibcxx_cv_func__expl_use=yes
43808 else
43809 glibcxx_cv_func__expl_use=no
43811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43812 ac_ext=c
43813 ac_cpp='$CPP $CPPFLAGS'
43814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43823 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43825 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43826 for ac_func in _expl
43827 do :
43828 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43829 if test "x$ac_cv_func__expl" = x""yes; then :
43830 cat >>confdefs.h <<_ACEOF
43831 #define HAVE__EXPL 1
43832 _ACEOF
43835 done
43844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43845 $as_echo_n "checking for fabsl declaration... " >&6; }
43846 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43847 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43848 $as_echo_n "(cached) " >&6
43849 else
43852 ac_ext=cpp
43853 ac_cpp='$CXXCPP $CPPFLAGS'
43854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43859 /* end confdefs.h. */
43860 #include <math.h>
43861 #ifdef HAVE_IEEEFP_H
43862 #include <ieeefp.h>
43863 #endif
43866 main ()
43868 fabsl(0);
43870 return 0;
43872 _ACEOF
43873 if ac_fn_cxx_try_compile "$LINENO"; then :
43874 glibcxx_cv_func_fabsl_use=yes
43875 else
43876 glibcxx_cv_func_fabsl_use=no
43878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43879 ac_ext=c
43880 ac_cpp='$CPP $CPPFLAGS'
43881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43890 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43892 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43893 for ac_func in fabsl
43894 do :
43895 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43896 if test "x$ac_cv_func_fabsl" = x""yes; then :
43897 cat >>confdefs.h <<_ACEOF
43898 #define HAVE_FABSL 1
43899 _ACEOF
43902 done
43904 else
43906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43907 $as_echo_n "checking for _fabsl declaration... " >&6; }
43908 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43909 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43910 $as_echo_n "(cached) " >&6
43911 else
43914 ac_ext=cpp
43915 ac_cpp='$CXXCPP $CPPFLAGS'
43916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43921 /* end confdefs.h. */
43922 #include <math.h>
43923 #ifdef HAVE_IEEEFP_H
43924 #include <ieeefp.h>
43925 #endif
43928 main ()
43930 _fabsl(0);
43932 return 0;
43934 _ACEOF
43935 if ac_fn_cxx_try_compile "$LINENO"; then :
43936 glibcxx_cv_func__fabsl_use=yes
43937 else
43938 glibcxx_cv_func__fabsl_use=no
43940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43941 ac_ext=c
43942 ac_cpp='$CPP $CPPFLAGS'
43943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43952 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43954 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43955 for ac_func in _fabsl
43956 do :
43957 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43958 if test "x$ac_cv_func__fabsl" = x""yes; then :
43959 cat >>confdefs.h <<_ACEOF
43960 #define HAVE__FABSL 1
43961 _ACEOF
43964 done
43973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43974 $as_echo_n "checking for fmodl declaration... " >&6; }
43975 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43976 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43977 $as_echo_n "(cached) " >&6
43978 else
43981 ac_ext=cpp
43982 ac_cpp='$CXXCPP $CPPFLAGS'
43983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43988 /* end confdefs.h. */
43989 #include <math.h>
43991 main ()
43993 fmodl(0, 0);
43995 return 0;
43997 _ACEOF
43998 if ac_fn_cxx_try_compile "$LINENO"; then :
43999 glibcxx_cv_func_fmodl_use=yes
44000 else
44001 glibcxx_cv_func_fmodl_use=no
44003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44004 ac_ext=c
44005 ac_cpp='$CPP $CPPFLAGS'
44006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44015 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44017 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44018 for ac_func in fmodl
44019 do :
44020 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44021 if test "x$ac_cv_func_fmodl" = x""yes; then :
44022 cat >>confdefs.h <<_ACEOF
44023 #define HAVE_FMODL 1
44024 _ACEOF
44027 done
44029 else
44031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44032 $as_echo_n "checking for _fmodl declaration... " >&6; }
44033 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44034 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44035 $as_echo_n "(cached) " >&6
44036 else
44039 ac_ext=cpp
44040 ac_cpp='$CXXCPP $CPPFLAGS'
44041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44046 /* end confdefs.h. */
44047 #include <math.h>
44049 main ()
44051 _fmodl(0, 0);
44053 return 0;
44055 _ACEOF
44056 if ac_fn_cxx_try_compile "$LINENO"; then :
44057 glibcxx_cv_func__fmodl_use=yes
44058 else
44059 glibcxx_cv_func__fmodl_use=no
44061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44062 ac_ext=c
44063 ac_cpp='$CPP $CPPFLAGS'
44064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44073 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44075 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44076 for ac_func in _fmodl
44077 do :
44078 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44079 if test "x$ac_cv_func__fmodl" = x""yes; then :
44080 cat >>confdefs.h <<_ACEOF
44081 #define HAVE__FMODL 1
44082 _ACEOF
44085 done
44094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44095 $as_echo_n "checking for frexpl declaration... " >&6; }
44096 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44097 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44098 $as_echo_n "(cached) " >&6
44099 else
44102 ac_ext=cpp
44103 ac_cpp='$CXXCPP $CPPFLAGS'
44104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44109 /* end confdefs.h. */
44110 #include <math.h>
44112 main ()
44114 frexpl(0, 0);
44116 return 0;
44118 _ACEOF
44119 if ac_fn_cxx_try_compile "$LINENO"; then :
44120 glibcxx_cv_func_frexpl_use=yes
44121 else
44122 glibcxx_cv_func_frexpl_use=no
44124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44125 ac_ext=c
44126 ac_cpp='$CPP $CPPFLAGS'
44127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44136 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44138 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44139 for ac_func in frexpl
44140 do :
44141 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44142 if test "x$ac_cv_func_frexpl" = x""yes; then :
44143 cat >>confdefs.h <<_ACEOF
44144 #define HAVE_FREXPL 1
44145 _ACEOF
44148 done
44150 else
44152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44153 $as_echo_n "checking for _frexpl declaration... " >&6; }
44154 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44155 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44156 $as_echo_n "(cached) " >&6
44157 else
44160 ac_ext=cpp
44161 ac_cpp='$CXXCPP $CPPFLAGS'
44162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44167 /* end confdefs.h. */
44168 #include <math.h>
44170 main ()
44172 _frexpl(0, 0);
44174 return 0;
44176 _ACEOF
44177 if ac_fn_cxx_try_compile "$LINENO"; then :
44178 glibcxx_cv_func__frexpl_use=yes
44179 else
44180 glibcxx_cv_func__frexpl_use=no
44182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44183 ac_ext=c
44184 ac_cpp='$CPP $CPPFLAGS'
44185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44194 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44196 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44197 for ac_func in _frexpl
44198 do :
44199 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44200 if test "x$ac_cv_func__frexpl" = x""yes; then :
44201 cat >>confdefs.h <<_ACEOF
44202 #define HAVE__FREXPL 1
44203 _ACEOF
44206 done
44215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44216 $as_echo_n "checking for hypotl declaration... " >&6; }
44217 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44218 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44219 $as_echo_n "(cached) " >&6
44220 else
44223 ac_ext=cpp
44224 ac_cpp='$CXXCPP $CPPFLAGS'
44225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44230 /* end confdefs.h. */
44231 #include <math.h>
44233 main ()
44235 hypotl(0, 0);
44237 return 0;
44239 _ACEOF
44240 if ac_fn_cxx_try_compile "$LINENO"; then :
44241 glibcxx_cv_func_hypotl_use=yes
44242 else
44243 glibcxx_cv_func_hypotl_use=no
44245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44246 ac_ext=c
44247 ac_cpp='$CPP $CPPFLAGS'
44248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44257 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44259 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44260 for ac_func in hypotl
44261 do :
44262 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44263 if test "x$ac_cv_func_hypotl" = x""yes; then :
44264 cat >>confdefs.h <<_ACEOF
44265 #define HAVE_HYPOTL 1
44266 _ACEOF
44269 done
44271 else
44273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44274 $as_echo_n "checking for _hypotl declaration... " >&6; }
44275 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44276 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44277 $as_echo_n "(cached) " >&6
44278 else
44281 ac_ext=cpp
44282 ac_cpp='$CXXCPP $CPPFLAGS'
44283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44288 /* end confdefs.h. */
44289 #include <math.h>
44291 main ()
44293 _hypotl(0, 0);
44295 return 0;
44297 _ACEOF
44298 if ac_fn_cxx_try_compile "$LINENO"; then :
44299 glibcxx_cv_func__hypotl_use=yes
44300 else
44301 glibcxx_cv_func__hypotl_use=no
44303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44304 ac_ext=c
44305 ac_cpp='$CPP $CPPFLAGS'
44306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44315 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44317 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44318 for ac_func in _hypotl
44319 do :
44320 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44321 if test "x$ac_cv_func__hypotl" = x""yes; then :
44322 cat >>confdefs.h <<_ACEOF
44323 #define HAVE__HYPOTL 1
44324 _ACEOF
44327 done
44336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44337 $as_echo_n "checking for ldexpl declaration... " >&6; }
44338 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44339 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44340 $as_echo_n "(cached) " >&6
44341 else
44344 ac_ext=cpp
44345 ac_cpp='$CXXCPP $CPPFLAGS'
44346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44351 /* end confdefs.h. */
44352 #include <math.h>
44354 main ()
44356 ldexpl(0, 0);
44358 return 0;
44360 _ACEOF
44361 if ac_fn_cxx_try_compile "$LINENO"; then :
44362 glibcxx_cv_func_ldexpl_use=yes
44363 else
44364 glibcxx_cv_func_ldexpl_use=no
44366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44367 ac_ext=c
44368 ac_cpp='$CPP $CPPFLAGS'
44369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44378 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44380 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44381 for ac_func in ldexpl
44382 do :
44383 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44384 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44385 cat >>confdefs.h <<_ACEOF
44386 #define HAVE_LDEXPL 1
44387 _ACEOF
44390 done
44392 else
44394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44395 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44396 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44397 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44398 $as_echo_n "(cached) " >&6
44399 else
44402 ac_ext=cpp
44403 ac_cpp='$CXXCPP $CPPFLAGS'
44404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44409 /* end confdefs.h. */
44410 #include <math.h>
44412 main ()
44414 _ldexpl(0, 0);
44416 return 0;
44418 _ACEOF
44419 if ac_fn_cxx_try_compile "$LINENO"; then :
44420 glibcxx_cv_func__ldexpl_use=yes
44421 else
44422 glibcxx_cv_func__ldexpl_use=no
44424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44425 ac_ext=c
44426 ac_cpp='$CPP $CPPFLAGS'
44427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44436 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44438 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44439 for ac_func in _ldexpl
44440 do :
44441 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44442 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44443 cat >>confdefs.h <<_ACEOF
44444 #define HAVE__LDEXPL 1
44445 _ACEOF
44448 done
44457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44458 $as_echo_n "checking for logl declaration... " >&6; }
44459 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44460 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44461 $as_echo_n "(cached) " >&6
44462 else
44465 ac_ext=cpp
44466 ac_cpp='$CXXCPP $CPPFLAGS'
44467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44472 /* end confdefs.h. */
44473 #include <math.h>
44474 #ifdef HAVE_IEEEFP_H
44475 #include <ieeefp.h>
44476 #endif
44479 main ()
44481 logl(0);
44483 return 0;
44485 _ACEOF
44486 if ac_fn_cxx_try_compile "$LINENO"; then :
44487 glibcxx_cv_func_logl_use=yes
44488 else
44489 glibcxx_cv_func_logl_use=no
44491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44492 ac_ext=c
44493 ac_cpp='$CPP $CPPFLAGS'
44494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44503 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44505 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44506 for ac_func in logl
44507 do :
44508 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44509 if test "x$ac_cv_func_logl" = x""yes; then :
44510 cat >>confdefs.h <<_ACEOF
44511 #define HAVE_LOGL 1
44512 _ACEOF
44515 done
44517 else
44519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44520 $as_echo_n "checking for _logl declaration... " >&6; }
44521 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44522 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44523 $as_echo_n "(cached) " >&6
44524 else
44527 ac_ext=cpp
44528 ac_cpp='$CXXCPP $CPPFLAGS'
44529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44534 /* end confdefs.h. */
44535 #include <math.h>
44536 #ifdef HAVE_IEEEFP_H
44537 #include <ieeefp.h>
44538 #endif
44541 main ()
44543 _logl(0);
44545 return 0;
44547 _ACEOF
44548 if ac_fn_cxx_try_compile "$LINENO"; then :
44549 glibcxx_cv_func__logl_use=yes
44550 else
44551 glibcxx_cv_func__logl_use=no
44553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44554 ac_ext=c
44555 ac_cpp='$CPP $CPPFLAGS'
44556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44565 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44567 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44568 for ac_func in _logl
44569 do :
44570 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44571 if test "x$ac_cv_func__logl" = x""yes; then :
44572 cat >>confdefs.h <<_ACEOF
44573 #define HAVE__LOGL 1
44574 _ACEOF
44577 done
44586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44587 $as_echo_n "checking for log10l declaration... " >&6; }
44588 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44589 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44590 $as_echo_n "(cached) " >&6
44591 else
44594 ac_ext=cpp
44595 ac_cpp='$CXXCPP $CPPFLAGS'
44596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44601 /* end confdefs.h. */
44602 #include <math.h>
44603 #ifdef HAVE_IEEEFP_H
44604 #include <ieeefp.h>
44605 #endif
44608 main ()
44610 log10l(0);
44612 return 0;
44614 _ACEOF
44615 if ac_fn_cxx_try_compile "$LINENO"; then :
44616 glibcxx_cv_func_log10l_use=yes
44617 else
44618 glibcxx_cv_func_log10l_use=no
44620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44621 ac_ext=c
44622 ac_cpp='$CPP $CPPFLAGS'
44623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44632 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44634 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44635 for ac_func in log10l
44636 do :
44637 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44638 if test "x$ac_cv_func_log10l" = x""yes; then :
44639 cat >>confdefs.h <<_ACEOF
44640 #define HAVE_LOG10L 1
44641 _ACEOF
44644 done
44646 else
44648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44649 $as_echo_n "checking for _log10l declaration... " >&6; }
44650 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44651 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44652 $as_echo_n "(cached) " >&6
44653 else
44656 ac_ext=cpp
44657 ac_cpp='$CXXCPP $CPPFLAGS'
44658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44663 /* end confdefs.h. */
44664 #include <math.h>
44665 #ifdef HAVE_IEEEFP_H
44666 #include <ieeefp.h>
44667 #endif
44670 main ()
44672 _log10l(0);
44674 return 0;
44676 _ACEOF
44677 if ac_fn_cxx_try_compile "$LINENO"; then :
44678 glibcxx_cv_func__log10l_use=yes
44679 else
44680 glibcxx_cv_func__log10l_use=no
44682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44683 ac_ext=c
44684 ac_cpp='$CPP $CPPFLAGS'
44685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44694 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44696 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44697 for ac_func in _log10l
44698 do :
44699 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44700 if test "x$ac_cv_func__log10l" = x""yes; then :
44701 cat >>confdefs.h <<_ACEOF
44702 #define HAVE__LOG10L 1
44703 _ACEOF
44706 done
44715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44716 $as_echo_n "checking for modfl declaration... " >&6; }
44717 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44718 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44719 $as_echo_n "(cached) " >&6
44720 else
44723 ac_ext=cpp
44724 ac_cpp='$CXXCPP $CPPFLAGS'
44725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44730 /* end confdefs.h. */
44731 #include <math.h>
44733 main ()
44735 modfl(0, 0);
44737 return 0;
44739 _ACEOF
44740 if ac_fn_cxx_try_compile "$LINENO"; then :
44741 glibcxx_cv_func_modfl_use=yes
44742 else
44743 glibcxx_cv_func_modfl_use=no
44745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44746 ac_ext=c
44747 ac_cpp='$CPP $CPPFLAGS'
44748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44757 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44759 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44760 for ac_func in modfl
44761 do :
44762 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44763 if test "x$ac_cv_func_modfl" = x""yes; then :
44764 cat >>confdefs.h <<_ACEOF
44765 #define HAVE_MODFL 1
44766 _ACEOF
44769 done
44771 else
44773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44774 $as_echo_n "checking for _modfl declaration... " >&6; }
44775 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44776 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44777 $as_echo_n "(cached) " >&6
44778 else
44781 ac_ext=cpp
44782 ac_cpp='$CXXCPP $CPPFLAGS'
44783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44788 /* end confdefs.h. */
44789 #include <math.h>
44791 main ()
44793 _modfl(0, 0);
44795 return 0;
44797 _ACEOF
44798 if ac_fn_cxx_try_compile "$LINENO"; then :
44799 glibcxx_cv_func__modfl_use=yes
44800 else
44801 glibcxx_cv_func__modfl_use=no
44803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44804 ac_ext=c
44805 ac_cpp='$CPP $CPPFLAGS'
44806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44815 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44817 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44818 for ac_func in _modfl
44819 do :
44820 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44821 if test "x$ac_cv_func__modfl" = x""yes; then :
44822 cat >>confdefs.h <<_ACEOF
44823 #define HAVE__MODFL 1
44824 _ACEOF
44827 done
44836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44837 $as_echo_n "checking for powl declaration... " >&6; }
44838 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44839 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44840 $as_echo_n "(cached) " >&6
44841 else
44844 ac_ext=cpp
44845 ac_cpp='$CXXCPP $CPPFLAGS'
44846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44851 /* end confdefs.h. */
44852 #include <math.h>
44854 main ()
44856 powl(0, 0);
44858 return 0;
44860 _ACEOF
44861 if ac_fn_cxx_try_compile "$LINENO"; then :
44862 glibcxx_cv_func_powl_use=yes
44863 else
44864 glibcxx_cv_func_powl_use=no
44866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44867 ac_ext=c
44868 ac_cpp='$CPP $CPPFLAGS'
44869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44878 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44880 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44881 for ac_func in powl
44882 do :
44883 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44884 if test "x$ac_cv_func_powl" = x""yes; then :
44885 cat >>confdefs.h <<_ACEOF
44886 #define HAVE_POWL 1
44887 _ACEOF
44890 done
44892 else
44894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44895 $as_echo_n "checking for _powl declaration... " >&6; }
44896 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44897 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44898 $as_echo_n "(cached) " >&6
44899 else
44902 ac_ext=cpp
44903 ac_cpp='$CXXCPP $CPPFLAGS'
44904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44909 /* end confdefs.h. */
44910 #include <math.h>
44912 main ()
44914 _powl(0, 0);
44916 return 0;
44918 _ACEOF
44919 if ac_fn_cxx_try_compile "$LINENO"; then :
44920 glibcxx_cv_func__powl_use=yes
44921 else
44922 glibcxx_cv_func__powl_use=no
44924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44925 ac_ext=c
44926 ac_cpp='$CPP $CPPFLAGS'
44927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44936 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44938 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44939 for ac_func in _powl
44940 do :
44941 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44942 if test "x$ac_cv_func__powl" = x""yes; then :
44943 cat >>confdefs.h <<_ACEOF
44944 #define HAVE__POWL 1
44945 _ACEOF
44948 done
44957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44958 $as_echo_n "checking for sqrtl declaration... " >&6; }
44959 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44960 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44961 $as_echo_n "(cached) " >&6
44962 else
44965 ac_ext=cpp
44966 ac_cpp='$CXXCPP $CPPFLAGS'
44967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44972 /* end confdefs.h. */
44973 #include <math.h>
44974 #ifdef HAVE_IEEEFP_H
44975 #include <ieeefp.h>
44976 #endif
44979 main ()
44981 sqrtl(0);
44983 return 0;
44985 _ACEOF
44986 if ac_fn_cxx_try_compile "$LINENO"; then :
44987 glibcxx_cv_func_sqrtl_use=yes
44988 else
44989 glibcxx_cv_func_sqrtl_use=no
44991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44992 ac_ext=c
44993 ac_cpp='$CPP $CPPFLAGS'
44994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45003 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45005 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45006 for ac_func in sqrtl
45007 do :
45008 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45009 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45010 cat >>confdefs.h <<_ACEOF
45011 #define HAVE_SQRTL 1
45012 _ACEOF
45015 done
45017 else
45019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45020 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45021 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45022 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45023 $as_echo_n "(cached) " >&6
45024 else
45027 ac_ext=cpp
45028 ac_cpp='$CXXCPP $CPPFLAGS'
45029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45034 /* end confdefs.h. */
45035 #include <math.h>
45036 #ifdef HAVE_IEEEFP_H
45037 #include <ieeefp.h>
45038 #endif
45041 main ()
45043 _sqrtl(0);
45045 return 0;
45047 _ACEOF
45048 if ac_fn_cxx_try_compile "$LINENO"; then :
45049 glibcxx_cv_func__sqrtl_use=yes
45050 else
45051 glibcxx_cv_func__sqrtl_use=no
45053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45054 ac_ext=c
45055 ac_cpp='$CPP $CPPFLAGS'
45056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45065 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45067 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45068 for ac_func in _sqrtl
45069 do :
45070 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45071 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45072 cat >>confdefs.h <<_ACEOF
45073 #define HAVE__SQRTL 1
45074 _ACEOF
45077 done
45086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45087 $as_echo_n "checking for sincosl declaration... " >&6; }
45088 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45089 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45090 $as_echo_n "(cached) " >&6
45091 else
45094 ac_ext=cpp
45095 ac_cpp='$CXXCPP $CPPFLAGS'
45096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45101 /* end confdefs.h. */
45102 #include <math.h>
45104 main ()
45106 sincosl(0, 0, 0);
45108 return 0;
45110 _ACEOF
45111 if ac_fn_cxx_try_compile "$LINENO"; then :
45112 glibcxx_cv_func_sincosl_use=yes
45113 else
45114 glibcxx_cv_func_sincosl_use=no
45116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45117 ac_ext=c
45118 ac_cpp='$CPP $CPPFLAGS'
45119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45128 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45130 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45131 for ac_func in sincosl
45132 do :
45133 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45134 if test "x$ac_cv_func_sincosl" = x""yes; then :
45135 cat >>confdefs.h <<_ACEOF
45136 #define HAVE_SINCOSL 1
45137 _ACEOF
45140 done
45142 else
45144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45145 $as_echo_n "checking for _sincosl declaration... " >&6; }
45146 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45147 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45148 $as_echo_n "(cached) " >&6
45149 else
45152 ac_ext=cpp
45153 ac_cpp='$CXXCPP $CPPFLAGS'
45154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45159 /* end confdefs.h. */
45160 #include <math.h>
45162 main ()
45164 _sincosl(0, 0, 0);
45166 return 0;
45168 _ACEOF
45169 if ac_fn_cxx_try_compile "$LINENO"; then :
45170 glibcxx_cv_func__sincosl_use=yes
45171 else
45172 glibcxx_cv_func__sincosl_use=no
45174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45175 ac_ext=c
45176 ac_cpp='$CPP $CPPFLAGS'
45177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45186 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45188 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45189 for ac_func in _sincosl
45190 do :
45191 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45192 if test "x$ac_cv_func__sincosl" = x""yes; then :
45193 cat >>confdefs.h <<_ACEOF
45194 #define HAVE__SINCOSL 1
45195 _ACEOF
45198 done
45207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45208 $as_echo_n "checking for finitel declaration... " >&6; }
45209 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45210 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45211 $as_echo_n "(cached) " >&6
45212 else
45215 ac_ext=cpp
45216 ac_cpp='$CXXCPP $CPPFLAGS'
45217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45222 /* end confdefs.h. */
45223 #include <math.h>
45224 #ifdef HAVE_IEEEFP_H
45225 #include <ieeefp.h>
45226 #endif
45229 main ()
45231 finitel(0);
45233 return 0;
45235 _ACEOF
45236 if ac_fn_cxx_try_compile "$LINENO"; then :
45237 glibcxx_cv_func_finitel_use=yes
45238 else
45239 glibcxx_cv_func_finitel_use=no
45241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45242 ac_ext=c
45243 ac_cpp='$CPP $CPPFLAGS'
45244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45253 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45255 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45256 for ac_func in finitel
45257 do :
45258 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45259 if test "x$ac_cv_func_finitel" = x""yes; then :
45260 cat >>confdefs.h <<_ACEOF
45261 #define HAVE_FINITEL 1
45262 _ACEOF
45265 done
45267 else
45269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45270 $as_echo_n "checking for _finitel declaration... " >&6; }
45271 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45272 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45273 $as_echo_n "(cached) " >&6
45274 else
45277 ac_ext=cpp
45278 ac_cpp='$CXXCPP $CPPFLAGS'
45279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45284 /* end confdefs.h. */
45285 #include <math.h>
45286 #ifdef HAVE_IEEEFP_H
45287 #include <ieeefp.h>
45288 #endif
45291 main ()
45293 _finitel(0);
45295 return 0;
45297 _ACEOF
45298 if ac_fn_cxx_try_compile "$LINENO"; then :
45299 glibcxx_cv_func__finitel_use=yes
45300 else
45301 glibcxx_cv_func__finitel_use=no
45303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45304 ac_ext=c
45305 ac_cpp='$CPP $CPPFLAGS'
45306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45315 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45317 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45318 for ac_func in _finitel
45319 do :
45320 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45321 if test "x$ac_cv_func__finitel" = x""yes; then :
45322 cat >>confdefs.h <<_ACEOF
45323 #define HAVE__FINITEL 1
45324 _ACEOF
45327 done
45335 LIBS="$ac_save_LIBS"
45336 CXXFLAGS="$ac_save_CXXFLAGS"
45339 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45340 ac_save_CXXFLAGS="$CXXFLAGS"
45341 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45345 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45346 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45347 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45348 $as_echo_n "(cached) " >&6
45349 else
45352 ac_ext=cpp
45353 ac_cpp='$CXXCPP $CPPFLAGS'
45354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45359 /* end confdefs.h. */
45360 #include <stdlib.h>
45362 main ()
45364 at_quick_exit(0);
45366 return 0;
45368 _ACEOF
45369 if ac_fn_cxx_try_compile "$LINENO"; then :
45370 glibcxx_cv_func_at_quick_exit_use=yes
45371 else
45372 glibcxx_cv_func_at_quick_exit_use=no
45374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45375 ac_ext=c
45376 ac_cpp='$CPP $CPPFLAGS'
45377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45386 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45387 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45388 for ac_func in at_quick_exit
45389 do :
45390 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45391 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45392 cat >>confdefs.h <<_ACEOF
45393 #define HAVE_AT_QUICK_EXIT 1
45394 _ACEOF
45397 done
45402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45403 $as_echo_n "checking for quick_exit declaration... " >&6; }
45404 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45405 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45406 $as_echo_n "(cached) " >&6
45407 else
45410 ac_ext=cpp
45411 ac_cpp='$CXXCPP $CPPFLAGS'
45412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45417 /* end confdefs.h. */
45418 #include <stdlib.h>
45420 main ()
45422 quick_exit(0);
45424 return 0;
45426 _ACEOF
45427 if ac_fn_cxx_try_compile "$LINENO"; then :
45428 glibcxx_cv_func_quick_exit_use=yes
45429 else
45430 glibcxx_cv_func_quick_exit_use=no
45432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45433 ac_ext=c
45434 ac_cpp='$CPP $CPPFLAGS'
45435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45444 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45445 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45446 for ac_func in quick_exit
45447 do :
45448 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45449 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45450 cat >>confdefs.h <<_ACEOF
45451 #define HAVE_QUICK_EXIT 1
45452 _ACEOF
45455 done
45460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45461 $as_echo_n "checking for strtold declaration... " >&6; }
45462 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45463 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45464 $as_echo_n "(cached) " >&6
45465 else
45468 ac_ext=cpp
45469 ac_cpp='$CXXCPP $CPPFLAGS'
45470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45475 /* end confdefs.h. */
45476 #include <stdlib.h>
45478 main ()
45480 strtold(0, 0);
45482 return 0;
45484 _ACEOF
45485 if ac_fn_cxx_try_compile "$LINENO"; then :
45486 glibcxx_cv_func_strtold_use=yes
45487 else
45488 glibcxx_cv_func_strtold_use=no
45490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45491 ac_ext=c
45492 ac_cpp='$CPP $CPPFLAGS'
45493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45502 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45503 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45504 for ac_func in strtold
45505 do :
45506 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45507 if test "x$ac_cv_func_strtold" = x""yes; then :
45508 cat >>confdefs.h <<_ACEOF
45509 #define HAVE_STRTOLD 1
45510 _ACEOF
45513 done
45520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45521 $as_echo_n "checking for strtof declaration... " >&6; }
45522 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45523 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45524 $as_echo_n "(cached) " >&6
45525 else
45528 ac_ext=cpp
45529 ac_cpp='$CXXCPP $CPPFLAGS'
45530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45535 /* end confdefs.h. */
45536 #include <stdlib.h>
45538 main ()
45540 strtof(0, 0);
45542 return 0;
45544 _ACEOF
45545 if ac_fn_cxx_try_compile "$LINENO"; then :
45546 glibcxx_cv_func_strtof_use=yes
45547 else
45548 glibcxx_cv_func_strtof_use=no
45550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45551 ac_ext=c
45552 ac_cpp='$CPP $CPPFLAGS'
45553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45562 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45563 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45564 for ac_func in strtof
45565 do :
45566 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45567 if test "x$ac_cv_func_strtof" = x""yes; then :
45568 cat >>confdefs.h <<_ACEOF
45569 #define HAVE_STRTOF 1
45570 _ACEOF
45573 done
45580 CXXFLAGS="$ac_save_CXXFLAGS"
45584 *djgpp)
45585 # GLIBCXX_CHECK_MATH_SUPPORT
45586 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45588 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45590 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45592 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
45594 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45598 *-freebsd*)
45599 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45602 # If we're not using GNU ld, then there's no point in even trying these
45603 # tests. Check for that first. We should have already tested for gld
45604 # by now (in libtool), but require it now just to be safe...
45605 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45606 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45610 # The name set by libtool depends on the version of libtool. Shame on us
45611 # for depending on an impl detail, but c'est la vie. Older versions used
45612 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45613 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45614 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45615 # set (hence we're using an older libtool), then set it.
45616 if test x${with_gnu_ld+set} != xset; then
45617 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45618 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45619 with_gnu_ld=no
45620 else
45621 with_gnu_ld=$ac_cv_prog_gnu_ld
45625 # Start by getting the version number. I think the libtool test already
45626 # does some of this, but throws away the result.
45627 glibcxx_ld_is_gold=no
45628 if test x"$with_gnu_ld" = x"yes"; then
45629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45630 $as_echo_n "checking for ld version... " >&6; }
45632 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45633 glibcxx_ld_is_gold=yes
45635 ldver=`$LD --version 2>/dev/null |
45636 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'`
45638 glibcxx_gnu_ld_version=`echo $ldver | \
45639 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45641 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45644 # Set --gc-sections.
45645 glibcxx_have_gc_sections=no
45646 if test "$glibcxx_ld_is_gold" = "yes"; then
45647 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45648 glibcxx_have_gc_sections=yes
45650 else
45651 glibcxx_gcsections_min_ld=21602
45652 if test x"$with_gnu_ld" = x"yes" &&
45653 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45654 glibcxx_have_gc_sections=yes
45657 if test "$glibcxx_have_gc_sections" = "yes"; then
45658 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45659 # NB: This flag only works reliably after 2.16.1. Configure tests
45660 # for this are difficult, so hard wire a value that should work.
45662 ac_test_CFLAGS="${CFLAGS+set}"
45663 ac_save_CFLAGS="$CFLAGS"
45664 CFLAGS='-Wl,--gc-sections'
45666 # Check for -Wl,--gc-sections
45667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45668 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45669 if test x$gcc_no_link = xyes; then
45670 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45673 /* end confdefs.h. */
45674 int one(void) { return 1; }
45675 int two(void) { return 2; }
45678 main ()
45680 two();
45682 return 0;
45684 _ACEOF
45685 if ac_fn_c_try_link "$LINENO"; then :
45686 ac_gcsections=yes
45687 else
45688 ac_gcsections=no
45690 rm -f core conftest.err conftest.$ac_objext \
45691 conftest$ac_exeext conftest.$ac_ext
45692 if test "$ac_gcsections" = "yes"; then
45693 rm -f conftest.c
45694 touch conftest.c
45695 if $CC -c conftest.c; then
45696 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45697 grep "Warning: gc-sections option ignored" > /dev/null; then
45698 ac_gcsections=no
45701 rm -f conftest.c conftest.o conftest
45703 if test "$ac_gcsections" = "yes"; then
45704 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45707 $as_echo "$ac_gcsections" >&6; }
45709 if test "$ac_test_CFLAGS" = set; then
45710 CFLAGS="$ac_save_CFLAGS"
45711 else
45712 # this is the suspicious part
45713 CFLAGS=''
45717 # Set -z,relro.
45718 # Note this is only for shared objects.
45719 ac_ld_relro=no
45720 if test x"$with_gnu_ld" = x"yes"; then
45721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45722 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45723 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45724 if test -n "$cxx_z_relo"; then
45725 OPT_LDFLAGS="-Wl,-z,relro"
45726 ac_ld_relro=yes
45728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45729 $as_echo "$ac_ld_relro" >&6; }
45732 # Set linker optimization flags.
45733 if test x"$with_gnu_ld" = x"yes"; then
45734 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45740 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
45742 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45744 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45746 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45748 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45750 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45752 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45754 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45756 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45759 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45761 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45763 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45765 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45767 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45769 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45771 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45773 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45775 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45777 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45779 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45781 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45783 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45785 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45787 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45789 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45791 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45793 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45795 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45797 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45799 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45801 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45803 if test x"long_double_math_on_this_cpu" = x"yes"; then
45804 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45806 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45808 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45812 *-hpux*)
45813 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45816 # If we're not using GNU ld, then there's no point in even trying these
45817 # tests. Check for that first. We should have already tested for gld
45818 # by now (in libtool), but require it now just to be safe...
45819 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45820 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45824 # The name set by libtool depends on the version of libtool. Shame on us
45825 # for depending on an impl detail, but c'est la vie. Older versions used
45826 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45827 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45828 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45829 # set (hence we're using an older libtool), then set it.
45830 if test x${with_gnu_ld+set} != xset; then
45831 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45832 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45833 with_gnu_ld=no
45834 else
45835 with_gnu_ld=$ac_cv_prog_gnu_ld
45839 # Start by getting the version number. I think the libtool test already
45840 # does some of this, but throws away the result.
45841 glibcxx_ld_is_gold=no
45842 if test x"$with_gnu_ld" = x"yes"; then
45843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45844 $as_echo_n "checking for ld version... " >&6; }
45846 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45847 glibcxx_ld_is_gold=yes
45849 ldver=`$LD --version 2>/dev/null |
45850 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'`
45852 glibcxx_gnu_ld_version=`echo $ldver | \
45853 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45855 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45858 # Set --gc-sections.
45859 glibcxx_have_gc_sections=no
45860 if test "$glibcxx_ld_is_gold" = "yes"; then
45861 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45862 glibcxx_have_gc_sections=yes
45864 else
45865 glibcxx_gcsections_min_ld=21602
45866 if test x"$with_gnu_ld" = x"yes" &&
45867 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45868 glibcxx_have_gc_sections=yes
45871 if test "$glibcxx_have_gc_sections" = "yes"; then
45872 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45873 # NB: This flag only works reliably after 2.16.1. Configure tests
45874 # for this are difficult, so hard wire a value that should work.
45876 ac_test_CFLAGS="${CFLAGS+set}"
45877 ac_save_CFLAGS="$CFLAGS"
45878 CFLAGS='-Wl,--gc-sections'
45880 # Check for -Wl,--gc-sections
45881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45882 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45883 if test x$gcc_no_link = xyes; then
45884 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45887 /* end confdefs.h. */
45888 int one(void) { return 1; }
45889 int two(void) { return 2; }
45892 main ()
45894 two();
45896 return 0;
45898 _ACEOF
45899 if ac_fn_c_try_link "$LINENO"; then :
45900 ac_gcsections=yes
45901 else
45902 ac_gcsections=no
45904 rm -f core conftest.err conftest.$ac_objext \
45905 conftest$ac_exeext conftest.$ac_ext
45906 if test "$ac_gcsections" = "yes"; then
45907 rm -f conftest.c
45908 touch conftest.c
45909 if $CC -c conftest.c; then
45910 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45911 grep "Warning: gc-sections option ignored" > /dev/null; then
45912 ac_gcsections=no
45915 rm -f conftest.c conftest.o conftest
45917 if test "$ac_gcsections" = "yes"; then
45918 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45921 $as_echo "$ac_gcsections" >&6; }
45923 if test "$ac_test_CFLAGS" = set; then
45924 CFLAGS="$ac_save_CFLAGS"
45925 else
45926 # this is the suspicious part
45927 CFLAGS=''
45931 # Set -z,relro.
45932 # Note this is only for shared objects.
45933 ac_ld_relro=no
45934 if test x"$with_gnu_ld" = x"yes"; then
45935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45936 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45937 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45938 if test -n "$cxx_z_relo"; then
45939 OPT_LDFLAGS="-Wl,-z,relro"
45940 ac_ld_relro=yes
45942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45943 $as_echo "$ac_ld_relro" >&6; }
45946 # Set linker optimization flags.
45947 if test x"$with_gnu_ld" = x"yes"; then
45948 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45955 # GLIBCXX_CHECK_MATH_SUPPORT
45956 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45958 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45960 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45962 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45964 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45966 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45968 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45970 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45972 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45974 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45976 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45978 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45980 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45982 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45984 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45986 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45988 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45990 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45992 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45994 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45996 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45999 # GLIBCXX_CHECK_STDLIB_SUPPORT
46000 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
46005 # Check whether --enable-tls was given.
46006 if test "${enable_tls+set}" = set; then :
46007 enableval=$enable_tls;
46008 case "$enableval" in
46009 yes|no) ;;
46010 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
46011 esac
46013 else
46014 enable_tls=yes
46018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
46019 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
46020 if test "${gcc_cv_have_tls+set}" = set; then :
46021 $as_echo_n "(cached) " >&6
46022 else
46024 if test "$cross_compiling" = yes; then :
46025 if test x$gcc_no_link = xyes; then
46026 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46029 /* end confdefs.h. */
46030 __thread int a; int b; int main() { return a = b; }
46031 _ACEOF
46032 if ac_fn_c_try_link "$LINENO"; then :
46033 chktls_save_LDFLAGS="$LDFLAGS"
46034 case $host in
46035 *-*-linux*)
46036 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
46038 esac
46039 chktls_save_CFLAGS="$CFLAGS"
46040 CFLAGS="-fPIC $CFLAGS"
46041 if test x$gcc_no_link = xyes; then
46042 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46045 /* end confdefs.h. */
46046 int f() { return 0; }
46047 _ACEOF
46048 if ac_fn_c_try_link "$LINENO"; then :
46049 if test x$gcc_no_link = xyes; then
46050 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46053 /* end confdefs.h. */
46054 __thread int a; int b; int f() { return a = b; }
46055 _ACEOF
46056 if ac_fn_c_try_link "$LINENO"; then :
46057 gcc_cv_have_tls=yes
46058 else
46059 gcc_cv_have_tls=no
46061 rm -f core conftest.err conftest.$ac_objext \
46062 conftest$ac_exeext conftest.$ac_ext
46063 else
46064 gcc_cv_have_tls=yes
46066 rm -f core conftest.err conftest.$ac_objext \
46067 conftest$ac_exeext conftest.$ac_ext
46068 CFLAGS="$chktls_save_CFLAGS"
46069 LDFLAGS="$chktls_save_LDFLAGS"
46070 else
46071 gcc_cv_have_tls=no
46073 rm -f core conftest.err conftest.$ac_objext \
46074 conftest$ac_exeext conftest.$ac_ext
46077 else
46078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46079 /* end confdefs.h. */
46080 __thread int a; int b; int main() { return a = b; }
46081 _ACEOF
46082 if ac_fn_c_try_run "$LINENO"; then :
46083 chktls_save_LDFLAGS="$LDFLAGS"
46084 LDFLAGS="-static $LDFLAGS"
46085 if test x$gcc_no_link = xyes; then
46086 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46089 /* end confdefs.h. */
46090 int main() { return 0; }
46091 _ACEOF
46092 if ac_fn_c_try_link "$LINENO"; then :
46093 if test "$cross_compiling" = yes; then :
46094 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46096 as_fn_error "cannot run test program while cross compiling
46097 See \`config.log' for more details." "$LINENO" 5; }
46098 else
46099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46100 /* end confdefs.h. */
46101 __thread int a; int b; int main() { return a = b; }
46102 _ACEOF
46103 if ac_fn_c_try_run "$LINENO"; then :
46104 gcc_cv_have_tls=yes
46105 else
46106 gcc_cv_have_tls=no
46108 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46109 conftest.$ac_objext conftest.beam conftest.$ac_ext
46112 else
46113 gcc_cv_have_tls=yes
46115 rm -f core conftest.err conftest.$ac_objext \
46116 conftest$ac_exeext conftest.$ac_ext
46117 LDFLAGS="$chktls_save_LDFLAGS"
46118 if test $gcc_cv_have_tls = yes; then
46119 chktls_save_CFLAGS="$CFLAGS"
46120 thread_CFLAGS=failed
46121 for flag in '' '-pthread' '-lpthread'; do
46122 CFLAGS="$flag $chktls_save_CFLAGS"
46123 if test x$gcc_no_link = xyes; then
46124 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46127 /* end confdefs.h. */
46128 #include <pthread.h>
46129 void *g(void *d) { return NULL; }
46131 main ()
46133 pthread_t t; pthread_create(&t,NULL,g,NULL);
46135 return 0;
46137 _ACEOF
46138 if ac_fn_c_try_link "$LINENO"; then :
46139 thread_CFLAGS="$flag"
46141 rm -f core conftest.err conftest.$ac_objext \
46142 conftest$ac_exeext conftest.$ac_ext
46143 if test "X$thread_CFLAGS" != Xfailed; then
46144 break
46146 done
46147 CFLAGS="$chktls_save_CFLAGS"
46148 if test "X$thread_CFLAGS" != Xfailed; then
46149 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
46150 if test "$cross_compiling" = yes; then :
46151 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46153 as_fn_error "cannot run test program while cross compiling
46154 See \`config.log' for more details." "$LINENO" 5; }
46155 else
46156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46157 /* end confdefs.h. */
46158 #include <pthread.h>
46159 __thread int a;
46160 static int *volatile a_in_other_thread;
46161 static void *
46162 thread_func (void *arg)
46164 a_in_other_thread = &a;
46165 return (void *)0;
46168 main ()
46170 pthread_t thread;
46171 void *thread_retval;
46172 int *volatile a_in_main_thread;
46173 a_in_main_thread = &a;
46174 if (pthread_create (&thread, (pthread_attr_t *)0,
46175 thread_func, (void *)0))
46176 return 0;
46177 if (pthread_join (thread, &thread_retval))
46178 return 0;
46179 return (a_in_other_thread == a_in_main_thread);
46181 return 0;
46183 _ACEOF
46184 if ac_fn_c_try_run "$LINENO"; then :
46185 gcc_cv_have_tls=yes
46186 else
46187 gcc_cv_have_tls=no
46189 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46190 conftest.$ac_objext conftest.beam conftest.$ac_ext
46193 CFLAGS="$chktls_save_CFLAGS"
46196 else
46197 gcc_cv_have_tls=no
46199 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46200 conftest.$ac_objext conftest.beam conftest.$ac_ext
46204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
46205 $as_echo "$gcc_cv_have_tls" >&6; }
46206 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
46208 $as_echo "#define HAVE_TLS 1" >>confdefs.h
46211 case "$target" in
46212 *-hpux10*)
46213 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
46215 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
46217 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
46219 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
46221 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
46224 esac
46226 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
46228 # All these tests are for C++; save the language and the compiler flags.
46229 # The CXXFLAGS thing is suspicious, but based on similar bits previously
46230 # found in GLIBCXX_CONFIGURE.
46232 ac_ext=cpp
46233 ac_cpp='$CXXCPP $CPPFLAGS'
46234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46238 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46239 ac_save_CXXFLAGS="$CXXFLAGS"
46241 # Check for maintainer-mode bits.
46242 if test x"$USE_MAINTAINER_MODE" = xno; then
46243 WERROR=''
46244 else
46245 WERROR='-Werror'
46248 # Check for -ffunction-sections -fdata-sections
46249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
46250 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
46251 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
46252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46253 /* end confdefs.h. */
46254 int foo; void bar() { };
46256 main ()
46260 return 0;
46262 _ACEOF
46263 if ac_fn_cxx_try_compile "$LINENO"; then :
46264 ac_fdsections=yes
46265 else
46266 ac_fdsections=no
46268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46269 if test "$ac_test_CXXFLAGS" = set; then
46270 CXXFLAGS="$ac_save_CXXFLAGS"
46271 else
46272 # this is the suspicious part
46273 CXXFLAGS=''
46275 if test x"$ac_fdsections" = x"yes"; then
46276 SECTION_FLAGS='-ffunction-sections -fdata-sections'
46278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
46279 $as_echo "$ac_fdsections" >&6; }
46281 ac_ext=c
46282 ac_cpp='$CPP $CPPFLAGS'
46283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46291 # If we're not using GNU ld, then there's no point in even trying these
46292 # tests. Check for that first. We should have already tested for gld
46293 # by now (in libtool), but require it now just to be safe...
46294 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
46295 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
46299 # The name set by libtool depends on the version of libtool. Shame on us
46300 # for depending on an impl detail, but c'est la vie. Older versions used
46301 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
46302 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
46303 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
46304 # set (hence we're using an older libtool), then set it.
46305 if test x${with_gnu_ld+set} != xset; then
46306 if test x${ac_cv_prog_gnu_ld+set} != xset; then
46307 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
46308 with_gnu_ld=no
46309 else
46310 with_gnu_ld=$ac_cv_prog_gnu_ld
46314 # Start by getting the version number. I think the libtool test already
46315 # does some of this, but throws away the result.
46316 glibcxx_ld_is_gold=no
46317 if test x"$with_gnu_ld" = x"yes"; then
46318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
46319 $as_echo_n "checking for ld version... " >&6; }
46321 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
46322 glibcxx_ld_is_gold=yes
46324 ldver=`$LD --version 2>/dev/null |
46325 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'`
46327 glibcxx_gnu_ld_version=`echo $ldver | \
46328 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
46329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
46330 $as_echo "$glibcxx_gnu_ld_version" >&6; }
46333 # Set --gc-sections.
46334 glibcxx_have_gc_sections=no
46335 if test "$glibcxx_ld_is_gold" = "yes"; then
46336 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
46337 glibcxx_have_gc_sections=yes
46339 else
46340 glibcxx_gcsections_min_ld=21602
46341 if test x"$with_gnu_ld" = x"yes" &&
46342 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
46343 glibcxx_have_gc_sections=yes
46346 if test "$glibcxx_have_gc_sections" = "yes"; then
46347 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
46348 # NB: This flag only works reliably after 2.16.1. Configure tests
46349 # for this are difficult, so hard wire a value that should work.
46351 ac_test_CFLAGS="${CFLAGS+set}"
46352 ac_save_CFLAGS="$CFLAGS"
46353 CFLAGS='-Wl,--gc-sections'
46355 # Check for -Wl,--gc-sections
46356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
46357 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
46358 if test x$gcc_no_link = xyes; then
46359 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46362 /* end confdefs.h. */
46363 int one(void) { return 1; }
46364 int two(void) { return 2; }
46367 main ()
46369 two();
46371 return 0;
46373 _ACEOF
46374 if ac_fn_c_try_link "$LINENO"; then :
46375 ac_gcsections=yes
46376 else
46377 ac_gcsections=no
46379 rm -f core conftest.err conftest.$ac_objext \
46380 conftest$ac_exeext conftest.$ac_ext
46381 if test "$ac_gcsections" = "yes"; then
46382 rm -f conftest.c
46383 touch conftest.c
46384 if $CC -c conftest.c; then
46385 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
46386 grep "Warning: gc-sections option ignored" > /dev/null; then
46387 ac_gcsections=no
46390 rm -f conftest.c conftest.o conftest
46392 if test "$ac_gcsections" = "yes"; then
46393 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
46395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
46396 $as_echo "$ac_gcsections" >&6; }
46398 if test "$ac_test_CFLAGS" = set; then
46399 CFLAGS="$ac_save_CFLAGS"
46400 else
46401 # this is the suspicious part
46402 CFLAGS=''
46406 # Set -z,relro.
46407 # Note this is only for shared objects.
46408 ac_ld_relro=no
46409 if test x"$with_gnu_ld" = x"yes"; then
46410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
46411 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
46412 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
46413 if test -n "$cxx_z_relo"; then
46414 OPT_LDFLAGS="-Wl,-z,relro"
46415 ac_ld_relro=yes
46417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
46418 $as_echo "$ac_ld_relro" >&6; }
46421 # Set linker optimization flags.
46422 if test x"$with_gnu_ld" = x"yes"; then
46423 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
46430 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46431 ac_save_CXXFLAGS="$CXXFLAGS"
46432 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46435 $as_echo_n "checking for sin in -lm... " >&6; }
46436 if test "${ac_cv_lib_m_sin+set}" = set; then :
46437 $as_echo_n "(cached) " >&6
46438 else
46439 ac_check_lib_save_LIBS=$LIBS
46440 LIBS="-lm $LIBS"
46441 if test x$gcc_no_link = xyes; then
46442 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46445 /* end confdefs.h. */
46447 /* Override any GCC internal prototype to avoid an error.
46448 Use char because int might match the return type of a GCC
46449 builtin and then its argument prototype would still apply. */
46450 #ifdef __cplusplus
46451 extern "C"
46452 #endif
46453 char sin ();
46455 main ()
46457 return sin ();
46459 return 0;
46461 _ACEOF
46462 if ac_fn_c_try_link "$LINENO"; then :
46463 ac_cv_lib_m_sin=yes
46464 else
46465 ac_cv_lib_m_sin=no
46467 rm -f core conftest.err conftest.$ac_objext \
46468 conftest$ac_exeext conftest.$ac_ext
46469 LIBS=$ac_check_lib_save_LIBS
46471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46472 $as_echo "$ac_cv_lib_m_sin" >&6; }
46473 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46474 libm="-lm"
46477 ac_save_LIBS="$LIBS"
46478 LIBS="$LIBS $libm"
46482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46483 $as_echo_n "checking for isinf declaration... " >&6; }
46484 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46485 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46486 $as_echo_n "(cached) " >&6
46487 else
46490 ac_ext=cpp
46491 ac_cpp='$CXXCPP $CPPFLAGS'
46492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46497 /* end confdefs.h. */
46498 #include <math.h>
46499 #ifdef HAVE_IEEEFP_H
46500 #include <ieeefp.h>
46501 #endif
46504 main ()
46506 isinf(0);
46508 return 0;
46510 _ACEOF
46511 if ac_fn_cxx_try_compile "$LINENO"; then :
46512 glibcxx_cv_func_isinf_use=yes
46513 else
46514 glibcxx_cv_func_isinf_use=no
46516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46517 ac_ext=c
46518 ac_cpp='$CPP $CPPFLAGS'
46519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46528 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46530 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46531 for ac_func in isinf
46532 do :
46533 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46534 if test "x$ac_cv_func_isinf" = x""yes; then :
46535 cat >>confdefs.h <<_ACEOF
46536 #define HAVE_ISINF 1
46537 _ACEOF
46540 done
46542 else
46544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46545 $as_echo_n "checking for _isinf declaration... " >&6; }
46546 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46547 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46548 $as_echo_n "(cached) " >&6
46549 else
46552 ac_ext=cpp
46553 ac_cpp='$CXXCPP $CPPFLAGS'
46554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46559 /* end confdefs.h. */
46560 #include <math.h>
46561 #ifdef HAVE_IEEEFP_H
46562 #include <ieeefp.h>
46563 #endif
46566 main ()
46568 _isinf(0);
46570 return 0;
46572 _ACEOF
46573 if ac_fn_cxx_try_compile "$LINENO"; then :
46574 glibcxx_cv_func__isinf_use=yes
46575 else
46576 glibcxx_cv_func__isinf_use=no
46578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46579 ac_ext=c
46580 ac_cpp='$CPP $CPPFLAGS'
46581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46590 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46592 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46593 for ac_func in _isinf
46594 do :
46595 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46596 if test "x$ac_cv_func__isinf" = x""yes; then :
46597 cat >>confdefs.h <<_ACEOF
46598 #define HAVE__ISINF 1
46599 _ACEOF
46602 done
46611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46612 $as_echo_n "checking for isnan declaration... " >&6; }
46613 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46614 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46615 $as_echo_n "(cached) " >&6
46616 else
46619 ac_ext=cpp
46620 ac_cpp='$CXXCPP $CPPFLAGS'
46621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46626 /* end confdefs.h. */
46627 #include <math.h>
46628 #ifdef HAVE_IEEEFP_H
46629 #include <ieeefp.h>
46630 #endif
46633 main ()
46635 isnan(0);
46637 return 0;
46639 _ACEOF
46640 if ac_fn_cxx_try_compile "$LINENO"; then :
46641 glibcxx_cv_func_isnan_use=yes
46642 else
46643 glibcxx_cv_func_isnan_use=no
46645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46646 ac_ext=c
46647 ac_cpp='$CPP $CPPFLAGS'
46648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46657 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46659 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46660 for ac_func in isnan
46661 do :
46662 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46663 if test "x$ac_cv_func_isnan" = x""yes; then :
46664 cat >>confdefs.h <<_ACEOF
46665 #define HAVE_ISNAN 1
46666 _ACEOF
46669 done
46671 else
46673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46674 $as_echo_n "checking for _isnan declaration... " >&6; }
46675 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46676 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46677 $as_echo_n "(cached) " >&6
46678 else
46681 ac_ext=cpp
46682 ac_cpp='$CXXCPP $CPPFLAGS'
46683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46688 /* end confdefs.h. */
46689 #include <math.h>
46690 #ifdef HAVE_IEEEFP_H
46691 #include <ieeefp.h>
46692 #endif
46695 main ()
46697 _isnan(0);
46699 return 0;
46701 _ACEOF
46702 if ac_fn_cxx_try_compile "$LINENO"; then :
46703 glibcxx_cv_func__isnan_use=yes
46704 else
46705 glibcxx_cv_func__isnan_use=no
46707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46708 ac_ext=c
46709 ac_cpp='$CPP $CPPFLAGS'
46710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46719 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46721 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46722 for ac_func in _isnan
46723 do :
46724 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46725 if test "x$ac_cv_func__isnan" = x""yes; then :
46726 cat >>confdefs.h <<_ACEOF
46727 #define HAVE__ISNAN 1
46728 _ACEOF
46731 done
46740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46741 $as_echo_n "checking for finite declaration... " >&6; }
46742 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46743 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46744 $as_echo_n "(cached) " >&6
46745 else
46748 ac_ext=cpp
46749 ac_cpp='$CXXCPP $CPPFLAGS'
46750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46755 /* end confdefs.h. */
46756 #include <math.h>
46757 #ifdef HAVE_IEEEFP_H
46758 #include <ieeefp.h>
46759 #endif
46762 main ()
46764 finite(0);
46766 return 0;
46768 _ACEOF
46769 if ac_fn_cxx_try_compile "$LINENO"; then :
46770 glibcxx_cv_func_finite_use=yes
46771 else
46772 glibcxx_cv_func_finite_use=no
46774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46775 ac_ext=c
46776 ac_cpp='$CPP $CPPFLAGS'
46777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46786 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46788 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46789 for ac_func in finite
46790 do :
46791 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46792 if test "x$ac_cv_func_finite" = x""yes; then :
46793 cat >>confdefs.h <<_ACEOF
46794 #define HAVE_FINITE 1
46795 _ACEOF
46798 done
46800 else
46802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46803 $as_echo_n "checking for _finite declaration... " >&6; }
46804 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46805 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46806 $as_echo_n "(cached) " >&6
46807 else
46810 ac_ext=cpp
46811 ac_cpp='$CXXCPP $CPPFLAGS'
46812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46817 /* end confdefs.h. */
46818 #include <math.h>
46819 #ifdef HAVE_IEEEFP_H
46820 #include <ieeefp.h>
46821 #endif
46824 main ()
46826 _finite(0);
46828 return 0;
46830 _ACEOF
46831 if ac_fn_cxx_try_compile "$LINENO"; then :
46832 glibcxx_cv_func__finite_use=yes
46833 else
46834 glibcxx_cv_func__finite_use=no
46836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46837 ac_ext=c
46838 ac_cpp='$CPP $CPPFLAGS'
46839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46848 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46850 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46851 for ac_func in _finite
46852 do :
46853 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46854 if test "x$ac_cv_func__finite" = x""yes; then :
46855 cat >>confdefs.h <<_ACEOF
46856 #define HAVE__FINITE 1
46857 _ACEOF
46860 done
46869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46870 $as_echo_n "checking for sincos declaration... " >&6; }
46871 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46872 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46873 $as_echo_n "(cached) " >&6
46874 else
46877 ac_ext=cpp
46878 ac_cpp='$CXXCPP $CPPFLAGS'
46879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46884 /* end confdefs.h. */
46885 #include <math.h>
46887 main ()
46889 sincos(0, 0, 0);
46891 return 0;
46893 _ACEOF
46894 if ac_fn_cxx_try_compile "$LINENO"; then :
46895 glibcxx_cv_func_sincos_use=yes
46896 else
46897 glibcxx_cv_func_sincos_use=no
46899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46900 ac_ext=c
46901 ac_cpp='$CPP $CPPFLAGS'
46902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46911 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46913 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46914 for ac_func in sincos
46915 do :
46916 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46917 if test "x$ac_cv_func_sincos" = x""yes; then :
46918 cat >>confdefs.h <<_ACEOF
46919 #define HAVE_SINCOS 1
46920 _ACEOF
46923 done
46925 else
46927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46928 $as_echo_n "checking for _sincos declaration... " >&6; }
46929 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46930 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46931 $as_echo_n "(cached) " >&6
46932 else
46935 ac_ext=cpp
46936 ac_cpp='$CXXCPP $CPPFLAGS'
46937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46942 /* end confdefs.h. */
46943 #include <math.h>
46945 main ()
46947 _sincos(0, 0, 0);
46949 return 0;
46951 _ACEOF
46952 if ac_fn_cxx_try_compile "$LINENO"; then :
46953 glibcxx_cv_func__sincos_use=yes
46954 else
46955 glibcxx_cv_func__sincos_use=no
46957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46958 ac_ext=c
46959 ac_cpp='$CPP $CPPFLAGS'
46960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46969 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46971 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46972 for ac_func in _sincos
46973 do :
46974 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46975 if test "x$ac_cv_func__sincos" = x""yes; then :
46976 cat >>confdefs.h <<_ACEOF
46977 #define HAVE__SINCOS 1
46978 _ACEOF
46981 done
46990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46991 $as_echo_n "checking for fpclass declaration... " >&6; }
46992 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46993 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46994 $as_echo_n "(cached) " >&6
46995 else
46998 ac_ext=cpp
46999 ac_cpp='$CXXCPP $CPPFLAGS'
47000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47005 /* end confdefs.h. */
47006 #include <math.h>
47007 #ifdef HAVE_IEEEFP_H
47008 #include <ieeefp.h>
47009 #endif
47012 main ()
47014 fpclass(0);
47016 return 0;
47018 _ACEOF
47019 if ac_fn_cxx_try_compile "$LINENO"; then :
47020 glibcxx_cv_func_fpclass_use=yes
47021 else
47022 glibcxx_cv_func_fpclass_use=no
47024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47025 ac_ext=c
47026 ac_cpp='$CPP $CPPFLAGS'
47027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47036 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47038 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47039 for ac_func in fpclass
47040 do :
47041 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47042 if test "x$ac_cv_func_fpclass" = x""yes; then :
47043 cat >>confdefs.h <<_ACEOF
47044 #define HAVE_FPCLASS 1
47045 _ACEOF
47048 done
47050 else
47052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47053 $as_echo_n "checking for _fpclass declaration... " >&6; }
47054 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47055 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47056 $as_echo_n "(cached) " >&6
47057 else
47060 ac_ext=cpp
47061 ac_cpp='$CXXCPP $CPPFLAGS'
47062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47067 /* end confdefs.h. */
47068 #include <math.h>
47069 #ifdef HAVE_IEEEFP_H
47070 #include <ieeefp.h>
47071 #endif
47074 main ()
47076 _fpclass(0);
47078 return 0;
47080 _ACEOF
47081 if ac_fn_cxx_try_compile "$LINENO"; then :
47082 glibcxx_cv_func__fpclass_use=yes
47083 else
47084 glibcxx_cv_func__fpclass_use=no
47086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47087 ac_ext=c
47088 ac_cpp='$CPP $CPPFLAGS'
47089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47098 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47100 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47101 for ac_func in _fpclass
47102 do :
47103 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47104 if test "x$ac_cv_func__fpclass" = x""yes; then :
47105 cat >>confdefs.h <<_ACEOF
47106 #define HAVE__FPCLASS 1
47107 _ACEOF
47110 done
47119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
47120 $as_echo_n "checking for qfpclass declaration... " >&6; }
47121 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
47122 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
47123 $as_echo_n "(cached) " >&6
47124 else
47127 ac_ext=cpp
47128 ac_cpp='$CXXCPP $CPPFLAGS'
47129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47134 /* end confdefs.h. */
47135 #include <math.h>
47136 #ifdef HAVE_IEEEFP_H
47137 #include <ieeefp.h>
47138 #endif
47141 main ()
47143 qfpclass(0);
47145 return 0;
47147 _ACEOF
47148 if ac_fn_cxx_try_compile "$LINENO"; then :
47149 glibcxx_cv_func_qfpclass_use=yes
47150 else
47151 glibcxx_cv_func_qfpclass_use=no
47153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47154 ac_ext=c
47155 ac_cpp='$CPP $CPPFLAGS'
47156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47165 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47167 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47168 for ac_func in qfpclass
47169 do :
47170 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47171 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47172 cat >>confdefs.h <<_ACEOF
47173 #define HAVE_QFPCLASS 1
47174 _ACEOF
47177 done
47179 else
47181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47182 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47183 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47184 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47185 $as_echo_n "(cached) " >&6
47186 else
47189 ac_ext=cpp
47190 ac_cpp='$CXXCPP $CPPFLAGS'
47191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47196 /* end confdefs.h. */
47197 #include <math.h>
47198 #ifdef HAVE_IEEEFP_H
47199 #include <ieeefp.h>
47200 #endif
47203 main ()
47205 _qfpclass(0);
47207 return 0;
47209 _ACEOF
47210 if ac_fn_cxx_try_compile "$LINENO"; then :
47211 glibcxx_cv_func__qfpclass_use=yes
47212 else
47213 glibcxx_cv_func__qfpclass_use=no
47215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47216 ac_ext=c
47217 ac_cpp='$CPP $CPPFLAGS'
47218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47227 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47229 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47230 for ac_func in _qfpclass
47231 do :
47232 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47233 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47234 cat >>confdefs.h <<_ACEOF
47235 #define HAVE__QFPCLASS 1
47236 _ACEOF
47239 done
47248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47249 $as_echo_n "checking for hypot declaration... " >&6; }
47250 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47251 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47252 $as_echo_n "(cached) " >&6
47253 else
47256 ac_ext=cpp
47257 ac_cpp='$CXXCPP $CPPFLAGS'
47258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47263 /* end confdefs.h. */
47264 #include <math.h>
47266 main ()
47268 hypot(0, 0);
47270 return 0;
47272 _ACEOF
47273 if ac_fn_cxx_try_compile "$LINENO"; then :
47274 glibcxx_cv_func_hypot_use=yes
47275 else
47276 glibcxx_cv_func_hypot_use=no
47278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47279 ac_ext=c
47280 ac_cpp='$CPP $CPPFLAGS'
47281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47290 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47292 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47293 for ac_func in hypot
47294 do :
47295 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47296 if test "x$ac_cv_func_hypot" = x""yes; then :
47297 cat >>confdefs.h <<_ACEOF
47298 #define HAVE_HYPOT 1
47299 _ACEOF
47302 done
47304 else
47306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47307 $as_echo_n "checking for _hypot declaration... " >&6; }
47308 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47309 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47310 $as_echo_n "(cached) " >&6
47311 else
47314 ac_ext=cpp
47315 ac_cpp='$CXXCPP $CPPFLAGS'
47316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47321 /* end confdefs.h. */
47322 #include <math.h>
47324 main ()
47326 _hypot(0, 0);
47328 return 0;
47330 _ACEOF
47331 if ac_fn_cxx_try_compile "$LINENO"; then :
47332 glibcxx_cv_func__hypot_use=yes
47333 else
47334 glibcxx_cv_func__hypot_use=no
47336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47337 ac_ext=c
47338 ac_cpp='$CPP $CPPFLAGS'
47339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47348 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47350 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47351 for ac_func in _hypot
47352 do :
47353 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47354 if test "x$ac_cv_func__hypot" = x""yes; then :
47355 cat >>confdefs.h <<_ACEOF
47356 #define HAVE__HYPOT 1
47357 _ACEOF
47360 done
47369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47370 $as_echo_n "checking for float trig functions... " >&6; }
47371 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47372 $as_echo_n "(cached) " >&6
47373 else
47376 ac_ext=cpp
47377 ac_cpp='$CXXCPP $CPPFLAGS'
47378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47383 /* end confdefs.h. */
47384 #include <math.h>
47386 main ()
47388 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47390 return 0;
47392 _ACEOF
47393 if ac_fn_cxx_try_compile "$LINENO"; then :
47394 glibcxx_cv_func_float_trig_use=yes
47395 else
47396 glibcxx_cv_func_float_trig_use=no
47398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47399 ac_ext=c
47400 ac_cpp='$CPP $CPPFLAGS'
47401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47408 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47409 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47410 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47411 do :
47412 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47413 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47414 eval as_val=\$$as_ac_var
47415 if test "x$as_val" = x""yes; then :
47416 cat >>confdefs.h <<_ACEOF
47417 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47418 _ACEOF
47421 done
47423 else
47424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47425 $as_echo_n "checking for _float trig functions... " >&6; }
47426 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47427 $as_echo_n "(cached) " >&6
47428 else
47431 ac_ext=cpp
47432 ac_cpp='$CXXCPP $CPPFLAGS'
47433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47438 /* end confdefs.h. */
47439 #include <math.h>
47441 main ()
47443 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47445 return 0;
47447 _ACEOF
47448 if ac_fn_cxx_try_compile "$LINENO"; then :
47449 glibcxx_cv_func__float_trig_use=yes
47450 else
47451 glibcxx_cv_func__float_trig_use=no
47453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47454 ac_ext=c
47455 ac_cpp='$CPP $CPPFLAGS'
47456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47463 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47464 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47465 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47466 do :
47467 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47468 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47469 eval as_val=\$$as_ac_var
47470 if test "x$as_val" = x""yes; then :
47471 cat >>confdefs.h <<_ACEOF
47472 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47473 _ACEOF
47476 done
47485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47486 $as_echo_n "checking for float round functions... " >&6; }
47487 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47488 $as_echo_n "(cached) " >&6
47489 else
47492 ac_ext=cpp
47493 ac_cpp='$CXXCPP $CPPFLAGS'
47494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47499 /* end confdefs.h. */
47500 #include <math.h>
47502 main ()
47504 ceilf (0); floorf (0);
47506 return 0;
47508 _ACEOF
47509 if ac_fn_cxx_try_compile "$LINENO"; then :
47510 glibcxx_cv_func_float_round_use=yes
47511 else
47512 glibcxx_cv_func_float_round_use=no
47514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47515 ac_ext=c
47516 ac_cpp='$CPP $CPPFLAGS'
47517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47524 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47525 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47526 for ac_func in ceilf floorf
47527 do :
47528 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47529 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47530 eval as_val=\$$as_ac_var
47531 if test "x$as_val" = x""yes; then :
47532 cat >>confdefs.h <<_ACEOF
47533 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47534 _ACEOF
47537 done
47539 else
47540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47541 $as_echo_n "checking for _float round functions... " >&6; }
47542 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47543 $as_echo_n "(cached) " >&6
47544 else
47547 ac_ext=cpp
47548 ac_cpp='$CXXCPP $CPPFLAGS'
47549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47554 /* end confdefs.h. */
47555 #include <math.h>
47557 main ()
47559 _ceilf (0); _floorf (0);
47561 return 0;
47563 _ACEOF
47564 if ac_fn_cxx_try_compile "$LINENO"; then :
47565 glibcxx_cv_func__float_round_use=yes
47566 else
47567 glibcxx_cv_func__float_round_use=no
47569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47570 ac_ext=c
47571 ac_cpp='$CPP $CPPFLAGS'
47572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47579 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47580 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47581 for ac_func in _ceilf _floorf
47582 do :
47583 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47584 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47585 eval as_val=\$$as_ac_var
47586 if test "x$as_val" = x""yes; then :
47587 cat >>confdefs.h <<_ACEOF
47588 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47589 _ACEOF
47592 done
47602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47603 $as_echo_n "checking for expf declaration... " >&6; }
47604 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47605 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47606 $as_echo_n "(cached) " >&6
47607 else
47610 ac_ext=cpp
47611 ac_cpp='$CXXCPP $CPPFLAGS'
47612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47617 /* end confdefs.h. */
47618 #include <math.h>
47619 #ifdef HAVE_IEEEFP_H
47620 #include <ieeefp.h>
47621 #endif
47624 main ()
47626 expf(0);
47628 return 0;
47630 _ACEOF
47631 if ac_fn_cxx_try_compile "$LINENO"; then :
47632 glibcxx_cv_func_expf_use=yes
47633 else
47634 glibcxx_cv_func_expf_use=no
47636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47637 ac_ext=c
47638 ac_cpp='$CPP $CPPFLAGS'
47639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47648 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47650 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47651 for ac_func in expf
47652 do :
47653 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47654 if test "x$ac_cv_func_expf" = x""yes; then :
47655 cat >>confdefs.h <<_ACEOF
47656 #define HAVE_EXPF 1
47657 _ACEOF
47660 done
47662 else
47664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47665 $as_echo_n "checking for _expf declaration... " >&6; }
47666 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47667 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47668 $as_echo_n "(cached) " >&6
47669 else
47672 ac_ext=cpp
47673 ac_cpp='$CXXCPP $CPPFLAGS'
47674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47679 /* end confdefs.h. */
47680 #include <math.h>
47681 #ifdef HAVE_IEEEFP_H
47682 #include <ieeefp.h>
47683 #endif
47686 main ()
47688 _expf(0);
47690 return 0;
47692 _ACEOF
47693 if ac_fn_cxx_try_compile "$LINENO"; then :
47694 glibcxx_cv_func__expf_use=yes
47695 else
47696 glibcxx_cv_func__expf_use=no
47698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47699 ac_ext=c
47700 ac_cpp='$CPP $CPPFLAGS'
47701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47710 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47712 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47713 for ac_func in _expf
47714 do :
47715 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47716 if test "x$ac_cv_func__expf" = x""yes; then :
47717 cat >>confdefs.h <<_ACEOF
47718 #define HAVE__EXPF 1
47719 _ACEOF
47722 done
47731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47732 $as_echo_n "checking for isnanf declaration... " >&6; }
47733 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47734 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47735 $as_echo_n "(cached) " >&6
47736 else
47739 ac_ext=cpp
47740 ac_cpp='$CXXCPP $CPPFLAGS'
47741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47746 /* end confdefs.h. */
47747 #include <math.h>
47748 #ifdef HAVE_IEEEFP_H
47749 #include <ieeefp.h>
47750 #endif
47753 main ()
47755 isnanf(0);
47757 return 0;
47759 _ACEOF
47760 if ac_fn_cxx_try_compile "$LINENO"; then :
47761 glibcxx_cv_func_isnanf_use=yes
47762 else
47763 glibcxx_cv_func_isnanf_use=no
47765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47766 ac_ext=c
47767 ac_cpp='$CPP $CPPFLAGS'
47768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47777 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47779 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47780 for ac_func in isnanf
47781 do :
47782 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47783 if test "x$ac_cv_func_isnanf" = x""yes; then :
47784 cat >>confdefs.h <<_ACEOF
47785 #define HAVE_ISNANF 1
47786 _ACEOF
47789 done
47791 else
47793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47794 $as_echo_n "checking for _isnanf declaration... " >&6; }
47795 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47796 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47797 $as_echo_n "(cached) " >&6
47798 else
47801 ac_ext=cpp
47802 ac_cpp='$CXXCPP $CPPFLAGS'
47803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47808 /* end confdefs.h. */
47809 #include <math.h>
47810 #ifdef HAVE_IEEEFP_H
47811 #include <ieeefp.h>
47812 #endif
47815 main ()
47817 _isnanf(0);
47819 return 0;
47821 _ACEOF
47822 if ac_fn_cxx_try_compile "$LINENO"; then :
47823 glibcxx_cv_func__isnanf_use=yes
47824 else
47825 glibcxx_cv_func__isnanf_use=no
47827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47828 ac_ext=c
47829 ac_cpp='$CPP $CPPFLAGS'
47830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47839 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47841 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47842 for ac_func in _isnanf
47843 do :
47844 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47845 if test "x$ac_cv_func__isnanf" = x""yes; then :
47846 cat >>confdefs.h <<_ACEOF
47847 #define HAVE__ISNANF 1
47848 _ACEOF
47851 done
47860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47861 $as_echo_n "checking for isinff declaration... " >&6; }
47862 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47863 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47864 $as_echo_n "(cached) " >&6
47865 else
47868 ac_ext=cpp
47869 ac_cpp='$CXXCPP $CPPFLAGS'
47870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47875 /* end confdefs.h. */
47876 #include <math.h>
47877 #ifdef HAVE_IEEEFP_H
47878 #include <ieeefp.h>
47879 #endif
47882 main ()
47884 isinff(0);
47886 return 0;
47888 _ACEOF
47889 if ac_fn_cxx_try_compile "$LINENO"; then :
47890 glibcxx_cv_func_isinff_use=yes
47891 else
47892 glibcxx_cv_func_isinff_use=no
47894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47895 ac_ext=c
47896 ac_cpp='$CPP $CPPFLAGS'
47897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47906 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47908 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47909 for ac_func in isinff
47910 do :
47911 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47912 if test "x$ac_cv_func_isinff" = x""yes; then :
47913 cat >>confdefs.h <<_ACEOF
47914 #define HAVE_ISINFF 1
47915 _ACEOF
47918 done
47920 else
47922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47923 $as_echo_n "checking for _isinff declaration... " >&6; }
47924 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47925 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47926 $as_echo_n "(cached) " >&6
47927 else
47930 ac_ext=cpp
47931 ac_cpp='$CXXCPP $CPPFLAGS'
47932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47937 /* end confdefs.h. */
47938 #include <math.h>
47939 #ifdef HAVE_IEEEFP_H
47940 #include <ieeefp.h>
47941 #endif
47944 main ()
47946 _isinff(0);
47948 return 0;
47950 _ACEOF
47951 if ac_fn_cxx_try_compile "$LINENO"; then :
47952 glibcxx_cv_func__isinff_use=yes
47953 else
47954 glibcxx_cv_func__isinff_use=no
47956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47957 ac_ext=c
47958 ac_cpp='$CPP $CPPFLAGS'
47959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47968 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47970 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47971 for ac_func in _isinff
47972 do :
47973 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47974 if test "x$ac_cv_func__isinff" = x""yes; then :
47975 cat >>confdefs.h <<_ACEOF
47976 #define HAVE__ISINFF 1
47977 _ACEOF
47980 done
47989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47990 $as_echo_n "checking for atan2f declaration... " >&6; }
47991 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47992 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47993 $as_echo_n "(cached) " >&6
47994 else
47997 ac_ext=cpp
47998 ac_cpp='$CXXCPP $CPPFLAGS'
47999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48004 /* end confdefs.h. */
48005 #include <math.h>
48007 main ()
48009 atan2f(0, 0);
48011 return 0;
48013 _ACEOF
48014 if ac_fn_cxx_try_compile "$LINENO"; then :
48015 glibcxx_cv_func_atan2f_use=yes
48016 else
48017 glibcxx_cv_func_atan2f_use=no
48019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48020 ac_ext=c
48021 ac_cpp='$CPP $CPPFLAGS'
48022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48031 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48033 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48034 for ac_func in atan2f
48035 do :
48036 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48037 if test "x$ac_cv_func_atan2f" = x""yes; then :
48038 cat >>confdefs.h <<_ACEOF
48039 #define HAVE_ATAN2F 1
48040 _ACEOF
48043 done
48045 else
48047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48048 $as_echo_n "checking for _atan2f declaration... " >&6; }
48049 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48050 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48051 $as_echo_n "(cached) " >&6
48052 else
48055 ac_ext=cpp
48056 ac_cpp='$CXXCPP $CPPFLAGS'
48057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48062 /* end confdefs.h. */
48063 #include <math.h>
48065 main ()
48067 _atan2f(0, 0);
48069 return 0;
48071 _ACEOF
48072 if ac_fn_cxx_try_compile "$LINENO"; then :
48073 glibcxx_cv_func__atan2f_use=yes
48074 else
48075 glibcxx_cv_func__atan2f_use=no
48077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48078 ac_ext=c
48079 ac_cpp='$CPP $CPPFLAGS'
48080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48089 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48091 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48092 for ac_func in _atan2f
48093 do :
48094 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48095 if test "x$ac_cv_func__atan2f" = x""yes; then :
48096 cat >>confdefs.h <<_ACEOF
48097 #define HAVE__ATAN2F 1
48098 _ACEOF
48101 done
48110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48111 $as_echo_n "checking for fabsf declaration... " >&6; }
48112 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48113 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48114 $as_echo_n "(cached) " >&6
48115 else
48118 ac_ext=cpp
48119 ac_cpp='$CXXCPP $CPPFLAGS'
48120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48125 /* end confdefs.h. */
48126 #include <math.h>
48127 #ifdef HAVE_IEEEFP_H
48128 #include <ieeefp.h>
48129 #endif
48132 main ()
48134 fabsf(0);
48136 return 0;
48138 _ACEOF
48139 if ac_fn_cxx_try_compile "$LINENO"; then :
48140 glibcxx_cv_func_fabsf_use=yes
48141 else
48142 glibcxx_cv_func_fabsf_use=no
48144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48145 ac_ext=c
48146 ac_cpp='$CPP $CPPFLAGS'
48147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48156 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48158 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48159 for ac_func in fabsf
48160 do :
48161 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48162 if test "x$ac_cv_func_fabsf" = x""yes; then :
48163 cat >>confdefs.h <<_ACEOF
48164 #define HAVE_FABSF 1
48165 _ACEOF
48168 done
48170 else
48172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48173 $as_echo_n "checking for _fabsf declaration... " >&6; }
48174 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48175 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48176 $as_echo_n "(cached) " >&6
48177 else
48180 ac_ext=cpp
48181 ac_cpp='$CXXCPP $CPPFLAGS'
48182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48187 /* end confdefs.h. */
48188 #include <math.h>
48189 #ifdef HAVE_IEEEFP_H
48190 #include <ieeefp.h>
48191 #endif
48194 main ()
48196 _fabsf(0);
48198 return 0;
48200 _ACEOF
48201 if ac_fn_cxx_try_compile "$LINENO"; then :
48202 glibcxx_cv_func__fabsf_use=yes
48203 else
48204 glibcxx_cv_func__fabsf_use=no
48206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48207 ac_ext=c
48208 ac_cpp='$CPP $CPPFLAGS'
48209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48218 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48220 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48221 for ac_func in _fabsf
48222 do :
48223 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48224 if test "x$ac_cv_func__fabsf" = x""yes; then :
48225 cat >>confdefs.h <<_ACEOF
48226 #define HAVE__FABSF 1
48227 _ACEOF
48230 done
48239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48240 $as_echo_n "checking for fmodf declaration... " >&6; }
48241 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48242 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48243 $as_echo_n "(cached) " >&6
48244 else
48247 ac_ext=cpp
48248 ac_cpp='$CXXCPP $CPPFLAGS'
48249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48254 /* end confdefs.h. */
48255 #include <math.h>
48257 main ()
48259 fmodf(0, 0);
48261 return 0;
48263 _ACEOF
48264 if ac_fn_cxx_try_compile "$LINENO"; then :
48265 glibcxx_cv_func_fmodf_use=yes
48266 else
48267 glibcxx_cv_func_fmodf_use=no
48269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48270 ac_ext=c
48271 ac_cpp='$CPP $CPPFLAGS'
48272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48281 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48283 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48284 for ac_func in fmodf
48285 do :
48286 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48287 if test "x$ac_cv_func_fmodf" = x""yes; then :
48288 cat >>confdefs.h <<_ACEOF
48289 #define HAVE_FMODF 1
48290 _ACEOF
48293 done
48295 else
48297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48298 $as_echo_n "checking for _fmodf declaration... " >&6; }
48299 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48300 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48301 $as_echo_n "(cached) " >&6
48302 else
48305 ac_ext=cpp
48306 ac_cpp='$CXXCPP $CPPFLAGS'
48307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48312 /* end confdefs.h. */
48313 #include <math.h>
48315 main ()
48317 _fmodf(0, 0);
48319 return 0;
48321 _ACEOF
48322 if ac_fn_cxx_try_compile "$LINENO"; then :
48323 glibcxx_cv_func__fmodf_use=yes
48324 else
48325 glibcxx_cv_func__fmodf_use=no
48327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48328 ac_ext=c
48329 ac_cpp='$CPP $CPPFLAGS'
48330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48339 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48341 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48342 for ac_func in _fmodf
48343 do :
48344 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48345 if test "x$ac_cv_func__fmodf" = x""yes; then :
48346 cat >>confdefs.h <<_ACEOF
48347 #define HAVE__FMODF 1
48348 _ACEOF
48351 done
48360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48361 $as_echo_n "checking for frexpf declaration... " >&6; }
48362 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48363 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48364 $as_echo_n "(cached) " >&6
48365 else
48368 ac_ext=cpp
48369 ac_cpp='$CXXCPP $CPPFLAGS'
48370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48375 /* end confdefs.h. */
48376 #include <math.h>
48378 main ()
48380 frexpf(0, 0);
48382 return 0;
48384 _ACEOF
48385 if ac_fn_cxx_try_compile "$LINENO"; then :
48386 glibcxx_cv_func_frexpf_use=yes
48387 else
48388 glibcxx_cv_func_frexpf_use=no
48390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48391 ac_ext=c
48392 ac_cpp='$CPP $CPPFLAGS'
48393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48402 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48404 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48405 for ac_func in frexpf
48406 do :
48407 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48408 if test "x$ac_cv_func_frexpf" = x""yes; then :
48409 cat >>confdefs.h <<_ACEOF
48410 #define HAVE_FREXPF 1
48411 _ACEOF
48414 done
48416 else
48418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48419 $as_echo_n "checking for _frexpf declaration... " >&6; }
48420 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48421 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48422 $as_echo_n "(cached) " >&6
48423 else
48426 ac_ext=cpp
48427 ac_cpp='$CXXCPP $CPPFLAGS'
48428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48433 /* end confdefs.h. */
48434 #include <math.h>
48436 main ()
48438 _frexpf(0, 0);
48440 return 0;
48442 _ACEOF
48443 if ac_fn_cxx_try_compile "$LINENO"; then :
48444 glibcxx_cv_func__frexpf_use=yes
48445 else
48446 glibcxx_cv_func__frexpf_use=no
48448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48449 ac_ext=c
48450 ac_cpp='$CPP $CPPFLAGS'
48451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48460 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48462 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48463 for ac_func in _frexpf
48464 do :
48465 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48466 if test "x$ac_cv_func__frexpf" = x""yes; then :
48467 cat >>confdefs.h <<_ACEOF
48468 #define HAVE__FREXPF 1
48469 _ACEOF
48472 done
48481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48482 $as_echo_n "checking for hypotf declaration... " >&6; }
48483 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48484 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48485 $as_echo_n "(cached) " >&6
48486 else
48489 ac_ext=cpp
48490 ac_cpp='$CXXCPP $CPPFLAGS'
48491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48496 /* end confdefs.h. */
48497 #include <math.h>
48499 main ()
48501 hypotf(0, 0);
48503 return 0;
48505 _ACEOF
48506 if ac_fn_cxx_try_compile "$LINENO"; then :
48507 glibcxx_cv_func_hypotf_use=yes
48508 else
48509 glibcxx_cv_func_hypotf_use=no
48511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48512 ac_ext=c
48513 ac_cpp='$CPP $CPPFLAGS'
48514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48523 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48525 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48526 for ac_func in hypotf
48527 do :
48528 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48529 if test "x$ac_cv_func_hypotf" = x""yes; then :
48530 cat >>confdefs.h <<_ACEOF
48531 #define HAVE_HYPOTF 1
48532 _ACEOF
48535 done
48537 else
48539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48540 $as_echo_n "checking for _hypotf declaration... " >&6; }
48541 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48542 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48543 $as_echo_n "(cached) " >&6
48544 else
48547 ac_ext=cpp
48548 ac_cpp='$CXXCPP $CPPFLAGS'
48549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48554 /* end confdefs.h. */
48555 #include <math.h>
48557 main ()
48559 _hypotf(0, 0);
48561 return 0;
48563 _ACEOF
48564 if ac_fn_cxx_try_compile "$LINENO"; then :
48565 glibcxx_cv_func__hypotf_use=yes
48566 else
48567 glibcxx_cv_func__hypotf_use=no
48569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48570 ac_ext=c
48571 ac_cpp='$CPP $CPPFLAGS'
48572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48581 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48583 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48584 for ac_func in _hypotf
48585 do :
48586 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48587 if test "x$ac_cv_func__hypotf" = x""yes; then :
48588 cat >>confdefs.h <<_ACEOF
48589 #define HAVE__HYPOTF 1
48590 _ACEOF
48593 done
48602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48603 $as_echo_n "checking for ldexpf declaration... " >&6; }
48604 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48605 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48606 $as_echo_n "(cached) " >&6
48607 else
48610 ac_ext=cpp
48611 ac_cpp='$CXXCPP $CPPFLAGS'
48612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48617 /* end confdefs.h. */
48618 #include <math.h>
48620 main ()
48622 ldexpf(0, 0);
48624 return 0;
48626 _ACEOF
48627 if ac_fn_cxx_try_compile "$LINENO"; then :
48628 glibcxx_cv_func_ldexpf_use=yes
48629 else
48630 glibcxx_cv_func_ldexpf_use=no
48632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48633 ac_ext=c
48634 ac_cpp='$CPP $CPPFLAGS'
48635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48644 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48646 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48647 for ac_func in ldexpf
48648 do :
48649 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48650 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48651 cat >>confdefs.h <<_ACEOF
48652 #define HAVE_LDEXPF 1
48653 _ACEOF
48656 done
48658 else
48660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48661 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48662 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48663 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48664 $as_echo_n "(cached) " >&6
48665 else
48668 ac_ext=cpp
48669 ac_cpp='$CXXCPP $CPPFLAGS'
48670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48675 /* end confdefs.h. */
48676 #include <math.h>
48678 main ()
48680 _ldexpf(0, 0);
48682 return 0;
48684 _ACEOF
48685 if ac_fn_cxx_try_compile "$LINENO"; then :
48686 glibcxx_cv_func__ldexpf_use=yes
48687 else
48688 glibcxx_cv_func__ldexpf_use=no
48690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48691 ac_ext=c
48692 ac_cpp='$CPP $CPPFLAGS'
48693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48702 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48704 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48705 for ac_func in _ldexpf
48706 do :
48707 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48708 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48709 cat >>confdefs.h <<_ACEOF
48710 #define HAVE__LDEXPF 1
48711 _ACEOF
48714 done
48723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48724 $as_echo_n "checking for logf declaration... " >&6; }
48725 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48726 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48727 $as_echo_n "(cached) " >&6
48728 else
48731 ac_ext=cpp
48732 ac_cpp='$CXXCPP $CPPFLAGS'
48733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48738 /* end confdefs.h. */
48739 #include <math.h>
48740 #ifdef HAVE_IEEEFP_H
48741 #include <ieeefp.h>
48742 #endif
48745 main ()
48747 logf(0);
48749 return 0;
48751 _ACEOF
48752 if ac_fn_cxx_try_compile "$LINENO"; then :
48753 glibcxx_cv_func_logf_use=yes
48754 else
48755 glibcxx_cv_func_logf_use=no
48757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48758 ac_ext=c
48759 ac_cpp='$CPP $CPPFLAGS'
48760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48769 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48771 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48772 for ac_func in logf
48773 do :
48774 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48775 if test "x$ac_cv_func_logf" = x""yes; then :
48776 cat >>confdefs.h <<_ACEOF
48777 #define HAVE_LOGF 1
48778 _ACEOF
48781 done
48783 else
48785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48786 $as_echo_n "checking for _logf declaration... " >&6; }
48787 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48788 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48789 $as_echo_n "(cached) " >&6
48790 else
48793 ac_ext=cpp
48794 ac_cpp='$CXXCPP $CPPFLAGS'
48795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48800 /* end confdefs.h. */
48801 #include <math.h>
48802 #ifdef HAVE_IEEEFP_H
48803 #include <ieeefp.h>
48804 #endif
48807 main ()
48809 _logf(0);
48811 return 0;
48813 _ACEOF
48814 if ac_fn_cxx_try_compile "$LINENO"; then :
48815 glibcxx_cv_func__logf_use=yes
48816 else
48817 glibcxx_cv_func__logf_use=no
48819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48820 ac_ext=c
48821 ac_cpp='$CPP $CPPFLAGS'
48822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48831 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48833 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48834 for ac_func in _logf
48835 do :
48836 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48837 if test "x$ac_cv_func__logf" = x""yes; then :
48838 cat >>confdefs.h <<_ACEOF
48839 #define HAVE__LOGF 1
48840 _ACEOF
48843 done
48852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48853 $as_echo_n "checking for log10f declaration... " >&6; }
48854 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48855 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48856 $as_echo_n "(cached) " >&6
48857 else
48860 ac_ext=cpp
48861 ac_cpp='$CXXCPP $CPPFLAGS'
48862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48867 /* end confdefs.h. */
48868 #include <math.h>
48869 #ifdef HAVE_IEEEFP_H
48870 #include <ieeefp.h>
48871 #endif
48874 main ()
48876 log10f(0);
48878 return 0;
48880 _ACEOF
48881 if ac_fn_cxx_try_compile "$LINENO"; then :
48882 glibcxx_cv_func_log10f_use=yes
48883 else
48884 glibcxx_cv_func_log10f_use=no
48886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48887 ac_ext=c
48888 ac_cpp='$CPP $CPPFLAGS'
48889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48898 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48900 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48901 for ac_func in log10f
48902 do :
48903 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48904 if test "x$ac_cv_func_log10f" = x""yes; then :
48905 cat >>confdefs.h <<_ACEOF
48906 #define HAVE_LOG10F 1
48907 _ACEOF
48910 done
48912 else
48914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48915 $as_echo_n "checking for _log10f declaration... " >&6; }
48916 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48917 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48918 $as_echo_n "(cached) " >&6
48919 else
48922 ac_ext=cpp
48923 ac_cpp='$CXXCPP $CPPFLAGS'
48924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48929 /* end confdefs.h. */
48930 #include <math.h>
48931 #ifdef HAVE_IEEEFP_H
48932 #include <ieeefp.h>
48933 #endif
48936 main ()
48938 _log10f(0);
48940 return 0;
48942 _ACEOF
48943 if ac_fn_cxx_try_compile "$LINENO"; then :
48944 glibcxx_cv_func__log10f_use=yes
48945 else
48946 glibcxx_cv_func__log10f_use=no
48948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48949 ac_ext=c
48950 ac_cpp='$CPP $CPPFLAGS'
48951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48960 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48962 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48963 for ac_func in _log10f
48964 do :
48965 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48966 if test "x$ac_cv_func__log10f" = x""yes; then :
48967 cat >>confdefs.h <<_ACEOF
48968 #define HAVE__LOG10F 1
48969 _ACEOF
48972 done
48981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48982 $as_echo_n "checking for modff declaration... " >&6; }
48983 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48984 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48985 $as_echo_n "(cached) " >&6
48986 else
48989 ac_ext=cpp
48990 ac_cpp='$CXXCPP $CPPFLAGS'
48991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48996 /* end confdefs.h. */
48997 #include <math.h>
48999 main ()
49001 modff(0, 0);
49003 return 0;
49005 _ACEOF
49006 if ac_fn_cxx_try_compile "$LINENO"; then :
49007 glibcxx_cv_func_modff_use=yes
49008 else
49009 glibcxx_cv_func_modff_use=no
49011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49012 ac_ext=c
49013 ac_cpp='$CPP $CPPFLAGS'
49014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49023 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49025 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49026 for ac_func in modff
49027 do :
49028 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49029 if test "x$ac_cv_func_modff" = x""yes; then :
49030 cat >>confdefs.h <<_ACEOF
49031 #define HAVE_MODFF 1
49032 _ACEOF
49035 done
49037 else
49039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49040 $as_echo_n "checking for _modff declaration... " >&6; }
49041 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49042 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49043 $as_echo_n "(cached) " >&6
49044 else
49047 ac_ext=cpp
49048 ac_cpp='$CXXCPP $CPPFLAGS'
49049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49054 /* end confdefs.h. */
49055 #include <math.h>
49057 main ()
49059 _modff(0, 0);
49061 return 0;
49063 _ACEOF
49064 if ac_fn_cxx_try_compile "$LINENO"; then :
49065 glibcxx_cv_func__modff_use=yes
49066 else
49067 glibcxx_cv_func__modff_use=no
49069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49070 ac_ext=c
49071 ac_cpp='$CPP $CPPFLAGS'
49072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49081 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49083 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49084 for ac_func in _modff
49085 do :
49086 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49087 if test "x$ac_cv_func__modff" = x""yes; then :
49088 cat >>confdefs.h <<_ACEOF
49089 #define HAVE__MODFF 1
49090 _ACEOF
49093 done
49102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49103 $as_echo_n "checking for modf declaration... " >&6; }
49104 if test x${glibcxx_cv_func_modf_use+set} != xset; then
49105 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49106 $as_echo_n "(cached) " >&6
49107 else
49110 ac_ext=cpp
49111 ac_cpp='$CXXCPP $CPPFLAGS'
49112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49117 /* end confdefs.h. */
49118 #include <math.h>
49120 main ()
49122 modf(0, 0);
49124 return 0;
49126 _ACEOF
49127 if ac_fn_cxx_try_compile "$LINENO"; then :
49128 glibcxx_cv_func_modf_use=yes
49129 else
49130 glibcxx_cv_func_modf_use=no
49132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49133 ac_ext=c
49134 ac_cpp='$CPP $CPPFLAGS'
49135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49144 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49146 if test x$glibcxx_cv_func_modf_use = x"yes"; then
49147 for ac_func in modf
49148 do :
49149 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49150 if test "x$ac_cv_func_modf" = x""yes; then :
49151 cat >>confdefs.h <<_ACEOF
49152 #define HAVE_MODF 1
49153 _ACEOF
49156 done
49158 else
49160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49161 $as_echo_n "checking for _modf declaration... " >&6; }
49162 if test x${glibcxx_cv_func__modf_use+set} != xset; then
49163 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49164 $as_echo_n "(cached) " >&6
49165 else
49168 ac_ext=cpp
49169 ac_cpp='$CXXCPP $CPPFLAGS'
49170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49175 /* end confdefs.h. */
49176 #include <math.h>
49178 main ()
49180 _modf(0, 0);
49182 return 0;
49184 _ACEOF
49185 if ac_fn_cxx_try_compile "$LINENO"; then :
49186 glibcxx_cv_func__modf_use=yes
49187 else
49188 glibcxx_cv_func__modf_use=no
49190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49191 ac_ext=c
49192 ac_cpp='$CPP $CPPFLAGS'
49193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49202 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49204 if test x$glibcxx_cv_func__modf_use = x"yes"; then
49205 for ac_func in _modf
49206 do :
49207 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49208 if test "x$ac_cv_func__modf" = x""yes; then :
49209 cat >>confdefs.h <<_ACEOF
49210 #define HAVE__MODF 1
49211 _ACEOF
49214 done
49223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49224 $as_echo_n "checking for powf declaration... " >&6; }
49225 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49226 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49227 $as_echo_n "(cached) " >&6
49228 else
49231 ac_ext=cpp
49232 ac_cpp='$CXXCPP $CPPFLAGS'
49233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49238 /* end confdefs.h. */
49239 #include <math.h>
49241 main ()
49243 powf(0, 0);
49245 return 0;
49247 _ACEOF
49248 if ac_fn_cxx_try_compile "$LINENO"; then :
49249 glibcxx_cv_func_powf_use=yes
49250 else
49251 glibcxx_cv_func_powf_use=no
49253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49254 ac_ext=c
49255 ac_cpp='$CPP $CPPFLAGS'
49256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49265 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49267 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49268 for ac_func in powf
49269 do :
49270 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49271 if test "x$ac_cv_func_powf" = x""yes; then :
49272 cat >>confdefs.h <<_ACEOF
49273 #define HAVE_POWF 1
49274 _ACEOF
49277 done
49279 else
49281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49282 $as_echo_n "checking for _powf declaration... " >&6; }
49283 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49284 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49285 $as_echo_n "(cached) " >&6
49286 else
49289 ac_ext=cpp
49290 ac_cpp='$CXXCPP $CPPFLAGS'
49291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49296 /* end confdefs.h. */
49297 #include <math.h>
49299 main ()
49301 _powf(0, 0);
49303 return 0;
49305 _ACEOF
49306 if ac_fn_cxx_try_compile "$LINENO"; then :
49307 glibcxx_cv_func__powf_use=yes
49308 else
49309 glibcxx_cv_func__powf_use=no
49311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49312 ac_ext=c
49313 ac_cpp='$CPP $CPPFLAGS'
49314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49323 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49325 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49326 for ac_func in _powf
49327 do :
49328 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49329 if test "x$ac_cv_func__powf" = x""yes; then :
49330 cat >>confdefs.h <<_ACEOF
49331 #define HAVE__POWF 1
49332 _ACEOF
49335 done
49344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49345 $as_echo_n "checking for sqrtf declaration... " >&6; }
49346 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49347 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49348 $as_echo_n "(cached) " >&6
49349 else
49352 ac_ext=cpp
49353 ac_cpp='$CXXCPP $CPPFLAGS'
49354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49359 /* end confdefs.h. */
49360 #include <math.h>
49361 #ifdef HAVE_IEEEFP_H
49362 #include <ieeefp.h>
49363 #endif
49366 main ()
49368 sqrtf(0);
49370 return 0;
49372 _ACEOF
49373 if ac_fn_cxx_try_compile "$LINENO"; then :
49374 glibcxx_cv_func_sqrtf_use=yes
49375 else
49376 glibcxx_cv_func_sqrtf_use=no
49378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49379 ac_ext=c
49380 ac_cpp='$CPP $CPPFLAGS'
49381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49390 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49392 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49393 for ac_func in sqrtf
49394 do :
49395 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49396 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49397 cat >>confdefs.h <<_ACEOF
49398 #define HAVE_SQRTF 1
49399 _ACEOF
49402 done
49404 else
49406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49407 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49408 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49409 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49410 $as_echo_n "(cached) " >&6
49411 else
49414 ac_ext=cpp
49415 ac_cpp='$CXXCPP $CPPFLAGS'
49416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49421 /* end confdefs.h. */
49422 #include <math.h>
49423 #ifdef HAVE_IEEEFP_H
49424 #include <ieeefp.h>
49425 #endif
49428 main ()
49430 _sqrtf(0);
49432 return 0;
49434 _ACEOF
49435 if ac_fn_cxx_try_compile "$LINENO"; then :
49436 glibcxx_cv_func__sqrtf_use=yes
49437 else
49438 glibcxx_cv_func__sqrtf_use=no
49440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49441 ac_ext=c
49442 ac_cpp='$CPP $CPPFLAGS'
49443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49452 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49454 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49455 for ac_func in _sqrtf
49456 do :
49457 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49458 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49459 cat >>confdefs.h <<_ACEOF
49460 #define HAVE__SQRTF 1
49461 _ACEOF
49464 done
49473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49474 $as_echo_n "checking for sincosf declaration... " >&6; }
49475 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49476 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49477 $as_echo_n "(cached) " >&6
49478 else
49481 ac_ext=cpp
49482 ac_cpp='$CXXCPP $CPPFLAGS'
49483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49488 /* end confdefs.h. */
49489 #include <math.h>
49491 main ()
49493 sincosf(0, 0, 0);
49495 return 0;
49497 _ACEOF
49498 if ac_fn_cxx_try_compile "$LINENO"; then :
49499 glibcxx_cv_func_sincosf_use=yes
49500 else
49501 glibcxx_cv_func_sincosf_use=no
49503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49504 ac_ext=c
49505 ac_cpp='$CPP $CPPFLAGS'
49506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49515 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49517 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49518 for ac_func in sincosf
49519 do :
49520 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49521 if test "x$ac_cv_func_sincosf" = x""yes; then :
49522 cat >>confdefs.h <<_ACEOF
49523 #define HAVE_SINCOSF 1
49524 _ACEOF
49527 done
49529 else
49531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49532 $as_echo_n "checking for _sincosf declaration... " >&6; }
49533 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49534 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49535 $as_echo_n "(cached) " >&6
49536 else
49539 ac_ext=cpp
49540 ac_cpp='$CXXCPP $CPPFLAGS'
49541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49546 /* end confdefs.h. */
49547 #include <math.h>
49549 main ()
49551 _sincosf(0, 0, 0);
49553 return 0;
49555 _ACEOF
49556 if ac_fn_cxx_try_compile "$LINENO"; then :
49557 glibcxx_cv_func__sincosf_use=yes
49558 else
49559 glibcxx_cv_func__sincosf_use=no
49561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49562 ac_ext=c
49563 ac_cpp='$CPP $CPPFLAGS'
49564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49573 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49575 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49576 for ac_func in _sincosf
49577 do :
49578 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49579 if test "x$ac_cv_func__sincosf" = x""yes; then :
49580 cat >>confdefs.h <<_ACEOF
49581 #define HAVE__SINCOSF 1
49582 _ACEOF
49585 done
49594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49595 $as_echo_n "checking for finitef declaration... " >&6; }
49596 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49597 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49598 $as_echo_n "(cached) " >&6
49599 else
49602 ac_ext=cpp
49603 ac_cpp='$CXXCPP $CPPFLAGS'
49604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49609 /* end confdefs.h. */
49610 #include <math.h>
49611 #ifdef HAVE_IEEEFP_H
49612 #include <ieeefp.h>
49613 #endif
49616 main ()
49618 finitef(0);
49620 return 0;
49622 _ACEOF
49623 if ac_fn_cxx_try_compile "$LINENO"; then :
49624 glibcxx_cv_func_finitef_use=yes
49625 else
49626 glibcxx_cv_func_finitef_use=no
49628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49629 ac_ext=c
49630 ac_cpp='$CPP $CPPFLAGS'
49631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49640 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49642 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49643 for ac_func in finitef
49644 do :
49645 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49646 if test "x$ac_cv_func_finitef" = x""yes; then :
49647 cat >>confdefs.h <<_ACEOF
49648 #define HAVE_FINITEF 1
49649 _ACEOF
49652 done
49654 else
49656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49657 $as_echo_n "checking for _finitef declaration... " >&6; }
49658 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49659 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49660 $as_echo_n "(cached) " >&6
49661 else
49664 ac_ext=cpp
49665 ac_cpp='$CXXCPP $CPPFLAGS'
49666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49671 /* end confdefs.h. */
49672 #include <math.h>
49673 #ifdef HAVE_IEEEFP_H
49674 #include <ieeefp.h>
49675 #endif
49678 main ()
49680 _finitef(0);
49682 return 0;
49684 _ACEOF
49685 if ac_fn_cxx_try_compile "$LINENO"; then :
49686 glibcxx_cv_func__finitef_use=yes
49687 else
49688 glibcxx_cv_func__finitef_use=no
49690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49691 ac_ext=c
49692 ac_cpp='$CPP $CPPFLAGS'
49693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49702 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49704 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49705 for ac_func in _finitef
49706 do :
49707 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49708 if test "x$ac_cv_func__finitef" = x""yes; then :
49709 cat >>confdefs.h <<_ACEOF
49710 #define HAVE__FINITEF 1
49711 _ACEOF
49714 done
49723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49724 $as_echo_n "checking for long double trig functions... " >&6; }
49725 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49726 $as_echo_n "(cached) " >&6
49727 else
49730 ac_ext=cpp
49731 ac_cpp='$CXXCPP $CPPFLAGS'
49732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49737 /* end confdefs.h. */
49738 #include <math.h>
49740 main ()
49742 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49744 return 0;
49746 _ACEOF
49747 if ac_fn_cxx_try_compile "$LINENO"; then :
49748 glibcxx_cv_func_long_double_trig_use=yes
49749 else
49750 glibcxx_cv_func_long_double_trig_use=no
49752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49753 ac_ext=c
49754 ac_cpp='$CPP $CPPFLAGS'
49755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49762 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49763 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49764 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49765 do :
49766 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49767 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49768 eval as_val=\$$as_ac_var
49769 if test "x$as_val" = x""yes; then :
49770 cat >>confdefs.h <<_ACEOF
49771 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49772 _ACEOF
49775 done
49777 else
49778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49779 $as_echo_n "checking for _long double trig functions... " >&6; }
49780 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49781 $as_echo_n "(cached) " >&6
49782 else
49785 ac_ext=cpp
49786 ac_cpp='$CXXCPP $CPPFLAGS'
49787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49792 /* end confdefs.h. */
49793 #include <math.h>
49795 main ()
49797 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49799 return 0;
49801 _ACEOF
49802 if ac_fn_cxx_try_compile "$LINENO"; then :
49803 glibcxx_cv_func__long_double_trig_use=yes
49804 else
49805 glibcxx_cv_func__long_double_trig_use=no
49807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49808 ac_ext=c
49809 ac_cpp='$CPP $CPPFLAGS'
49810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49817 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49818 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49819 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49820 do :
49821 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49822 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49823 eval as_val=\$$as_ac_var
49824 if test "x$as_val" = x""yes; then :
49825 cat >>confdefs.h <<_ACEOF
49826 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49827 _ACEOF
49830 done
49839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49840 $as_echo_n "checking for long double round functions... " >&6; }
49841 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49842 $as_echo_n "(cached) " >&6
49843 else
49846 ac_ext=cpp
49847 ac_cpp='$CXXCPP $CPPFLAGS'
49848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49853 /* end confdefs.h. */
49854 #include <math.h>
49856 main ()
49858 ceill (0); floorl (0);
49860 return 0;
49862 _ACEOF
49863 if ac_fn_cxx_try_compile "$LINENO"; then :
49864 glibcxx_cv_func_long_double_round_use=yes
49865 else
49866 glibcxx_cv_func_long_double_round_use=no
49868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49869 ac_ext=c
49870 ac_cpp='$CPP $CPPFLAGS'
49871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49878 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49879 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49880 for ac_func in ceill floorl
49881 do :
49882 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49883 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49884 eval as_val=\$$as_ac_var
49885 if test "x$as_val" = x""yes; then :
49886 cat >>confdefs.h <<_ACEOF
49887 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49888 _ACEOF
49891 done
49893 else
49894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49895 $as_echo_n "checking for _long double round functions... " >&6; }
49896 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49897 $as_echo_n "(cached) " >&6
49898 else
49901 ac_ext=cpp
49902 ac_cpp='$CXXCPP $CPPFLAGS'
49903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49908 /* end confdefs.h. */
49909 #include <math.h>
49911 main ()
49913 _ceill (0); _floorl (0);
49915 return 0;
49917 _ACEOF
49918 if ac_fn_cxx_try_compile "$LINENO"; then :
49919 glibcxx_cv_func__long_double_round_use=yes
49920 else
49921 glibcxx_cv_func__long_double_round_use=no
49923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49924 ac_ext=c
49925 ac_cpp='$CPP $CPPFLAGS'
49926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49933 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49934 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49935 for ac_func in _ceill _floorl
49936 do :
49937 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49938 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49939 eval as_val=\$$as_ac_var
49940 if test "x$as_val" = x""yes; then :
49941 cat >>confdefs.h <<_ACEOF
49942 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49943 _ACEOF
49946 done
49956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49957 $as_echo_n "checking for isnanl declaration... " >&6; }
49958 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49959 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49960 $as_echo_n "(cached) " >&6
49961 else
49964 ac_ext=cpp
49965 ac_cpp='$CXXCPP $CPPFLAGS'
49966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49971 /* end confdefs.h. */
49972 #include <math.h>
49973 #ifdef HAVE_IEEEFP_H
49974 #include <ieeefp.h>
49975 #endif
49978 main ()
49980 isnanl(0);
49982 return 0;
49984 _ACEOF
49985 if ac_fn_cxx_try_compile "$LINENO"; then :
49986 glibcxx_cv_func_isnanl_use=yes
49987 else
49988 glibcxx_cv_func_isnanl_use=no
49990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49991 ac_ext=c
49992 ac_cpp='$CPP $CPPFLAGS'
49993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50002 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50004 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50005 for ac_func in isnanl
50006 do :
50007 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50008 if test "x$ac_cv_func_isnanl" = x""yes; then :
50009 cat >>confdefs.h <<_ACEOF
50010 #define HAVE_ISNANL 1
50011 _ACEOF
50014 done
50016 else
50018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50019 $as_echo_n "checking for _isnanl declaration... " >&6; }
50020 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50021 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50022 $as_echo_n "(cached) " >&6
50023 else
50026 ac_ext=cpp
50027 ac_cpp='$CXXCPP $CPPFLAGS'
50028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50033 /* end confdefs.h. */
50034 #include <math.h>
50035 #ifdef HAVE_IEEEFP_H
50036 #include <ieeefp.h>
50037 #endif
50040 main ()
50042 _isnanl(0);
50044 return 0;
50046 _ACEOF
50047 if ac_fn_cxx_try_compile "$LINENO"; then :
50048 glibcxx_cv_func__isnanl_use=yes
50049 else
50050 glibcxx_cv_func__isnanl_use=no
50052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50053 ac_ext=c
50054 ac_cpp='$CPP $CPPFLAGS'
50055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50064 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50066 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50067 for ac_func in _isnanl
50068 do :
50069 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50070 if test "x$ac_cv_func__isnanl" = x""yes; then :
50071 cat >>confdefs.h <<_ACEOF
50072 #define HAVE__ISNANL 1
50073 _ACEOF
50076 done
50085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50086 $as_echo_n "checking for isinfl declaration... " >&6; }
50087 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50088 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50089 $as_echo_n "(cached) " >&6
50090 else
50093 ac_ext=cpp
50094 ac_cpp='$CXXCPP $CPPFLAGS'
50095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50100 /* end confdefs.h. */
50101 #include <math.h>
50102 #ifdef HAVE_IEEEFP_H
50103 #include <ieeefp.h>
50104 #endif
50107 main ()
50109 isinfl(0);
50111 return 0;
50113 _ACEOF
50114 if ac_fn_cxx_try_compile "$LINENO"; then :
50115 glibcxx_cv_func_isinfl_use=yes
50116 else
50117 glibcxx_cv_func_isinfl_use=no
50119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50120 ac_ext=c
50121 ac_cpp='$CPP $CPPFLAGS'
50122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
50131 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
50133 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
50134 for ac_func in isinfl
50135 do :
50136 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50137 if test "x$ac_cv_func_isinfl" = x""yes; then :
50138 cat >>confdefs.h <<_ACEOF
50139 #define HAVE_ISINFL 1
50140 _ACEOF
50143 done
50145 else
50147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50148 $as_echo_n "checking for _isinfl declaration... " >&6; }
50149 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50150 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
50151 $as_echo_n "(cached) " >&6
50152 else
50155 ac_ext=cpp
50156 ac_cpp='$CXXCPP $CPPFLAGS'
50157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50162 /* end confdefs.h. */
50163 #include <math.h>
50164 #ifdef HAVE_IEEEFP_H
50165 #include <ieeefp.h>
50166 #endif
50169 main ()
50171 _isinfl(0);
50173 return 0;
50175 _ACEOF
50176 if ac_fn_cxx_try_compile "$LINENO"; then :
50177 glibcxx_cv_func__isinfl_use=yes
50178 else
50179 glibcxx_cv_func__isinfl_use=no
50181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50182 ac_ext=c
50183 ac_cpp='$CPP $CPPFLAGS'
50184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50193 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50195 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50196 for ac_func in _isinfl
50197 do :
50198 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50199 if test "x$ac_cv_func__isinfl" = x""yes; then :
50200 cat >>confdefs.h <<_ACEOF
50201 #define HAVE__ISINFL 1
50202 _ACEOF
50205 done
50214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50215 $as_echo_n "checking for atan2l declaration... " >&6; }
50216 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50217 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50218 $as_echo_n "(cached) " >&6
50219 else
50222 ac_ext=cpp
50223 ac_cpp='$CXXCPP $CPPFLAGS'
50224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50229 /* end confdefs.h. */
50230 #include <math.h>
50232 main ()
50234 atan2l(0, 0);
50236 return 0;
50238 _ACEOF
50239 if ac_fn_cxx_try_compile "$LINENO"; then :
50240 glibcxx_cv_func_atan2l_use=yes
50241 else
50242 glibcxx_cv_func_atan2l_use=no
50244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50245 ac_ext=c
50246 ac_cpp='$CPP $CPPFLAGS'
50247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50256 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50258 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50259 for ac_func in atan2l
50260 do :
50261 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50262 if test "x$ac_cv_func_atan2l" = x""yes; then :
50263 cat >>confdefs.h <<_ACEOF
50264 #define HAVE_ATAN2L 1
50265 _ACEOF
50268 done
50270 else
50272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50273 $as_echo_n "checking for _atan2l declaration... " >&6; }
50274 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50275 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50276 $as_echo_n "(cached) " >&6
50277 else
50280 ac_ext=cpp
50281 ac_cpp='$CXXCPP $CPPFLAGS'
50282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50287 /* end confdefs.h. */
50288 #include <math.h>
50290 main ()
50292 _atan2l(0, 0);
50294 return 0;
50296 _ACEOF
50297 if ac_fn_cxx_try_compile "$LINENO"; then :
50298 glibcxx_cv_func__atan2l_use=yes
50299 else
50300 glibcxx_cv_func__atan2l_use=no
50302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50303 ac_ext=c
50304 ac_cpp='$CPP $CPPFLAGS'
50305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50314 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50316 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50317 for ac_func in _atan2l
50318 do :
50319 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50320 if test "x$ac_cv_func__atan2l" = x""yes; then :
50321 cat >>confdefs.h <<_ACEOF
50322 #define HAVE__ATAN2L 1
50323 _ACEOF
50326 done
50335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50336 $as_echo_n "checking for expl declaration... " >&6; }
50337 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50338 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50339 $as_echo_n "(cached) " >&6
50340 else
50343 ac_ext=cpp
50344 ac_cpp='$CXXCPP $CPPFLAGS'
50345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50350 /* end confdefs.h. */
50351 #include <math.h>
50352 #ifdef HAVE_IEEEFP_H
50353 #include <ieeefp.h>
50354 #endif
50357 main ()
50359 expl(0);
50361 return 0;
50363 _ACEOF
50364 if ac_fn_cxx_try_compile "$LINENO"; then :
50365 glibcxx_cv_func_expl_use=yes
50366 else
50367 glibcxx_cv_func_expl_use=no
50369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50370 ac_ext=c
50371 ac_cpp='$CPP $CPPFLAGS'
50372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50381 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50383 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50384 for ac_func in expl
50385 do :
50386 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50387 if test "x$ac_cv_func_expl" = x""yes; then :
50388 cat >>confdefs.h <<_ACEOF
50389 #define HAVE_EXPL 1
50390 _ACEOF
50393 done
50395 else
50397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50398 $as_echo_n "checking for _expl declaration... " >&6; }
50399 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50400 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50401 $as_echo_n "(cached) " >&6
50402 else
50405 ac_ext=cpp
50406 ac_cpp='$CXXCPP $CPPFLAGS'
50407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50412 /* end confdefs.h. */
50413 #include <math.h>
50414 #ifdef HAVE_IEEEFP_H
50415 #include <ieeefp.h>
50416 #endif
50419 main ()
50421 _expl(0);
50423 return 0;
50425 _ACEOF
50426 if ac_fn_cxx_try_compile "$LINENO"; then :
50427 glibcxx_cv_func__expl_use=yes
50428 else
50429 glibcxx_cv_func__expl_use=no
50431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50432 ac_ext=c
50433 ac_cpp='$CPP $CPPFLAGS'
50434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50443 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50445 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50446 for ac_func in _expl
50447 do :
50448 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50449 if test "x$ac_cv_func__expl" = x""yes; then :
50450 cat >>confdefs.h <<_ACEOF
50451 #define HAVE__EXPL 1
50452 _ACEOF
50455 done
50464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50465 $as_echo_n "checking for fabsl declaration... " >&6; }
50466 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50467 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50468 $as_echo_n "(cached) " >&6
50469 else
50472 ac_ext=cpp
50473 ac_cpp='$CXXCPP $CPPFLAGS'
50474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50479 /* end confdefs.h. */
50480 #include <math.h>
50481 #ifdef HAVE_IEEEFP_H
50482 #include <ieeefp.h>
50483 #endif
50486 main ()
50488 fabsl(0);
50490 return 0;
50492 _ACEOF
50493 if ac_fn_cxx_try_compile "$LINENO"; then :
50494 glibcxx_cv_func_fabsl_use=yes
50495 else
50496 glibcxx_cv_func_fabsl_use=no
50498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50499 ac_ext=c
50500 ac_cpp='$CPP $CPPFLAGS'
50501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50510 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50512 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50513 for ac_func in fabsl
50514 do :
50515 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50516 if test "x$ac_cv_func_fabsl" = x""yes; then :
50517 cat >>confdefs.h <<_ACEOF
50518 #define HAVE_FABSL 1
50519 _ACEOF
50522 done
50524 else
50526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50527 $as_echo_n "checking for _fabsl declaration... " >&6; }
50528 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50529 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50530 $as_echo_n "(cached) " >&6
50531 else
50534 ac_ext=cpp
50535 ac_cpp='$CXXCPP $CPPFLAGS'
50536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50541 /* end confdefs.h. */
50542 #include <math.h>
50543 #ifdef HAVE_IEEEFP_H
50544 #include <ieeefp.h>
50545 #endif
50548 main ()
50550 _fabsl(0);
50552 return 0;
50554 _ACEOF
50555 if ac_fn_cxx_try_compile "$LINENO"; then :
50556 glibcxx_cv_func__fabsl_use=yes
50557 else
50558 glibcxx_cv_func__fabsl_use=no
50560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50561 ac_ext=c
50562 ac_cpp='$CPP $CPPFLAGS'
50563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50572 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50574 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50575 for ac_func in _fabsl
50576 do :
50577 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50578 if test "x$ac_cv_func__fabsl" = x""yes; then :
50579 cat >>confdefs.h <<_ACEOF
50580 #define HAVE__FABSL 1
50581 _ACEOF
50584 done
50593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50594 $as_echo_n "checking for fmodl declaration... " >&6; }
50595 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50596 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50597 $as_echo_n "(cached) " >&6
50598 else
50601 ac_ext=cpp
50602 ac_cpp='$CXXCPP $CPPFLAGS'
50603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50608 /* end confdefs.h. */
50609 #include <math.h>
50611 main ()
50613 fmodl(0, 0);
50615 return 0;
50617 _ACEOF
50618 if ac_fn_cxx_try_compile "$LINENO"; then :
50619 glibcxx_cv_func_fmodl_use=yes
50620 else
50621 glibcxx_cv_func_fmodl_use=no
50623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50624 ac_ext=c
50625 ac_cpp='$CPP $CPPFLAGS'
50626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50635 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50637 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50638 for ac_func in fmodl
50639 do :
50640 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50641 if test "x$ac_cv_func_fmodl" = x""yes; then :
50642 cat >>confdefs.h <<_ACEOF
50643 #define HAVE_FMODL 1
50644 _ACEOF
50647 done
50649 else
50651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50652 $as_echo_n "checking for _fmodl declaration... " >&6; }
50653 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50654 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50655 $as_echo_n "(cached) " >&6
50656 else
50659 ac_ext=cpp
50660 ac_cpp='$CXXCPP $CPPFLAGS'
50661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50666 /* end confdefs.h. */
50667 #include <math.h>
50669 main ()
50671 _fmodl(0, 0);
50673 return 0;
50675 _ACEOF
50676 if ac_fn_cxx_try_compile "$LINENO"; then :
50677 glibcxx_cv_func__fmodl_use=yes
50678 else
50679 glibcxx_cv_func__fmodl_use=no
50681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50682 ac_ext=c
50683 ac_cpp='$CPP $CPPFLAGS'
50684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50693 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50695 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50696 for ac_func in _fmodl
50697 do :
50698 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50699 if test "x$ac_cv_func__fmodl" = x""yes; then :
50700 cat >>confdefs.h <<_ACEOF
50701 #define HAVE__FMODL 1
50702 _ACEOF
50705 done
50714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50715 $as_echo_n "checking for frexpl declaration... " >&6; }
50716 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50717 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50718 $as_echo_n "(cached) " >&6
50719 else
50722 ac_ext=cpp
50723 ac_cpp='$CXXCPP $CPPFLAGS'
50724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50729 /* end confdefs.h. */
50730 #include <math.h>
50732 main ()
50734 frexpl(0, 0);
50736 return 0;
50738 _ACEOF
50739 if ac_fn_cxx_try_compile "$LINENO"; then :
50740 glibcxx_cv_func_frexpl_use=yes
50741 else
50742 glibcxx_cv_func_frexpl_use=no
50744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50745 ac_ext=c
50746 ac_cpp='$CPP $CPPFLAGS'
50747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50756 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50758 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50759 for ac_func in frexpl
50760 do :
50761 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50762 if test "x$ac_cv_func_frexpl" = x""yes; then :
50763 cat >>confdefs.h <<_ACEOF
50764 #define HAVE_FREXPL 1
50765 _ACEOF
50768 done
50770 else
50772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50773 $as_echo_n "checking for _frexpl declaration... " >&6; }
50774 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50775 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50776 $as_echo_n "(cached) " >&6
50777 else
50780 ac_ext=cpp
50781 ac_cpp='$CXXCPP $CPPFLAGS'
50782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50787 /* end confdefs.h. */
50788 #include <math.h>
50790 main ()
50792 _frexpl(0, 0);
50794 return 0;
50796 _ACEOF
50797 if ac_fn_cxx_try_compile "$LINENO"; then :
50798 glibcxx_cv_func__frexpl_use=yes
50799 else
50800 glibcxx_cv_func__frexpl_use=no
50802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50803 ac_ext=c
50804 ac_cpp='$CPP $CPPFLAGS'
50805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50814 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50816 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50817 for ac_func in _frexpl
50818 do :
50819 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50820 if test "x$ac_cv_func__frexpl" = x""yes; then :
50821 cat >>confdefs.h <<_ACEOF
50822 #define HAVE__FREXPL 1
50823 _ACEOF
50826 done
50835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50836 $as_echo_n "checking for hypotl declaration... " >&6; }
50837 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50838 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50839 $as_echo_n "(cached) " >&6
50840 else
50843 ac_ext=cpp
50844 ac_cpp='$CXXCPP $CPPFLAGS'
50845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50850 /* end confdefs.h. */
50851 #include <math.h>
50853 main ()
50855 hypotl(0, 0);
50857 return 0;
50859 _ACEOF
50860 if ac_fn_cxx_try_compile "$LINENO"; then :
50861 glibcxx_cv_func_hypotl_use=yes
50862 else
50863 glibcxx_cv_func_hypotl_use=no
50865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50866 ac_ext=c
50867 ac_cpp='$CPP $CPPFLAGS'
50868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50877 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50879 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50880 for ac_func in hypotl
50881 do :
50882 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50883 if test "x$ac_cv_func_hypotl" = x""yes; then :
50884 cat >>confdefs.h <<_ACEOF
50885 #define HAVE_HYPOTL 1
50886 _ACEOF
50889 done
50891 else
50893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50894 $as_echo_n "checking for _hypotl declaration... " >&6; }
50895 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50896 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50897 $as_echo_n "(cached) " >&6
50898 else
50901 ac_ext=cpp
50902 ac_cpp='$CXXCPP $CPPFLAGS'
50903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50908 /* end confdefs.h. */
50909 #include <math.h>
50911 main ()
50913 _hypotl(0, 0);
50915 return 0;
50917 _ACEOF
50918 if ac_fn_cxx_try_compile "$LINENO"; then :
50919 glibcxx_cv_func__hypotl_use=yes
50920 else
50921 glibcxx_cv_func__hypotl_use=no
50923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50924 ac_ext=c
50925 ac_cpp='$CPP $CPPFLAGS'
50926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50935 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50937 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50938 for ac_func in _hypotl
50939 do :
50940 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50941 if test "x$ac_cv_func__hypotl" = x""yes; then :
50942 cat >>confdefs.h <<_ACEOF
50943 #define HAVE__HYPOTL 1
50944 _ACEOF
50947 done
50956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50957 $as_echo_n "checking for ldexpl declaration... " >&6; }
50958 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50959 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50960 $as_echo_n "(cached) " >&6
50961 else
50964 ac_ext=cpp
50965 ac_cpp='$CXXCPP $CPPFLAGS'
50966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50971 /* end confdefs.h. */
50972 #include <math.h>
50974 main ()
50976 ldexpl(0, 0);
50978 return 0;
50980 _ACEOF
50981 if ac_fn_cxx_try_compile "$LINENO"; then :
50982 glibcxx_cv_func_ldexpl_use=yes
50983 else
50984 glibcxx_cv_func_ldexpl_use=no
50986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50987 ac_ext=c
50988 ac_cpp='$CPP $CPPFLAGS'
50989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50998 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51000 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51001 for ac_func in ldexpl
51002 do :
51003 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51004 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51005 cat >>confdefs.h <<_ACEOF
51006 #define HAVE_LDEXPL 1
51007 _ACEOF
51010 done
51012 else
51014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51015 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51016 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51017 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51018 $as_echo_n "(cached) " >&6
51019 else
51022 ac_ext=cpp
51023 ac_cpp='$CXXCPP $CPPFLAGS'
51024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51029 /* end confdefs.h. */
51030 #include <math.h>
51032 main ()
51034 _ldexpl(0, 0);
51036 return 0;
51038 _ACEOF
51039 if ac_fn_cxx_try_compile "$LINENO"; then :
51040 glibcxx_cv_func__ldexpl_use=yes
51041 else
51042 glibcxx_cv_func__ldexpl_use=no
51044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51045 ac_ext=c
51046 ac_cpp='$CPP $CPPFLAGS'
51047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51056 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51058 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51059 for ac_func in _ldexpl
51060 do :
51061 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51062 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51063 cat >>confdefs.h <<_ACEOF
51064 #define HAVE__LDEXPL 1
51065 _ACEOF
51068 done
51077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51078 $as_echo_n "checking for logl declaration... " >&6; }
51079 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51080 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51081 $as_echo_n "(cached) " >&6
51082 else
51085 ac_ext=cpp
51086 ac_cpp='$CXXCPP $CPPFLAGS'
51087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51092 /* end confdefs.h. */
51093 #include <math.h>
51094 #ifdef HAVE_IEEEFP_H
51095 #include <ieeefp.h>
51096 #endif
51099 main ()
51101 logl(0);
51103 return 0;
51105 _ACEOF
51106 if ac_fn_cxx_try_compile "$LINENO"; then :
51107 glibcxx_cv_func_logl_use=yes
51108 else
51109 glibcxx_cv_func_logl_use=no
51111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51112 ac_ext=c
51113 ac_cpp='$CPP $CPPFLAGS'
51114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
51123 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
51125 if test x$glibcxx_cv_func_logl_use = x"yes"; then
51126 for ac_func in logl
51127 do :
51128 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
51129 if test "x$ac_cv_func_logl" = x""yes; then :
51130 cat >>confdefs.h <<_ACEOF
51131 #define HAVE_LOGL 1
51132 _ACEOF
51135 done
51137 else
51139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51140 $as_echo_n "checking for _logl declaration... " >&6; }
51141 if test x${glibcxx_cv_func__logl_use+set} != xset; then
51142 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51143 $as_echo_n "(cached) " >&6
51144 else
51147 ac_ext=cpp
51148 ac_cpp='$CXXCPP $CPPFLAGS'
51149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51154 /* end confdefs.h. */
51155 #include <math.h>
51156 #ifdef HAVE_IEEEFP_H
51157 #include <ieeefp.h>
51158 #endif
51161 main ()
51163 _logl(0);
51165 return 0;
51167 _ACEOF
51168 if ac_fn_cxx_try_compile "$LINENO"; then :
51169 glibcxx_cv_func__logl_use=yes
51170 else
51171 glibcxx_cv_func__logl_use=no
51173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51174 ac_ext=c
51175 ac_cpp='$CPP $CPPFLAGS'
51176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51185 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51187 if test x$glibcxx_cv_func__logl_use = x"yes"; then
51188 for ac_func in _logl
51189 do :
51190 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51191 if test "x$ac_cv_func__logl" = x""yes; then :
51192 cat >>confdefs.h <<_ACEOF
51193 #define HAVE__LOGL 1
51194 _ACEOF
51197 done
51206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51207 $as_echo_n "checking for log10l declaration... " >&6; }
51208 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51209 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51210 $as_echo_n "(cached) " >&6
51211 else
51214 ac_ext=cpp
51215 ac_cpp='$CXXCPP $CPPFLAGS'
51216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51221 /* end confdefs.h. */
51222 #include <math.h>
51223 #ifdef HAVE_IEEEFP_H
51224 #include <ieeefp.h>
51225 #endif
51228 main ()
51230 log10l(0);
51232 return 0;
51234 _ACEOF
51235 if ac_fn_cxx_try_compile "$LINENO"; then :
51236 glibcxx_cv_func_log10l_use=yes
51237 else
51238 glibcxx_cv_func_log10l_use=no
51240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51241 ac_ext=c
51242 ac_cpp='$CPP $CPPFLAGS'
51243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51252 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51254 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51255 for ac_func in log10l
51256 do :
51257 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51258 if test "x$ac_cv_func_log10l" = x""yes; then :
51259 cat >>confdefs.h <<_ACEOF
51260 #define HAVE_LOG10L 1
51261 _ACEOF
51264 done
51266 else
51268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51269 $as_echo_n "checking for _log10l declaration... " >&6; }
51270 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51271 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51272 $as_echo_n "(cached) " >&6
51273 else
51276 ac_ext=cpp
51277 ac_cpp='$CXXCPP $CPPFLAGS'
51278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51283 /* end confdefs.h. */
51284 #include <math.h>
51285 #ifdef HAVE_IEEEFP_H
51286 #include <ieeefp.h>
51287 #endif
51290 main ()
51292 _log10l(0);
51294 return 0;
51296 _ACEOF
51297 if ac_fn_cxx_try_compile "$LINENO"; then :
51298 glibcxx_cv_func__log10l_use=yes
51299 else
51300 glibcxx_cv_func__log10l_use=no
51302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51303 ac_ext=c
51304 ac_cpp='$CPP $CPPFLAGS'
51305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51314 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51316 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51317 for ac_func in _log10l
51318 do :
51319 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51320 if test "x$ac_cv_func__log10l" = x""yes; then :
51321 cat >>confdefs.h <<_ACEOF
51322 #define HAVE__LOG10L 1
51323 _ACEOF
51326 done
51335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51336 $as_echo_n "checking for modfl declaration... " >&6; }
51337 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51338 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51339 $as_echo_n "(cached) " >&6
51340 else
51343 ac_ext=cpp
51344 ac_cpp='$CXXCPP $CPPFLAGS'
51345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51350 /* end confdefs.h. */
51351 #include <math.h>
51353 main ()
51355 modfl(0, 0);
51357 return 0;
51359 _ACEOF
51360 if ac_fn_cxx_try_compile "$LINENO"; then :
51361 glibcxx_cv_func_modfl_use=yes
51362 else
51363 glibcxx_cv_func_modfl_use=no
51365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51366 ac_ext=c
51367 ac_cpp='$CPP $CPPFLAGS'
51368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51377 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51379 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51380 for ac_func in modfl
51381 do :
51382 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51383 if test "x$ac_cv_func_modfl" = x""yes; then :
51384 cat >>confdefs.h <<_ACEOF
51385 #define HAVE_MODFL 1
51386 _ACEOF
51389 done
51391 else
51393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51394 $as_echo_n "checking for _modfl declaration... " >&6; }
51395 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51396 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51397 $as_echo_n "(cached) " >&6
51398 else
51401 ac_ext=cpp
51402 ac_cpp='$CXXCPP $CPPFLAGS'
51403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51408 /* end confdefs.h. */
51409 #include <math.h>
51411 main ()
51413 _modfl(0, 0);
51415 return 0;
51417 _ACEOF
51418 if ac_fn_cxx_try_compile "$LINENO"; then :
51419 glibcxx_cv_func__modfl_use=yes
51420 else
51421 glibcxx_cv_func__modfl_use=no
51423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51424 ac_ext=c
51425 ac_cpp='$CPP $CPPFLAGS'
51426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51435 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51437 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51438 for ac_func in _modfl
51439 do :
51440 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51441 if test "x$ac_cv_func__modfl" = x""yes; then :
51442 cat >>confdefs.h <<_ACEOF
51443 #define HAVE__MODFL 1
51444 _ACEOF
51447 done
51456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51457 $as_echo_n "checking for powl declaration... " >&6; }
51458 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51459 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51460 $as_echo_n "(cached) " >&6
51461 else
51464 ac_ext=cpp
51465 ac_cpp='$CXXCPP $CPPFLAGS'
51466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51471 /* end confdefs.h. */
51472 #include <math.h>
51474 main ()
51476 powl(0, 0);
51478 return 0;
51480 _ACEOF
51481 if ac_fn_cxx_try_compile "$LINENO"; then :
51482 glibcxx_cv_func_powl_use=yes
51483 else
51484 glibcxx_cv_func_powl_use=no
51486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51487 ac_ext=c
51488 ac_cpp='$CPP $CPPFLAGS'
51489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51498 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51500 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51501 for ac_func in powl
51502 do :
51503 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51504 if test "x$ac_cv_func_powl" = x""yes; then :
51505 cat >>confdefs.h <<_ACEOF
51506 #define HAVE_POWL 1
51507 _ACEOF
51510 done
51512 else
51514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51515 $as_echo_n "checking for _powl declaration... " >&6; }
51516 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51517 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51518 $as_echo_n "(cached) " >&6
51519 else
51522 ac_ext=cpp
51523 ac_cpp='$CXXCPP $CPPFLAGS'
51524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51529 /* end confdefs.h. */
51530 #include <math.h>
51532 main ()
51534 _powl(0, 0);
51536 return 0;
51538 _ACEOF
51539 if ac_fn_cxx_try_compile "$LINENO"; then :
51540 glibcxx_cv_func__powl_use=yes
51541 else
51542 glibcxx_cv_func__powl_use=no
51544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51545 ac_ext=c
51546 ac_cpp='$CPP $CPPFLAGS'
51547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51556 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51558 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51559 for ac_func in _powl
51560 do :
51561 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51562 if test "x$ac_cv_func__powl" = x""yes; then :
51563 cat >>confdefs.h <<_ACEOF
51564 #define HAVE__POWL 1
51565 _ACEOF
51568 done
51577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51578 $as_echo_n "checking for sqrtl declaration... " >&6; }
51579 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51580 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51581 $as_echo_n "(cached) " >&6
51582 else
51585 ac_ext=cpp
51586 ac_cpp='$CXXCPP $CPPFLAGS'
51587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51592 /* end confdefs.h. */
51593 #include <math.h>
51594 #ifdef HAVE_IEEEFP_H
51595 #include <ieeefp.h>
51596 #endif
51599 main ()
51601 sqrtl(0);
51603 return 0;
51605 _ACEOF
51606 if ac_fn_cxx_try_compile "$LINENO"; then :
51607 glibcxx_cv_func_sqrtl_use=yes
51608 else
51609 glibcxx_cv_func_sqrtl_use=no
51611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51612 ac_ext=c
51613 ac_cpp='$CPP $CPPFLAGS'
51614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51623 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51625 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51626 for ac_func in sqrtl
51627 do :
51628 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51629 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51630 cat >>confdefs.h <<_ACEOF
51631 #define HAVE_SQRTL 1
51632 _ACEOF
51635 done
51637 else
51639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51640 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51641 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51642 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51643 $as_echo_n "(cached) " >&6
51644 else
51647 ac_ext=cpp
51648 ac_cpp='$CXXCPP $CPPFLAGS'
51649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51654 /* end confdefs.h. */
51655 #include <math.h>
51656 #ifdef HAVE_IEEEFP_H
51657 #include <ieeefp.h>
51658 #endif
51661 main ()
51663 _sqrtl(0);
51665 return 0;
51667 _ACEOF
51668 if ac_fn_cxx_try_compile "$LINENO"; then :
51669 glibcxx_cv_func__sqrtl_use=yes
51670 else
51671 glibcxx_cv_func__sqrtl_use=no
51673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51674 ac_ext=c
51675 ac_cpp='$CPP $CPPFLAGS'
51676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51685 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51687 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51688 for ac_func in _sqrtl
51689 do :
51690 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51691 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51692 cat >>confdefs.h <<_ACEOF
51693 #define HAVE__SQRTL 1
51694 _ACEOF
51697 done
51706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51707 $as_echo_n "checking for sincosl declaration... " >&6; }
51708 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51709 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51710 $as_echo_n "(cached) " >&6
51711 else
51714 ac_ext=cpp
51715 ac_cpp='$CXXCPP $CPPFLAGS'
51716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51721 /* end confdefs.h. */
51722 #include <math.h>
51724 main ()
51726 sincosl(0, 0, 0);
51728 return 0;
51730 _ACEOF
51731 if ac_fn_cxx_try_compile "$LINENO"; then :
51732 glibcxx_cv_func_sincosl_use=yes
51733 else
51734 glibcxx_cv_func_sincosl_use=no
51736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51737 ac_ext=c
51738 ac_cpp='$CPP $CPPFLAGS'
51739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51748 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51750 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51751 for ac_func in sincosl
51752 do :
51753 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51754 if test "x$ac_cv_func_sincosl" = x""yes; then :
51755 cat >>confdefs.h <<_ACEOF
51756 #define HAVE_SINCOSL 1
51757 _ACEOF
51760 done
51762 else
51764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51765 $as_echo_n "checking for _sincosl declaration... " >&6; }
51766 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51767 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51768 $as_echo_n "(cached) " >&6
51769 else
51772 ac_ext=cpp
51773 ac_cpp='$CXXCPP $CPPFLAGS'
51774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51779 /* end confdefs.h. */
51780 #include <math.h>
51782 main ()
51784 _sincosl(0, 0, 0);
51786 return 0;
51788 _ACEOF
51789 if ac_fn_cxx_try_compile "$LINENO"; then :
51790 glibcxx_cv_func__sincosl_use=yes
51791 else
51792 glibcxx_cv_func__sincosl_use=no
51794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51795 ac_ext=c
51796 ac_cpp='$CPP $CPPFLAGS'
51797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51806 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51808 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51809 for ac_func in _sincosl
51810 do :
51811 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51812 if test "x$ac_cv_func__sincosl" = x""yes; then :
51813 cat >>confdefs.h <<_ACEOF
51814 #define HAVE__SINCOSL 1
51815 _ACEOF
51818 done
51827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51828 $as_echo_n "checking for finitel declaration... " >&6; }
51829 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51830 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51831 $as_echo_n "(cached) " >&6
51832 else
51835 ac_ext=cpp
51836 ac_cpp='$CXXCPP $CPPFLAGS'
51837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51842 /* end confdefs.h. */
51843 #include <math.h>
51844 #ifdef HAVE_IEEEFP_H
51845 #include <ieeefp.h>
51846 #endif
51849 main ()
51851 finitel(0);
51853 return 0;
51855 _ACEOF
51856 if ac_fn_cxx_try_compile "$LINENO"; then :
51857 glibcxx_cv_func_finitel_use=yes
51858 else
51859 glibcxx_cv_func_finitel_use=no
51861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51862 ac_ext=c
51863 ac_cpp='$CPP $CPPFLAGS'
51864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51873 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51875 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51876 for ac_func in finitel
51877 do :
51878 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51879 if test "x$ac_cv_func_finitel" = x""yes; then :
51880 cat >>confdefs.h <<_ACEOF
51881 #define HAVE_FINITEL 1
51882 _ACEOF
51885 done
51887 else
51889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51890 $as_echo_n "checking for _finitel declaration... " >&6; }
51891 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51892 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51893 $as_echo_n "(cached) " >&6
51894 else
51897 ac_ext=cpp
51898 ac_cpp='$CXXCPP $CPPFLAGS'
51899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51904 /* end confdefs.h. */
51905 #include <math.h>
51906 #ifdef HAVE_IEEEFP_H
51907 #include <ieeefp.h>
51908 #endif
51911 main ()
51913 _finitel(0);
51915 return 0;
51917 _ACEOF
51918 if ac_fn_cxx_try_compile "$LINENO"; then :
51919 glibcxx_cv_func__finitel_use=yes
51920 else
51921 glibcxx_cv_func__finitel_use=no
51923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51924 ac_ext=c
51925 ac_cpp='$CPP $CPPFLAGS'
51926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51935 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51937 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51938 for ac_func in _finitel
51939 do :
51940 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51941 if test "x$ac_cv_func__finitel" = x""yes; then :
51942 cat >>confdefs.h <<_ACEOF
51943 #define HAVE__FINITEL 1
51944 _ACEOF
51947 done
51955 LIBS="$ac_save_LIBS"
51956 CXXFLAGS="$ac_save_CXXFLAGS"
51959 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51960 ac_save_CXXFLAGS="$CXXFLAGS"
51961 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51965 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51966 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51967 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51968 $as_echo_n "(cached) " >&6
51969 else
51972 ac_ext=cpp
51973 ac_cpp='$CXXCPP $CPPFLAGS'
51974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51979 /* end confdefs.h. */
51980 #include <stdlib.h>
51982 main ()
51984 at_quick_exit(0);
51986 return 0;
51988 _ACEOF
51989 if ac_fn_cxx_try_compile "$LINENO"; then :
51990 glibcxx_cv_func_at_quick_exit_use=yes
51991 else
51992 glibcxx_cv_func_at_quick_exit_use=no
51994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51995 ac_ext=c
51996 ac_cpp='$CPP $CPPFLAGS'
51997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52006 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52007 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52008 for ac_func in at_quick_exit
52009 do :
52010 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52011 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52012 cat >>confdefs.h <<_ACEOF
52013 #define HAVE_AT_QUICK_EXIT 1
52014 _ACEOF
52017 done
52022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52023 $as_echo_n "checking for quick_exit declaration... " >&6; }
52024 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52025 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52026 $as_echo_n "(cached) " >&6
52027 else
52030 ac_ext=cpp
52031 ac_cpp='$CXXCPP $CPPFLAGS'
52032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52037 /* end confdefs.h. */
52038 #include <stdlib.h>
52040 main ()
52042 quick_exit(0);
52044 return 0;
52046 _ACEOF
52047 if ac_fn_cxx_try_compile "$LINENO"; then :
52048 glibcxx_cv_func_quick_exit_use=yes
52049 else
52050 glibcxx_cv_func_quick_exit_use=no
52052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52053 ac_ext=c
52054 ac_cpp='$CPP $CPPFLAGS'
52055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52064 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52065 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52066 for ac_func in quick_exit
52067 do :
52068 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52069 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52070 cat >>confdefs.h <<_ACEOF
52071 #define HAVE_QUICK_EXIT 1
52072 _ACEOF
52075 done
52080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52081 $as_echo_n "checking for strtold declaration... " >&6; }
52082 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52083 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52084 $as_echo_n "(cached) " >&6
52085 else
52088 ac_ext=cpp
52089 ac_cpp='$CXXCPP $CPPFLAGS'
52090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52095 /* end confdefs.h. */
52096 #include <stdlib.h>
52098 main ()
52100 strtold(0, 0);
52102 return 0;
52104 _ACEOF
52105 if ac_fn_cxx_try_compile "$LINENO"; then :
52106 glibcxx_cv_func_strtold_use=yes
52107 else
52108 glibcxx_cv_func_strtold_use=no
52110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52111 ac_ext=c
52112 ac_cpp='$CPP $CPPFLAGS'
52113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
52122 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
52123 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52124 for ac_func in strtold
52125 do :
52126 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
52127 if test "x$ac_cv_func_strtold" = x""yes; then :
52128 cat >>confdefs.h <<_ACEOF
52129 #define HAVE_STRTOLD 1
52130 _ACEOF
52133 done
52140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52141 $as_echo_n "checking for strtof declaration... " >&6; }
52142 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52143 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52144 $as_echo_n "(cached) " >&6
52145 else
52148 ac_ext=cpp
52149 ac_cpp='$CXXCPP $CPPFLAGS'
52150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52155 /* end confdefs.h. */
52156 #include <stdlib.h>
52158 main ()
52160 strtof(0, 0);
52162 return 0;
52164 _ACEOF
52165 if ac_fn_cxx_try_compile "$LINENO"; then :
52166 glibcxx_cv_func_strtof_use=yes
52167 else
52168 glibcxx_cv_func_strtof_use=no
52170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52171 ac_ext=c
52172 ac_cpp='$CPP $CPPFLAGS'
52173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52182 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52183 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52184 for ac_func in strtof
52185 do :
52186 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52187 if test "x$ac_cv_func_strtof" = x""yes; then :
52188 cat >>confdefs.h <<_ACEOF
52189 #define HAVE_STRTOF 1
52190 _ACEOF
52193 done
52200 CXXFLAGS="$ac_save_CXXFLAGS"
52202 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
52206 # Check whether --enable-tls was given.
52207 if test "${enable_tls+set}" = set; then :
52208 enableval=$enable_tls;
52209 case "$enableval" in
52210 yes|no) ;;
52211 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52212 esac
52214 else
52215 enable_tls=yes
52219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52220 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52221 if test "${gcc_cv_have_tls+set}" = set; then :
52222 $as_echo_n "(cached) " >&6
52223 else
52225 if test "$cross_compiling" = yes; then :
52226 if test x$gcc_no_link = xyes; then
52227 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52230 /* end confdefs.h. */
52231 __thread int a; int b; int main() { return a = b; }
52232 _ACEOF
52233 if ac_fn_c_try_link "$LINENO"; then :
52234 chktls_save_LDFLAGS="$LDFLAGS"
52235 case $host in
52236 *-*-linux*)
52237 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52239 esac
52240 chktls_save_CFLAGS="$CFLAGS"
52241 CFLAGS="-fPIC $CFLAGS"
52242 if test x$gcc_no_link = xyes; then
52243 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52246 /* end confdefs.h. */
52247 int f() { return 0; }
52248 _ACEOF
52249 if ac_fn_c_try_link "$LINENO"; then :
52250 if test x$gcc_no_link = xyes; then
52251 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52254 /* end confdefs.h. */
52255 __thread int a; int b; int f() { return a = b; }
52256 _ACEOF
52257 if ac_fn_c_try_link "$LINENO"; then :
52258 gcc_cv_have_tls=yes
52259 else
52260 gcc_cv_have_tls=no
52262 rm -f core conftest.err conftest.$ac_objext \
52263 conftest$ac_exeext conftest.$ac_ext
52264 else
52265 gcc_cv_have_tls=yes
52267 rm -f core conftest.err conftest.$ac_objext \
52268 conftest$ac_exeext conftest.$ac_ext
52269 CFLAGS="$chktls_save_CFLAGS"
52270 LDFLAGS="$chktls_save_LDFLAGS"
52271 else
52272 gcc_cv_have_tls=no
52274 rm -f core conftest.err conftest.$ac_objext \
52275 conftest$ac_exeext conftest.$ac_ext
52278 else
52279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52280 /* end confdefs.h. */
52281 __thread int a; int b; int main() { return a = b; }
52282 _ACEOF
52283 if ac_fn_c_try_run "$LINENO"; then :
52284 chktls_save_LDFLAGS="$LDFLAGS"
52285 LDFLAGS="-static $LDFLAGS"
52286 if test x$gcc_no_link = xyes; then
52287 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52290 /* end confdefs.h. */
52291 int main() { return 0; }
52292 _ACEOF
52293 if ac_fn_c_try_link "$LINENO"; then :
52294 if test "$cross_compiling" = yes; then :
52295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52297 as_fn_error "cannot run test program while cross compiling
52298 See \`config.log' for more details." "$LINENO" 5; }
52299 else
52300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52301 /* end confdefs.h. */
52302 __thread int a; int b; int main() { return a = b; }
52303 _ACEOF
52304 if ac_fn_c_try_run "$LINENO"; then :
52305 gcc_cv_have_tls=yes
52306 else
52307 gcc_cv_have_tls=no
52309 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52310 conftest.$ac_objext conftest.beam conftest.$ac_ext
52313 else
52314 gcc_cv_have_tls=yes
52316 rm -f core conftest.err conftest.$ac_objext \
52317 conftest$ac_exeext conftest.$ac_ext
52318 LDFLAGS="$chktls_save_LDFLAGS"
52319 if test $gcc_cv_have_tls = yes; then
52320 chktls_save_CFLAGS="$CFLAGS"
52321 thread_CFLAGS=failed
52322 for flag in '' '-pthread' '-lpthread'; do
52323 CFLAGS="$flag $chktls_save_CFLAGS"
52324 if test x$gcc_no_link = xyes; then
52325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52328 /* end confdefs.h. */
52329 #include <pthread.h>
52330 void *g(void *d) { return NULL; }
52332 main ()
52334 pthread_t t; pthread_create(&t,NULL,g,NULL);
52336 return 0;
52338 _ACEOF
52339 if ac_fn_c_try_link "$LINENO"; then :
52340 thread_CFLAGS="$flag"
52342 rm -f core conftest.err conftest.$ac_objext \
52343 conftest$ac_exeext conftest.$ac_ext
52344 if test "X$thread_CFLAGS" != Xfailed; then
52345 break
52347 done
52348 CFLAGS="$chktls_save_CFLAGS"
52349 if test "X$thread_CFLAGS" != Xfailed; then
52350 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52351 if test "$cross_compiling" = yes; then :
52352 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52354 as_fn_error "cannot run test program while cross compiling
52355 See \`config.log' for more details." "$LINENO" 5; }
52356 else
52357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52358 /* end confdefs.h. */
52359 #include <pthread.h>
52360 __thread int a;
52361 static int *volatile a_in_other_thread;
52362 static void *
52363 thread_func (void *arg)
52365 a_in_other_thread = &a;
52366 return (void *)0;
52369 main ()
52371 pthread_t thread;
52372 void *thread_retval;
52373 int *volatile a_in_main_thread;
52374 a_in_main_thread = &a;
52375 if (pthread_create (&thread, (pthread_attr_t *)0,
52376 thread_func, (void *)0))
52377 return 0;
52378 if (pthread_join (thread, &thread_retval))
52379 return 0;
52380 return (a_in_other_thread == a_in_main_thread);
52382 return 0;
52384 _ACEOF
52385 if ac_fn_c_try_run "$LINENO"; then :
52386 gcc_cv_have_tls=yes
52387 else
52388 gcc_cv_have_tls=no
52390 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52391 conftest.$ac_objext conftest.beam conftest.$ac_ext
52394 CFLAGS="$chktls_save_CFLAGS"
52397 else
52398 gcc_cv_have_tls=no
52400 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52401 conftest.$ac_objext conftest.beam conftest.$ac_ext
52405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52406 $as_echo "$gcc_cv_have_tls" >&6; }
52407 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52409 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52417 am_save_CPPFLAGS="$CPPFLAGS"
52419 for element in $INCICONV; do
52420 haveit=
52421 for x in $CPPFLAGS; do
52423 acl_save_prefix="$prefix"
52424 prefix="$acl_final_prefix"
52425 acl_save_exec_prefix="$exec_prefix"
52426 exec_prefix="$acl_final_exec_prefix"
52427 eval x=\"$x\"
52428 exec_prefix="$acl_save_exec_prefix"
52429 prefix="$acl_save_prefix"
52431 if test "X$x" = "X$element"; then
52432 haveit=yes
52433 break
52435 done
52436 if test -z "$haveit"; then
52437 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
52439 done
52442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
52443 $as_echo_n "checking for iconv... " >&6; }
52444 if test "${am_cv_func_iconv+set}" = set; then :
52445 $as_echo_n "(cached) " >&6
52446 else
52448 am_cv_func_iconv="no, consider installing GNU libiconv"
52449 am_cv_lib_iconv=no
52450 if test x$gcc_no_link = xyes; then
52451 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52454 /* end confdefs.h. */
52455 #include <stdlib.h>
52456 #include <iconv.h>
52458 main ()
52460 iconv_t cd = iconv_open("","");
52461 iconv(cd,NULL,NULL,NULL,NULL);
52462 iconv_close(cd);
52464 return 0;
52466 _ACEOF
52467 if ac_fn_c_try_link "$LINENO"; then :
52468 am_cv_func_iconv=yes
52470 rm -f core conftest.err conftest.$ac_objext \
52471 conftest$ac_exeext conftest.$ac_ext
52472 if test "$am_cv_func_iconv" != yes; then
52473 am_save_LIBS="$LIBS"
52474 LIBS="$LIBS $LIBICONV"
52475 if test x$gcc_no_link = xyes; then
52476 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52479 /* end confdefs.h. */
52480 #include <stdlib.h>
52481 #include <iconv.h>
52483 main ()
52485 iconv_t cd = iconv_open("","");
52486 iconv(cd,NULL,NULL,NULL,NULL);
52487 iconv_close(cd);
52489 return 0;
52491 _ACEOF
52492 if ac_fn_c_try_link "$LINENO"; then :
52493 am_cv_lib_iconv=yes
52494 am_cv_func_iconv=yes
52496 rm -f core conftest.err conftest.$ac_objext \
52497 conftest$ac_exeext conftest.$ac_ext
52498 LIBS="$am_save_LIBS"
52502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
52503 $as_echo "$am_cv_func_iconv" >&6; }
52504 if test "$am_cv_func_iconv" = yes; then
52506 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
52509 if test "$am_cv_lib_iconv" = yes; then
52510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
52511 $as_echo_n "checking how to link with libiconv... " >&6; }
52512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
52513 $as_echo "$LIBICONV" >&6; }
52514 else
52515 CPPFLAGS="$am_save_CPPFLAGS"
52516 LIBICONV=
52517 LTLIBICONV=
52522 if test "$am_cv_func_iconv" = yes; then
52523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
52524 $as_echo_n "checking for iconv declaration... " >&6; }
52525 if test "${am_cv_proto_iconv+set}" = set; then :
52526 $as_echo_n "(cached) " >&6
52527 else
52529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52530 /* end confdefs.h. */
52532 #include <stdlib.h>
52533 #include <iconv.h>
52534 extern
52535 #ifdef __cplusplus
52537 #endif
52538 #if defined(__STDC__) || defined(__cplusplus)
52539 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
52540 #else
52541 size_t iconv();
52542 #endif
52545 main ()
52549 return 0;
52551 _ACEOF
52552 if ac_fn_c_try_compile "$LINENO"; then :
52553 am_cv_proto_iconv_arg1=""
52554 else
52555 am_cv_proto_iconv_arg1="const"
52557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52558 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);"
52561 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
52562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
52563 }$am_cv_proto_iconv" >&5
52564 $as_echo "${ac_t:-
52565 }$am_cv_proto_iconv" >&6; }
52567 cat >>confdefs.h <<_ACEOF
52568 #define ICONV_CONST $am_cv_proto_iconv_arg1
52569 _ACEOF
52574 *-mingw32*)
52576 # If we're not using GNU ld, then there's no point in even trying these
52577 # tests. Check for that first. We should have already tested for gld
52578 # by now (in libtool), but require it now just to be safe...
52579 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52580 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52584 # The name set by libtool depends on the version of libtool. Shame on us
52585 # for depending on an impl detail, but c'est la vie. Older versions used
52586 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52587 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52588 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52589 # set (hence we're using an older libtool), then set it.
52590 if test x${with_gnu_ld+set} != xset; then
52591 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52592 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52593 with_gnu_ld=no
52594 else
52595 with_gnu_ld=$ac_cv_prog_gnu_ld
52599 # Start by getting the version number. I think the libtool test already
52600 # does some of this, but throws away the result.
52601 glibcxx_ld_is_gold=no
52602 if test x"$with_gnu_ld" = x"yes"; then
52603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52604 $as_echo_n "checking for ld version... " >&6; }
52606 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52607 glibcxx_ld_is_gold=yes
52609 ldver=`$LD --version 2>/dev/null |
52610 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'`
52612 glibcxx_gnu_ld_version=`echo $ldver | \
52613 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52615 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52618 # Set --gc-sections.
52619 glibcxx_have_gc_sections=no
52620 if test "$glibcxx_ld_is_gold" = "yes"; then
52621 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52622 glibcxx_have_gc_sections=yes
52624 else
52625 glibcxx_gcsections_min_ld=21602
52626 if test x"$with_gnu_ld" = x"yes" &&
52627 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52628 glibcxx_have_gc_sections=yes
52631 if test "$glibcxx_have_gc_sections" = "yes"; then
52632 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52633 # NB: This flag only works reliably after 2.16.1. Configure tests
52634 # for this are difficult, so hard wire a value that should work.
52636 ac_test_CFLAGS="${CFLAGS+set}"
52637 ac_save_CFLAGS="$CFLAGS"
52638 CFLAGS='-Wl,--gc-sections'
52640 # Check for -Wl,--gc-sections
52641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52642 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52643 if test x$gcc_no_link = xyes; then
52644 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52647 /* end confdefs.h. */
52648 int one(void) { return 1; }
52649 int two(void) { return 2; }
52652 main ()
52654 two();
52656 return 0;
52658 _ACEOF
52659 if ac_fn_c_try_link "$LINENO"; then :
52660 ac_gcsections=yes
52661 else
52662 ac_gcsections=no
52664 rm -f core conftest.err conftest.$ac_objext \
52665 conftest$ac_exeext conftest.$ac_ext
52666 if test "$ac_gcsections" = "yes"; then
52667 rm -f conftest.c
52668 touch conftest.c
52669 if $CC -c conftest.c; then
52670 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52671 grep "Warning: gc-sections option ignored" > /dev/null; then
52672 ac_gcsections=no
52675 rm -f conftest.c conftest.o conftest
52677 if test "$ac_gcsections" = "yes"; then
52678 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52681 $as_echo "$ac_gcsections" >&6; }
52683 if test "$ac_test_CFLAGS" = set; then
52684 CFLAGS="$ac_save_CFLAGS"
52685 else
52686 # this is the suspicious part
52687 CFLAGS=''
52691 # Set -z,relro.
52692 # Note this is only for shared objects.
52693 ac_ld_relro=no
52694 if test x"$with_gnu_ld" = x"yes"; then
52695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52696 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52697 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52698 if test -n "$cxx_z_relo"; then
52699 OPT_LDFLAGS="-Wl,-z,relro"
52700 ac_ld_relro=yes
52702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52703 $as_echo "$ac_ld_relro" >&6; }
52706 # Set linker optimization flags.
52707 if test x"$with_gnu_ld" = x"yes"; then
52708 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52715 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52716 ac_save_CXXFLAGS="$CXXFLAGS"
52717 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52720 $as_echo_n "checking for sin in -lm... " >&6; }
52721 if test "${ac_cv_lib_m_sin+set}" = set; then :
52722 $as_echo_n "(cached) " >&6
52723 else
52724 ac_check_lib_save_LIBS=$LIBS
52725 LIBS="-lm $LIBS"
52726 if test x$gcc_no_link = xyes; then
52727 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52730 /* end confdefs.h. */
52732 /* Override any GCC internal prototype to avoid an error.
52733 Use char because int might match the return type of a GCC
52734 builtin and then its argument prototype would still apply. */
52735 #ifdef __cplusplus
52736 extern "C"
52737 #endif
52738 char sin ();
52740 main ()
52742 return sin ();
52744 return 0;
52746 _ACEOF
52747 if ac_fn_c_try_link "$LINENO"; then :
52748 ac_cv_lib_m_sin=yes
52749 else
52750 ac_cv_lib_m_sin=no
52752 rm -f core conftest.err conftest.$ac_objext \
52753 conftest$ac_exeext conftest.$ac_ext
52754 LIBS=$ac_check_lib_save_LIBS
52756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52757 $as_echo "$ac_cv_lib_m_sin" >&6; }
52758 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52759 libm="-lm"
52762 ac_save_LIBS="$LIBS"
52763 LIBS="$LIBS $libm"
52767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52768 $as_echo_n "checking for isinf declaration... " >&6; }
52769 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52770 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52771 $as_echo_n "(cached) " >&6
52772 else
52775 ac_ext=cpp
52776 ac_cpp='$CXXCPP $CPPFLAGS'
52777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52782 /* end confdefs.h. */
52783 #include <math.h>
52784 #ifdef HAVE_IEEEFP_H
52785 #include <ieeefp.h>
52786 #endif
52789 main ()
52791 isinf(0);
52793 return 0;
52795 _ACEOF
52796 if ac_fn_cxx_try_compile "$LINENO"; then :
52797 glibcxx_cv_func_isinf_use=yes
52798 else
52799 glibcxx_cv_func_isinf_use=no
52801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52802 ac_ext=c
52803 ac_cpp='$CPP $CPPFLAGS'
52804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52813 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52815 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52816 for ac_func in isinf
52817 do :
52818 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52819 if test "x$ac_cv_func_isinf" = x""yes; then :
52820 cat >>confdefs.h <<_ACEOF
52821 #define HAVE_ISINF 1
52822 _ACEOF
52825 done
52827 else
52829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52830 $as_echo_n "checking for _isinf declaration... " >&6; }
52831 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52832 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52833 $as_echo_n "(cached) " >&6
52834 else
52837 ac_ext=cpp
52838 ac_cpp='$CXXCPP $CPPFLAGS'
52839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52844 /* end confdefs.h. */
52845 #include <math.h>
52846 #ifdef HAVE_IEEEFP_H
52847 #include <ieeefp.h>
52848 #endif
52851 main ()
52853 _isinf(0);
52855 return 0;
52857 _ACEOF
52858 if ac_fn_cxx_try_compile "$LINENO"; then :
52859 glibcxx_cv_func__isinf_use=yes
52860 else
52861 glibcxx_cv_func__isinf_use=no
52863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52864 ac_ext=c
52865 ac_cpp='$CPP $CPPFLAGS'
52866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52875 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52877 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52878 for ac_func in _isinf
52879 do :
52880 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52881 if test "x$ac_cv_func__isinf" = x""yes; then :
52882 cat >>confdefs.h <<_ACEOF
52883 #define HAVE__ISINF 1
52884 _ACEOF
52887 done
52896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52897 $as_echo_n "checking for isnan declaration... " >&6; }
52898 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52899 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52900 $as_echo_n "(cached) " >&6
52901 else
52904 ac_ext=cpp
52905 ac_cpp='$CXXCPP $CPPFLAGS'
52906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52911 /* end confdefs.h. */
52912 #include <math.h>
52913 #ifdef HAVE_IEEEFP_H
52914 #include <ieeefp.h>
52915 #endif
52918 main ()
52920 isnan(0);
52922 return 0;
52924 _ACEOF
52925 if ac_fn_cxx_try_compile "$LINENO"; then :
52926 glibcxx_cv_func_isnan_use=yes
52927 else
52928 glibcxx_cv_func_isnan_use=no
52930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52931 ac_ext=c
52932 ac_cpp='$CPP $CPPFLAGS'
52933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52942 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52944 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52945 for ac_func in isnan
52946 do :
52947 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52948 if test "x$ac_cv_func_isnan" = x""yes; then :
52949 cat >>confdefs.h <<_ACEOF
52950 #define HAVE_ISNAN 1
52951 _ACEOF
52954 done
52956 else
52958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52959 $as_echo_n "checking for _isnan declaration... " >&6; }
52960 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52961 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52962 $as_echo_n "(cached) " >&6
52963 else
52966 ac_ext=cpp
52967 ac_cpp='$CXXCPP $CPPFLAGS'
52968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52973 /* end confdefs.h. */
52974 #include <math.h>
52975 #ifdef HAVE_IEEEFP_H
52976 #include <ieeefp.h>
52977 #endif
52980 main ()
52982 _isnan(0);
52984 return 0;
52986 _ACEOF
52987 if ac_fn_cxx_try_compile "$LINENO"; then :
52988 glibcxx_cv_func__isnan_use=yes
52989 else
52990 glibcxx_cv_func__isnan_use=no
52992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52993 ac_ext=c
52994 ac_cpp='$CPP $CPPFLAGS'
52995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
53004 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
53006 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53007 for ac_func in _isnan
53008 do :
53009 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
53010 if test "x$ac_cv_func__isnan" = x""yes; then :
53011 cat >>confdefs.h <<_ACEOF
53012 #define HAVE__ISNAN 1
53013 _ACEOF
53016 done
53025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53026 $as_echo_n "checking for finite declaration... " >&6; }
53027 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53028 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53029 $as_echo_n "(cached) " >&6
53030 else
53033 ac_ext=cpp
53034 ac_cpp='$CXXCPP $CPPFLAGS'
53035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53040 /* end confdefs.h. */
53041 #include <math.h>
53042 #ifdef HAVE_IEEEFP_H
53043 #include <ieeefp.h>
53044 #endif
53047 main ()
53049 finite(0);
53051 return 0;
53053 _ACEOF
53054 if ac_fn_cxx_try_compile "$LINENO"; then :
53055 glibcxx_cv_func_finite_use=yes
53056 else
53057 glibcxx_cv_func_finite_use=no
53059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53060 ac_ext=c
53061 ac_cpp='$CPP $CPPFLAGS'
53062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53071 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53073 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53074 for ac_func in finite
53075 do :
53076 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53077 if test "x$ac_cv_func_finite" = x""yes; then :
53078 cat >>confdefs.h <<_ACEOF
53079 #define HAVE_FINITE 1
53080 _ACEOF
53083 done
53085 else
53087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53088 $as_echo_n "checking for _finite declaration... " >&6; }
53089 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53090 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53091 $as_echo_n "(cached) " >&6
53092 else
53095 ac_ext=cpp
53096 ac_cpp='$CXXCPP $CPPFLAGS'
53097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53102 /* end confdefs.h. */
53103 #include <math.h>
53104 #ifdef HAVE_IEEEFP_H
53105 #include <ieeefp.h>
53106 #endif
53109 main ()
53111 _finite(0);
53113 return 0;
53115 _ACEOF
53116 if ac_fn_cxx_try_compile "$LINENO"; then :
53117 glibcxx_cv_func__finite_use=yes
53118 else
53119 glibcxx_cv_func__finite_use=no
53121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53122 ac_ext=c
53123 ac_cpp='$CPP $CPPFLAGS'
53124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53133 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53135 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53136 for ac_func in _finite
53137 do :
53138 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53139 if test "x$ac_cv_func__finite" = x""yes; then :
53140 cat >>confdefs.h <<_ACEOF
53141 #define HAVE__FINITE 1
53142 _ACEOF
53145 done
53154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53155 $as_echo_n "checking for sincos declaration... " >&6; }
53156 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53157 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53158 $as_echo_n "(cached) " >&6
53159 else
53162 ac_ext=cpp
53163 ac_cpp='$CXXCPP $CPPFLAGS'
53164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53169 /* end confdefs.h. */
53170 #include <math.h>
53172 main ()
53174 sincos(0, 0, 0);
53176 return 0;
53178 _ACEOF
53179 if ac_fn_cxx_try_compile "$LINENO"; then :
53180 glibcxx_cv_func_sincos_use=yes
53181 else
53182 glibcxx_cv_func_sincos_use=no
53184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53185 ac_ext=c
53186 ac_cpp='$CPP $CPPFLAGS'
53187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53196 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53198 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53199 for ac_func in sincos
53200 do :
53201 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53202 if test "x$ac_cv_func_sincos" = x""yes; then :
53203 cat >>confdefs.h <<_ACEOF
53204 #define HAVE_SINCOS 1
53205 _ACEOF
53208 done
53210 else
53212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53213 $as_echo_n "checking for _sincos declaration... " >&6; }
53214 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53215 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53216 $as_echo_n "(cached) " >&6
53217 else
53220 ac_ext=cpp
53221 ac_cpp='$CXXCPP $CPPFLAGS'
53222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53227 /* end confdefs.h. */
53228 #include <math.h>
53230 main ()
53232 _sincos(0, 0, 0);
53234 return 0;
53236 _ACEOF
53237 if ac_fn_cxx_try_compile "$LINENO"; then :
53238 glibcxx_cv_func__sincos_use=yes
53239 else
53240 glibcxx_cv_func__sincos_use=no
53242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53243 ac_ext=c
53244 ac_cpp='$CPP $CPPFLAGS'
53245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53254 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53256 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53257 for ac_func in _sincos
53258 do :
53259 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53260 if test "x$ac_cv_func__sincos" = x""yes; then :
53261 cat >>confdefs.h <<_ACEOF
53262 #define HAVE__SINCOS 1
53263 _ACEOF
53266 done
53275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53276 $as_echo_n "checking for fpclass declaration... " >&6; }
53277 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53278 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53279 $as_echo_n "(cached) " >&6
53280 else
53283 ac_ext=cpp
53284 ac_cpp='$CXXCPP $CPPFLAGS'
53285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53290 /* end confdefs.h. */
53291 #include <math.h>
53292 #ifdef HAVE_IEEEFP_H
53293 #include <ieeefp.h>
53294 #endif
53297 main ()
53299 fpclass(0);
53301 return 0;
53303 _ACEOF
53304 if ac_fn_cxx_try_compile "$LINENO"; then :
53305 glibcxx_cv_func_fpclass_use=yes
53306 else
53307 glibcxx_cv_func_fpclass_use=no
53309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53310 ac_ext=c
53311 ac_cpp='$CPP $CPPFLAGS'
53312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53321 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53323 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53324 for ac_func in fpclass
53325 do :
53326 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53327 if test "x$ac_cv_func_fpclass" = x""yes; then :
53328 cat >>confdefs.h <<_ACEOF
53329 #define HAVE_FPCLASS 1
53330 _ACEOF
53333 done
53335 else
53337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53338 $as_echo_n "checking for _fpclass declaration... " >&6; }
53339 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53340 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53341 $as_echo_n "(cached) " >&6
53342 else
53345 ac_ext=cpp
53346 ac_cpp='$CXXCPP $CPPFLAGS'
53347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53352 /* end confdefs.h. */
53353 #include <math.h>
53354 #ifdef HAVE_IEEEFP_H
53355 #include <ieeefp.h>
53356 #endif
53359 main ()
53361 _fpclass(0);
53363 return 0;
53365 _ACEOF
53366 if ac_fn_cxx_try_compile "$LINENO"; then :
53367 glibcxx_cv_func__fpclass_use=yes
53368 else
53369 glibcxx_cv_func__fpclass_use=no
53371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53372 ac_ext=c
53373 ac_cpp='$CPP $CPPFLAGS'
53374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53383 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53385 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53386 for ac_func in _fpclass
53387 do :
53388 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53389 if test "x$ac_cv_func__fpclass" = x""yes; then :
53390 cat >>confdefs.h <<_ACEOF
53391 #define HAVE__FPCLASS 1
53392 _ACEOF
53395 done
53404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53405 $as_echo_n "checking for qfpclass declaration... " >&6; }
53406 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53407 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53408 $as_echo_n "(cached) " >&6
53409 else
53412 ac_ext=cpp
53413 ac_cpp='$CXXCPP $CPPFLAGS'
53414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53419 /* end confdefs.h. */
53420 #include <math.h>
53421 #ifdef HAVE_IEEEFP_H
53422 #include <ieeefp.h>
53423 #endif
53426 main ()
53428 qfpclass(0);
53430 return 0;
53432 _ACEOF
53433 if ac_fn_cxx_try_compile "$LINENO"; then :
53434 glibcxx_cv_func_qfpclass_use=yes
53435 else
53436 glibcxx_cv_func_qfpclass_use=no
53438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53439 ac_ext=c
53440 ac_cpp='$CPP $CPPFLAGS'
53441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53450 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53452 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53453 for ac_func in qfpclass
53454 do :
53455 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53456 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53457 cat >>confdefs.h <<_ACEOF
53458 #define HAVE_QFPCLASS 1
53459 _ACEOF
53462 done
53464 else
53466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53467 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53468 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53469 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53470 $as_echo_n "(cached) " >&6
53471 else
53474 ac_ext=cpp
53475 ac_cpp='$CXXCPP $CPPFLAGS'
53476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53481 /* end confdefs.h. */
53482 #include <math.h>
53483 #ifdef HAVE_IEEEFP_H
53484 #include <ieeefp.h>
53485 #endif
53488 main ()
53490 _qfpclass(0);
53492 return 0;
53494 _ACEOF
53495 if ac_fn_cxx_try_compile "$LINENO"; then :
53496 glibcxx_cv_func__qfpclass_use=yes
53497 else
53498 glibcxx_cv_func__qfpclass_use=no
53500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53501 ac_ext=c
53502 ac_cpp='$CPP $CPPFLAGS'
53503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53512 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53514 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53515 for ac_func in _qfpclass
53516 do :
53517 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53518 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53519 cat >>confdefs.h <<_ACEOF
53520 #define HAVE__QFPCLASS 1
53521 _ACEOF
53524 done
53533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53534 $as_echo_n "checking for hypot declaration... " >&6; }
53535 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53536 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53537 $as_echo_n "(cached) " >&6
53538 else
53541 ac_ext=cpp
53542 ac_cpp='$CXXCPP $CPPFLAGS'
53543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53548 /* end confdefs.h. */
53549 #include <math.h>
53551 main ()
53553 hypot(0, 0);
53555 return 0;
53557 _ACEOF
53558 if ac_fn_cxx_try_compile "$LINENO"; then :
53559 glibcxx_cv_func_hypot_use=yes
53560 else
53561 glibcxx_cv_func_hypot_use=no
53563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53564 ac_ext=c
53565 ac_cpp='$CPP $CPPFLAGS'
53566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53575 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53577 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53578 for ac_func in hypot
53579 do :
53580 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53581 if test "x$ac_cv_func_hypot" = x""yes; then :
53582 cat >>confdefs.h <<_ACEOF
53583 #define HAVE_HYPOT 1
53584 _ACEOF
53587 done
53589 else
53591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53592 $as_echo_n "checking for _hypot declaration... " >&6; }
53593 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53594 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53595 $as_echo_n "(cached) " >&6
53596 else
53599 ac_ext=cpp
53600 ac_cpp='$CXXCPP $CPPFLAGS'
53601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53606 /* end confdefs.h. */
53607 #include <math.h>
53609 main ()
53611 _hypot(0, 0);
53613 return 0;
53615 _ACEOF
53616 if ac_fn_cxx_try_compile "$LINENO"; then :
53617 glibcxx_cv_func__hypot_use=yes
53618 else
53619 glibcxx_cv_func__hypot_use=no
53621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53622 ac_ext=c
53623 ac_cpp='$CPP $CPPFLAGS'
53624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53633 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53635 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53636 for ac_func in _hypot
53637 do :
53638 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53639 if test "x$ac_cv_func__hypot" = x""yes; then :
53640 cat >>confdefs.h <<_ACEOF
53641 #define HAVE__HYPOT 1
53642 _ACEOF
53645 done
53654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53655 $as_echo_n "checking for float trig functions... " >&6; }
53656 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53657 $as_echo_n "(cached) " >&6
53658 else
53661 ac_ext=cpp
53662 ac_cpp='$CXXCPP $CPPFLAGS'
53663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53668 /* end confdefs.h. */
53669 #include <math.h>
53671 main ()
53673 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53675 return 0;
53677 _ACEOF
53678 if ac_fn_cxx_try_compile "$LINENO"; then :
53679 glibcxx_cv_func_float_trig_use=yes
53680 else
53681 glibcxx_cv_func_float_trig_use=no
53683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53684 ac_ext=c
53685 ac_cpp='$CPP $CPPFLAGS'
53686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53693 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53694 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53695 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53696 do :
53697 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53698 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53699 eval as_val=\$$as_ac_var
53700 if test "x$as_val" = x""yes; then :
53701 cat >>confdefs.h <<_ACEOF
53702 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53703 _ACEOF
53706 done
53708 else
53709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53710 $as_echo_n "checking for _float trig functions... " >&6; }
53711 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53712 $as_echo_n "(cached) " >&6
53713 else
53716 ac_ext=cpp
53717 ac_cpp='$CXXCPP $CPPFLAGS'
53718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53723 /* end confdefs.h. */
53724 #include <math.h>
53726 main ()
53728 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53730 return 0;
53732 _ACEOF
53733 if ac_fn_cxx_try_compile "$LINENO"; then :
53734 glibcxx_cv_func__float_trig_use=yes
53735 else
53736 glibcxx_cv_func__float_trig_use=no
53738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53739 ac_ext=c
53740 ac_cpp='$CPP $CPPFLAGS'
53741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53748 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53749 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53750 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53751 do :
53752 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53753 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53754 eval as_val=\$$as_ac_var
53755 if test "x$as_val" = x""yes; then :
53756 cat >>confdefs.h <<_ACEOF
53757 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53758 _ACEOF
53761 done
53770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53771 $as_echo_n "checking for float round functions... " >&6; }
53772 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53773 $as_echo_n "(cached) " >&6
53774 else
53777 ac_ext=cpp
53778 ac_cpp='$CXXCPP $CPPFLAGS'
53779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53784 /* end confdefs.h. */
53785 #include <math.h>
53787 main ()
53789 ceilf (0); floorf (0);
53791 return 0;
53793 _ACEOF
53794 if ac_fn_cxx_try_compile "$LINENO"; then :
53795 glibcxx_cv_func_float_round_use=yes
53796 else
53797 glibcxx_cv_func_float_round_use=no
53799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53800 ac_ext=c
53801 ac_cpp='$CPP $CPPFLAGS'
53802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53809 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53810 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53811 for ac_func in ceilf floorf
53812 do :
53813 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53814 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53815 eval as_val=\$$as_ac_var
53816 if test "x$as_val" = x""yes; then :
53817 cat >>confdefs.h <<_ACEOF
53818 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53819 _ACEOF
53822 done
53824 else
53825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53826 $as_echo_n "checking for _float round functions... " >&6; }
53827 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53828 $as_echo_n "(cached) " >&6
53829 else
53832 ac_ext=cpp
53833 ac_cpp='$CXXCPP $CPPFLAGS'
53834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53839 /* end confdefs.h. */
53840 #include <math.h>
53842 main ()
53844 _ceilf (0); _floorf (0);
53846 return 0;
53848 _ACEOF
53849 if ac_fn_cxx_try_compile "$LINENO"; then :
53850 glibcxx_cv_func__float_round_use=yes
53851 else
53852 glibcxx_cv_func__float_round_use=no
53854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53855 ac_ext=c
53856 ac_cpp='$CPP $CPPFLAGS'
53857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53864 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53865 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53866 for ac_func in _ceilf _floorf
53867 do :
53868 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53869 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53870 eval as_val=\$$as_ac_var
53871 if test "x$as_val" = x""yes; then :
53872 cat >>confdefs.h <<_ACEOF
53873 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53874 _ACEOF
53877 done
53887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53888 $as_echo_n "checking for expf declaration... " >&6; }
53889 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53890 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53891 $as_echo_n "(cached) " >&6
53892 else
53895 ac_ext=cpp
53896 ac_cpp='$CXXCPP $CPPFLAGS'
53897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53902 /* end confdefs.h. */
53903 #include <math.h>
53904 #ifdef HAVE_IEEEFP_H
53905 #include <ieeefp.h>
53906 #endif
53909 main ()
53911 expf(0);
53913 return 0;
53915 _ACEOF
53916 if ac_fn_cxx_try_compile "$LINENO"; then :
53917 glibcxx_cv_func_expf_use=yes
53918 else
53919 glibcxx_cv_func_expf_use=no
53921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53922 ac_ext=c
53923 ac_cpp='$CPP $CPPFLAGS'
53924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53933 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53935 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53936 for ac_func in expf
53937 do :
53938 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53939 if test "x$ac_cv_func_expf" = x""yes; then :
53940 cat >>confdefs.h <<_ACEOF
53941 #define HAVE_EXPF 1
53942 _ACEOF
53945 done
53947 else
53949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53950 $as_echo_n "checking for _expf declaration... " >&6; }
53951 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53952 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53953 $as_echo_n "(cached) " >&6
53954 else
53957 ac_ext=cpp
53958 ac_cpp='$CXXCPP $CPPFLAGS'
53959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53964 /* end confdefs.h. */
53965 #include <math.h>
53966 #ifdef HAVE_IEEEFP_H
53967 #include <ieeefp.h>
53968 #endif
53971 main ()
53973 _expf(0);
53975 return 0;
53977 _ACEOF
53978 if ac_fn_cxx_try_compile "$LINENO"; then :
53979 glibcxx_cv_func__expf_use=yes
53980 else
53981 glibcxx_cv_func__expf_use=no
53983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53984 ac_ext=c
53985 ac_cpp='$CPP $CPPFLAGS'
53986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53995 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53997 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53998 for ac_func in _expf
53999 do :
54000 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
54001 if test "x$ac_cv_func__expf" = x""yes; then :
54002 cat >>confdefs.h <<_ACEOF
54003 #define HAVE__EXPF 1
54004 _ACEOF
54007 done
54016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54017 $as_echo_n "checking for isnanf declaration... " >&6; }
54018 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54019 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54020 $as_echo_n "(cached) " >&6
54021 else
54024 ac_ext=cpp
54025 ac_cpp='$CXXCPP $CPPFLAGS'
54026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54031 /* end confdefs.h. */
54032 #include <math.h>
54033 #ifdef HAVE_IEEEFP_H
54034 #include <ieeefp.h>
54035 #endif
54038 main ()
54040 isnanf(0);
54042 return 0;
54044 _ACEOF
54045 if ac_fn_cxx_try_compile "$LINENO"; then :
54046 glibcxx_cv_func_isnanf_use=yes
54047 else
54048 glibcxx_cv_func_isnanf_use=no
54050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54051 ac_ext=c
54052 ac_cpp='$CPP $CPPFLAGS'
54053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54062 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54064 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54065 for ac_func in isnanf
54066 do :
54067 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54068 if test "x$ac_cv_func_isnanf" = x""yes; then :
54069 cat >>confdefs.h <<_ACEOF
54070 #define HAVE_ISNANF 1
54071 _ACEOF
54074 done
54076 else
54078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54079 $as_echo_n "checking for _isnanf declaration... " >&6; }
54080 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54081 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54082 $as_echo_n "(cached) " >&6
54083 else
54086 ac_ext=cpp
54087 ac_cpp='$CXXCPP $CPPFLAGS'
54088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54093 /* end confdefs.h. */
54094 #include <math.h>
54095 #ifdef HAVE_IEEEFP_H
54096 #include <ieeefp.h>
54097 #endif
54100 main ()
54102 _isnanf(0);
54104 return 0;
54106 _ACEOF
54107 if ac_fn_cxx_try_compile "$LINENO"; then :
54108 glibcxx_cv_func__isnanf_use=yes
54109 else
54110 glibcxx_cv_func__isnanf_use=no
54112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54113 ac_ext=c
54114 ac_cpp='$CPP $CPPFLAGS'
54115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54124 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54126 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54127 for ac_func in _isnanf
54128 do :
54129 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54130 if test "x$ac_cv_func__isnanf" = x""yes; then :
54131 cat >>confdefs.h <<_ACEOF
54132 #define HAVE__ISNANF 1
54133 _ACEOF
54136 done
54145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54146 $as_echo_n "checking for isinff declaration... " >&6; }
54147 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54148 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54149 $as_echo_n "(cached) " >&6
54150 else
54153 ac_ext=cpp
54154 ac_cpp='$CXXCPP $CPPFLAGS'
54155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54160 /* end confdefs.h. */
54161 #include <math.h>
54162 #ifdef HAVE_IEEEFP_H
54163 #include <ieeefp.h>
54164 #endif
54167 main ()
54169 isinff(0);
54171 return 0;
54173 _ACEOF
54174 if ac_fn_cxx_try_compile "$LINENO"; then :
54175 glibcxx_cv_func_isinff_use=yes
54176 else
54177 glibcxx_cv_func_isinff_use=no
54179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54180 ac_ext=c
54181 ac_cpp='$CPP $CPPFLAGS'
54182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54191 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54193 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54194 for ac_func in isinff
54195 do :
54196 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54197 if test "x$ac_cv_func_isinff" = x""yes; then :
54198 cat >>confdefs.h <<_ACEOF
54199 #define HAVE_ISINFF 1
54200 _ACEOF
54203 done
54205 else
54207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54208 $as_echo_n "checking for _isinff declaration... " >&6; }
54209 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54210 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54211 $as_echo_n "(cached) " >&6
54212 else
54215 ac_ext=cpp
54216 ac_cpp='$CXXCPP $CPPFLAGS'
54217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54222 /* end confdefs.h. */
54223 #include <math.h>
54224 #ifdef HAVE_IEEEFP_H
54225 #include <ieeefp.h>
54226 #endif
54229 main ()
54231 _isinff(0);
54233 return 0;
54235 _ACEOF
54236 if ac_fn_cxx_try_compile "$LINENO"; then :
54237 glibcxx_cv_func__isinff_use=yes
54238 else
54239 glibcxx_cv_func__isinff_use=no
54241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54242 ac_ext=c
54243 ac_cpp='$CPP $CPPFLAGS'
54244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54253 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54255 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54256 for ac_func in _isinff
54257 do :
54258 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54259 if test "x$ac_cv_func__isinff" = x""yes; then :
54260 cat >>confdefs.h <<_ACEOF
54261 #define HAVE__ISINFF 1
54262 _ACEOF
54265 done
54274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54275 $as_echo_n "checking for atan2f declaration... " >&6; }
54276 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54277 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54278 $as_echo_n "(cached) " >&6
54279 else
54282 ac_ext=cpp
54283 ac_cpp='$CXXCPP $CPPFLAGS'
54284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54289 /* end confdefs.h. */
54290 #include <math.h>
54292 main ()
54294 atan2f(0, 0);
54296 return 0;
54298 _ACEOF
54299 if ac_fn_cxx_try_compile "$LINENO"; then :
54300 glibcxx_cv_func_atan2f_use=yes
54301 else
54302 glibcxx_cv_func_atan2f_use=no
54304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54305 ac_ext=c
54306 ac_cpp='$CPP $CPPFLAGS'
54307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54316 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54318 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54319 for ac_func in atan2f
54320 do :
54321 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54322 if test "x$ac_cv_func_atan2f" = x""yes; then :
54323 cat >>confdefs.h <<_ACEOF
54324 #define HAVE_ATAN2F 1
54325 _ACEOF
54328 done
54330 else
54332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54333 $as_echo_n "checking for _atan2f declaration... " >&6; }
54334 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54335 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54336 $as_echo_n "(cached) " >&6
54337 else
54340 ac_ext=cpp
54341 ac_cpp='$CXXCPP $CPPFLAGS'
54342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54347 /* end confdefs.h. */
54348 #include <math.h>
54350 main ()
54352 _atan2f(0, 0);
54354 return 0;
54356 _ACEOF
54357 if ac_fn_cxx_try_compile "$LINENO"; then :
54358 glibcxx_cv_func__atan2f_use=yes
54359 else
54360 glibcxx_cv_func__atan2f_use=no
54362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54363 ac_ext=c
54364 ac_cpp='$CPP $CPPFLAGS'
54365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54374 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54376 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54377 for ac_func in _atan2f
54378 do :
54379 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54380 if test "x$ac_cv_func__atan2f" = x""yes; then :
54381 cat >>confdefs.h <<_ACEOF
54382 #define HAVE__ATAN2F 1
54383 _ACEOF
54386 done
54395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54396 $as_echo_n "checking for fabsf declaration... " >&6; }
54397 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54398 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54399 $as_echo_n "(cached) " >&6
54400 else
54403 ac_ext=cpp
54404 ac_cpp='$CXXCPP $CPPFLAGS'
54405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54410 /* end confdefs.h. */
54411 #include <math.h>
54412 #ifdef HAVE_IEEEFP_H
54413 #include <ieeefp.h>
54414 #endif
54417 main ()
54419 fabsf(0);
54421 return 0;
54423 _ACEOF
54424 if ac_fn_cxx_try_compile "$LINENO"; then :
54425 glibcxx_cv_func_fabsf_use=yes
54426 else
54427 glibcxx_cv_func_fabsf_use=no
54429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54430 ac_ext=c
54431 ac_cpp='$CPP $CPPFLAGS'
54432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54441 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54443 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54444 for ac_func in fabsf
54445 do :
54446 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54447 if test "x$ac_cv_func_fabsf" = x""yes; then :
54448 cat >>confdefs.h <<_ACEOF
54449 #define HAVE_FABSF 1
54450 _ACEOF
54453 done
54455 else
54457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54458 $as_echo_n "checking for _fabsf declaration... " >&6; }
54459 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54460 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54461 $as_echo_n "(cached) " >&6
54462 else
54465 ac_ext=cpp
54466 ac_cpp='$CXXCPP $CPPFLAGS'
54467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54472 /* end confdefs.h. */
54473 #include <math.h>
54474 #ifdef HAVE_IEEEFP_H
54475 #include <ieeefp.h>
54476 #endif
54479 main ()
54481 _fabsf(0);
54483 return 0;
54485 _ACEOF
54486 if ac_fn_cxx_try_compile "$LINENO"; then :
54487 glibcxx_cv_func__fabsf_use=yes
54488 else
54489 glibcxx_cv_func__fabsf_use=no
54491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54492 ac_ext=c
54493 ac_cpp='$CPP $CPPFLAGS'
54494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54503 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54505 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54506 for ac_func in _fabsf
54507 do :
54508 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54509 if test "x$ac_cv_func__fabsf" = x""yes; then :
54510 cat >>confdefs.h <<_ACEOF
54511 #define HAVE__FABSF 1
54512 _ACEOF
54515 done
54524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54525 $as_echo_n "checking for fmodf declaration... " >&6; }
54526 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54527 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54528 $as_echo_n "(cached) " >&6
54529 else
54532 ac_ext=cpp
54533 ac_cpp='$CXXCPP $CPPFLAGS'
54534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54539 /* end confdefs.h. */
54540 #include <math.h>
54542 main ()
54544 fmodf(0, 0);
54546 return 0;
54548 _ACEOF
54549 if ac_fn_cxx_try_compile "$LINENO"; then :
54550 glibcxx_cv_func_fmodf_use=yes
54551 else
54552 glibcxx_cv_func_fmodf_use=no
54554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54555 ac_ext=c
54556 ac_cpp='$CPP $CPPFLAGS'
54557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54566 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54568 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54569 for ac_func in fmodf
54570 do :
54571 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54572 if test "x$ac_cv_func_fmodf" = x""yes; then :
54573 cat >>confdefs.h <<_ACEOF
54574 #define HAVE_FMODF 1
54575 _ACEOF
54578 done
54580 else
54582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54583 $as_echo_n "checking for _fmodf declaration... " >&6; }
54584 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54585 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54586 $as_echo_n "(cached) " >&6
54587 else
54590 ac_ext=cpp
54591 ac_cpp='$CXXCPP $CPPFLAGS'
54592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54597 /* end confdefs.h. */
54598 #include <math.h>
54600 main ()
54602 _fmodf(0, 0);
54604 return 0;
54606 _ACEOF
54607 if ac_fn_cxx_try_compile "$LINENO"; then :
54608 glibcxx_cv_func__fmodf_use=yes
54609 else
54610 glibcxx_cv_func__fmodf_use=no
54612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54613 ac_ext=c
54614 ac_cpp='$CPP $CPPFLAGS'
54615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54624 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54626 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54627 for ac_func in _fmodf
54628 do :
54629 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54630 if test "x$ac_cv_func__fmodf" = x""yes; then :
54631 cat >>confdefs.h <<_ACEOF
54632 #define HAVE__FMODF 1
54633 _ACEOF
54636 done
54645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54646 $as_echo_n "checking for frexpf declaration... " >&6; }
54647 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54648 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54649 $as_echo_n "(cached) " >&6
54650 else
54653 ac_ext=cpp
54654 ac_cpp='$CXXCPP $CPPFLAGS'
54655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54660 /* end confdefs.h. */
54661 #include <math.h>
54663 main ()
54665 frexpf(0, 0);
54667 return 0;
54669 _ACEOF
54670 if ac_fn_cxx_try_compile "$LINENO"; then :
54671 glibcxx_cv_func_frexpf_use=yes
54672 else
54673 glibcxx_cv_func_frexpf_use=no
54675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54676 ac_ext=c
54677 ac_cpp='$CPP $CPPFLAGS'
54678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54687 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54689 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54690 for ac_func in frexpf
54691 do :
54692 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54693 if test "x$ac_cv_func_frexpf" = x""yes; then :
54694 cat >>confdefs.h <<_ACEOF
54695 #define HAVE_FREXPF 1
54696 _ACEOF
54699 done
54701 else
54703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54704 $as_echo_n "checking for _frexpf declaration... " >&6; }
54705 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54706 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54707 $as_echo_n "(cached) " >&6
54708 else
54711 ac_ext=cpp
54712 ac_cpp='$CXXCPP $CPPFLAGS'
54713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54718 /* end confdefs.h. */
54719 #include <math.h>
54721 main ()
54723 _frexpf(0, 0);
54725 return 0;
54727 _ACEOF
54728 if ac_fn_cxx_try_compile "$LINENO"; then :
54729 glibcxx_cv_func__frexpf_use=yes
54730 else
54731 glibcxx_cv_func__frexpf_use=no
54733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54734 ac_ext=c
54735 ac_cpp='$CPP $CPPFLAGS'
54736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54745 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54747 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54748 for ac_func in _frexpf
54749 do :
54750 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54751 if test "x$ac_cv_func__frexpf" = x""yes; then :
54752 cat >>confdefs.h <<_ACEOF
54753 #define HAVE__FREXPF 1
54754 _ACEOF
54757 done
54766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54767 $as_echo_n "checking for hypotf declaration... " >&6; }
54768 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54769 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54770 $as_echo_n "(cached) " >&6
54771 else
54774 ac_ext=cpp
54775 ac_cpp='$CXXCPP $CPPFLAGS'
54776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54781 /* end confdefs.h. */
54782 #include <math.h>
54784 main ()
54786 hypotf(0, 0);
54788 return 0;
54790 _ACEOF
54791 if ac_fn_cxx_try_compile "$LINENO"; then :
54792 glibcxx_cv_func_hypotf_use=yes
54793 else
54794 glibcxx_cv_func_hypotf_use=no
54796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54797 ac_ext=c
54798 ac_cpp='$CPP $CPPFLAGS'
54799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54808 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54810 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54811 for ac_func in hypotf
54812 do :
54813 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54814 if test "x$ac_cv_func_hypotf" = x""yes; then :
54815 cat >>confdefs.h <<_ACEOF
54816 #define HAVE_HYPOTF 1
54817 _ACEOF
54820 done
54822 else
54824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54825 $as_echo_n "checking for _hypotf declaration... " >&6; }
54826 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54827 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54828 $as_echo_n "(cached) " >&6
54829 else
54832 ac_ext=cpp
54833 ac_cpp='$CXXCPP $CPPFLAGS'
54834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54839 /* end confdefs.h. */
54840 #include <math.h>
54842 main ()
54844 _hypotf(0, 0);
54846 return 0;
54848 _ACEOF
54849 if ac_fn_cxx_try_compile "$LINENO"; then :
54850 glibcxx_cv_func__hypotf_use=yes
54851 else
54852 glibcxx_cv_func__hypotf_use=no
54854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54855 ac_ext=c
54856 ac_cpp='$CPP $CPPFLAGS'
54857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54866 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54868 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54869 for ac_func in _hypotf
54870 do :
54871 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54872 if test "x$ac_cv_func__hypotf" = x""yes; then :
54873 cat >>confdefs.h <<_ACEOF
54874 #define HAVE__HYPOTF 1
54875 _ACEOF
54878 done
54887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54888 $as_echo_n "checking for ldexpf declaration... " >&6; }
54889 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54890 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54891 $as_echo_n "(cached) " >&6
54892 else
54895 ac_ext=cpp
54896 ac_cpp='$CXXCPP $CPPFLAGS'
54897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54902 /* end confdefs.h. */
54903 #include <math.h>
54905 main ()
54907 ldexpf(0, 0);
54909 return 0;
54911 _ACEOF
54912 if ac_fn_cxx_try_compile "$LINENO"; then :
54913 glibcxx_cv_func_ldexpf_use=yes
54914 else
54915 glibcxx_cv_func_ldexpf_use=no
54917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54918 ac_ext=c
54919 ac_cpp='$CPP $CPPFLAGS'
54920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54929 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54931 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54932 for ac_func in ldexpf
54933 do :
54934 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54935 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54936 cat >>confdefs.h <<_ACEOF
54937 #define HAVE_LDEXPF 1
54938 _ACEOF
54941 done
54943 else
54945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54946 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54947 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54948 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54949 $as_echo_n "(cached) " >&6
54950 else
54953 ac_ext=cpp
54954 ac_cpp='$CXXCPP $CPPFLAGS'
54955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54960 /* end confdefs.h. */
54961 #include <math.h>
54963 main ()
54965 _ldexpf(0, 0);
54967 return 0;
54969 _ACEOF
54970 if ac_fn_cxx_try_compile "$LINENO"; then :
54971 glibcxx_cv_func__ldexpf_use=yes
54972 else
54973 glibcxx_cv_func__ldexpf_use=no
54975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54976 ac_ext=c
54977 ac_cpp='$CPP $CPPFLAGS'
54978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54987 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54989 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54990 for ac_func in _ldexpf
54991 do :
54992 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54993 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54994 cat >>confdefs.h <<_ACEOF
54995 #define HAVE__LDEXPF 1
54996 _ACEOF
54999 done
55008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
55009 $as_echo_n "checking for logf declaration... " >&6; }
55010 if test x${glibcxx_cv_func_logf_use+set} != xset; then
55011 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
55012 $as_echo_n "(cached) " >&6
55013 else
55016 ac_ext=cpp
55017 ac_cpp='$CXXCPP $CPPFLAGS'
55018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55023 /* end confdefs.h. */
55024 #include <math.h>
55025 #ifdef HAVE_IEEEFP_H
55026 #include <ieeefp.h>
55027 #endif
55030 main ()
55032 logf(0);
55034 return 0;
55036 _ACEOF
55037 if ac_fn_cxx_try_compile "$LINENO"; then :
55038 glibcxx_cv_func_logf_use=yes
55039 else
55040 glibcxx_cv_func_logf_use=no
55042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55043 ac_ext=c
55044 ac_cpp='$CPP $CPPFLAGS'
55045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55054 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55056 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55057 for ac_func in logf
55058 do :
55059 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55060 if test "x$ac_cv_func_logf" = x""yes; then :
55061 cat >>confdefs.h <<_ACEOF
55062 #define HAVE_LOGF 1
55063 _ACEOF
55066 done
55068 else
55070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55071 $as_echo_n "checking for _logf declaration... " >&6; }
55072 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55073 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55074 $as_echo_n "(cached) " >&6
55075 else
55078 ac_ext=cpp
55079 ac_cpp='$CXXCPP $CPPFLAGS'
55080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55085 /* end confdefs.h. */
55086 #include <math.h>
55087 #ifdef HAVE_IEEEFP_H
55088 #include <ieeefp.h>
55089 #endif
55092 main ()
55094 _logf(0);
55096 return 0;
55098 _ACEOF
55099 if ac_fn_cxx_try_compile "$LINENO"; then :
55100 glibcxx_cv_func__logf_use=yes
55101 else
55102 glibcxx_cv_func__logf_use=no
55104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55105 ac_ext=c
55106 ac_cpp='$CPP $CPPFLAGS'
55107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55116 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55118 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55119 for ac_func in _logf
55120 do :
55121 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55122 if test "x$ac_cv_func__logf" = x""yes; then :
55123 cat >>confdefs.h <<_ACEOF
55124 #define HAVE__LOGF 1
55125 _ACEOF
55128 done
55137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55138 $as_echo_n "checking for log10f declaration... " >&6; }
55139 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55140 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55141 $as_echo_n "(cached) " >&6
55142 else
55145 ac_ext=cpp
55146 ac_cpp='$CXXCPP $CPPFLAGS'
55147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55152 /* end confdefs.h. */
55153 #include <math.h>
55154 #ifdef HAVE_IEEEFP_H
55155 #include <ieeefp.h>
55156 #endif
55159 main ()
55161 log10f(0);
55163 return 0;
55165 _ACEOF
55166 if ac_fn_cxx_try_compile "$LINENO"; then :
55167 glibcxx_cv_func_log10f_use=yes
55168 else
55169 glibcxx_cv_func_log10f_use=no
55171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55172 ac_ext=c
55173 ac_cpp='$CPP $CPPFLAGS'
55174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55183 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55185 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55186 for ac_func in log10f
55187 do :
55188 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55189 if test "x$ac_cv_func_log10f" = x""yes; then :
55190 cat >>confdefs.h <<_ACEOF
55191 #define HAVE_LOG10F 1
55192 _ACEOF
55195 done
55197 else
55199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55200 $as_echo_n "checking for _log10f declaration... " >&6; }
55201 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55202 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55203 $as_echo_n "(cached) " >&6
55204 else
55207 ac_ext=cpp
55208 ac_cpp='$CXXCPP $CPPFLAGS'
55209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55214 /* end confdefs.h. */
55215 #include <math.h>
55216 #ifdef HAVE_IEEEFP_H
55217 #include <ieeefp.h>
55218 #endif
55221 main ()
55223 _log10f(0);
55225 return 0;
55227 _ACEOF
55228 if ac_fn_cxx_try_compile "$LINENO"; then :
55229 glibcxx_cv_func__log10f_use=yes
55230 else
55231 glibcxx_cv_func__log10f_use=no
55233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55234 ac_ext=c
55235 ac_cpp='$CPP $CPPFLAGS'
55236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55245 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55247 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55248 for ac_func in _log10f
55249 do :
55250 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55251 if test "x$ac_cv_func__log10f" = x""yes; then :
55252 cat >>confdefs.h <<_ACEOF
55253 #define HAVE__LOG10F 1
55254 _ACEOF
55257 done
55266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55267 $as_echo_n "checking for modff declaration... " >&6; }
55268 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55269 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55270 $as_echo_n "(cached) " >&6
55271 else
55274 ac_ext=cpp
55275 ac_cpp='$CXXCPP $CPPFLAGS'
55276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55281 /* end confdefs.h. */
55282 #include <math.h>
55284 main ()
55286 modff(0, 0);
55288 return 0;
55290 _ACEOF
55291 if ac_fn_cxx_try_compile "$LINENO"; then :
55292 glibcxx_cv_func_modff_use=yes
55293 else
55294 glibcxx_cv_func_modff_use=no
55296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55297 ac_ext=c
55298 ac_cpp='$CPP $CPPFLAGS'
55299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55308 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55310 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55311 for ac_func in modff
55312 do :
55313 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55314 if test "x$ac_cv_func_modff" = x""yes; then :
55315 cat >>confdefs.h <<_ACEOF
55316 #define HAVE_MODFF 1
55317 _ACEOF
55320 done
55322 else
55324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55325 $as_echo_n "checking for _modff declaration... " >&6; }
55326 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55327 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55328 $as_echo_n "(cached) " >&6
55329 else
55332 ac_ext=cpp
55333 ac_cpp='$CXXCPP $CPPFLAGS'
55334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55339 /* end confdefs.h. */
55340 #include <math.h>
55342 main ()
55344 _modff(0, 0);
55346 return 0;
55348 _ACEOF
55349 if ac_fn_cxx_try_compile "$LINENO"; then :
55350 glibcxx_cv_func__modff_use=yes
55351 else
55352 glibcxx_cv_func__modff_use=no
55354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55355 ac_ext=c
55356 ac_cpp='$CPP $CPPFLAGS'
55357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55366 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55368 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55369 for ac_func in _modff
55370 do :
55371 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55372 if test "x$ac_cv_func__modff" = x""yes; then :
55373 cat >>confdefs.h <<_ACEOF
55374 #define HAVE__MODFF 1
55375 _ACEOF
55378 done
55387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55388 $as_echo_n "checking for modf declaration... " >&6; }
55389 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55390 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55391 $as_echo_n "(cached) " >&6
55392 else
55395 ac_ext=cpp
55396 ac_cpp='$CXXCPP $CPPFLAGS'
55397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55402 /* end confdefs.h. */
55403 #include <math.h>
55405 main ()
55407 modf(0, 0);
55409 return 0;
55411 _ACEOF
55412 if ac_fn_cxx_try_compile "$LINENO"; then :
55413 glibcxx_cv_func_modf_use=yes
55414 else
55415 glibcxx_cv_func_modf_use=no
55417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55418 ac_ext=c
55419 ac_cpp='$CPP $CPPFLAGS'
55420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55429 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55431 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55432 for ac_func in modf
55433 do :
55434 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55435 if test "x$ac_cv_func_modf" = x""yes; then :
55436 cat >>confdefs.h <<_ACEOF
55437 #define HAVE_MODF 1
55438 _ACEOF
55441 done
55443 else
55445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55446 $as_echo_n "checking for _modf declaration... " >&6; }
55447 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55448 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55449 $as_echo_n "(cached) " >&6
55450 else
55453 ac_ext=cpp
55454 ac_cpp='$CXXCPP $CPPFLAGS'
55455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55460 /* end confdefs.h. */
55461 #include <math.h>
55463 main ()
55465 _modf(0, 0);
55467 return 0;
55469 _ACEOF
55470 if ac_fn_cxx_try_compile "$LINENO"; then :
55471 glibcxx_cv_func__modf_use=yes
55472 else
55473 glibcxx_cv_func__modf_use=no
55475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55476 ac_ext=c
55477 ac_cpp='$CPP $CPPFLAGS'
55478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55487 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55489 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55490 for ac_func in _modf
55491 do :
55492 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55493 if test "x$ac_cv_func__modf" = x""yes; then :
55494 cat >>confdefs.h <<_ACEOF
55495 #define HAVE__MODF 1
55496 _ACEOF
55499 done
55508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55509 $as_echo_n "checking for powf declaration... " >&6; }
55510 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55511 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55512 $as_echo_n "(cached) " >&6
55513 else
55516 ac_ext=cpp
55517 ac_cpp='$CXXCPP $CPPFLAGS'
55518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55523 /* end confdefs.h. */
55524 #include <math.h>
55526 main ()
55528 powf(0, 0);
55530 return 0;
55532 _ACEOF
55533 if ac_fn_cxx_try_compile "$LINENO"; then :
55534 glibcxx_cv_func_powf_use=yes
55535 else
55536 glibcxx_cv_func_powf_use=no
55538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55539 ac_ext=c
55540 ac_cpp='$CPP $CPPFLAGS'
55541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55550 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55552 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55553 for ac_func in powf
55554 do :
55555 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55556 if test "x$ac_cv_func_powf" = x""yes; then :
55557 cat >>confdefs.h <<_ACEOF
55558 #define HAVE_POWF 1
55559 _ACEOF
55562 done
55564 else
55566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55567 $as_echo_n "checking for _powf declaration... " >&6; }
55568 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55569 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55570 $as_echo_n "(cached) " >&6
55571 else
55574 ac_ext=cpp
55575 ac_cpp='$CXXCPP $CPPFLAGS'
55576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55581 /* end confdefs.h. */
55582 #include <math.h>
55584 main ()
55586 _powf(0, 0);
55588 return 0;
55590 _ACEOF
55591 if ac_fn_cxx_try_compile "$LINENO"; then :
55592 glibcxx_cv_func__powf_use=yes
55593 else
55594 glibcxx_cv_func__powf_use=no
55596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55597 ac_ext=c
55598 ac_cpp='$CPP $CPPFLAGS'
55599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55608 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55610 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55611 for ac_func in _powf
55612 do :
55613 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55614 if test "x$ac_cv_func__powf" = x""yes; then :
55615 cat >>confdefs.h <<_ACEOF
55616 #define HAVE__POWF 1
55617 _ACEOF
55620 done
55629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55630 $as_echo_n "checking for sqrtf declaration... " >&6; }
55631 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55632 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55633 $as_echo_n "(cached) " >&6
55634 else
55637 ac_ext=cpp
55638 ac_cpp='$CXXCPP $CPPFLAGS'
55639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55644 /* end confdefs.h. */
55645 #include <math.h>
55646 #ifdef HAVE_IEEEFP_H
55647 #include <ieeefp.h>
55648 #endif
55651 main ()
55653 sqrtf(0);
55655 return 0;
55657 _ACEOF
55658 if ac_fn_cxx_try_compile "$LINENO"; then :
55659 glibcxx_cv_func_sqrtf_use=yes
55660 else
55661 glibcxx_cv_func_sqrtf_use=no
55663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55664 ac_ext=c
55665 ac_cpp='$CPP $CPPFLAGS'
55666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55675 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55677 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55678 for ac_func in sqrtf
55679 do :
55680 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55681 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55682 cat >>confdefs.h <<_ACEOF
55683 #define HAVE_SQRTF 1
55684 _ACEOF
55687 done
55689 else
55691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55692 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55693 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55694 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55695 $as_echo_n "(cached) " >&6
55696 else
55699 ac_ext=cpp
55700 ac_cpp='$CXXCPP $CPPFLAGS'
55701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55706 /* end confdefs.h. */
55707 #include <math.h>
55708 #ifdef HAVE_IEEEFP_H
55709 #include <ieeefp.h>
55710 #endif
55713 main ()
55715 _sqrtf(0);
55717 return 0;
55719 _ACEOF
55720 if ac_fn_cxx_try_compile "$LINENO"; then :
55721 glibcxx_cv_func__sqrtf_use=yes
55722 else
55723 glibcxx_cv_func__sqrtf_use=no
55725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55726 ac_ext=c
55727 ac_cpp='$CPP $CPPFLAGS'
55728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55737 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55739 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55740 for ac_func in _sqrtf
55741 do :
55742 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55743 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55744 cat >>confdefs.h <<_ACEOF
55745 #define HAVE__SQRTF 1
55746 _ACEOF
55749 done
55758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55759 $as_echo_n "checking for sincosf declaration... " >&6; }
55760 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55761 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55762 $as_echo_n "(cached) " >&6
55763 else
55766 ac_ext=cpp
55767 ac_cpp='$CXXCPP $CPPFLAGS'
55768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55773 /* end confdefs.h. */
55774 #include <math.h>
55776 main ()
55778 sincosf(0, 0, 0);
55780 return 0;
55782 _ACEOF
55783 if ac_fn_cxx_try_compile "$LINENO"; then :
55784 glibcxx_cv_func_sincosf_use=yes
55785 else
55786 glibcxx_cv_func_sincosf_use=no
55788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55789 ac_ext=c
55790 ac_cpp='$CPP $CPPFLAGS'
55791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55800 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55802 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55803 for ac_func in sincosf
55804 do :
55805 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55806 if test "x$ac_cv_func_sincosf" = x""yes; then :
55807 cat >>confdefs.h <<_ACEOF
55808 #define HAVE_SINCOSF 1
55809 _ACEOF
55812 done
55814 else
55816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55817 $as_echo_n "checking for _sincosf declaration... " >&6; }
55818 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55819 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55820 $as_echo_n "(cached) " >&6
55821 else
55824 ac_ext=cpp
55825 ac_cpp='$CXXCPP $CPPFLAGS'
55826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55831 /* end confdefs.h. */
55832 #include <math.h>
55834 main ()
55836 _sincosf(0, 0, 0);
55838 return 0;
55840 _ACEOF
55841 if ac_fn_cxx_try_compile "$LINENO"; then :
55842 glibcxx_cv_func__sincosf_use=yes
55843 else
55844 glibcxx_cv_func__sincosf_use=no
55846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55847 ac_ext=c
55848 ac_cpp='$CPP $CPPFLAGS'
55849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55858 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55860 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55861 for ac_func in _sincosf
55862 do :
55863 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55864 if test "x$ac_cv_func__sincosf" = x""yes; then :
55865 cat >>confdefs.h <<_ACEOF
55866 #define HAVE__SINCOSF 1
55867 _ACEOF
55870 done
55879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55880 $as_echo_n "checking for finitef declaration... " >&6; }
55881 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55882 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55883 $as_echo_n "(cached) " >&6
55884 else
55887 ac_ext=cpp
55888 ac_cpp='$CXXCPP $CPPFLAGS'
55889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55894 /* end confdefs.h. */
55895 #include <math.h>
55896 #ifdef HAVE_IEEEFP_H
55897 #include <ieeefp.h>
55898 #endif
55901 main ()
55903 finitef(0);
55905 return 0;
55907 _ACEOF
55908 if ac_fn_cxx_try_compile "$LINENO"; then :
55909 glibcxx_cv_func_finitef_use=yes
55910 else
55911 glibcxx_cv_func_finitef_use=no
55913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55914 ac_ext=c
55915 ac_cpp='$CPP $CPPFLAGS'
55916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55925 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55927 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55928 for ac_func in finitef
55929 do :
55930 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55931 if test "x$ac_cv_func_finitef" = x""yes; then :
55932 cat >>confdefs.h <<_ACEOF
55933 #define HAVE_FINITEF 1
55934 _ACEOF
55937 done
55939 else
55941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55942 $as_echo_n "checking for _finitef declaration... " >&6; }
55943 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55944 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55945 $as_echo_n "(cached) " >&6
55946 else
55949 ac_ext=cpp
55950 ac_cpp='$CXXCPP $CPPFLAGS'
55951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55956 /* end confdefs.h. */
55957 #include <math.h>
55958 #ifdef HAVE_IEEEFP_H
55959 #include <ieeefp.h>
55960 #endif
55963 main ()
55965 _finitef(0);
55967 return 0;
55969 _ACEOF
55970 if ac_fn_cxx_try_compile "$LINENO"; then :
55971 glibcxx_cv_func__finitef_use=yes
55972 else
55973 glibcxx_cv_func__finitef_use=no
55975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55976 ac_ext=c
55977 ac_cpp='$CPP $CPPFLAGS'
55978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55987 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55989 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55990 for ac_func in _finitef
55991 do :
55992 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55993 if test "x$ac_cv_func__finitef" = x""yes; then :
55994 cat >>confdefs.h <<_ACEOF
55995 #define HAVE__FINITEF 1
55996 _ACEOF
55999 done
56008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
56009 $as_echo_n "checking for long double trig functions... " >&6; }
56010 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
56011 $as_echo_n "(cached) " >&6
56012 else
56015 ac_ext=cpp
56016 ac_cpp='$CXXCPP $CPPFLAGS'
56017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56022 /* end confdefs.h. */
56023 #include <math.h>
56025 main ()
56027 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56029 return 0;
56031 _ACEOF
56032 if ac_fn_cxx_try_compile "$LINENO"; then :
56033 glibcxx_cv_func_long_double_trig_use=yes
56034 else
56035 glibcxx_cv_func_long_double_trig_use=no
56037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56038 ac_ext=c
56039 ac_cpp='$CPP $CPPFLAGS'
56040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56047 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56048 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56049 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56050 do :
56051 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56052 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56053 eval as_val=\$$as_ac_var
56054 if test "x$as_val" = x""yes; then :
56055 cat >>confdefs.h <<_ACEOF
56056 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56057 _ACEOF
56060 done
56062 else
56063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56064 $as_echo_n "checking for _long double trig functions... " >&6; }
56065 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56066 $as_echo_n "(cached) " >&6
56067 else
56070 ac_ext=cpp
56071 ac_cpp='$CXXCPP $CPPFLAGS'
56072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56077 /* end confdefs.h. */
56078 #include <math.h>
56080 main ()
56082 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56084 return 0;
56086 _ACEOF
56087 if ac_fn_cxx_try_compile "$LINENO"; then :
56088 glibcxx_cv_func__long_double_trig_use=yes
56089 else
56090 glibcxx_cv_func__long_double_trig_use=no
56092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56093 ac_ext=c
56094 ac_cpp='$CPP $CPPFLAGS'
56095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56102 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56103 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56104 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56105 do :
56106 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56107 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56108 eval as_val=\$$as_ac_var
56109 if test "x$as_val" = x""yes; then :
56110 cat >>confdefs.h <<_ACEOF
56111 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56112 _ACEOF
56115 done
56124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56125 $as_echo_n "checking for long double round functions... " >&6; }
56126 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56127 $as_echo_n "(cached) " >&6
56128 else
56131 ac_ext=cpp
56132 ac_cpp='$CXXCPP $CPPFLAGS'
56133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56138 /* end confdefs.h. */
56139 #include <math.h>
56141 main ()
56143 ceill (0); floorl (0);
56145 return 0;
56147 _ACEOF
56148 if ac_fn_cxx_try_compile "$LINENO"; then :
56149 glibcxx_cv_func_long_double_round_use=yes
56150 else
56151 glibcxx_cv_func_long_double_round_use=no
56153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56154 ac_ext=c
56155 ac_cpp='$CPP $CPPFLAGS'
56156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56163 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56164 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56165 for ac_func in ceill floorl
56166 do :
56167 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56168 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56169 eval as_val=\$$as_ac_var
56170 if test "x$as_val" = x""yes; then :
56171 cat >>confdefs.h <<_ACEOF
56172 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56173 _ACEOF
56176 done
56178 else
56179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56180 $as_echo_n "checking for _long double round functions... " >&6; }
56181 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56182 $as_echo_n "(cached) " >&6
56183 else
56186 ac_ext=cpp
56187 ac_cpp='$CXXCPP $CPPFLAGS'
56188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56193 /* end confdefs.h. */
56194 #include <math.h>
56196 main ()
56198 _ceill (0); _floorl (0);
56200 return 0;
56202 _ACEOF
56203 if ac_fn_cxx_try_compile "$LINENO"; then :
56204 glibcxx_cv_func__long_double_round_use=yes
56205 else
56206 glibcxx_cv_func__long_double_round_use=no
56208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56209 ac_ext=c
56210 ac_cpp='$CPP $CPPFLAGS'
56211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56218 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56219 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56220 for ac_func in _ceill _floorl
56221 do :
56222 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56223 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56224 eval as_val=\$$as_ac_var
56225 if test "x$as_val" = x""yes; then :
56226 cat >>confdefs.h <<_ACEOF
56227 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56228 _ACEOF
56231 done
56241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56242 $as_echo_n "checking for isnanl declaration... " >&6; }
56243 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56244 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56245 $as_echo_n "(cached) " >&6
56246 else
56249 ac_ext=cpp
56250 ac_cpp='$CXXCPP $CPPFLAGS'
56251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56256 /* end confdefs.h. */
56257 #include <math.h>
56258 #ifdef HAVE_IEEEFP_H
56259 #include <ieeefp.h>
56260 #endif
56263 main ()
56265 isnanl(0);
56267 return 0;
56269 _ACEOF
56270 if ac_fn_cxx_try_compile "$LINENO"; then :
56271 glibcxx_cv_func_isnanl_use=yes
56272 else
56273 glibcxx_cv_func_isnanl_use=no
56275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56276 ac_ext=c
56277 ac_cpp='$CPP $CPPFLAGS'
56278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56287 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56289 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56290 for ac_func in isnanl
56291 do :
56292 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56293 if test "x$ac_cv_func_isnanl" = x""yes; then :
56294 cat >>confdefs.h <<_ACEOF
56295 #define HAVE_ISNANL 1
56296 _ACEOF
56299 done
56301 else
56303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56304 $as_echo_n "checking for _isnanl declaration... " >&6; }
56305 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56306 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56307 $as_echo_n "(cached) " >&6
56308 else
56311 ac_ext=cpp
56312 ac_cpp='$CXXCPP $CPPFLAGS'
56313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56318 /* end confdefs.h. */
56319 #include <math.h>
56320 #ifdef HAVE_IEEEFP_H
56321 #include <ieeefp.h>
56322 #endif
56325 main ()
56327 _isnanl(0);
56329 return 0;
56331 _ACEOF
56332 if ac_fn_cxx_try_compile "$LINENO"; then :
56333 glibcxx_cv_func__isnanl_use=yes
56334 else
56335 glibcxx_cv_func__isnanl_use=no
56337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56338 ac_ext=c
56339 ac_cpp='$CPP $CPPFLAGS'
56340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56349 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56351 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56352 for ac_func in _isnanl
56353 do :
56354 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56355 if test "x$ac_cv_func__isnanl" = x""yes; then :
56356 cat >>confdefs.h <<_ACEOF
56357 #define HAVE__ISNANL 1
56358 _ACEOF
56361 done
56370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56371 $as_echo_n "checking for isinfl declaration... " >&6; }
56372 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56373 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56374 $as_echo_n "(cached) " >&6
56375 else
56378 ac_ext=cpp
56379 ac_cpp='$CXXCPP $CPPFLAGS'
56380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56385 /* end confdefs.h. */
56386 #include <math.h>
56387 #ifdef HAVE_IEEEFP_H
56388 #include <ieeefp.h>
56389 #endif
56392 main ()
56394 isinfl(0);
56396 return 0;
56398 _ACEOF
56399 if ac_fn_cxx_try_compile "$LINENO"; then :
56400 glibcxx_cv_func_isinfl_use=yes
56401 else
56402 glibcxx_cv_func_isinfl_use=no
56404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56405 ac_ext=c
56406 ac_cpp='$CPP $CPPFLAGS'
56407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56416 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56418 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56419 for ac_func in isinfl
56420 do :
56421 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56422 if test "x$ac_cv_func_isinfl" = x""yes; then :
56423 cat >>confdefs.h <<_ACEOF
56424 #define HAVE_ISINFL 1
56425 _ACEOF
56428 done
56430 else
56432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56433 $as_echo_n "checking for _isinfl declaration... " >&6; }
56434 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56435 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56436 $as_echo_n "(cached) " >&6
56437 else
56440 ac_ext=cpp
56441 ac_cpp='$CXXCPP $CPPFLAGS'
56442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56447 /* end confdefs.h. */
56448 #include <math.h>
56449 #ifdef HAVE_IEEEFP_H
56450 #include <ieeefp.h>
56451 #endif
56454 main ()
56456 _isinfl(0);
56458 return 0;
56460 _ACEOF
56461 if ac_fn_cxx_try_compile "$LINENO"; then :
56462 glibcxx_cv_func__isinfl_use=yes
56463 else
56464 glibcxx_cv_func__isinfl_use=no
56466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56467 ac_ext=c
56468 ac_cpp='$CPP $CPPFLAGS'
56469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56478 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56480 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56481 for ac_func in _isinfl
56482 do :
56483 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56484 if test "x$ac_cv_func__isinfl" = x""yes; then :
56485 cat >>confdefs.h <<_ACEOF
56486 #define HAVE__ISINFL 1
56487 _ACEOF
56490 done
56499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56500 $as_echo_n "checking for atan2l declaration... " >&6; }
56501 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56502 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56503 $as_echo_n "(cached) " >&6
56504 else
56507 ac_ext=cpp
56508 ac_cpp='$CXXCPP $CPPFLAGS'
56509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56514 /* end confdefs.h. */
56515 #include <math.h>
56517 main ()
56519 atan2l(0, 0);
56521 return 0;
56523 _ACEOF
56524 if ac_fn_cxx_try_compile "$LINENO"; then :
56525 glibcxx_cv_func_atan2l_use=yes
56526 else
56527 glibcxx_cv_func_atan2l_use=no
56529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56530 ac_ext=c
56531 ac_cpp='$CPP $CPPFLAGS'
56532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56541 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56543 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56544 for ac_func in atan2l
56545 do :
56546 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56547 if test "x$ac_cv_func_atan2l" = x""yes; then :
56548 cat >>confdefs.h <<_ACEOF
56549 #define HAVE_ATAN2L 1
56550 _ACEOF
56553 done
56555 else
56557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56558 $as_echo_n "checking for _atan2l declaration... " >&6; }
56559 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56560 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56561 $as_echo_n "(cached) " >&6
56562 else
56565 ac_ext=cpp
56566 ac_cpp='$CXXCPP $CPPFLAGS'
56567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56572 /* end confdefs.h. */
56573 #include <math.h>
56575 main ()
56577 _atan2l(0, 0);
56579 return 0;
56581 _ACEOF
56582 if ac_fn_cxx_try_compile "$LINENO"; then :
56583 glibcxx_cv_func__atan2l_use=yes
56584 else
56585 glibcxx_cv_func__atan2l_use=no
56587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56588 ac_ext=c
56589 ac_cpp='$CPP $CPPFLAGS'
56590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56599 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56601 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56602 for ac_func in _atan2l
56603 do :
56604 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56605 if test "x$ac_cv_func__atan2l" = x""yes; then :
56606 cat >>confdefs.h <<_ACEOF
56607 #define HAVE__ATAN2L 1
56608 _ACEOF
56611 done
56620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56621 $as_echo_n "checking for expl declaration... " >&6; }
56622 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56623 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56624 $as_echo_n "(cached) " >&6
56625 else
56628 ac_ext=cpp
56629 ac_cpp='$CXXCPP $CPPFLAGS'
56630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56635 /* end confdefs.h. */
56636 #include <math.h>
56637 #ifdef HAVE_IEEEFP_H
56638 #include <ieeefp.h>
56639 #endif
56642 main ()
56644 expl(0);
56646 return 0;
56648 _ACEOF
56649 if ac_fn_cxx_try_compile "$LINENO"; then :
56650 glibcxx_cv_func_expl_use=yes
56651 else
56652 glibcxx_cv_func_expl_use=no
56654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56655 ac_ext=c
56656 ac_cpp='$CPP $CPPFLAGS'
56657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56666 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56668 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56669 for ac_func in expl
56670 do :
56671 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56672 if test "x$ac_cv_func_expl" = x""yes; then :
56673 cat >>confdefs.h <<_ACEOF
56674 #define HAVE_EXPL 1
56675 _ACEOF
56678 done
56680 else
56682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56683 $as_echo_n "checking for _expl declaration... " >&6; }
56684 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56685 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56686 $as_echo_n "(cached) " >&6
56687 else
56690 ac_ext=cpp
56691 ac_cpp='$CXXCPP $CPPFLAGS'
56692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56697 /* end confdefs.h. */
56698 #include <math.h>
56699 #ifdef HAVE_IEEEFP_H
56700 #include <ieeefp.h>
56701 #endif
56704 main ()
56706 _expl(0);
56708 return 0;
56710 _ACEOF
56711 if ac_fn_cxx_try_compile "$LINENO"; then :
56712 glibcxx_cv_func__expl_use=yes
56713 else
56714 glibcxx_cv_func__expl_use=no
56716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56717 ac_ext=c
56718 ac_cpp='$CPP $CPPFLAGS'
56719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56728 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56730 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56731 for ac_func in _expl
56732 do :
56733 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56734 if test "x$ac_cv_func__expl" = x""yes; then :
56735 cat >>confdefs.h <<_ACEOF
56736 #define HAVE__EXPL 1
56737 _ACEOF
56740 done
56749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56750 $as_echo_n "checking for fabsl declaration... " >&6; }
56751 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56752 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56753 $as_echo_n "(cached) " >&6
56754 else
56757 ac_ext=cpp
56758 ac_cpp='$CXXCPP $CPPFLAGS'
56759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56764 /* end confdefs.h. */
56765 #include <math.h>
56766 #ifdef HAVE_IEEEFP_H
56767 #include <ieeefp.h>
56768 #endif
56771 main ()
56773 fabsl(0);
56775 return 0;
56777 _ACEOF
56778 if ac_fn_cxx_try_compile "$LINENO"; then :
56779 glibcxx_cv_func_fabsl_use=yes
56780 else
56781 glibcxx_cv_func_fabsl_use=no
56783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56784 ac_ext=c
56785 ac_cpp='$CPP $CPPFLAGS'
56786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56795 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56797 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56798 for ac_func in fabsl
56799 do :
56800 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56801 if test "x$ac_cv_func_fabsl" = x""yes; then :
56802 cat >>confdefs.h <<_ACEOF
56803 #define HAVE_FABSL 1
56804 _ACEOF
56807 done
56809 else
56811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56812 $as_echo_n "checking for _fabsl declaration... " >&6; }
56813 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56814 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56815 $as_echo_n "(cached) " >&6
56816 else
56819 ac_ext=cpp
56820 ac_cpp='$CXXCPP $CPPFLAGS'
56821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56826 /* end confdefs.h. */
56827 #include <math.h>
56828 #ifdef HAVE_IEEEFP_H
56829 #include <ieeefp.h>
56830 #endif
56833 main ()
56835 _fabsl(0);
56837 return 0;
56839 _ACEOF
56840 if ac_fn_cxx_try_compile "$LINENO"; then :
56841 glibcxx_cv_func__fabsl_use=yes
56842 else
56843 glibcxx_cv_func__fabsl_use=no
56845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56846 ac_ext=c
56847 ac_cpp='$CPP $CPPFLAGS'
56848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56857 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56859 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56860 for ac_func in _fabsl
56861 do :
56862 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56863 if test "x$ac_cv_func__fabsl" = x""yes; then :
56864 cat >>confdefs.h <<_ACEOF
56865 #define HAVE__FABSL 1
56866 _ACEOF
56869 done
56878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56879 $as_echo_n "checking for fmodl declaration... " >&6; }
56880 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56881 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56882 $as_echo_n "(cached) " >&6
56883 else
56886 ac_ext=cpp
56887 ac_cpp='$CXXCPP $CPPFLAGS'
56888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56893 /* end confdefs.h. */
56894 #include <math.h>
56896 main ()
56898 fmodl(0, 0);
56900 return 0;
56902 _ACEOF
56903 if ac_fn_cxx_try_compile "$LINENO"; then :
56904 glibcxx_cv_func_fmodl_use=yes
56905 else
56906 glibcxx_cv_func_fmodl_use=no
56908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56909 ac_ext=c
56910 ac_cpp='$CPP $CPPFLAGS'
56911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56920 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56922 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56923 for ac_func in fmodl
56924 do :
56925 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56926 if test "x$ac_cv_func_fmodl" = x""yes; then :
56927 cat >>confdefs.h <<_ACEOF
56928 #define HAVE_FMODL 1
56929 _ACEOF
56932 done
56934 else
56936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56937 $as_echo_n "checking for _fmodl declaration... " >&6; }
56938 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56939 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56940 $as_echo_n "(cached) " >&6
56941 else
56944 ac_ext=cpp
56945 ac_cpp='$CXXCPP $CPPFLAGS'
56946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56951 /* end confdefs.h. */
56952 #include <math.h>
56954 main ()
56956 _fmodl(0, 0);
56958 return 0;
56960 _ACEOF
56961 if ac_fn_cxx_try_compile "$LINENO"; then :
56962 glibcxx_cv_func__fmodl_use=yes
56963 else
56964 glibcxx_cv_func__fmodl_use=no
56966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56967 ac_ext=c
56968 ac_cpp='$CPP $CPPFLAGS'
56969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56978 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56980 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56981 for ac_func in _fmodl
56982 do :
56983 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56984 if test "x$ac_cv_func__fmodl" = x""yes; then :
56985 cat >>confdefs.h <<_ACEOF
56986 #define HAVE__FMODL 1
56987 _ACEOF
56990 done
56999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
57000 $as_echo_n "checking for frexpl declaration... " >&6; }
57001 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57002 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
57003 $as_echo_n "(cached) " >&6
57004 else
57007 ac_ext=cpp
57008 ac_cpp='$CXXCPP $CPPFLAGS'
57009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57014 /* end confdefs.h. */
57015 #include <math.h>
57017 main ()
57019 frexpl(0, 0);
57021 return 0;
57023 _ACEOF
57024 if ac_fn_cxx_try_compile "$LINENO"; then :
57025 glibcxx_cv_func_frexpl_use=yes
57026 else
57027 glibcxx_cv_func_frexpl_use=no
57029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57030 ac_ext=c
57031 ac_cpp='$CPP $CPPFLAGS'
57032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57041 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57043 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57044 for ac_func in frexpl
57045 do :
57046 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57047 if test "x$ac_cv_func_frexpl" = x""yes; then :
57048 cat >>confdefs.h <<_ACEOF
57049 #define HAVE_FREXPL 1
57050 _ACEOF
57053 done
57055 else
57057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57058 $as_echo_n "checking for _frexpl declaration... " >&6; }
57059 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57060 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57061 $as_echo_n "(cached) " >&6
57062 else
57065 ac_ext=cpp
57066 ac_cpp='$CXXCPP $CPPFLAGS'
57067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57072 /* end confdefs.h. */
57073 #include <math.h>
57075 main ()
57077 _frexpl(0, 0);
57079 return 0;
57081 _ACEOF
57082 if ac_fn_cxx_try_compile "$LINENO"; then :
57083 glibcxx_cv_func__frexpl_use=yes
57084 else
57085 glibcxx_cv_func__frexpl_use=no
57087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57088 ac_ext=c
57089 ac_cpp='$CPP $CPPFLAGS'
57090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57099 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57101 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57102 for ac_func in _frexpl
57103 do :
57104 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57105 if test "x$ac_cv_func__frexpl" = x""yes; then :
57106 cat >>confdefs.h <<_ACEOF
57107 #define HAVE__FREXPL 1
57108 _ACEOF
57111 done
57120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57121 $as_echo_n "checking for hypotl declaration... " >&6; }
57122 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57123 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57124 $as_echo_n "(cached) " >&6
57125 else
57128 ac_ext=cpp
57129 ac_cpp='$CXXCPP $CPPFLAGS'
57130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57135 /* end confdefs.h. */
57136 #include <math.h>
57138 main ()
57140 hypotl(0, 0);
57142 return 0;
57144 _ACEOF
57145 if ac_fn_cxx_try_compile "$LINENO"; then :
57146 glibcxx_cv_func_hypotl_use=yes
57147 else
57148 glibcxx_cv_func_hypotl_use=no
57150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57151 ac_ext=c
57152 ac_cpp='$CPP $CPPFLAGS'
57153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57162 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57164 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57165 for ac_func in hypotl
57166 do :
57167 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57168 if test "x$ac_cv_func_hypotl" = x""yes; then :
57169 cat >>confdefs.h <<_ACEOF
57170 #define HAVE_HYPOTL 1
57171 _ACEOF
57174 done
57176 else
57178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57179 $as_echo_n "checking for _hypotl declaration... " >&6; }
57180 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57181 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57182 $as_echo_n "(cached) " >&6
57183 else
57186 ac_ext=cpp
57187 ac_cpp='$CXXCPP $CPPFLAGS'
57188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57193 /* end confdefs.h. */
57194 #include <math.h>
57196 main ()
57198 _hypotl(0, 0);
57200 return 0;
57202 _ACEOF
57203 if ac_fn_cxx_try_compile "$LINENO"; then :
57204 glibcxx_cv_func__hypotl_use=yes
57205 else
57206 glibcxx_cv_func__hypotl_use=no
57208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57209 ac_ext=c
57210 ac_cpp='$CPP $CPPFLAGS'
57211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57220 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57222 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57223 for ac_func in _hypotl
57224 do :
57225 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57226 if test "x$ac_cv_func__hypotl" = x""yes; then :
57227 cat >>confdefs.h <<_ACEOF
57228 #define HAVE__HYPOTL 1
57229 _ACEOF
57232 done
57241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57242 $as_echo_n "checking for ldexpl declaration... " >&6; }
57243 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57244 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57245 $as_echo_n "(cached) " >&6
57246 else
57249 ac_ext=cpp
57250 ac_cpp='$CXXCPP $CPPFLAGS'
57251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57256 /* end confdefs.h. */
57257 #include <math.h>
57259 main ()
57261 ldexpl(0, 0);
57263 return 0;
57265 _ACEOF
57266 if ac_fn_cxx_try_compile "$LINENO"; then :
57267 glibcxx_cv_func_ldexpl_use=yes
57268 else
57269 glibcxx_cv_func_ldexpl_use=no
57271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57272 ac_ext=c
57273 ac_cpp='$CPP $CPPFLAGS'
57274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57283 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57285 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57286 for ac_func in ldexpl
57287 do :
57288 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57289 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57290 cat >>confdefs.h <<_ACEOF
57291 #define HAVE_LDEXPL 1
57292 _ACEOF
57295 done
57297 else
57299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57300 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57301 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57302 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57303 $as_echo_n "(cached) " >&6
57304 else
57307 ac_ext=cpp
57308 ac_cpp='$CXXCPP $CPPFLAGS'
57309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57314 /* end confdefs.h. */
57315 #include <math.h>
57317 main ()
57319 _ldexpl(0, 0);
57321 return 0;
57323 _ACEOF
57324 if ac_fn_cxx_try_compile "$LINENO"; then :
57325 glibcxx_cv_func__ldexpl_use=yes
57326 else
57327 glibcxx_cv_func__ldexpl_use=no
57329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57330 ac_ext=c
57331 ac_cpp='$CPP $CPPFLAGS'
57332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57341 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57343 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57344 for ac_func in _ldexpl
57345 do :
57346 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57347 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57348 cat >>confdefs.h <<_ACEOF
57349 #define HAVE__LDEXPL 1
57350 _ACEOF
57353 done
57362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57363 $as_echo_n "checking for logl declaration... " >&6; }
57364 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57365 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57366 $as_echo_n "(cached) " >&6
57367 else
57370 ac_ext=cpp
57371 ac_cpp='$CXXCPP $CPPFLAGS'
57372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57377 /* end confdefs.h. */
57378 #include <math.h>
57379 #ifdef HAVE_IEEEFP_H
57380 #include <ieeefp.h>
57381 #endif
57384 main ()
57386 logl(0);
57388 return 0;
57390 _ACEOF
57391 if ac_fn_cxx_try_compile "$LINENO"; then :
57392 glibcxx_cv_func_logl_use=yes
57393 else
57394 glibcxx_cv_func_logl_use=no
57396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57397 ac_ext=c
57398 ac_cpp='$CPP $CPPFLAGS'
57399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57408 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57410 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57411 for ac_func in logl
57412 do :
57413 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57414 if test "x$ac_cv_func_logl" = x""yes; then :
57415 cat >>confdefs.h <<_ACEOF
57416 #define HAVE_LOGL 1
57417 _ACEOF
57420 done
57422 else
57424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57425 $as_echo_n "checking for _logl declaration... " >&6; }
57426 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57427 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57428 $as_echo_n "(cached) " >&6
57429 else
57432 ac_ext=cpp
57433 ac_cpp='$CXXCPP $CPPFLAGS'
57434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57439 /* end confdefs.h. */
57440 #include <math.h>
57441 #ifdef HAVE_IEEEFP_H
57442 #include <ieeefp.h>
57443 #endif
57446 main ()
57448 _logl(0);
57450 return 0;
57452 _ACEOF
57453 if ac_fn_cxx_try_compile "$LINENO"; then :
57454 glibcxx_cv_func__logl_use=yes
57455 else
57456 glibcxx_cv_func__logl_use=no
57458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57459 ac_ext=c
57460 ac_cpp='$CPP $CPPFLAGS'
57461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57470 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57472 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57473 for ac_func in _logl
57474 do :
57475 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57476 if test "x$ac_cv_func__logl" = x""yes; then :
57477 cat >>confdefs.h <<_ACEOF
57478 #define HAVE__LOGL 1
57479 _ACEOF
57482 done
57491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57492 $as_echo_n "checking for log10l declaration... " >&6; }
57493 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57494 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57495 $as_echo_n "(cached) " >&6
57496 else
57499 ac_ext=cpp
57500 ac_cpp='$CXXCPP $CPPFLAGS'
57501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57506 /* end confdefs.h. */
57507 #include <math.h>
57508 #ifdef HAVE_IEEEFP_H
57509 #include <ieeefp.h>
57510 #endif
57513 main ()
57515 log10l(0);
57517 return 0;
57519 _ACEOF
57520 if ac_fn_cxx_try_compile "$LINENO"; then :
57521 glibcxx_cv_func_log10l_use=yes
57522 else
57523 glibcxx_cv_func_log10l_use=no
57525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57526 ac_ext=c
57527 ac_cpp='$CPP $CPPFLAGS'
57528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57537 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57539 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57540 for ac_func in log10l
57541 do :
57542 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57543 if test "x$ac_cv_func_log10l" = x""yes; then :
57544 cat >>confdefs.h <<_ACEOF
57545 #define HAVE_LOG10L 1
57546 _ACEOF
57549 done
57551 else
57553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57554 $as_echo_n "checking for _log10l declaration... " >&6; }
57555 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57556 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57557 $as_echo_n "(cached) " >&6
57558 else
57561 ac_ext=cpp
57562 ac_cpp='$CXXCPP $CPPFLAGS'
57563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57568 /* end confdefs.h. */
57569 #include <math.h>
57570 #ifdef HAVE_IEEEFP_H
57571 #include <ieeefp.h>
57572 #endif
57575 main ()
57577 _log10l(0);
57579 return 0;
57581 _ACEOF
57582 if ac_fn_cxx_try_compile "$LINENO"; then :
57583 glibcxx_cv_func__log10l_use=yes
57584 else
57585 glibcxx_cv_func__log10l_use=no
57587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57588 ac_ext=c
57589 ac_cpp='$CPP $CPPFLAGS'
57590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57599 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57601 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57602 for ac_func in _log10l
57603 do :
57604 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57605 if test "x$ac_cv_func__log10l" = x""yes; then :
57606 cat >>confdefs.h <<_ACEOF
57607 #define HAVE__LOG10L 1
57608 _ACEOF
57611 done
57620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57621 $as_echo_n "checking for modfl declaration... " >&6; }
57622 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57623 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57624 $as_echo_n "(cached) " >&6
57625 else
57628 ac_ext=cpp
57629 ac_cpp='$CXXCPP $CPPFLAGS'
57630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57635 /* end confdefs.h. */
57636 #include <math.h>
57638 main ()
57640 modfl(0, 0);
57642 return 0;
57644 _ACEOF
57645 if ac_fn_cxx_try_compile "$LINENO"; then :
57646 glibcxx_cv_func_modfl_use=yes
57647 else
57648 glibcxx_cv_func_modfl_use=no
57650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57651 ac_ext=c
57652 ac_cpp='$CPP $CPPFLAGS'
57653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57662 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57664 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57665 for ac_func in modfl
57666 do :
57667 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57668 if test "x$ac_cv_func_modfl" = x""yes; then :
57669 cat >>confdefs.h <<_ACEOF
57670 #define HAVE_MODFL 1
57671 _ACEOF
57674 done
57676 else
57678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57679 $as_echo_n "checking for _modfl declaration... " >&6; }
57680 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57681 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57682 $as_echo_n "(cached) " >&6
57683 else
57686 ac_ext=cpp
57687 ac_cpp='$CXXCPP $CPPFLAGS'
57688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57693 /* end confdefs.h. */
57694 #include <math.h>
57696 main ()
57698 _modfl(0, 0);
57700 return 0;
57702 _ACEOF
57703 if ac_fn_cxx_try_compile "$LINENO"; then :
57704 glibcxx_cv_func__modfl_use=yes
57705 else
57706 glibcxx_cv_func__modfl_use=no
57708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57709 ac_ext=c
57710 ac_cpp='$CPP $CPPFLAGS'
57711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57720 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57722 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57723 for ac_func in _modfl
57724 do :
57725 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57726 if test "x$ac_cv_func__modfl" = x""yes; then :
57727 cat >>confdefs.h <<_ACEOF
57728 #define HAVE__MODFL 1
57729 _ACEOF
57732 done
57741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57742 $as_echo_n "checking for powl declaration... " >&6; }
57743 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57744 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57745 $as_echo_n "(cached) " >&6
57746 else
57749 ac_ext=cpp
57750 ac_cpp='$CXXCPP $CPPFLAGS'
57751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57756 /* end confdefs.h. */
57757 #include <math.h>
57759 main ()
57761 powl(0, 0);
57763 return 0;
57765 _ACEOF
57766 if ac_fn_cxx_try_compile "$LINENO"; then :
57767 glibcxx_cv_func_powl_use=yes
57768 else
57769 glibcxx_cv_func_powl_use=no
57771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57772 ac_ext=c
57773 ac_cpp='$CPP $CPPFLAGS'
57774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57783 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57785 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57786 for ac_func in powl
57787 do :
57788 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57789 if test "x$ac_cv_func_powl" = x""yes; then :
57790 cat >>confdefs.h <<_ACEOF
57791 #define HAVE_POWL 1
57792 _ACEOF
57795 done
57797 else
57799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57800 $as_echo_n "checking for _powl declaration... " >&6; }
57801 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57802 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57803 $as_echo_n "(cached) " >&6
57804 else
57807 ac_ext=cpp
57808 ac_cpp='$CXXCPP $CPPFLAGS'
57809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57814 /* end confdefs.h. */
57815 #include <math.h>
57817 main ()
57819 _powl(0, 0);
57821 return 0;
57823 _ACEOF
57824 if ac_fn_cxx_try_compile "$LINENO"; then :
57825 glibcxx_cv_func__powl_use=yes
57826 else
57827 glibcxx_cv_func__powl_use=no
57829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57830 ac_ext=c
57831 ac_cpp='$CPP $CPPFLAGS'
57832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57841 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57843 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57844 for ac_func in _powl
57845 do :
57846 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57847 if test "x$ac_cv_func__powl" = x""yes; then :
57848 cat >>confdefs.h <<_ACEOF
57849 #define HAVE__POWL 1
57850 _ACEOF
57853 done
57862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57863 $as_echo_n "checking for sqrtl declaration... " >&6; }
57864 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57865 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57866 $as_echo_n "(cached) " >&6
57867 else
57870 ac_ext=cpp
57871 ac_cpp='$CXXCPP $CPPFLAGS'
57872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57877 /* end confdefs.h. */
57878 #include <math.h>
57879 #ifdef HAVE_IEEEFP_H
57880 #include <ieeefp.h>
57881 #endif
57884 main ()
57886 sqrtl(0);
57888 return 0;
57890 _ACEOF
57891 if ac_fn_cxx_try_compile "$LINENO"; then :
57892 glibcxx_cv_func_sqrtl_use=yes
57893 else
57894 glibcxx_cv_func_sqrtl_use=no
57896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57897 ac_ext=c
57898 ac_cpp='$CPP $CPPFLAGS'
57899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57908 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57910 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57911 for ac_func in sqrtl
57912 do :
57913 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57914 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57915 cat >>confdefs.h <<_ACEOF
57916 #define HAVE_SQRTL 1
57917 _ACEOF
57920 done
57922 else
57924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57925 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57926 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57927 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57928 $as_echo_n "(cached) " >&6
57929 else
57932 ac_ext=cpp
57933 ac_cpp='$CXXCPP $CPPFLAGS'
57934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57939 /* end confdefs.h. */
57940 #include <math.h>
57941 #ifdef HAVE_IEEEFP_H
57942 #include <ieeefp.h>
57943 #endif
57946 main ()
57948 _sqrtl(0);
57950 return 0;
57952 _ACEOF
57953 if ac_fn_cxx_try_compile "$LINENO"; then :
57954 glibcxx_cv_func__sqrtl_use=yes
57955 else
57956 glibcxx_cv_func__sqrtl_use=no
57958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57959 ac_ext=c
57960 ac_cpp='$CPP $CPPFLAGS'
57961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57970 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57972 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57973 for ac_func in _sqrtl
57974 do :
57975 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57976 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57977 cat >>confdefs.h <<_ACEOF
57978 #define HAVE__SQRTL 1
57979 _ACEOF
57982 done
57991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57992 $as_echo_n "checking for sincosl declaration... " >&6; }
57993 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57994 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57995 $as_echo_n "(cached) " >&6
57996 else
57999 ac_ext=cpp
58000 ac_cpp='$CXXCPP $CPPFLAGS'
58001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58006 /* end confdefs.h. */
58007 #include <math.h>
58009 main ()
58011 sincosl(0, 0, 0);
58013 return 0;
58015 _ACEOF
58016 if ac_fn_cxx_try_compile "$LINENO"; then :
58017 glibcxx_cv_func_sincosl_use=yes
58018 else
58019 glibcxx_cv_func_sincosl_use=no
58021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58022 ac_ext=c
58023 ac_cpp='$CPP $CPPFLAGS'
58024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58033 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58035 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58036 for ac_func in sincosl
58037 do :
58038 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58039 if test "x$ac_cv_func_sincosl" = x""yes; then :
58040 cat >>confdefs.h <<_ACEOF
58041 #define HAVE_SINCOSL 1
58042 _ACEOF
58045 done
58047 else
58049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58050 $as_echo_n "checking for _sincosl declaration... " >&6; }
58051 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58052 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58053 $as_echo_n "(cached) " >&6
58054 else
58057 ac_ext=cpp
58058 ac_cpp='$CXXCPP $CPPFLAGS'
58059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58064 /* end confdefs.h. */
58065 #include <math.h>
58067 main ()
58069 _sincosl(0, 0, 0);
58071 return 0;
58073 _ACEOF
58074 if ac_fn_cxx_try_compile "$LINENO"; then :
58075 glibcxx_cv_func__sincosl_use=yes
58076 else
58077 glibcxx_cv_func__sincosl_use=no
58079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58080 ac_ext=c
58081 ac_cpp='$CPP $CPPFLAGS'
58082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58091 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58093 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58094 for ac_func in _sincosl
58095 do :
58096 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58097 if test "x$ac_cv_func__sincosl" = x""yes; then :
58098 cat >>confdefs.h <<_ACEOF
58099 #define HAVE__SINCOSL 1
58100 _ACEOF
58103 done
58112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58113 $as_echo_n "checking for finitel declaration... " >&6; }
58114 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58115 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58116 $as_echo_n "(cached) " >&6
58117 else
58120 ac_ext=cpp
58121 ac_cpp='$CXXCPP $CPPFLAGS'
58122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58127 /* end confdefs.h. */
58128 #include <math.h>
58129 #ifdef HAVE_IEEEFP_H
58130 #include <ieeefp.h>
58131 #endif
58134 main ()
58136 finitel(0);
58138 return 0;
58140 _ACEOF
58141 if ac_fn_cxx_try_compile "$LINENO"; then :
58142 glibcxx_cv_func_finitel_use=yes
58143 else
58144 glibcxx_cv_func_finitel_use=no
58146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58147 ac_ext=c
58148 ac_cpp='$CPP $CPPFLAGS'
58149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58158 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58160 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58161 for ac_func in finitel
58162 do :
58163 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58164 if test "x$ac_cv_func_finitel" = x""yes; then :
58165 cat >>confdefs.h <<_ACEOF
58166 #define HAVE_FINITEL 1
58167 _ACEOF
58170 done
58172 else
58174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58175 $as_echo_n "checking for _finitel declaration... " >&6; }
58176 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58177 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58178 $as_echo_n "(cached) " >&6
58179 else
58182 ac_ext=cpp
58183 ac_cpp='$CXXCPP $CPPFLAGS'
58184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58189 /* end confdefs.h. */
58190 #include <math.h>
58191 #ifdef HAVE_IEEEFP_H
58192 #include <ieeefp.h>
58193 #endif
58196 main ()
58198 _finitel(0);
58200 return 0;
58202 _ACEOF
58203 if ac_fn_cxx_try_compile "$LINENO"; then :
58204 glibcxx_cv_func__finitel_use=yes
58205 else
58206 glibcxx_cv_func__finitel_use=no
58208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58209 ac_ext=c
58210 ac_cpp='$CPP $CPPFLAGS'
58211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58220 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58222 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58223 for ac_func in _finitel
58224 do :
58225 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58226 if test "x$ac_cv_func__finitel" = x""yes; then :
58227 cat >>confdefs.h <<_ACEOF
58228 #define HAVE__FINITEL 1
58229 _ACEOF
58232 done
58240 LIBS="$ac_save_LIBS"
58241 CXXFLAGS="$ac_save_CXXFLAGS"
58244 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58245 ac_save_CXXFLAGS="$CXXFLAGS"
58246 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58250 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58251 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58252 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58253 $as_echo_n "(cached) " >&6
58254 else
58257 ac_ext=cpp
58258 ac_cpp='$CXXCPP $CPPFLAGS'
58259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58264 /* end confdefs.h. */
58265 #include <stdlib.h>
58267 main ()
58269 at_quick_exit(0);
58271 return 0;
58273 _ACEOF
58274 if ac_fn_cxx_try_compile "$LINENO"; then :
58275 glibcxx_cv_func_at_quick_exit_use=yes
58276 else
58277 glibcxx_cv_func_at_quick_exit_use=no
58279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58280 ac_ext=c
58281 ac_cpp='$CPP $CPPFLAGS'
58282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58291 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58292 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58293 for ac_func in at_quick_exit
58294 do :
58295 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58296 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58297 cat >>confdefs.h <<_ACEOF
58298 #define HAVE_AT_QUICK_EXIT 1
58299 _ACEOF
58302 done
58307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58308 $as_echo_n "checking for quick_exit declaration... " >&6; }
58309 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58310 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58311 $as_echo_n "(cached) " >&6
58312 else
58315 ac_ext=cpp
58316 ac_cpp='$CXXCPP $CPPFLAGS'
58317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58322 /* end confdefs.h. */
58323 #include <stdlib.h>
58325 main ()
58327 quick_exit(0);
58329 return 0;
58331 _ACEOF
58332 if ac_fn_cxx_try_compile "$LINENO"; then :
58333 glibcxx_cv_func_quick_exit_use=yes
58334 else
58335 glibcxx_cv_func_quick_exit_use=no
58337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58338 ac_ext=c
58339 ac_cpp='$CPP $CPPFLAGS'
58340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58349 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58350 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58351 for ac_func in quick_exit
58352 do :
58353 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58354 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58355 cat >>confdefs.h <<_ACEOF
58356 #define HAVE_QUICK_EXIT 1
58357 _ACEOF
58360 done
58365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58366 $as_echo_n "checking for strtold declaration... " >&6; }
58367 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58368 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58369 $as_echo_n "(cached) " >&6
58370 else
58373 ac_ext=cpp
58374 ac_cpp='$CXXCPP $CPPFLAGS'
58375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58380 /* end confdefs.h. */
58381 #include <stdlib.h>
58383 main ()
58385 strtold(0, 0);
58387 return 0;
58389 _ACEOF
58390 if ac_fn_cxx_try_compile "$LINENO"; then :
58391 glibcxx_cv_func_strtold_use=yes
58392 else
58393 glibcxx_cv_func_strtold_use=no
58395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58396 ac_ext=c
58397 ac_cpp='$CPP $CPPFLAGS'
58398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58407 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58408 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58409 for ac_func in strtold
58410 do :
58411 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58412 if test "x$ac_cv_func_strtold" = x""yes; then :
58413 cat >>confdefs.h <<_ACEOF
58414 #define HAVE_STRTOLD 1
58415 _ACEOF
58418 done
58425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58426 $as_echo_n "checking for strtof declaration... " >&6; }
58427 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58428 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58429 $as_echo_n "(cached) " >&6
58430 else
58433 ac_ext=cpp
58434 ac_cpp='$CXXCPP $CPPFLAGS'
58435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58440 /* end confdefs.h. */
58441 #include <stdlib.h>
58443 main ()
58445 strtof(0, 0);
58447 return 0;
58449 _ACEOF
58450 if ac_fn_cxx_try_compile "$LINENO"; then :
58451 glibcxx_cv_func_strtof_use=yes
58452 else
58453 glibcxx_cv_func_strtof_use=no
58455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58456 ac_ext=c
58457 ac_cpp='$CPP $CPPFLAGS'
58458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58467 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58468 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58469 for ac_func in strtof
58470 do :
58471 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58472 if test "x$ac_cv_func_strtof" = x""yes; then :
58473 cat >>confdefs.h <<_ACEOF
58474 #define HAVE_STRTOF 1
58475 _ACEOF
58478 done
58485 CXXFLAGS="$ac_save_CXXFLAGS"
58488 *-netbsd*)
58489 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58492 # If we're not using GNU ld, then there's no point in even trying these
58493 # tests. Check for that first. We should have already tested for gld
58494 # by now (in libtool), but require it now just to be safe...
58495 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58496 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58500 # The name set by libtool depends on the version of libtool. Shame on us
58501 # for depending on an impl detail, but c'est la vie. Older versions used
58502 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58503 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58504 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58505 # set (hence we're using an older libtool), then set it.
58506 if test x${with_gnu_ld+set} != xset; then
58507 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58508 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58509 with_gnu_ld=no
58510 else
58511 with_gnu_ld=$ac_cv_prog_gnu_ld
58515 # Start by getting the version number. I think the libtool test already
58516 # does some of this, but throws away the result.
58517 glibcxx_ld_is_gold=no
58518 if test x"$with_gnu_ld" = x"yes"; then
58519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58520 $as_echo_n "checking for ld version... " >&6; }
58522 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58523 glibcxx_ld_is_gold=yes
58525 ldver=`$LD --version 2>/dev/null |
58526 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'`
58528 glibcxx_gnu_ld_version=`echo $ldver | \
58529 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58531 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58534 # Set --gc-sections.
58535 glibcxx_have_gc_sections=no
58536 if test "$glibcxx_ld_is_gold" = "yes"; then
58537 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58538 glibcxx_have_gc_sections=yes
58540 else
58541 glibcxx_gcsections_min_ld=21602
58542 if test x"$with_gnu_ld" = x"yes" &&
58543 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58544 glibcxx_have_gc_sections=yes
58547 if test "$glibcxx_have_gc_sections" = "yes"; then
58548 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58549 # NB: This flag only works reliably after 2.16.1. Configure tests
58550 # for this are difficult, so hard wire a value that should work.
58552 ac_test_CFLAGS="${CFLAGS+set}"
58553 ac_save_CFLAGS="$CFLAGS"
58554 CFLAGS='-Wl,--gc-sections'
58556 # Check for -Wl,--gc-sections
58557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58558 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58559 if test x$gcc_no_link = xyes; then
58560 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58563 /* end confdefs.h. */
58564 int one(void) { return 1; }
58565 int two(void) { return 2; }
58568 main ()
58570 two();
58572 return 0;
58574 _ACEOF
58575 if ac_fn_c_try_link "$LINENO"; then :
58576 ac_gcsections=yes
58577 else
58578 ac_gcsections=no
58580 rm -f core conftest.err conftest.$ac_objext \
58581 conftest$ac_exeext conftest.$ac_ext
58582 if test "$ac_gcsections" = "yes"; then
58583 rm -f conftest.c
58584 touch conftest.c
58585 if $CC -c conftest.c; then
58586 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58587 grep "Warning: gc-sections option ignored" > /dev/null; then
58588 ac_gcsections=no
58591 rm -f conftest.c conftest.o conftest
58593 if test "$ac_gcsections" = "yes"; then
58594 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58597 $as_echo "$ac_gcsections" >&6; }
58599 if test "$ac_test_CFLAGS" = set; then
58600 CFLAGS="$ac_save_CFLAGS"
58601 else
58602 # this is the suspicious part
58603 CFLAGS=''
58607 # Set -z,relro.
58608 # Note this is only for shared objects.
58609 ac_ld_relro=no
58610 if test x"$with_gnu_ld" = x"yes"; then
58611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58612 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58613 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58614 if test -n "$cxx_z_relo"; then
58615 OPT_LDFLAGS="-Wl,-z,relro"
58616 ac_ld_relro=yes
58618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58619 $as_echo "$ac_ld_relro" >&6; }
58622 # Set linker optimization flags.
58623 if test x"$with_gnu_ld" = x"yes"; then
58624 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58630 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
58632 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
58634 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
58636 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
58638 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
58640 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
58642 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
58644 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
58646 if test x"long_double_math_on_this_cpu" = x"yes"; then
58647 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
58649 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
58651 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
58655 *-qnx6.1* | *-qnx6.2*)
58656 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58659 # If we're not using GNU ld, then there's no point in even trying these
58660 # tests. Check for that first. We should have already tested for gld
58661 # by now (in libtool), but require it now just to be safe...
58662 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58663 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58667 # The name set by libtool depends on the version of libtool. Shame on us
58668 # for depending on an impl detail, but c'est la vie. Older versions used
58669 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58670 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58671 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58672 # set (hence we're using an older libtool), then set it.
58673 if test x${with_gnu_ld+set} != xset; then
58674 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58675 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58676 with_gnu_ld=no
58677 else
58678 with_gnu_ld=$ac_cv_prog_gnu_ld
58682 # Start by getting the version number. I think the libtool test already
58683 # does some of this, but throws away the result.
58684 glibcxx_ld_is_gold=no
58685 if test x"$with_gnu_ld" = x"yes"; then
58686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58687 $as_echo_n "checking for ld version... " >&6; }
58689 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58690 glibcxx_ld_is_gold=yes
58692 ldver=`$LD --version 2>/dev/null |
58693 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'`
58695 glibcxx_gnu_ld_version=`echo $ldver | \
58696 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58698 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58701 # Set --gc-sections.
58702 glibcxx_have_gc_sections=no
58703 if test "$glibcxx_ld_is_gold" = "yes"; then
58704 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58705 glibcxx_have_gc_sections=yes
58707 else
58708 glibcxx_gcsections_min_ld=21602
58709 if test x"$with_gnu_ld" = x"yes" &&
58710 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58711 glibcxx_have_gc_sections=yes
58714 if test "$glibcxx_have_gc_sections" = "yes"; then
58715 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58716 # NB: This flag only works reliably after 2.16.1. Configure tests
58717 # for this are difficult, so hard wire a value that should work.
58719 ac_test_CFLAGS="${CFLAGS+set}"
58720 ac_save_CFLAGS="$CFLAGS"
58721 CFLAGS='-Wl,--gc-sections'
58723 # Check for -Wl,--gc-sections
58724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58725 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58726 if test x$gcc_no_link = xyes; then
58727 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58730 /* end confdefs.h. */
58731 int one(void) { return 1; }
58732 int two(void) { return 2; }
58735 main ()
58737 two();
58739 return 0;
58741 _ACEOF
58742 if ac_fn_c_try_link "$LINENO"; then :
58743 ac_gcsections=yes
58744 else
58745 ac_gcsections=no
58747 rm -f core conftest.err conftest.$ac_objext \
58748 conftest$ac_exeext conftest.$ac_ext
58749 if test "$ac_gcsections" = "yes"; then
58750 rm -f conftest.c
58751 touch conftest.c
58752 if $CC -c conftest.c; then
58753 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58754 grep "Warning: gc-sections option ignored" > /dev/null; then
58755 ac_gcsections=no
58758 rm -f conftest.c conftest.o conftest
58760 if test "$ac_gcsections" = "yes"; then
58761 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58764 $as_echo "$ac_gcsections" >&6; }
58766 if test "$ac_test_CFLAGS" = set; then
58767 CFLAGS="$ac_save_CFLAGS"
58768 else
58769 # this is the suspicious part
58770 CFLAGS=''
58774 # Set -z,relro.
58775 # Note this is only for shared objects.
58776 ac_ld_relro=no
58777 if test x"$with_gnu_ld" = x"yes"; then
58778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58779 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58780 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58781 if test -n "$cxx_z_relo"; then
58782 OPT_LDFLAGS="-Wl,-z,relro"
58783 ac_ld_relro=yes
58785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58786 $as_echo "$ac_ld_relro" >&6; }
58789 # Set linker optimization flags.
58790 if test x"$with_gnu_ld" = x"yes"; then
58791 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58797 $as_echo "#define HAVE_COSF 1" >>confdefs.h
58799 $as_echo "#define HAVE_COSL 1" >>confdefs.h
58801 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
58803 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
58805 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
58807 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
58809 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
58811 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
58813 $as_echo "#define HAVE_SINF 1" >>confdefs.h
58815 $as_echo "#define HAVE_SINL 1" >>confdefs.h
58817 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
58819 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
58822 *-rtems*)
58824 # All these tests are for C++; save the language and the compiler flags.
58825 # The CXXFLAGS thing is suspicious, but based on similar bits previously
58826 # found in GLIBCXX_CONFIGURE.
58828 ac_ext=cpp
58829 ac_cpp='$CXXCPP $CPPFLAGS'
58830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58834 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58835 ac_save_CXXFLAGS="$CXXFLAGS"
58837 # Check for maintainer-mode bits.
58838 if test x"$USE_MAINTAINER_MODE" = xno; then
58839 WERROR=''
58840 else
58841 WERROR='-Werror'
58844 # Check for -ffunction-sections -fdata-sections
58845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
58846 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
58847 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
58848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58849 /* end confdefs.h. */
58850 int foo; void bar() { };
58852 main ()
58856 return 0;
58858 _ACEOF
58859 if ac_fn_cxx_try_compile "$LINENO"; then :
58860 ac_fdsections=yes
58861 else
58862 ac_fdsections=no
58864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58865 if test "$ac_test_CXXFLAGS" = set; then
58866 CXXFLAGS="$ac_save_CXXFLAGS"
58867 else
58868 # this is the suspicious part
58869 CXXFLAGS=''
58871 if test x"$ac_fdsections" = x"yes"; then
58872 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
58875 $as_echo "$ac_fdsections" >&6; }
58877 ac_ext=c
58878 ac_cpp='$CPP $CPPFLAGS'
58879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58887 # If we're not using GNU ld, then there's no point in even trying these
58888 # tests. Check for that first. We should have already tested for gld
58889 # by now (in libtool), but require it now just to be safe...
58890 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58891 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58895 # The name set by libtool depends on the version of libtool. Shame on us
58896 # for depending on an impl detail, but c'est la vie. Older versions used
58897 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58898 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58899 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58900 # set (hence we're using an older libtool), then set it.
58901 if test x${with_gnu_ld+set} != xset; then
58902 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58903 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58904 with_gnu_ld=no
58905 else
58906 with_gnu_ld=$ac_cv_prog_gnu_ld
58910 # Start by getting the version number. I think the libtool test already
58911 # does some of this, but throws away the result.
58912 glibcxx_ld_is_gold=no
58913 if test x"$with_gnu_ld" = x"yes"; then
58914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58915 $as_echo_n "checking for ld version... " >&6; }
58917 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58918 glibcxx_ld_is_gold=yes
58920 ldver=`$LD --version 2>/dev/null |
58921 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'`
58923 glibcxx_gnu_ld_version=`echo $ldver | \
58924 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58926 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58929 # Set --gc-sections.
58930 glibcxx_have_gc_sections=no
58931 if test "$glibcxx_ld_is_gold" = "yes"; then
58932 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58933 glibcxx_have_gc_sections=yes
58935 else
58936 glibcxx_gcsections_min_ld=21602
58937 if test x"$with_gnu_ld" = x"yes" &&
58938 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58939 glibcxx_have_gc_sections=yes
58942 if test "$glibcxx_have_gc_sections" = "yes"; then
58943 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58944 # NB: This flag only works reliably after 2.16.1. Configure tests
58945 # for this are difficult, so hard wire a value that should work.
58947 ac_test_CFLAGS="${CFLAGS+set}"
58948 ac_save_CFLAGS="$CFLAGS"
58949 CFLAGS='-Wl,--gc-sections'
58951 # Check for -Wl,--gc-sections
58952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58953 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58954 if test x$gcc_no_link = xyes; then
58955 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58958 /* end confdefs.h. */
58959 int one(void) { return 1; }
58960 int two(void) { return 2; }
58963 main ()
58965 two();
58967 return 0;
58969 _ACEOF
58970 if ac_fn_c_try_link "$LINENO"; then :
58971 ac_gcsections=yes
58972 else
58973 ac_gcsections=no
58975 rm -f core conftest.err conftest.$ac_objext \
58976 conftest$ac_exeext conftest.$ac_ext
58977 if test "$ac_gcsections" = "yes"; then
58978 rm -f conftest.c
58979 touch conftest.c
58980 if $CC -c conftest.c; then
58981 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58982 grep "Warning: gc-sections option ignored" > /dev/null; then
58983 ac_gcsections=no
58986 rm -f conftest.c conftest.o conftest
58988 if test "$ac_gcsections" = "yes"; then
58989 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58992 $as_echo "$ac_gcsections" >&6; }
58994 if test "$ac_test_CFLAGS" = set; then
58995 CFLAGS="$ac_save_CFLAGS"
58996 else
58997 # this is the suspicious part
58998 CFLAGS=''
59002 # Set -z,relro.
59003 # Note this is only for shared objects.
59004 ac_ld_relro=no
59005 if test x"$with_gnu_ld" = x"yes"; then
59006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
59007 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
59008 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
59009 if test -n "$cxx_z_relo"; then
59010 OPT_LDFLAGS="-Wl,-z,relro"
59011 ac_ld_relro=yes
59013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
59014 $as_echo "$ac_ld_relro" >&6; }
59017 # Set linker optimization flags.
59018 if test x"$with_gnu_ld" = x"yes"; then
59019 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
59026 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59027 ac_save_CXXFLAGS="$CXXFLAGS"
59028 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
59031 $as_echo_n "checking for sin in -lm... " >&6; }
59032 if test "${ac_cv_lib_m_sin+set}" = set; then :
59033 $as_echo_n "(cached) " >&6
59034 else
59035 ac_check_lib_save_LIBS=$LIBS
59036 LIBS="-lm $LIBS"
59037 if test x$gcc_no_link = xyes; then
59038 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59041 /* end confdefs.h. */
59043 /* Override any GCC internal prototype to avoid an error.
59044 Use char because int might match the return type of a GCC
59045 builtin and then its argument prototype would still apply. */
59046 #ifdef __cplusplus
59047 extern "C"
59048 #endif
59049 char sin ();
59051 main ()
59053 return sin ();
59055 return 0;
59057 _ACEOF
59058 if ac_fn_c_try_link "$LINENO"; then :
59059 ac_cv_lib_m_sin=yes
59060 else
59061 ac_cv_lib_m_sin=no
59063 rm -f core conftest.err conftest.$ac_objext \
59064 conftest$ac_exeext conftest.$ac_ext
59065 LIBS=$ac_check_lib_save_LIBS
59067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59068 $as_echo "$ac_cv_lib_m_sin" >&6; }
59069 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59070 libm="-lm"
59073 ac_save_LIBS="$LIBS"
59074 LIBS="$LIBS $libm"
59078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59079 $as_echo_n "checking for isinf declaration... " >&6; }
59080 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59081 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59082 $as_echo_n "(cached) " >&6
59083 else
59086 ac_ext=cpp
59087 ac_cpp='$CXXCPP $CPPFLAGS'
59088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59093 /* end confdefs.h. */
59094 #include <math.h>
59095 #ifdef HAVE_IEEEFP_H
59096 #include <ieeefp.h>
59097 #endif
59100 main ()
59102 isinf(0);
59104 return 0;
59106 _ACEOF
59107 if ac_fn_cxx_try_compile "$LINENO"; then :
59108 glibcxx_cv_func_isinf_use=yes
59109 else
59110 glibcxx_cv_func_isinf_use=no
59112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59113 ac_ext=c
59114 ac_cpp='$CPP $CPPFLAGS'
59115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59124 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59126 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59127 for ac_func in isinf
59128 do :
59129 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59130 if test "x$ac_cv_func_isinf" = x""yes; then :
59131 cat >>confdefs.h <<_ACEOF
59132 #define HAVE_ISINF 1
59133 _ACEOF
59136 done
59138 else
59140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59141 $as_echo_n "checking for _isinf declaration... " >&6; }
59142 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59143 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59144 $as_echo_n "(cached) " >&6
59145 else
59148 ac_ext=cpp
59149 ac_cpp='$CXXCPP $CPPFLAGS'
59150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59155 /* end confdefs.h. */
59156 #include <math.h>
59157 #ifdef HAVE_IEEEFP_H
59158 #include <ieeefp.h>
59159 #endif
59162 main ()
59164 _isinf(0);
59166 return 0;
59168 _ACEOF
59169 if ac_fn_cxx_try_compile "$LINENO"; then :
59170 glibcxx_cv_func__isinf_use=yes
59171 else
59172 glibcxx_cv_func__isinf_use=no
59174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59175 ac_ext=c
59176 ac_cpp='$CPP $CPPFLAGS'
59177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59186 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59188 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59189 for ac_func in _isinf
59190 do :
59191 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59192 if test "x$ac_cv_func__isinf" = x""yes; then :
59193 cat >>confdefs.h <<_ACEOF
59194 #define HAVE__ISINF 1
59195 _ACEOF
59198 done
59207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59208 $as_echo_n "checking for isnan declaration... " >&6; }
59209 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59210 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59211 $as_echo_n "(cached) " >&6
59212 else
59215 ac_ext=cpp
59216 ac_cpp='$CXXCPP $CPPFLAGS'
59217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59222 /* end confdefs.h. */
59223 #include <math.h>
59224 #ifdef HAVE_IEEEFP_H
59225 #include <ieeefp.h>
59226 #endif
59229 main ()
59231 isnan(0);
59233 return 0;
59235 _ACEOF
59236 if ac_fn_cxx_try_compile "$LINENO"; then :
59237 glibcxx_cv_func_isnan_use=yes
59238 else
59239 glibcxx_cv_func_isnan_use=no
59241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59242 ac_ext=c
59243 ac_cpp='$CPP $CPPFLAGS'
59244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59253 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59255 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59256 for ac_func in isnan
59257 do :
59258 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59259 if test "x$ac_cv_func_isnan" = x""yes; then :
59260 cat >>confdefs.h <<_ACEOF
59261 #define HAVE_ISNAN 1
59262 _ACEOF
59265 done
59267 else
59269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59270 $as_echo_n "checking for _isnan declaration... " >&6; }
59271 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59272 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59273 $as_echo_n "(cached) " >&6
59274 else
59277 ac_ext=cpp
59278 ac_cpp='$CXXCPP $CPPFLAGS'
59279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59284 /* end confdefs.h. */
59285 #include <math.h>
59286 #ifdef HAVE_IEEEFP_H
59287 #include <ieeefp.h>
59288 #endif
59291 main ()
59293 _isnan(0);
59295 return 0;
59297 _ACEOF
59298 if ac_fn_cxx_try_compile "$LINENO"; then :
59299 glibcxx_cv_func__isnan_use=yes
59300 else
59301 glibcxx_cv_func__isnan_use=no
59303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59304 ac_ext=c
59305 ac_cpp='$CPP $CPPFLAGS'
59306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59315 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59317 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59318 for ac_func in _isnan
59319 do :
59320 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59321 if test "x$ac_cv_func__isnan" = x""yes; then :
59322 cat >>confdefs.h <<_ACEOF
59323 #define HAVE__ISNAN 1
59324 _ACEOF
59327 done
59336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59337 $as_echo_n "checking for finite declaration... " >&6; }
59338 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59339 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59340 $as_echo_n "(cached) " >&6
59341 else
59344 ac_ext=cpp
59345 ac_cpp='$CXXCPP $CPPFLAGS'
59346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59351 /* end confdefs.h. */
59352 #include <math.h>
59353 #ifdef HAVE_IEEEFP_H
59354 #include <ieeefp.h>
59355 #endif
59358 main ()
59360 finite(0);
59362 return 0;
59364 _ACEOF
59365 if ac_fn_cxx_try_compile "$LINENO"; then :
59366 glibcxx_cv_func_finite_use=yes
59367 else
59368 glibcxx_cv_func_finite_use=no
59370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59371 ac_ext=c
59372 ac_cpp='$CPP $CPPFLAGS'
59373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59382 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59384 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59385 for ac_func in finite
59386 do :
59387 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59388 if test "x$ac_cv_func_finite" = x""yes; then :
59389 cat >>confdefs.h <<_ACEOF
59390 #define HAVE_FINITE 1
59391 _ACEOF
59394 done
59396 else
59398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59399 $as_echo_n "checking for _finite declaration... " >&6; }
59400 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59401 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59402 $as_echo_n "(cached) " >&6
59403 else
59406 ac_ext=cpp
59407 ac_cpp='$CXXCPP $CPPFLAGS'
59408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59413 /* end confdefs.h. */
59414 #include <math.h>
59415 #ifdef HAVE_IEEEFP_H
59416 #include <ieeefp.h>
59417 #endif
59420 main ()
59422 _finite(0);
59424 return 0;
59426 _ACEOF
59427 if ac_fn_cxx_try_compile "$LINENO"; then :
59428 glibcxx_cv_func__finite_use=yes
59429 else
59430 glibcxx_cv_func__finite_use=no
59432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59433 ac_ext=c
59434 ac_cpp='$CPP $CPPFLAGS'
59435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59444 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59446 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59447 for ac_func in _finite
59448 do :
59449 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59450 if test "x$ac_cv_func__finite" = x""yes; then :
59451 cat >>confdefs.h <<_ACEOF
59452 #define HAVE__FINITE 1
59453 _ACEOF
59456 done
59465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59466 $as_echo_n "checking for sincos declaration... " >&6; }
59467 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59468 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59469 $as_echo_n "(cached) " >&6
59470 else
59473 ac_ext=cpp
59474 ac_cpp='$CXXCPP $CPPFLAGS'
59475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59480 /* end confdefs.h. */
59481 #include <math.h>
59483 main ()
59485 sincos(0, 0, 0);
59487 return 0;
59489 _ACEOF
59490 if ac_fn_cxx_try_compile "$LINENO"; then :
59491 glibcxx_cv_func_sincos_use=yes
59492 else
59493 glibcxx_cv_func_sincos_use=no
59495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59496 ac_ext=c
59497 ac_cpp='$CPP $CPPFLAGS'
59498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59507 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59509 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59510 for ac_func in sincos
59511 do :
59512 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59513 if test "x$ac_cv_func_sincos" = x""yes; then :
59514 cat >>confdefs.h <<_ACEOF
59515 #define HAVE_SINCOS 1
59516 _ACEOF
59519 done
59521 else
59523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59524 $as_echo_n "checking for _sincos declaration... " >&6; }
59525 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59526 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59527 $as_echo_n "(cached) " >&6
59528 else
59531 ac_ext=cpp
59532 ac_cpp='$CXXCPP $CPPFLAGS'
59533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59538 /* end confdefs.h. */
59539 #include <math.h>
59541 main ()
59543 _sincos(0, 0, 0);
59545 return 0;
59547 _ACEOF
59548 if ac_fn_cxx_try_compile "$LINENO"; then :
59549 glibcxx_cv_func__sincos_use=yes
59550 else
59551 glibcxx_cv_func__sincos_use=no
59553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59554 ac_ext=c
59555 ac_cpp='$CPP $CPPFLAGS'
59556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59565 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59567 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59568 for ac_func in _sincos
59569 do :
59570 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59571 if test "x$ac_cv_func__sincos" = x""yes; then :
59572 cat >>confdefs.h <<_ACEOF
59573 #define HAVE__SINCOS 1
59574 _ACEOF
59577 done
59586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59587 $as_echo_n "checking for fpclass declaration... " >&6; }
59588 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59589 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59590 $as_echo_n "(cached) " >&6
59591 else
59594 ac_ext=cpp
59595 ac_cpp='$CXXCPP $CPPFLAGS'
59596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59601 /* end confdefs.h. */
59602 #include <math.h>
59603 #ifdef HAVE_IEEEFP_H
59604 #include <ieeefp.h>
59605 #endif
59608 main ()
59610 fpclass(0);
59612 return 0;
59614 _ACEOF
59615 if ac_fn_cxx_try_compile "$LINENO"; then :
59616 glibcxx_cv_func_fpclass_use=yes
59617 else
59618 glibcxx_cv_func_fpclass_use=no
59620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59621 ac_ext=c
59622 ac_cpp='$CPP $CPPFLAGS'
59623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59632 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59634 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59635 for ac_func in fpclass
59636 do :
59637 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59638 if test "x$ac_cv_func_fpclass" = x""yes; then :
59639 cat >>confdefs.h <<_ACEOF
59640 #define HAVE_FPCLASS 1
59641 _ACEOF
59644 done
59646 else
59648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59649 $as_echo_n "checking for _fpclass declaration... " >&6; }
59650 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59651 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59652 $as_echo_n "(cached) " >&6
59653 else
59656 ac_ext=cpp
59657 ac_cpp='$CXXCPP $CPPFLAGS'
59658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59663 /* end confdefs.h. */
59664 #include <math.h>
59665 #ifdef HAVE_IEEEFP_H
59666 #include <ieeefp.h>
59667 #endif
59670 main ()
59672 _fpclass(0);
59674 return 0;
59676 _ACEOF
59677 if ac_fn_cxx_try_compile "$LINENO"; then :
59678 glibcxx_cv_func__fpclass_use=yes
59679 else
59680 glibcxx_cv_func__fpclass_use=no
59682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59683 ac_ext=c
59684 ac_cpp='$CPP $CPPFLAGS'
59685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59694 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59696 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59697 for ac_func in _fpclass
59698 do :
59699 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59700 if test "x$ac_cv_func__fpclass" = x""yes; then :
59701 cat >>confdefs.h <<_ACEOF
59702 #define HAVE__FPCLASS 1
59703 _ACEOF
59706 done
59715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59716 $as_echo_n "checking for qfpclass declaration... " >&6; }
59717 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59718 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59719 $as_echo_n "(cached) " >&6
59720 else
59723 ac_ext=cpp
59724 ac_cpp='$CXXCPP $CPPFLAGS'
59725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59730 /* end confdefs.h. */
59731 #include <math.h>
59732 #ifdef HAVE_IEEEFP_H
59733 #include <ieeefp.h>
59734 #endif
59737 main ()
59739 qfpclass(0);
59741 return 0;
59743 _ACEOF
59744 if ac_fn_cxx_try_compile "$LINENO"; then :
59745 glibcxx_cv_func_qfpclass_use=yes
59746 else
59747 glibcxx_cv_func_qfpclass_use=no
59749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59750 ac_ext=c
59751 ac_cpp='$CPP $CPPFLAGS'
59752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59761 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59763 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59764 for ac_func in qfpclass
59765 do :
59766 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59767 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59768 cat >>confdefs.h <<_ACEOF
59769 #define HAVE_QFPCLASS 1
59770 _ACEOF
59773 done
59775 else
59777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59778 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59779 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59780 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59781 $as_echo_n "(cached) " >&6
59782 else
59785 ac_ext=cpp
59786 ac_cpp='$CXXCPP $CPPFLAGS'
59787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59792 /* end confdefs.h. */
59793 #include <math.h>
59794 #ifdef HAVE_IEEEFP_H
59795 #include <ieeefp.h>
59796 #endif
59799 main ()
59801 _qfpclass(0);
59803 return 0;
59805 _ACEOF
59806 if ac_fn_cxx_try_compile "$LINENO"; then :
59807 glibcxx_cv_func__qfpclass_use=yes
59808 else
59809 glibcxx_cv_func__qfpclass_use=no
59811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59812 ac_ext=c
59813 ac_cpp='$CPP $CPPFLAGS'
59814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59823 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59825 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59826 for ac_func in _qfpclass
59827 do :
59828 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59829 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59830 cat >>confdefs.h <<_ACEOF
59831 #define HAVE__QFPCLASS 1
59832 _ACEOF
59835 done
59844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59845 $as_echo_n "checking for hypot declaration... " >&6; }
59846 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59847 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59848 $as_echo_n "(cached) " >&6
59849 else
59852 ac_ext=cpp
59853 ac_cpp='$CXXCPP $CPPFLAGS'
59854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59859 /* end confdefs.h. */
59860 #include <math.h>
59862 main ()
59864 hypot(0, 0);
59866 return 0;
59868 _ACEOF
59869 if ac_fn_cxx_try_compile "$LINENO"; then :
59870 glibcxx_cv_func_hypot_use=yes
59871 else
59872 glibcxx_cv_func_hypot_use=no
59874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59875 ac_ext=c
59876 ac_cpp='$CPP $CPPFLAGS'
59877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59886 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59888 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59889 for ac_func in hypot
59890 do :
59891 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59892 if test "x$ac_cv_func_hypot" = x""yes; then :
59893 cat >>confdefs.h <<_ACEOF
59894 #define HAVE_HYPOT 1
59895 _ACEOF
59898 done
59900 else
59902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59903 $as_echo_n "checking for _hypot declaration... " >&6; }
59904 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59905 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59906 $as_echo_n "(cached) " >&6
59907 else
59910 ac_ext=cpp
59911 ac_cpp='$CXXCPP $CPPFLAGS'
59912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59917 /* end confdefs.h. */
59918 #include <math.h>
59920 main ()
59922 _hypot(0, 0);
59924 return 0;
59926 _ACEOF
59927 if ac_fn_cxx_try_compile "$LINENO"; then :
59928 glibcxx_cv_func__hypot_use=yes
59929 else
59930 glibcxx_cv_func__hypot_use=no
59932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59933 ac_ext=c
59934 ac_cpp='$CPP $CPPFLAGS'
59935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59944 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59946 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59947 for ac_func in _hypot
59948 do :
59949 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59950 if test "x$ac_cv_func__hypot" = x""yes; then :
59951 cat >>confdefs.h <<_ACEOF
59952 #define HAVE__HYPOT 1
59953 _ACEOF
59956 done
59965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59966 $as_echo_n "checking for float trig functions... " >&6; }
59967 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59968 $as_echo_n "(cached) " >&6
59969 else
59972 ac_ext=cpp
59973 ac_cpp='$CXXCPP $CPPFLAGS'
59974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59979 /* end confdefs.h. */
59980 #include <math.h>
59982 main ()
59984 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59986 return 0;
59988 _ACEOF
59989 if ac_fn_cxx_try_compile "$LINENO"; then :
59990 glibcxx_cv_func_float_trig_use=yes
59991 else
59992 glibcxx_cv_func_float_trig_use=no
59994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59995 ac_ext=c
59996 ac_cpp='$CPP $CPPFLAGS'
59997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
60004 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
60005 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
60006 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
60007 do :
60008 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60009 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60010 eval as_val=\$$as_ac_var
60011 if test "x$as_val" = x""yes; then :
60012 cat >>confdefs.h <<_ACEOF
60013 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60014 _ACEOF
60017 done
60019 else
60020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
60021 $as_echo_n "checking for _float trig functions... " >&6; }
60022 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
60023 $as_echo_n "(cached) " >&6
60024 else
60027 ac_ext=cpp
60028 ac_cpp='$CXXCPP $CPPFLAGS'
60029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60034 /* end confdefs.h. */
60035 #include <math.h>
60037 main ()
60039 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60041 return 0;
60043 _ACEOF
60044 if ac_fn_cxx_try_compile "$LINENO"; then :
60045 glibcxx_cv_func__float_trig_use=yes
60046 else
60047 glibcxx_cv_func__float_trig_use=no
60049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60050 ac_ext=c
60051 ac_cpp='$CPP $CPPFLAGS'
60052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60059 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60060 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60061 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60062 do :
60063 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60064 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60065 eval as_val=\$$as_ac_var
60066 if test "x$as_val" = x""yes; then :
60067 cat >>confdefs.h <<_ACEOF
60068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60069 _ACEOF
60072 done
60081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60082 $as_echo_n "checking for float round functions... " >&6; }
60083 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60084 $as_echo_n "(cached) " >&6
60085 else
60088 ac_ext=cpp
60089 ac_cpp='$CXXCPP $CPPFLAGS'
60090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60095 /* end confdefs.h. */
60096 #include <math.h>
60098 main ()
60100 ceilf (0); floorf (0);
60102 return 0;
60104 _ACEOF
60105 if ac_fn_cxx_try_compile "$LINENO"; then :
60106 glibcxx_cv_func_float_round_use=yes
60107 else
60108 glibcxx_cv_func_float_round_use=no
60110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60111 ac_ext=c
60112 ac_cpp='$CPP $CPPFLAGS'
60113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60120 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60121 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60122 for ac_func in ceilf floorf
60123 do :
60124 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60125 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60126 eval as_val=\$$as_ac_var
60127 if test "x$as_val" = x""yes; then :
60128 cat >>confdefs.h <<_ACEOF
60129 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60130 _ACEOF
60133 done
60135 else
60136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60137 $as_echo_n "checking for _float round functions... " >&6; }
60138 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60139 $as_echo_n "(cached) " >&6
60140 else
60143 ac_ext=cpp
60144 ac_cpp='$CXXCPP $CPPFLAGS'
60145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60150 /* end confdefs.h. */
60151 #include <math.h>
60153 main ()
60155 _ceilf (0); _floorf (0);
60157 return 0;
60159 _ACEOF
60160 if ac_fn_cxx_try_compile "$LINENO"; then :
60161 glibcxx_cv_func__float_round_use=yes
60162 else
60163 glibcxx_cv_func__float_round_use=no
60165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60166 ac_ext=c
60167 ac_cpp='$CPP $CPPFLAGS'
60168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60175 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60176 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60177 for ac_func in _ceilf _floorf
60178 do :
60179 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60180 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60181 eval as_val=\$$as_ac_var
60182 if test "x$as_val" = x""yes; then :
60183 cat >>confdefs.h <<_ACEOF
60184 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60185 _ACEOF
60188 done
60198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60199 $as_echo_n "checking for expf declaration... " >&6; }
60200 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60201 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60202 $as_echo_n "(cached) " >&6
60203 else
60206 ac_ext=cpp
60207 ac_cpp='$CXXCPP $CPPFLAGS'
60208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60213 /* end confdefs.h. */
60214 #include <math.h>
60215 #ifdef HAVE_IEEEFP_H
60216 #include <ieeefp.h>
60217 #endif
60220 main ()
60222 expf(0);
60224 return 0;
60226 _ACEOF
60227 if ac_fn_cxx_try_compile "$LINENO"; then :
60228 glibcxx_cv_func_expf_use=yes
60229 else
60230 glibcxx_cv_func_expf_use=no
60232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60233 ac_ext=c
60234 ac_cpp='$CPP $CPPFLAGS'
60235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60244 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60246 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60247 for ac_func in expf
60248 do :
60249 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60250 if test "x$ac_cv_func_expf" = x""yes; then :
60251 cat >>confdefs.h <<_ACEOF
60252 #define HAVE_EXPF 1
60253 _ACEOF
60256 done
60258 else
60260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60261 $as_echo_n "checking for _expf declaration... " >&6; }
60262 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60263 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60264 $as_echo_n "(cached) " >&6
60265 else
60268 ac_ext=cpp
60269 ac_cpp='$CXXCPP $CPPFLAGS'
60270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60275 /* end confdefs.h. */
60276 #include <math.h>
60277 #ifdef HAVE_IEEEFP_H
60278 #include <ieeefp.h>
60279 #endif
60282 main ()
60284 _expf(0);
60286 return 0;
60288 _ACEOF
60289 if ac_fn_cxx_try_compile "$LINENO"; then :
60290 glibcxx_cv_func__expf_use=yes
60291 else
60292 glibcxx_cv_func__expf_use=no
60294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60295 ac_ext=c
60296 ac_cpp='$CPP $CPPFLAGS'
60297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60306 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60308 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60309 for ac_func in _expf
60310 do :
60311 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60312 if test "x$ac_cv_func__expf" = x""yes; then :
60313 cat >>confdefs.h <<_ACEOF
60314 #define HAVE__EXPF 1
60315 _ACEOF
60318 done
60327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60328 $as_echo_n "checking for isnanf declaration... " >&6; }
60329 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60330 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60331 $as_echo_n "(cached) " >&6
60332 else
60335 ac_ext=cpp
60336 ac_cpp='$CXXCPP $CPPFLAGS'
60337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60342 /* end confdefs.h. */
60343 #include <math.h>
60344 #ifdef HAVE_IEEEFP_H
60345 #include <ieeefp.h>
60346 #endif
60349 main ()
60351 isnanf(0);
60353 return 0;
60355 _ACEOF
60356 if ac_fn_cxx_try_compile "$LINENO"; then :
60357 glibcxx_cv_func_isnanf_use=yes
60358 else
60359 glibcxx_cv_func_isnanf_use=no
60361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60362 ac_ext=c
60363 ac_cpp='$CPP $CPPFLAGS'
60364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60373 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60375 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60376 for ac_func in isnanf
60377 do :
60378 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60379 if test "x$ac_cv_func_isnanf" = x""yes; then :
60380 cat >>confdefs.h <<_ACEOF
60381 #define HAVE_ISNANF 1
60382 _ACEOF
60385 done
60387 else
60389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60390 $as_echo_n "checking for _isnanf declaration... " >&6; }
60391 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60392 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60393 $as_echo_n "(cached) " >&6
60394 else
60397 ac_ext=cpp
60398 ac_cpp='$CXXCPP $CPPFLAGS'
60399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60404 /* end confdefs.h. */
60405 #include <math.h>
60406 #ifdef HAVE_IEEEFP_H
60407 #include <ieeefp.h>
60408 #endif
60411 main ()
60413 _isnanf(0);
60415 return 0;
60417 _ACEOF
60418 if ac_fn_cxx_try_compile "$LINENO"; then :
60419 glibcxx_cv_func__isnanf_use=yes
60420 else
60421 glibcxx_cv_func__isnanf_use=no
60423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60424 ac_ext=c
60425 ac_cpp='$CPP $CPPFLAGS'
60426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60435 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60437 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60438 for ac_func in _isnanf
60439 do :
60440 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60441 if test "x$ac_cv_func__isnanf" = x""yes; then :
60442 cat >>confdefs.h <<_ACEOF
60443 #define HAVE__ISNANF 1
60444 _ACEOF
60447 done
60456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60457 $as_echo_n "checking for isinff declaration... " >&6; }
60458 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60459 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60460 $as_echo_n "(cached) " >&6
60461 else
60464 ac_ext=cpp
60465 ac_cpp='$CXXCPP $CPPFLAGS'
60466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60471 /* end confdefs.h. */
60472 #include <math.h>
60473 #ifdef HAVE_IEEEFP_H
60474 #include <ieeefp.h>
60475 #endif
60478 main ()
60480 isinff(0);
60482 return 0;
60484 _ACEOF
60485 if ac_fn_cxx_try_compile "$LINENO"; then :
60486 glibcxx_cv_func_isinff_use=yes
60487 else
60488 glibcxx_cv_func_isinff_use=no
60490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60491 ac_ext=c
60492 ac_cpp='$CPP $CPPFLAGS'
60493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60502 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60504 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60505 for ac_func in isinff
60506 do :
60507 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60508 if test "x$ac_cv_func_isinff" = x""yes; then :
60509 cat >>confdefs.h <<_ACEOF
60510 #define HAVE_ISINFF 1
60511 _ACEOF
60514 done
60516 else
60518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60519 $as_echo_n "checking for _isinff declaration... " >&6; }
60520 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60521 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60522 $as_echo_n "(cached) " >&6
60523 else
60526 ac_ext=cpp
60527 ac_cpp='$CXXCPP $CPPFLAGS'
60528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60533 /* end confdefs.h. */
60534 #include <math.h>
60535 #ifdef HAVE_IEEEFP_H
60536 #include <ieeefp.h>
60537 #endif
60540 main ()
60542 _isinff(0);
60544 return 0;
60546 _ACEOF
60547 if ac_fn_cxx_try_compile "$LINENO"; then :
60548 glibcxx_cv_func__isinff_use=yes
60549 else
60550 glibcxx_cv_func__isinff_use=no
60552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60553 ac_ext=c
60554 ac_cpp='$CPP $CPPFLAGS'
60555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60564 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60566 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60567 for ac_func in _isinff
60568 do :
60569 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60570 if test "x$ac_cv_func__isinff" = x""yes; then :
60571 cat >>confdefs.h <<_ACEOF
60572 #define HAVE__ISINFF 1
60573 _ACEOF
60576 done
60585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60586 $as_echo_n "checking for atan2f declaration... " >&6; }
60587 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60588 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60589 $as_echo_n "(cached) " >&6
60590 else
60593 ac_ext=cpp
60594 ac_cpp='$CXXCPP $CPPFLAGS'
60595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60600 /* end confdefs.h. */
60601 #include <math.h>
60603 main ()
60605 atan2f(0, 0);
60607 return 0;
60609 _ACEOF
60610 if ac_fn_cxx_try_compile "$LINENO"; then :
60611 glibcxx_cv_func_atan2f_use=yes
60612 else
60613 glibcxx_cv_func_atan2f_use=no
60615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60616 ac_ext=c
60617 ac_cpp='$CPP $CPPFLAGS'
60618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60627 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60629 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60630 for ac_func in atan2f
60631 do :
60632 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60633 if test "x$ac_cv_func_atan2f" = x""yes; then :
60634 cat >>confdefs.h <<_ACEOF
60635 #define HAVE_ATAN2F 1
60636 _ACEOF
60639 done
60641 else
60643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60644 $as_echo_n "checking for _atan2f declaration... " >&6; }
60645 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60646 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60647 $as_echo_n "(cached) " >&6
60648 else
60651 ac_ext=cpp
60652 ac_cpp='$CXXCPP $CPPFLAGS'
60653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60658 /* end confdefs.h. */
60659 #include <math.h>
60661 main ()
60663 _atan2f(0, 0);
60665 return 0;
60667 _ACEOF
60668 if ac_fn_cxx_try_compile "$LINENO"; then :
60669 glibcxx_cv_func__atan2f_use=yes
60670 else
60671 glibcxx_cv_func__atan2f_use=no
60673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60674 ac_ext=c
60675 ac_cpp='$CPP $CPPFLAGS'
60676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60685 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60687 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60688 for ac_func in _atan2f
60689 do :
60690 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60691 if test "x$ac_cv_func__atan2f" = x""yes; then :
60692 cat >>confdefs.h <<_ACEOF
60693 #define HAVE__ATAN2F 1
60694 _ACEOF
60697 done
60706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60707 $as_echo_n "checking for fabsf declaration... " >&6; }
60708 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60709 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60710 $as_echo_n "(cached) " >&6
60711 else
60714 ac_ext=cpp
60715 ac_cpp='$CXXCPP $CPPFLAGS'
60716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60721 /* end confdefs.h. */
60722 #include <math.h>
60723 #ifdef HAVE_IEEEFP_H
60724 #include <ieeefp.h>
60725 #endif
60728 main ()
60730 fabsf(0);
60732 return 0;
60734 _ACEOF
60735 if ac_fn_cxx_try_compile "$LINENO"; then :
60736 glibcxx_cv_func_fabsf_use=yes
60737 else
60738 glibcxx_cv_func_fabsf_use=no
60740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60741 ac_ext=c
60742 ac_cpp='$CPP $CPPFLAGS'
60743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60752 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60754 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60755 for ac_func in fabsf
60756 do :
60757 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60758 if test "x$ac_cv_func_fabsf" = x""yes; then :
60759 cat >>confdefs.h <<_ACEOF
60760 #define HAVE_FABSF 1
60761 _ACEOF
60764 done
60766 else
60768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60769 $as_echo_n "checking for _fabsf declaration... " >&6; }
60770 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60771 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60772 $as_echo_n "(cached) " >&6
60773 else
60776 ac_ext=cpp
60777 ac_cpp='$CXXCPP $CPPFLAGS'
60778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60783 /* end confdefs.h. */
60784 #include <math.h>
60785 #ifdef HAVE_IEEEFP_H
60786 #include <ieeefp.h>
60787 #endif
60790 main ()
60792 _fabsf(0);
60794 return 0;
60796 _ACEOF
60797 if ac_fn_cxx_try_compile "$LINENO"; then :
60798 glibcxx_cv_func__fabsf_use=yes
60799 else
60800 glibcxx_cv_func__fabsf_use=no
60802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60803 ac_ext=c
60804 ac_cpp='$CPP $CPPFLAGS'
60805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60814 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60816 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60817 for ac_func in _fabsf
60818 do :
60819 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60820 if test "x$ac_cv_func__fabsf" = x""yes; then :
60821 cat >>confdefs.h <<_ACEOF
60822 #define HAVE__FABSF 1
60823 _ACEOF
60826 done
60835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60836 $as_echo_n "checking for fmodf declaration... " >&6; }
60837 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60838 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60839 $as_echo_n "(cached) " >&6
60840 else
60843 ac_ext=cpp
60844 ac_cpp='$CXXCPP $CPPFLAGS'
60845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60850 /* end confdefs.h. */
60851 #include <math.h>
60853 main ()
60855 fmodf(0, 0);
60857 return 0;
60859 _ACEOF
60860 if ac_fn_cxx_try_compile "$LINENO"; then :
60861 glibcxx_cv_func_fmodf_use=yes
60862 else
60863 glibcxx_cv_func_fmodf_use=no
60865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60866 ac_ext=c
60867 ac_cpp='$CPP $CPPFLAGS'
60868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60877 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60879 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60880 for ac_func in fmodf
60881 do :
60882 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60883 if test "x$ac_cv_func_fmodf" = x""yes; then :
60884 cat >>confdefs.h <<_ACEOF
60885 #define HAVE_FMODF 1
60886 _ACEOF
60889 done
60891 else
60893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60894 $as_echo_n "checking for _fmodf declaration... " >&6; }
60895 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60896 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60897 $as_echo_n "(cached) " >&6
60898 else
60901 ac_ext=cpp
60902 ac_cpp='$CXXCPP $CPPFLAGS'
60903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60908 /* end confdefs.h. */
60909 #include <math.h>
60911 main ()
60913 _fmodf(0, 0);
60915 return 0;
60917 _ACEOF
60918 if ac_fn_cxx_try_compile "$LINENO"; then :
60919 glibcxx_cv_func__fmodf_use=yes
60920 else
60921 glibcxx_cv_func__fmodf_use=no
60923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60924 ac_ext=c
60925 ac_cpp='$CPP $CPPFLAGS'
60926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60935 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60937 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60938 for ac_func in _fmodf
60939 do :
60940 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60941 if test "x$ac_cv_func__fmodf" = x""yes; then :
60942 cat >>confdefs.h <<_ACEOF
60943 #define HAVE__FMODF 1
60944 _ACEOF
60947 done
60956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60957 $as_echo_n "checking for frexpf declaration... " >&6; }
60958 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60959 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60960 $as_echo_n "(cached) " >&6
60961 else
60964 ac_ext=cpp
60965 ac_cpp='$CXXCPP $CPPFLAGS'
60966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60971 /* end confdefs.h. */
60972 #include <math.h>
60974 main ()
60976 frexpf(0, 0);
60978 return 0;
60980 _ACEOF
60981 if ac_fn_cxx_try_compile "$LINENO"; then :
60982 glibcxx_cv_func_frexpf_use=yes
60983 else
60984 glibcxx_cv_func_frexpf_use=no
60986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60987 ac_ext=c
60988 ac_cpp='$CPP $CPPFLAGS'
60989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60998 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
61000 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
61001 for ac_func in frexpf
61002 do :
61003 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
61004 if test "x$ac_cv_func_frexpf" = x""yes; then :
61005 cat >>confdefs.h <<_ACEOF
61006 #define HAVE_FREXPF 1
61007 _ACEOF
61010 done
61012 else
61014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
61015 $as_echo_n "checking for _frexpf declaration... " >&6; }
61016 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
61017 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
61018 $as_echo_n "(cached) " >&6
61019 else
61022 ac_ext=cpp
61023 ac_cpp='$CXXCPP $CPPFLAGS'
61024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61029 /* end confdefs.h. */
61030 #include <math.h>
61032 main ()
61034 _frexpf(0, 0);
61036 return 0;
61038 _ACEOF
61039 if ac_fn_cxx_try_compile "$LINENO"; then :
61040 glibcxx_cv_func__frexpf_use=yes
61041 else
61042 glibcxx_cv_func__frexpf_use=no
61044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61045 ac_ext=c
61046 ac_cpp='$CPP $CPPFLAGS'
61047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61056 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61058 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61059 for ac_func in _frexpf
61060 do :
61061 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61062 if test "x$ac_cv_func__frexpf" = x""yes; then :
61063 cat >>confdefs.h <<_ACEOF
61064 #define HAVE__FREXPF 1
61065 _ACEOF
61068 done
61077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61078 $as_echo_n "checking for hypotf declaration... " >&6; }
61079 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61080 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61081 $as_echo_n "(cached) " >&6
61082 else
61085 ac_ext=cpp
61086 ac_cpp='$CXXCPP $CPPFLAGS'
61087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61092 /* end confdefs.h. */
61093 #include <math.h>
61095 main ()
61097 hypotf(0, 0);
61099 return 0;
61101 _ACEOF
61102 if ac_fn_cxx_try_compile "$LINENO"; then :
61103 glibcxx_cv_func_hypotf_use=yes
61104 else
61105 glibcxx_cv_func_hypotf_use=no
61107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61108 ac_ext=c
61109 ac_cpp='$CPP $CPPFLAGS'
61110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61119 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61121 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61122 for ac_func in hypotf
61123 do :
61124 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61125 if test "x$ac_cv_func_hypotf" = x""yes; then :
61126 cat >>confdefs.h <<_ACEOF
61127 #define HAVE_HYPOTF 1
61128 _ACEOF
61131 done
61133 else
61135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61136 $as_echo_n "checking for _hypotf declaration... " >&6; }
61137 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61138 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61139 $as_echo_n "(cached) " >&6
61140 else
61143 ac_ext=cpp
61144 ac_cpp='$CXXCPP $CPPFLAGS'
61145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61150 /* end confdefs.h. */
61151 #include <math.h>
61153 main ()
61155 _hypotf(0, 0);
61157 return 0;
61159 _ACEOF
61160 if ac_fn_cxx_try_compile "$LINENO"; then :
61161 glibcxx_cv_func__hypotf_use=yes
61162 else
61163 glibcxx_cv_func__hypotf_use=no
61165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61166 ac_ext=c
61167 ac_cpp='$CPP $CPPFLAGS'
61168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61177 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61179 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61180 for ac_func in _hypotf
61181 do :
61182 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61183 if test "x$ac_cv_func__hypotf" = x""yes; then :
61184 cat >>confdefs.h <<_ACEOF
61185 #define HAVE__HYPOTF 1
61186 _ACEOF
61189 done
61198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61199 $as_echo_n "checking for ldexpf declaration... " >&6; }
61200 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61201 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61202 $as_echo_n "(cached) " >&6
61203 else
61206 ac_ext=cpp
61207 ac_cpp='$CXXCPP $CPPFLAGS'
61208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61213 /* end confdefs.h. */
61214 #include <math.h>
61216 main ()
61218 ldexpf(0, 0);
61220 return 0;
61222 _ACEOF
61223 if ac_fn_cxx_try_compile "$LINENO"; then :
61224 glibcxx_cv_func_ldexpf_use=yes
61225 else
61226 glibcxx_cv_func_ldexpf_use=no
61228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61229 ac_ext=c
61230 ac_cpp='$CPP $CPPFLAGS'
61231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61240 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61242 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61243 for ac_func in ldexpf
61244 do :
61245 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61246 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61247 cat >>confdefs.h <<_ACEOF
61248 #define HAVE_LDEXPF 1
61249 _ACEOF
61252 done
61254 else
61256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61257 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61258 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61259 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61260 $as_echo_n "(cached) " >&6
61261 else
61264 ac_ext=cpp
61265 ac_cpp='$CXXCPP $CPPFLAGS'
61266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61271 /* end confdefs.h. */
61272 #include <math.h>
61274 main ()
61276 _ldexpf(0, 0);
61278 return 0;
61280 _ACEOF
61281 if ac_fn_cxx_try_compile "$LINENO"; then :
61282 glibcxx_cv_func__ldexpf_use=yes
61283 else
61284 glibcxx_cv_func__ldexpf_use=no
61286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61287 ac_ext=c
61288 ac_cpp='$CPP $CPPFLAGS'
61289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61298 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61300 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61301 for ac_func in _ldexpf
61302 do :
61303 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61304 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61305 cat >>confdefs.h <<_ACEOF
61306 #define HAVE__LDEXPF 1
61307 _ACEOF
61310 done
61319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61320 $as_echo_n "checking for logf declaration... " >&6; }
61321 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61322 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61323 $as_echo_n "(cached) " >&6
61324 else
61327 ac_ext=cpp
61328 ac_cpp='$CXXCPP $CPPFLAGS'
61329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61334 /* end confdefs.h. */
61335 #include <math.h>
61336 #ifdef HAVE_IEEEFP_H
61337 #include <ieeefp.h>
61338 #endif
61341 main ()
61343 logf(0);
61345 return 0;
61347 _ACEOF
61348 if ac_fn_cxx_try_compile "$LINENO"; then :
61349 glibcxx_cv_func_logf_use=yes
61350 else
61351 glibcxx_cv_func_logf_use=no
61353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61354 ac_ext=c
61355 ac_cpp='$CPP $CPPFLAGS'
61356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61365 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61367 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61368 for ac_func in logf
61369 do :
61370 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61371 if test "x$ac_cv_func_logf" = x""yes; then :
61372 cat >>confdefs.h <<_ACEOF
61373 #define HAVE_LOGF 1
61374 _ACEOF
61377 done
61379 else
61381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61382 $as_echo_n "checking for _logf declaration... " >&6; }
61383 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61384 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61385 $as_echo_n "(cached) " >&6
61386 else
61389 ac_ext=cpp
61390 ac_cpp='$CXXCPP $CPPFLAGS'
61391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61396 /* end confdefs.h. */
61397 #include <math.h>
61398 #ifdef HAVE_IEEEFP_H
61399 #include <ieeefp.h>
61400 #endif
61403 main ()
61405 _logf(0);
61407 return 0;
61409 _ACEOF
61410 if ac_fn_cxx_try_compile "$LINENO"; then :
61411 glibcxx_cv_func__logf_use=yes
61412 else
61413 glibcxx_cv_func__logf_use=no
61415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61416 ac_ext=c
61417 ac_cpp='$CPP $CPPFLAGS'
61418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61427 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61429 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61430 for ac_func in _logf
61431 do :
61432 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61433 if test "x$ac_cv_func__logf" = x""yes; then :
61434 cat >>confdefs.h <<_ACEOF
61435 #define HAVE__LOGF 1
61436 _ACEOF
61439 done
61448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61449 $as_echo_n "checking for log10f declaration... " >&6; }
61450 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61451 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61452 $as_echo_n "(cached) " >&6
61453 else
61456 ac_ext=cpp
61457 ac_cpp='$CXXCPP $CPPFLAGS'
61458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61463 /* end confdefs.h. */
61464 #include <math.h>
61465 #ifdef HAVE_IEEEFP_H
61466 #include <ieeefp.h>
61467 #endif
61470 main ()
61472 log10f(0);
61474 return 0;
61476 _ACEOF
61477 if ac_fn_cxx_try_compile "$LINENO"; then :
61478 glibcxx_cv_func_log10f_use=yes
61479 else
61480 glibcxx_cv_func_log10f_use=no
61482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61483 ac_ext=c
61484 ac_cpp='$CPP $CPPFLAGS'
61485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61494 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61496 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61497 for ac_func in log10f
61498 do :
61499 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61500 if test "x$ac_cv_func_log10f" = x""yes; then :
61501 cat >>confdefs.h <<_ACEOF
61502 #define HAVE_LOG10F 1
61503 _ACEOF
61506 done
61508 else
61510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61511 $as_echo_n "checking for _log10f declaration... " >&6; }
61512 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61513 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61514 $as_echo_n "(cached) " >&6
61515 else
61518 ac_ext=cpp
61519 ac_cpp='$CXXCPP $CPPFLAGS'
61520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61525 /* end confdefs.h. */
61526 #include <math.h>
61527 #ifdef HAVE_IEEEFP_H
61528 #include <ieeefp.h>
61529 #endif
61532 main ()
61534 _log10f(0);
61536 return 0;
61538 _ACEOF
61539 if ac_fn_cxx_try_compile "$LINENO"; then :
61540 glibcxx_cv_func__log10f_use=yes
61541 else
61542 glibcxx_cv_func__log10f_use=no
61544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61545 ac_ext=c
61546 ac_cpp='$CPP $CPPFLAGS'
61547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61556 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61558 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61559 for ac_func in _log10f
61560 do :
61561 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61562 if test "x$ac_cv_func__log10f" = x""yes; then :
61563 cat >>confdefs.h <<_ACEOF
61564 #define HAVE__LOG10F 1
61565 _ACEOF
61568 done
61577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61578 $as_echo_n "checking for modff declaration... " >&6; }
61579 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61580 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61581 $as_echo_n "(cached) " >&6
61582 else
61585 ac_ext=cpp
61586 ac_cpp='$CXXCPP $CPPFLAGS'
61587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61592 /* end confdefs.h. */
61593 #include <math.h>
61595 main ()
61597 modff(0, 0);
61599 return 0;
61601 _ACEOF
61602 if ac_fn_cxx_try_compile "$LINENO"; then :
61603 glibcxx_cv_func_modff_use=yes
61604 else
61605 glibcxx_cv_func_modff_use=no
61607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61608 ac_ext=c
61609 ac_cpp='$CPP $CPPFLAGS'
61610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61619 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61621 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61622 for ac_func in modff
61623 do :
61624 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61625 if test "x$ac_cv_func_modff" = x""yes; then :
61626 cat >>confdefs.h <<_ACEOF
61627 #define HAVE_MODFF 1
61628 _ACEOF
61631 done
61633 else
61635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61636 $as_echo_n "checking for _modff declaration... " >&6; }
61637 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61638 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61639 $as_echo_n "(cached) " >&6
61640 else
61643 ac_ext=cpp
61644 ac_cpp='$CXXCPP $CPPFLAGS'
61645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61650 /* end confdefs.h. */
61651 #include <math.h>
61653 main ()
61655 _modff(0, 0);
61657 return 0;
61659 _ACEOF
61660 if ac_fn_cxx_try_compile "$LINENO"; then :
61661 glibcxx_cv_func__modff_use=yes
61662 else
61663 glibcxx_cv_func__modff_use=no
61665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61666 ac_ext=c
61667 ac_cpp='$CPP $CPPFLAGS'
61668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61677 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61679 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61680 for ac_func in _modff
61681 do :
61682 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61683 if test "x$ac_cv_func__modff" = x""yes; then :
61684 cat >>confdefs.h <<_ACEOF
61685 #define HAVE__MODFF 1
61686 _ACEOF
61689 done
61698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61699 $as_echo_n "checking for modf declaration... " >&6; }
61700 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61701 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61702 $as_echo_n "(cached) " >&6
61703 else
61706 ac_ext=cpp
61707 ac_cpp='$CXXCPP $CPPFLAGS'
61708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61713 /* end confdefs.h. */
61714 #include <math.h>
61716 main ()
61718 modf(0, 0);
61720 return 0;
61722 _ACEOF
61723 if ac_fn_cxx_try_compile "$LINENO"; then :
61724 glibcxx_cv_func_modf_use=yes
61725 else
61726 glibcxx_cv_func_modf_use=no
61728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61729 ac_ext=c
61730 ac_cpp='$CPP $CPPFLAGS'
61731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61740 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61742 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61743 for ac_func in modf
61744 do :
61745 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61746 if test "x$ac_cv_func_modf" = x""yes; then :
61747 cat >>confdefs.h <<_ACEOF
61748 #define HAVE_MODF 1
61749 _ACEOF
61752 done
61754 else
61756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61757 $as_echo_n "checking for _modf declaration... " >&6; }
61758 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61759 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61760 $as_echo_n "(cached) " >&6
61761 else
61764 ac_ext=cpp
61765 ac_cpp='$CXXCPP $CPPFLAGS'
61766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61771 /* end confdefs.h. */
61772 #include <math.h>
61774 main ()
61776 _modf(0, 0);
61778 return 0;
61780 _ACEOF
61781 if ac_fn_cxx_try_compile "$LINENO"; then :
61782 glibcxx_cv_func__modf_use=yes
61783 else
61784 glibcxx_cv_func__modf_use=no
61786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61787 ac_ext=c
61788 ac_cpp='$CPP $CPPFLAGS'
61789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61798 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61800 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61801 for ac_func in _modf
61802 do :
61803 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61804 if test "x$ac_cv_func__modf" = x""yes; then :
61805 cat >>confdefs.h <<_ACEOF
61806 #define HAVE__MODF 1
61807 _ACEOF
61810 done
61819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61820 $as_echo_n "checking for powf declaration... " >&6; }
61821 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61822 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61823 $as_echo_n "(cached) " >&6
61824 else
61827 ac_ext=cpp
61828 ac_cpp='$CXXCPP $CPPFLAGS'
61829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61834 /* end confdefs.h. */
61835 #include <math.h>
61837 main ()
61839 powf(0, 0);
61841 return 0;
61843 _ACEOF
61844 if ac_fn_cxx_try_compile "$LINENO"; then :
61845 glibcxx_cv_func_powf_use=yes
61846 else
61847 glibcxx_cv_func_powf_use=no
61849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61850 ac_ext=c
61851 ac_cpp='$CPP $CPPFLAGS'
61852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61861 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61863 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61864 for ac_func in powf
61865 do :
61866 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61867 if test "x$ac_cv_func_powf" = x""yes; then :
61868 cat >>confdefs.h <<_ACEOF
61869 #define HAVE_POWF 1
61870 _ACEOF
61873 done
61875 else
61877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61878 $as_echo_n "checking for _powf declaration... " >&6; }
61879 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61880 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61881 $as_echo_n "(cached) " >&6
61882 else
61885 ac_ext=cpp
61886 ac_cpp='$CXXCPP $CPPFLAGS'
61887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61892 /* end confdefs.h. */
61893 #include <math.h>
61895 main ()
61897 _powf(0, 0);
61899 return 0;
61901 _ACEOF
61902 if ac_fn_cxx_try_compile "$LINENO"; then :
61903 glibcxx_cv_func__powf_use=yes
61904 else
61905 glibcxx_cv_func__powf_use=no
61907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61908 ac_ext=c
61909 ac_cpp='$CPP $CPPFLAGS'
61910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61919 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61921 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61922 for ac_func in _powf
61923 do :
61924 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61925 if test "x$ac_cv_func__powf" = x""yes; then :
61926 cat >>confdefs.h <<_ACEOF
61927 #define HAVE__POWF 1
61928 _ACEOF
61931 done
61940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61941 $as_echo_n "checking for sqrtf declaration... " >&6; }
61942 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61943 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61944 $as_echo_n "(cached) " >&6
61945 else
61948 ac_ext=cpp
61949 ac_cpp='$CXXCPP $CPPFLAGS'
61950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61955 /* end confdefs.h. */
61956 #include <math.h>
61957 #ifdef HAVE_IEEEFP_H
61958 #include <ieeefp.h>
61959 #endif
61962 main ()
61964 sqrtf(0);
61966 return 0;
61968 _ACEOF
61969 if ac_fn_cxx_try_compile "$LINENO"; then :
61970 glibcxx_cv_func_sqrtf_use=yes
61971 else
61972 glibcxx_cv_func_sqrtf_use=no
61974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61975 ac_ext=c
61976 ac_cpp='$CPP $CPPFLAGS'
61977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61986 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61988 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61989 for ac_func in sqrtf
61990 do :
61991 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61992 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61993 cat >>confdefs.h <<_ACEOF
61994 #define HAVE_SQRTF 1
61995 _ACEOF
61998 done
62000 else
62002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
62003 $as_echo_n "checking for _sqrtf declaration... " >&6; }
62004 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62005 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
62006 $as_echo_n "(cached) " >&6
62007 else
62010 ac_ext=cpp
62011 ac_cpp='$CXXCPP $CPPFLAGS'
62012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62017 /* end confdefs.h. */
62018 #include <math.h>
62019 #ifdef HAVE_IEEEFP_H
62020 #include <ieeefp.h>
62021 #endif
62024 main ()
62026 _sqrtf(0);
62028 return 0;
62030 _ACEOF
62031 if ac_fn_cxx_try_compile "$LINENO"; then :
62032 glibcxx_cv_func__sqrtf_use=yes
62033 else
62034 glibcxx_cv_func__sqrtf_use=no
62036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62037 ac_ext=c
62038 ac_cpp='$CPP $CPPFLAGS'
62039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62048 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62050 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62051 for ac_func in _sqrtf
62052 do :
62053 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62054 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62055 cat >>confdefs.h <<_ACEOF
62056 #define HAVE__SQRTF 1
62057 _ACEOF
62060 done
62069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62070 $as_echo_n "checking for sincosf declaration... " >&6; }
62071 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62072 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62073 $as_echo_n "(cached) " >&6
62074 else
62077 ac_ext=cpp
62078 ac_cpp='$CXXCPP $CPPFLAGS'
62079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62084 /* end confdefs.h. */
62085 #include <math.h>
62087 main ()
62089 sincosf(0, 0, 0);
62091 return 0;
62093 _ACEOF
62094 if ac_fn_cxx_try_compile "$LINENO"; then :
62095 glibcxx_cv_func_sincosf_use=yes
62096 else
62097 glibcxx_cv_func_sincosf_use=no
62099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62100 ac_ext=c
62101 ac_cpp='$CPP $CPPFLAGS'
62102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62111 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62113 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62114 for ac_func in sincosf
62115 do :
62116 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62117 if test "x$ac_cv_func_sincosf" = x""yes; then :
62118 cat >>confdefs.h <<_ACEOF
62119 #define HAVE_SINCOSF 1
62120 _ACEOF
62123 done
62125 else
62127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62128 $as_echo_n "checking for _sincosf declaration... " >&6; }
62129 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62130 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62131 $as_echo_n "(cached) " >&6
62132 else
62135 ac_ext=cpp
62136 ac_cpp='$CXXCPP $CPPFLAGS'
62137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62142 /* end confdefs.h. */
62143 #include <math.h>
62145 main ()
62147 _sincosf(0, 0, 0);
62149 return 0;
62151 _ACEOF
62152 if ac_fn_cxx_try_compile "$LINENO"; then :
62153 glibcxx_cv_func__sincosf_use=yes
62154 else
62155 glibcxx_cv_func__sincosf_use=no
62157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62158 ac_ext=c
62159 ac_cpp='$CPP $CPPFLAGS'
62160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62169 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62171 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62172 for ac_func in _sincosf
62173 do :
62174 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62175 if test "x$ac_cv_func__sincosf" = x""yes; then :
62176 cat >>confdefs.h <<_ACEOF
62177 #define HAVE__SINCOSF 1
62178 _ACEOF
62181 done
62190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62191 $as_echo_n "checking for finitef declaration... " >&6; }
62192 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62193 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62194 $as_echo_n "(cached) " >&6
62195 else
62198 ac_ext=cpp
62199 ac_cpp='$CXXCPP $CPPFLAGS'
62200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62205 /* end confdefs.h. */
62206 #include <math.h>
62207 #ifdef HAVE_IEEEFP_H
62208 #include <ieeefp.h>
62209 #endif
62212 main ()
62214 finitef(0);
62216 return 0;
62218 _ACEOF
62219 if ac_fn_cxx_try_compile "$LINENO"; then :
62220 glibcxx_cv_func_finitef_use=yes
62221 else
62222 glibcxx_cv_func_finitef_use=no
62224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62225 ac_ext=c
62226 ac_cpp='$CPP $CPPFLAGS'
62227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62236 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62238 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62239 for ac_func in finitef
62240 do :
62241 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62242 if test "x$ac_cv_func_finitef" = x""yes; then :
62243 cat >>confdefs.h <<_ACEOF
62244 #define HAVE_FINITEF 1
62245 _ACEOF
62248 done
62250 else
62252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62253 $as_echo_n "checking for _finitef declaration... " >&6; }
62254 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62255 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62256 $as_echo_n "(cached) " >&6
62257 else
62260 ac_ext=cpp
62261 ac_cpp='$CXXCPP $CPPFLAGS'
62262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62267 /* end confdefs.h. */
62268 #include <math.h>
62269 #ifdef HAVE_IEEEFP_H
62270 #include <ieeefp.h>
62271 #endif
62274 main ()
62276 _finitef(0);
62278 return 0;
62280 _ACEOF
62281 if ac_fn_cxx_try_compile "$LINENO"; then :
62282 glibcxx_cv_func__finitef_use=yes
62283 else
62284 glibcxx_cv_func__finitef_use=no
62286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62287 ac_ext=c
62288 ac_cpp='$CPP $CPPFLAGS'
62289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62298 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62300 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62301 for ac_func in _finitef
62302 do :
62303 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62304 if test "x$ac_cv_func__finitef" = x""yes; then :
62305 cat >>confdefs.h <<_ACEOF
62306 #define HAVE__FINITEF 1
62307 _ACEOF
62310 done
62319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62320 $as_echo_n "checking for long double trig functions... " >&6; }
62321 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62322 $as_echo_n "(cached) " >&6
62323 else
62326 ac_ext=cpp
62327 ac_cpp='$CXXCPP $CPPFLAGS'
62328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62333 /* end confdefs.h. */
62334 #include <math.h>
62336 main ()
62338 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62340 return 0;
62342 _ACEOF
62343 if ac_fn_cxx_try_compile "$LINENO"; then :
62344 glibcxx_cv_func_long_double_trig_use=yes
62345 else
62346 glibcxx_cv_func_long_double_trig_use=no
62348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62349 ac_ext=c
62350 ac_cpp='$CPP $CPPFLAGS'
62351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62358 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62359 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62360 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62361 do :
62362 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62363 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62364 eval as_val=\$$as_ac_var
62365 if test "x$as_val" = x""yes; then :
62366 cat >>confdefs.h <<_ACEOF
62367 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62368 _ACEOF
62371 done
62373 else
62374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62375 $as_echo_n "checking for _long double trig functions... " >&6; }
62376 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62377 $as_echo_n "(cached) " >&6
62378 else
62381 ac_ext=cpp
62382 ac_cpp='$CXXCPP $CPPFLAGS'
62383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62388 /* end confdefs.h. */
62389 #include <math.h>
62391 main ()
62393 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62395 return 0;
62397 _ACEOF
62398 if ac_fn_cxx_try_compile "$LINENO"; then :
62399 glibcxx_cv_func__long_double_trig_use=yes
62400 else
62401 glibcxx_cv_func__long_double_trig_use=no
62403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62404 ac_ext=c
62405 ac_cpp='$CPP $CPPFLAGS'
62406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62413 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62414 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62415 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62416 do :
62417 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62418 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62419 eval as_val=\$$as_ac_var
62420 if test "x$as_val" = x""yes; then :
62421 cat >>confdefs.h <<_ACEOF
62422 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62423 _ACEOF
62426 done
62435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62436 $as_echo_n "checking for long double round functions... " >&6; }
62437 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62438 $as_echo_n "(cached) " >&6
62439 else
62442 ac_ext=cpp
62443 ac_cpp='$CXXCPP $CPPFLAGS'
62444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62449 /* end confdefs.h. */
62450 #include <math.h>
62452 main ()
62454 ceill (0); floorl (0);
62456 return 0;
62458 _ACEOF
62459 if ac_fn_cxx_try_compile "$LINENO"; then :
62460 glibcxx_cv_func_long_double_round_use=yes
62461 else
62462 glibcxx_cv_func_long_double_round_use=no
62464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62465 ac_ext=c
62466 ac_cpp='$CPP $CPPFLAGS'
62467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62474 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62475 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62476 for ac_func in ceill floorl
62477 do :
62478 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62479 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62480 eval as_val=\$$as_ac_var
62481 if test "x$as_val" = x""yes; then :
62482 cat >>confdefs.h <<_ACEOF
62483 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62484 _ACEOF
62487 done
62489 else
62490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62491 $as_echo_n "checking for _long double round functions... " >&6; }
62492 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62493 $as_echo_n "(cached) " >&6
62494 else
62497 ac_ext=cpp
62498 ac_cpp='$CXXCPP $CPPFLAGS'
62499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62504 /* end confdefs.h. */
62505 #include <math.h>
62507 main ()
62509 _ceill (0); _floorl (0);
62511 return 0;
62513 _ACEOF
62514 if ac_fn_cxx_try_compile "$LINENO"; then :
62515 glibcxx_cv_func__long_double_round_use=yes
62516 else
62517 glibcxx_cv_func__long_double_round_use=no
62519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62520 ac_ext=c
62521 ac_cpp='$CPP $CPPFLAGS'
62522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62529 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62530 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62531 for ac_func in _ceill _floorl
62532 do :
62533 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62534 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62535 eval as_val=\$$as_ac_var
62536 if test "x$as_val" = x""yes; then :
62537 cat >>confdefs.h <<_ACEOF
62538 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62539 _ACEOF
62542 done
62552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62553 $as_echo_n "checking for isnanl declaration... " >&6; }
62554 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62555 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62556 $as_echo_n "(cached) " >&6
62557 else
62560 ac_ext=cpp
62561 ac_cpp='$CXXCPP $CPPFLAGS'
62562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62567 /* end confdefs.h. */
62568 #include <math.h>
62569 #ifdef HAVE_IEEEFP_H
62570 #include <ieeefp.h>
62571 #endif
62574 main ()
62576 isnanl(0);
62578 return 0;
62580 _ACEOF
62581 if ac_fn_cxx_try_compile "$LINENO"; then :
62582 glibcxx_cv_func_isnanl_use=yes
62583 else
62584 glibcxx_cv_func_isnanl_use=no
62586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62587 ac_ext=c
62588 ac_cpp='$CPP $CPPFLAGS'
62589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62598 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62600 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62601 for ac_func in isnanl
62602 do :
62603 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62604 if test "x$ac_cv_func_isnanl" = x""yes; then :
62605 cat >>confdefs.h <<_ACEOF
62606 #define HAVE_ISNANL 1
62607 _ACEOF
62610 done
62612 else
62614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62615 $as_echo_n "checking for _isnanl declaration... " >&6; }
62616 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62617 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62618 $as_echo_n "(cached) " >&6
62619 else
62622 ac_ext=cpp
62623 ac_cpp='$CXXCPP $CPPFLAGS'
62624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62629 /* end confdefs.h. */
62630 #include <math.h>
62631 #ifdef HAVE_IEEEFP_H
62632 #include <ieeefp.h>
62633 #endif
62636 main ()
62638 _isnanl(0);
62640 return 0;
62642 _ACEOF
62643 if ac_fn_cxx_try_compile "$LINENO"; then :
62644 glibcxx_cv_func__isnanl_use=yes
62645 else
62646 glibcxx_cv_func__isnanl_use=no
62648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62649 ac_ext=c
62650 ac_cpp='$CPP $CPPFLAGS'
62651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62660 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62662 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62663 for ac_func in _isnanl
62664 do :
62665 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62666 if test "x$ac_cv_func__isnanl" = x""yes; then :
62667 cat >>confdefs.h <<_ACEOF
62668 #define HAVE__ISNANL 1
62669 _ACEOF
62672 done
62681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62682 $as_echo_n "checking for isinfl declaration... " >&6; }
62683 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62684 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62685 $as_echo_n "(cached) " >&6
62686 else
62689 ac_ext=cpp
62690 ac_cpp='$CXXCPP $CPPFLAGS'
62691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62696 /* end confdefs.h. */
62697 #include <math.h>
62698 #ifdef HAVE_IEEEFP_H
62699 #include <ieeefp.h>
62700 #endif
62703 main ()
62705 isinfl(0);
62707 return 0;
62709 _ACEOF
62710 if ac_fn_cxx_try_compile "$LINENO"; then :
62711 glibcxx_cv_func_isinfl_use=yes
62712 else
62713 glibcxx_cv_func_isinfl_use=no
62715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62716 ac_ext=c
62717 ac_cpp='$CPP $CPPFLAGS'
62718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62727 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62729 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62730 for ac_func in isinfl
62731 do :
62732 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62733 if test "x$ac_cv_func_isinfl" = x""yes; then :
62734 cat >>confdefs.h <<_ACEOF
62735 #define HAVE_ISINFL 1
62736 _ACEOF
62739 done
62741 else
62743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62744 $as_echo_n "checking for _isinfl declaration... " >&6; }
62745 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62746 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62747 $as_echo_n "(cached) " >&6
62748 else
62751 ac_ext=cpp
62752 ac_cpp='$CXXCPP $CPPFLAGS'
62753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62758 /* end confdefs.h. */
62759 #include <math.h>
62760 #ifdef HAVE_IEEEFP_H
62761 #include <ieeefp.h>
62762 #endif
62765 main ()
62767 _isinfl(0);
62769 return 0;
62771 _ACEOF
62772 if ac_fn_cxx_try_compile "$LINENO"; then :
62773 glibcxx_cv_func__isinfl_use=yes
62774 else
62775 glibcxx_cv_func__isinfl_use=no
62777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62778 ac_ext=c
62779 ac_cpp='$CPP $CPPFLAGS'
62780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62789 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62791 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62792 for ac_func in _isinfl
62793 do :
62794 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62795 if test "x$ac_cv_func__isinfl" = x""yes; then :
62796 cat >>confdefs.h <<_ACEOF
62797 #define HAVE__ISINFL 1
62798 _ACEOF
62801 done
62810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62811 $as_echo_n "checking for atan2l declaration... " >&6; }
62812 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62813 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62814 $as_echo_n "(cached) " >&6
62815 else
62818 ac_ext=cpp
62819 ac_cpp='$CXXCPP $CPPFLAGS'
62820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62825 /* end confdefs.h. */
62826 #include <math.h>
62828 main ()
62830 atan2l(0, 0);
62832 return 0;
62834 _ACEOF
62835 if ac_fn_cxx_try_compile "$LINENO"; then :
62836 glibcxx_cv_func_atan2l_use=yes
62837 else
62838 glibcxx_cv_func_atan2l_use=no
62840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62841 ac_ext=c
62842 ac_cpp='$CPP $CPPFLAGS'
62843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62852 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62854 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62855 for ac_func in atan2l
62856 do :
62857 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62858 if test "x$ac_cv_func_atan2l" = x""yes; then :
62859 cat >>confdefs.h <<_ACEOF
62860 #define HAVE_ATAN2L 1
62861 _ACEOF
62864 done
62866 else
62868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62869 $as_echo_n "checking for _atan2l declaration... " >&6; }
62870 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62871 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62872 $as_echo_n "(cached) " >&6
62873 else
62876 ac_ext=cpp
62877 ac_cpp='$CXXCPP $CPPFLAGS'
62878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62883 /* end confdefs.h. */
62884 #include <math.h>
62886 main ()
62888 _atan2l(0, 0);
62890 return 0;
62892 _ACEOF
62893 if ac_fn_cxx_try_compile "$LINENO"; then :
62894 glibcxx_cv_func__atan2l_use=yes
62895 else
62896 glibcxx_cv_func__atan2l_use=no
62898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62899 ac_ext=c
62900 ac_cpp='$CPP $CPPFLAGS'
62901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62910 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62912 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62913 for ac_func in _atan2l
62914 do :
62915 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62916 if test "x$ac_cv_func__atan2l" = x""yes; then :
62917 cat >>confdefs.h <<_ACEOF
62918 #define HAVE__ATAN2L 1
62919 _ACEOF
62922 done
62931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62932 $as_echo_n "checking for expl declaration... " >&6; }
62933 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62934 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62935 $as_echo_n "(cached) " >&6
62936 else
62939 ac_ext=cpp
62940 ac_cpp='$CXXCPP $CPPFLAGS'
62941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62946 /* end confdefs.h. */
62947 #include <math.h>
62948 #ifdef HAVE_IEEEFP_H
62949 #include <ieeefp.h>
62950 #endif
62953 main ()
62955 expl(0);
62957 return 0;
62959 _ACEOF
62960 if ac_fn_cxx_try_compile "$LINENO"; then :
62961 glibcxx_cv_func_expl_use=yes
62962 else
62963 glibcxx_cv_func_expl_use=no
62965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62966 ac_ext=c
62967 ac_cpp='$CPP $CPPFLAGS'
62968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62977 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62979 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62980 for ac_func in expl
62981 do :
62982 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62983 if test "x$ac_cv_func_expl" = x""yes; then :
62984 cat >>confdefs.h <<_ACEOF
62985 #define HAVE_EXPL 1
62986 _ACEOF
62989 done
62991 else
62993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62994 $as_echo_n "checking for _expl declaration... " >&6; }
62995 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62996 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62997 $as_echo_n "(cached) " >&6
62998 else
63001 ac_ext=cpp
63002 ac_cpp='$CXXCPP $CPPFLAGS'
63003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63008 /* end confdefs.h. */
63009 #include <math.h>
63010 #ifdef HAVE_IEEEFP_H
63011 #include <ieeefp.h>
63012 #endif
63015 main ()
63017 _expl(0);
63019 return 0;
63021 _ACEOF
63022 if ac_fn_cxx_try_compile "$LINENO"; then :
63023 glibcxx_cv_func__expl_use=yes
63024 else
63025 glibcxx_cv_func__expl_use=no
63027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63028 ac_ext=c
63029 ac_cpp='$CPP $CPPFLAGS'
63030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
63039 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
63041 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63042 for ac_func in _expl
63043 do :
63044 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63045 if test "x$ac_cv_func__expl" = x""yes; then :
63046 cat >>confdefs.h <<_ACEOF
63047 #define HAVE__EXPL 1
63048 _ACEOF
63051 done
63060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63061 $as_echo_n "checking for fabsl declaration... " >&6; }
63062 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63063 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63064 $as_echo_n "(cached) " >&6
63065 else
63068 ac_ext=cpp
63069 ac_cpp='$CXXCPP $CPPFLAGS'
63070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63075 /* end confdefs.h. */
63076 #include <math.h>
63077 #ifdef HAVE_IEEEFP_H
63078 #include <ieeefp.h>
63079 #endif
63082 main ()
63084 fabsl(0);
63086 return 0;
63088 _ACEOF
63089 if ac_fn_cxx_try_compile "$LINENO"; then :
63090 glibcxx_cv_func_fabsl_use=yes
63091 else
63092 glibcxx_cv_func_fabsl_use=no
63094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63095 ac_ext=c
63096 ac_cpp='$CPP $CPPFLAGS'
63097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63106 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63108 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63109 for ac_func in fabsl
63110 do :
63111 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63112 if test "x$ac_cv_func_fabsl" = x""yes; then :
63113 cat >>confdefs.h <<_ACEOF
63114 #define HAVE_FABSL 1
63115 _ACEOF
63118 done
63120 else
63122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63123 $as_echo_n "checking for _fabsl declaration... " >&6; }
63124 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63125 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63126 $as_echo_n "(cached) " >&6
63127 else
63130 ac_ext=cpp
63131 ac_cpp='$CXXCPP $CPPFLAGS'
63132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63137 /* end confdefs.h. */
63138 #include <math.h>
63139 #ifdef HAVE_IEEEFP_H
63140 #include <ieeefp.h>
63141 #endif
63144 main ()
63146 _fabsl(0);
63148 return 0;
63150 _ACEOF
63151 if ac_fn_cxx_try_compile "$LINENO"; then :
63152 glibcxx_cv_func__fabsl_use=yes
63153 else
63154 glibcxx_cv_func__fabsl_use=no
63156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63157 ac_ext=c
63158 ac_cpp='$CPP $CPPFLAGS'
63159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63168 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63170 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63171 for ac_func in _fabsl
63172 do :
63173 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63174 if test "x$ac_cv_func__fabsl" = x""yes; then :
63175 cat >>confdefs.h <<_ACEOF
63176 #define HAVE__FABSL 1
63177 _ACEOF
63180 done
63189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63190 $as_echo_n "checking for fmodl declaration... " >&6; }
63191 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63192 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63193 $as_echo_n "(cached) " >&6
63194 else
63197 ac_ext=cpp
63198 ac_cpp='$CXXCPP $CPPFLAGS'
63199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63204 /* end confdefs.h. */
63205 #include <math.h>
63207 main ()
63209 fmodl(0, 0);
63211 return 0;
63213 _ACEOF
63214 if ac_fn_cxx_try_compile "$LINENO"; then :
63215 glibcxx_cv_func_fmodl_use=yes
63216 else
63217 glibcxx_cv_func_fmodl_use=no
63219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63220 ac_ext=c
63221 ac_cpp='$CPP $CPPFLAGS'
63222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63231 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63233 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63234 for ac_func in fmodl
63235 do :
63236 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63237 if test "x$ac_cv_func_fmodl" = x""yes; then :
63238 cat >>confdefs.h <<_ACEOF
63239 #define HAVE_FMODL 1
63240 _ACEOF
63243 done
63245 else
63247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63248 $as_echo_n "checking for _fmodl declaration... " >&6; }
63249 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63250 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63251 $as_echo_n "(cached) " >&6
63252 else
63255 ac_ext=cpp
63256 ac_cpp='$CXXCPP $CPPFLAGS'
63257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63262 /* end confdefs.h. */
63263 #include <math.h>
63265 main ()
63267 _fmodl(0, 0);
63269 return 0;
63271 _ACEOF
63272 if ac_fn_cxx_try_compile "$LINENO"; then :
63273 glibcxx_cv_func__fmodl_use=yes
63274 else
63275 glibcxx_cv_func__fmodl_use=no
63277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63278 ac_ext=c
63279 ac_cpp='$CPP $CPPFLAGS'
63280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63289 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63291 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63292 for ac_func in _fmodl
63293 do :
63294 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63295 if test "x$ac_cv_func__fmodl" = x""yes; then :
63296 cat >>confdefs.h <<_ACEOF
63297 #define HAVE__FMODL 1
63298 _ACEOF
63301 done
63310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63311 $as_echo_n "checking for frexpl declaration... " >&6; }
63312 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63313 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63314 $as_echo_n "(cached) " >&6
63315 else
63318 ac_ext=cpp
63319 ac_cpp='$CXXCPP $CPPFLAGS'
63320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63325 /* end confdefs.h. */
63326 #include <math.h>
63328 main ()
63330 frexpl(0, 0);
63332 return 0;
63334 _ACEOF
63335 if ac_fn_cxx_try_compile "$LINENO"; then :
63336 glibcxx_cv_func_frexpl_use=yes
63337 else
63338 glibcxx_cv_func_frexpl_use=no
63340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63341 ac_ext=c
63342 ac_cpp='$CPP $CPPFLAGS'
63343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63352 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63354 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63355 for ac_func in frexpl
63356 do :
63357 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63358 if test "x$ac_cv_func_frexpl" = x""yes; then :
63359 cat >>confdefs.h <<_ACEOF
63360 #define HAVE_FREXPL 1
63361 _ACEOF
63364 done
63366 else
63368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63369 $as_echo_n "checking for _frexpl declaration... " >&6; }
63370 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63371 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63372 $as_echo_n "(cached) " >&6
63373 else
63376 ac_ext=cpp
63377 ac_cpp='$CXXCPP $CPPFLAGS'
63378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63383 /* end confdefs.h. */
63384 #include <math.h>
63386 main ()
63388 _frexpl(0, 0);
63390 return 0;
63392 _ACEOF
63393 if ac_fn_cxx_try_compile "$LINENO"; then :
63394 glibcxx_cv_func__frexpl_use=yes
63395 else
63396 glibcxx_cv_func__frexpl_use=no
63398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63399 ac_ext=c
63400 ac_cpp='$CPP $CPPFLAGS'
63401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63410 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63412 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63413 for ac_func in _frexpl
63414 do :
63415 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63416 if test "x$ac_cv_func__frexpl" = x""yes; then :
63417 cat >>confdefs.h <<_ACEOF
63418 #define HAVE__FREXPL 1
63419 _ACEOF
63422 done
63431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63432 $as_echo_n "checking for hypotl declaration... " >&6; }
63433 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63434 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63435 $as_echo_n "(cached) " >&6
63436 else
63439 ac_ext=cpp
63440 ac_cpp='$CXXCPP $CPPFLAGS'
63441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63446 /* end confdefs.h. */
63447 #include <math.h>
63449 main ()
63451 hypotl(0, 0);
63453 return 0;
63455 _ACEOF
63456 if ac_fn_cxx_try_compile "$LINENO"; then :
63457 glibcxx_cv_func_hypotl_use=yes
63458 else
63459 glibcxx_cv_func_hypotl_use=no
63461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63462 ac_ext=c
63463 ac_cpp='$CPP $CPPFLAGS'
63464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63473 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63475 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63476 for ac_func in hypotl
63477 do :
63478 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63479 if test "x$ac_cv_func_hypotl" = x""yes; then :
63480 cat >>confdefs.h <<_ACEOF
63481 #define HAVE_HYPOTL 1
63482 _ACEOF
63485 done
63487 else
63489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63490 $as_echo_n "checking for _hypotl declaration... " >&6; }
63491 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63492 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63493 $as_echo_n "(cached) " >&6
63494 else
63497 ac_ext=cpp
63498 ac_cpp='$CXXCPP $CPPFLAGS'
63499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63504 /* end confdefs.h. */
63505 #include <math.h>
63507 main ()
63509 _hypotl(0, 0);
63511 return 0;
63513 _ACEOF
63514 if ac_fn_cxx_try_compile "$LINENO"; then :
63515 glibcxx_cv_func__hypotl_use=yes
63516 else
63517 glibcxx_cv_func__hypotl_use=no
63519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63520 ac_ext=c
63521 ac_cpp='$CPP $CPPFLAGS'
63522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63531 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63533 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63534 for ac_func in _hypotl
63535 do :
63536 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63537 if test "x$ac_cv_func__hypotl" = x""yes; then :
63538 cat >>confdefs.h <<_ACEOF
63539 #define HAVE__HYPOTL 1
63540 _ACEOF
63543 done
63552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63553 $as_echo_n "checking for ldexpl declaration... " >&6; }
63554 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63555 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63556 $as_echo_n "(cached) " >&6
63557 else
63560 ac_ext=cpp
63561 ac_cpp='$CXXCPP $CPPFLAGS'
63562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63567 /* end confdefs.h. */
63568 #include <math.h>
63570 main ()
63572 ldexpl(0, 0);
63574 return 0;
63576 _ACEOF
63577 if ac_fn_cxx_try_compile "$LINENO"; then :
63578 glibcxx_cv_func_ldexpl_use=yes
63579 else
63580 glibcxx_cv_func_ldexpl_use=no
63582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63583 ac_ext=c
63584 ac_cpp='$CPP $CPPFLAGS'
63585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63594 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63596 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63597 for ac_func in ldexpl
63598 do :
63599 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63600 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63601 cat >>confdefs.h <<_ACEOF
63602 #define HAVE_LDEXPL 1
63603 _ACEOF
63606 done
63608 else
63610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63611 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63612 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63613 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63614 $as_echo_n "(cached) " >&6
63615 else
63618 ac_ext=cpp
63619 ac_cpp='$CXXCPP $CPPFLAGS'
63620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63625 /* end confdefs.h. */
63626 #include <math.h>
63628 main ()
63630 _ldexpl(0, 0);
63632 return 0;
63634 _ACEOF
63635 if ac_fn_cxx_try_compile "$LINENO"; then :
63636 glibcxx_cv_func__ldexpl_use=yes
63637 else
63638 glibcxx_cv_func__ldexpl_use=no
63640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63641 ac_ext=c
63642 ac_cpp='$CPP $CPPFLAGS'
63643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63652 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63654 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63655 for ac_func in _ldexpl
63656 do :
63657 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63658 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63659 cat >>confdefs.h <<_ACEOF
63660 #define HAVE__LDEXPL 1
63661 _ACEOF
63664 done
63673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63674 $as_echo_n "checking for logl declaration... " >&6; }
63675 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63676 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63677 $as_echo_n "(cached) " >&6
63678 else
63681 ac_ext=cpp
63682 ac_cpp='$CXXCPP $CPPFLAGS'
63683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63688 /* end confdefs.h. */
63689 #include <math.h>
63690 #ifdef HAVE_IEEEFP_H
63691 #include <ieeefp.h>
63692 #endif
63695 main ()
63697 logl(0);
63699 return 0;
63701 _ACEOF
63702 if ac_fn_cxx_try_compile "$LINENO"; then :
63703 glibcxx_cv_func_logl_use=yes
63704 else
63705 glibcxx_cv_func_logl_use=no
63707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63708 ac_ext=c
63709 ac_cpp='$CPP $CPPFLAGS'
63710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63719 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63721 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63722 for ac_func in logl
63723 do :
63724 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63725 if test "x$ac_cv_func_logl" = x""yes; then :
63726 cat >>confdefs.h <<_ACEOF
63727 #define HAVE_LOGL 1
63728 _ACEOF
63731 done
63733 else
63735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63736 $as_echo_n "checking for _logl declaration... " >&6; }
63737 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63738 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63739 $as_echo_n "(cached) " >&6
63740 else
63743 ac_ext=cpp
63744 ac_cpp='$CXXCPP $CPPFLAGS'
63745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63750 /* end confdefs.h. */
63751 #include <math.h>
63752 #ifdef HAVE_IEEEFP_H
63753 #include <ieeefp.h>
63754 #endif
63757 main ()
63759 _logl(0);
63761 return 0;
63763 _ACEOF
63764 if ac_fn_cxx_try_compile "$LINENO"; then :
63765 glibcxx_cv_func__logl_use=yes
63766 else
63767 glibcxx_cv_func__logl_use=no
63769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63770 ac_ext=c
63771 ac_cpp='$CPP $CPPFLAGS'
63772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63781 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63783 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63784 for ac_func in _logl
63785 do :
63786 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63787 if test "x$ac_cv_func__logl" = x""yes; then :
63788 cat >>confdefs.h <<_ACEOF
63789 #define HAVE__LOGL 1
63790 _ACEOF
63793 done
63802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63803 $as_echo_n "checking for log10l declaration... " >&6; }
63804 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63805 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63806 $as_echo_n "(cached) " >&6
63807 else
63810 ac_ext=cpp
63811 ac_cpp='$CXXCPP $CPPFLAGS'
63812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63817 /* end confdefs.h. */
63818 #include <math.h>
63819 #ifdef HAVE_IEEEFP_H
63820 #include <ieeefp.h>
63821 #endif
63824 main ()
63826 log10l(0);
63828 return 0;
63830 _ACEOF
63831 if ac_fn_cxx_try_compile "$LINENO"; then :
63832 glibcxx_cv_func_log10l_use=yes
63833 else
63834 glibcxx_cv_func_log10l_use=no
63836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63837 ac_ext=c
63838 ac_cpp='$CPP $CPPFLAGS'
63839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63848 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63850 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63851 for ac_func in log10l
63852 do :
63853 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63854 if test "x$ac_cv_func_log10l" = x""yes; then :
63855 cat >>confdefs.h <<_ACEOF
63856 #define HAVE_LOG10L 1
63857 _ACEOF
63860 done
63862 else
63864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63865 $as_echo_n "checking for _log10l declaration... " >&6; }
63866 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63867 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63868 $as_echo_n "(cached) " >&6
63869 else
63872 ac_ext=cpp
63873 ac_cpp='$CXXCPP $CPPFLAGS'
63874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63879 /* end confdefs.h. */
63880 #include <math.h>
63881 #ifdef HAVE_IEEEFP_H
63882 #include <ieeefp.h>
63883 #endif
63886 main ()
63888 _log10l(0);
63890 return 0;
63892 _ACEOF
63893 if ac_fn_cxx_try_compile "$LINENO"; then :
63894 glibcxx_cv_func__log10l_use=yes
63895 else
63896 glibcxx_cv_func__log10l_use=no
63898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63899 ac_ext=c
63900 ac_cpp='$CPP $CPPFLAGS'
63901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63910 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63912 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63913 for ac_func in _log10l
63914 do :
63915 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63916 if test "x$ac_cv_func__log10l" = x""yes; then :
63917 cat >>confdefs.h <<_ACEOF
63918 #define HAVE__LOG10L 1
63919 _ACEOF
63922 done
63931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63932 $as_echo_n "checking for modfl declaration... " >&6; }
63933 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63934 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63935 $as_echo_n "(cached) " >&6
63936 else
63939 ac_ext=cpp
63940 ac_cpp='$CXXCPP $CPPFLAGS'
63941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63946 /* end confdefs.h. */
63947 #include <math.h>
63949 main ()
63951 modfl(0, 0);
63953 return 0;
63955 _ACEOF
63956 if ac_fn_cxx_try_compile "$LINENO"; then :
63957 glibcxx_cv_func_modfl_use=yes
63958 else
63959 glibcxx_cv_func_modfl_use=no
63961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63962 ac_ext=c
63963 ac_cpp='$CPP $CPPFLAGS'
63964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63973 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63975 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63976 for ac_func in modfl
63977 do :
63978 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63979 if test "x$ac_cv_func_modfl" = x""yes; then :
63980 cat >>confdefs.h <<_ACEOF
63981 #define HAVE_MODFL 1
63982 _ACEOF
63985 done
63987 else
63989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63990 $as_echo_n "checking for _modfl declaration... " >&6; }
63991 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63992 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63993 $as_echo_n "(cached) " >&6
63994 else
63997 ac_ext=cpp
63998 ac_cpp='$CXXCPP $CPPFLAGS'
63999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64004 /* end confdefs.h. */
64005 #include <math.h>
64007 main ()
64009 _modfl(0, 0);
64011 return 0;
64013 _ACEOF
64014 if ac_fn_cxx_try_compile "$LINENO"; then :
64015 glibcxx_cv_func__modfl_use=yes
64016 else
64017 glibcxx_cv_func__modfl_use=no
64019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64020 ac_ext=c
64021 ac_cpp='$CPP $CPPFLAGS'
64022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
64031 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
64033 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
64034 for ac_func in _modfl
64035 do :
64036 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
64037 if test "x$ac_cv_func__modfl" = x""yes; then :
64038 cat >>confdefs.h <<_ACEOF
64039 #define HAVE__MODFL 1
64040 _ACEOF
64043 done
64052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64053 $as_echo_n "checking for powl declaration... " >&6; }
64054 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64055 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64056 $as_echo_n "(cached) " >&6
64057 else
64060 ac_ext=cpp
64061 ac_cpp='$CXXCPP $CPPFLAGS'
64062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64067 /* end confdefs.h. */
64068 #include <math.h>
64070 main ()
64072 powl(0, 0);
64074 return 0;
64076 _ACEOF
64077 if ac_fn_cxx_try_compile "$LINENO"; then :
64078 glibcxx_cv_func_powl_use=yes
64079 else
64080 glibcxx_cv_func_powl_use=no
64082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64083 ac_ext=c
64084 ac_cpp='$CPP $CPPFLAGS'
64085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64094 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64096 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64097 for ac_func in powl
64098 do :
64099 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64100 if test "x$ac_cv_func_powl" = x""yes; then :
64101 cat >>confdefs.h <<_ACEOF
64102 #define HAVE_POWL 1
64103 _ACEOF
64106 done
64108 else
64110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64111 $as_echo_n "checking for _powl declaration... " >&6; }
64112 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64113 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64114 $as_echo_n "(cached) " >&6
64115 else
64118 ac_ext=cpp
64119 ac_cpp='$CXXCPP $CPPFLAGS'
64120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64125 /* end confdefs.h. */
64126 #include <math.h>
64128 main ()
64130 _powl(0, 0);
64132 return 0;
64134 _ACEOF
64135 if ac_fn_cxx_try_compile "$LINENO"; then :
64136 glibcxx_cv_func__powl_use=yes
64137 else
64138 glibcxx_cv_func__powl_use=no
64140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64141 ac_ext=c
64142 ac_cpp='$CPP $CPPFLAGS'
64143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64152 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64154 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64155 for ac_func in _powl
64156 do :
64157 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64158 if test "x$ac_cv_func__powl" = x""yes; then :
64159 cat >>confdefs.h <<_ACEOF
64160 #define HAVE__POWL 1
64161 _ACEOF
64164 done
64173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64174 $as_echo_n "checking for sqrtl declaration... " >&6; }
64175 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64176 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64177 $as_echo_n "(cached) " >&6
64178 else
64181 ac_ext=cpp
64182 ac_cpp='$CXXCPP $CPPFLAGS'
64183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64188 /* end confdefs.h. */
64189 #include <math.h>
64190 #ifdef HAVE_IEEEFP_H
64191 #include <ieeefp.h>
64192 #endif
64195 main ()
64197 sqrtl(0);
64199 return 0;
64201 _ACEOF
64202 if ac_fn_cxx_try_compile "$LINENO"; then :
64203 glibcxx_cv_func_sqrtl_use=yes
64204 else
64205 glibcxx_cv_func_sqrtl_use=no
64207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64208 ac_ext=c
64209 ac_cpp='$CPP $CPPFLAGS'
64210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64219 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64221 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64222 for ac_func in sqrtl
64223 do :
64224 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64225 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64226 cat >>confdefs.h <<_ACEOF
64227 #define HAVE_SQRTL 1
64228 _ACEOF
64231 done
64233 else
64235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64236 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64237 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64238 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64239 $as_echo_n "(cached) " >&6
64240 else
64243 ac_ext=cpp
64244 ac_cpp='$CXXCPP $CPPFLAGS'
64245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64250 /* end confdefs.h. */
64251 #include <math.h>
64252 #ifdef HAVE_IEEEFP_H
64253 #include <ieeefp.h>
64254 #endif
64257 main ()
64259 _sqrtl(0);
64261 return 0;
64263 _ACEOF
64264 if ac_fn_cxx_try_compile "$LINENO"; then :
64265 glibcxx_cv_func__sqrtl_use=yes
64266 else
64267 glibcxx_cv_func__sqrtl_use=no
64269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64270 ac_ext=c
64271 ac_cpp='$CPP $CPPFLAGS'
64272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64281 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64283 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64284 for ac_func in _sqrtl
64285 do :
64286 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64287 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64288 cat >>confdefs.h <<_ACEOF
64289 #define HAVE__SQRTL 1
64290 _ACEOF
64293 done
64302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64303 $as_echo_n "checking for sincosl declaration... " >&6; }
64304 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64305 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64306 $as_echo_n "(cached) " >&6
64307 else
64310 ac_ext=cpp
64311 ac_cpp='$CXXCPP $CPPFLAGS'
64312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64317 /* end confdefs.h. */
64318 #include <math.h>
64320 main ()
64322 sincosl(0, 0, 0);
64324 return 0;
64326 _ACEOF
64327 if ac_fn_cxx_try_compile "$LINENO"; then :
64328 glibcxx_cv_func_sincosl_use=yes
64329 else
64330 glibcxx_cv_func_sincosl_use=no
64332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64333 ac_ext=c
64334 ac_cpp='$CPP $CPPFLAGS'
64335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64344 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64346 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64347 for ac_func in sincosl
64348 do :
64349 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64350 if test "x$ac_cv_func_sincosl" = x""yes; then :
64351 cat >>confdefs.h <<_ACEOF
64352 #define HAVE_SINCOSL 1
64353 _ACEOF
64356 done
64358 else
64360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64361 $as_echo_n "checking for _sincosl declaration... " >&6; }
64362 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64363 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64364 $as_echo_n "(cached) " >&6
64365 else
64368 ac_ext=cpp
64369 ac_cpp='$CXXCPP $CPPFLAGS'
64370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64375 /* end confdefs.h. */
64376 #include <math.h>
64378 main ()
64380 _sincosl(0, 0, 0);
64382 return 0;
64384 _ACEOF
64385 if ac_fn_cxx_try_compile "$LINENO"; then :
64386 glibcxx_cv_func__sincosl_use=yes
64387 else
64388 glibcxx_cv_func__sincosl_use=no
64390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64391 ac_ext=c
64392 ac_cpp='$CPP $CPPFLAGS'
64393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64402 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64404 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64405 for ac_func in _sincosl
64406 do :
64407 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64408 if test "x$ac_cv_func__sincosl" = x""yes; then :
64409 cat >>confdefs.h <<_ACEOF
64410 #define HAVE__SINCOSL 1
64411 _ACEOF
64414 done
64423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64424 $as_echo_n "checking for finitel declaration... " >&6; }
64425 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64426 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64427 $as_echo_n "(cached) " >&6
64428 else
64431 ac_ext=cpp
64432 ac_cpp='$CXXCPP $CPPFLAGS'
64433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64438 /* end confdefs.h. */
64439 #include <math.h>
64440 #ifdef HAVE_IEEEFP_H
64441 #include <ieeefp.h>
64442 #endif
64445 main ()
64447 finitel(0);
64449 return 0;
64451 _ACEOF
64452 if ac_fn_cxx_try_compile "$LINENO"; then :
64453 glibcxx_cv_func_finitel_use=yes
64454 else
64455 glibcxx_cv_func_finitel_use=no
64457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64458 ac_ext=c
64459 ac_cpp='$CPP $CPPFLAGS'
64460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64469 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64471 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64472 for ac_func in finitel
64473 do :
64474 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64475 if test "x$ac_cv_func_finitel" = x""yes; then :
64476 cat >>confdefs.h <<_ACEOF
64477 #define HAVE_FINITEL 1
64478 _ACEOF
64481 done
64483 else
64485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64486 $as_echo_n "checking for _finitel declaration... " >&6; }
64487 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64488 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64489 $as_echo_n "(cached) " >&6
64490 else
64493 ac_ext=cpp
64494 ac_cpp='$CXXCPP $CPPFLAGS'
64495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64500 /* end confdefs.h. */
64501 #include <math.h>
64502 #ifdef HAVE_IEEEFP_H
64503 #include <ieeefp.h>
64504 #endif
64507 main ()
64509 _finitel(0);
64511 return 0;
64513 _ACEOF
64514 if ac_fn_cxx_try_compile "$LINENO"; then :
64515 glibcxx_cv_func__finitel_use=yes
64516 else
64517 glibcxx_cv_func__finitel_use=no
64519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64520 ac_ext=c
64521 ac_cpp='$CPP $CPPFLAGS'
64522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64531 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64533 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64534 for ac_func in _finitel
64535 do :
64536 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64537 if test "x$ac_cv_func__finitel" = x""yes; then :
64538 cat >>confdefs.h <<_ACEOF
64539 #define HAVE__FINITEL 1
64540 _ACEOF
64543 done
64551 LIBS="$ac_save_LIBS"
64552 CXXFLAGS="$ac_save_CXXFLAGS"
64555 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64556 ac_save_CXXFLAGS="$CXXFLAGS"
64557 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64561 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64562 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64563 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64564 $as_echo_n "(cached) " >&6
64565 else
64568 ac_ext=cpp
64569 ac_cpp='$CXXCPP $CPPFLAGS'
64570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64575 /* end confdefs.h. */
64576 #include <stdlib.h>
64578 main ()
64580 at_quick_exit(0);
64582 return 0;
64584 _ACEOF
64585 if ac_fn_cxx_try_compile "$LINENO"; then :
64586 glibcxx_cv_func_at_quick_exit_use=yes
64587 else
64588 glibcxx_cv_func_at_quick_exit_use=no
64590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64591 ac_ext=c
64592 ac_cpp='$CPP $CPPFLAGS'
64593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64602 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64603 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64604 for ac_func in at_quick_exit
64605 do :
64606 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64607 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64608 cat >>confdefs.h <<_ACEOF
64609 #define HAVE_AT_QUICK_EXIT 1
64610 _ACEOF
64613 done
64618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64619 $as_echo_n "checking for quick_exit declaration... " >&6; }
64620 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64621 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64622 $as_echo_n "(cached) " >&6
64623 else
64626 ac_ext=cpp
64627 ac_cpp='$CXXCPP $CPPFLAGS'
64628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64633 /* end confdefs.h. */
64634 #include <stdlib.h>
64636 main ()
64638 quick_exit(0);
64640 return 0;
64642 _ACEOF
64643 if ac_fn_cxx_try_compile "$LINENO"; then :
64644 glibcxx_cv_func_quick_exit_use=yes
64645 else
64646 glibcxx_cv_func_quick_exit_use=no
64648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64649 ac_ext=c
64650 ac_cpp='$CPP $CPPFLAGS'
64651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64660 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64661 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64662 for ac_func in quick_exit
64663 do :
64664 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64665 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64666 cat >>confdefs.h <<_ACEOF
64667 #define HAVE_QUICK_EXIT 1
64668 _ACEOF
64671 done
64676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64677 $as_echo_n "checking for strtold declaration... " >&6; }
64678 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64679 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64680 $as_echo_n "(cached) " >&6
64681 else
64684 ac_ext=cpp
64685 ac_cpp='$CXXCPP $CPPFLAGS'
64686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64691 /* end confdefs.h. */
64692 #include <stdlib.h>
64694 main ()
64696 strtold(0, 0);
64698 return 0;
64700 _ACEOF
64701 if ac_fn_cxx_try_compile "$LINENO"; then :
64702 glibcxx_cv_func_strtold_use=yes
64703 else
64704 glibcxx_cv_func_strtold_use=no
64706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64707 ac_ext=c
64708 ac_cpp='$CPP $CPPFLAGS'
64709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64718 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64719 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64720 for ac_func in strtold
64721 do :
64722 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64723 if test "x$ac_cv_func_strtold" = x""yes; then :
64724 cat >>confdefs.h <<_ACEOF
64725 #define HAVE_STRTOLD 1
64726 _ACEOF
64729 done
64736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64737 $as_echo_n "checking for strtof declaration... " >&6; }
64738 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64739 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64740 $as_echo_n "(cached) " >&6
64741 else
64744 ac_ext=cpp
64745 ac_cpp='$CXXCPP $CPPFLAGS'
64746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64751 /* end confdefs.h. */
64752 #include <stdlib.h>
64754 main ()
64756 strtof(0, 0);
64758 return 0;
64760 _ACEOF
64761 if ac_fn_cxx_try_compile "$LINENO"; then :
64762 glibcxx_cv_func_strtof_use=yes
64763 else
64764 glibcxx_cv_func_strtof_use=no
64766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64767 ac_ext=c
64768 ac_cpp='$CPP $CPPFLAGS'
64769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64778 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64779 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64780 for ac_func in strtof
64781 do :
64782 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64783 if test "x$ac_cv_func_strtof" = x""yes; then :
64784 cat >>confdefs.h <<_ACEOF
64785 #define HAVE_STRTOF 1
64786 _ACEOF
64789 done
64796 CXXFLAGS="$ac_save_CXXFLAGS"
64799 *-solaris*)
64800 case "$target" in
64801 *-solaris2.9 | *-solaris2.10)
64803 # If we're not using GNU ld, then there's no point in even trying these
64804 # tests. Check for that first. We should have already tested for gld
64805 # by now (in libtool), but require it now just to be safe...
64806 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64807 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64811 # The name set by libtool depends on the version of libtool. Shame on us
64812 # for depending on an impl detail, but c'est la vie. Older versions used
64813 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64814 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64815 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64816 # set (hence we're using an older libtool), then set it.
64817 if test x${with_gnu_ld+set} != xset; then
64818 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64819 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64820 with_gnu_ld=no
64821 else
64822 with_gnu_ld=$ac_cv_prog_gnu_ld
64826 # Start by getting the version number. I think the libtool test already
64827 # does some of this, but throws away the result.
64828 glibcxx_ld_is_gold=no
64829 if test x"$with_gnu_ld" = x"yes"; then
64830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64831 $as_echo_n "checking for ld version... " >&6; }
64833 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64834 glibcxx_ld_is_gold=yes
64836 ldver=`$LD --version 2>/dev/null |
64837 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'`
64839 glibcxx_gnu_ld_version=`echo $ldver | \
64840 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64842 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64845 # Set --gc-sections.
64846 glibcxx_have_gc_sections=no
64847 if test "$glibcxx_ld_is_gold" = "yes"; then
64848 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64849 glibcxx_have_gc_sections=yes
64851 else
64852 glibcxx_gcsections_min_ld=21602
64853 if test x"$with_gnu_ld" = x"yes" &&
64854 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64855 glibcxx_have_gc_sections=yes
64858 if test "$glibcxx_have_gc_sections" = "yes"; then
64859 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64860 # NB: This flag only works reliably after 2.16.1. Configure tests
64861 # for this are difficult, so hard wire a value that should work.
64863 ac_test_CFLAGS="${CFLAGS+set}"
64864 ac_save_CFLAGS="$CFLAGS"
64865 CFLAGS='-Wl,--gc-sections'
64867 # Check for -Wl,--gc-sections
64868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64869 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64870 if test x$gcc_no_link = xyes; then
64871 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64874 /* end confdefs.h. */
64875 int one(void) { return 1; }
64876 int two(void) { return 2; }
64879 main ()
64881 two();
64883 return 0;
64885 _ACEOF
64886 if ac_fn_c_try_link "$LINENO"; then :
64887 ac_gcsections=yes
64888 else
64889 ac_gcsections=no
64891 rm -f core conftest.err conftest.$ac_objext \
64892 conftest$ac_exeext conftest.$ac_ext
64893 if test "$ac_gcsections" = "yes"; then
64894 rm -f conftest.c
64895 touch conftest.c
64896 if $CC -c conftest.c; then
64897 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64898 grep "Warning: gc-sections option ignored" > /dev/null; then
64899 ac_gcsections=no
64902 rm -f conftest.c conftest.o conftest
64904 if test "$ac_gcsections" = "yes"; then
64905 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64908 $as_echo "$ac_gcsections" >&6; }
64910 if test "$ac_test_CFLAGS" = set; then
64911 CFLAGS="$ac_save_CFLAGS"
64912 else
64913 # this is the suspicious part
64914 CFLAGS=''
64918 # Set -z,relro.
64919 # Note this is only for shared objects.
64920 ac_ld_relro=no
64921 if test x"$with_gnu_ld" = x"yes"; then
64922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64923 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64924 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64925 if test -n "$cxx_z_relo"; then
64926 OPT_LDFLAGS="-Wl,-z,relro"
64927 ac_ld_relro=yes
64929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64930 $as_echo "$ac_ld_relro" >&6; }
64933 # Set linker optimization flags.
64934 if test x"$with_gnu_ld" = x"yes"; then
64935 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64941 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
64943 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64945 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
64947 # All of the dependencies for wide character support are here, so
64948 # turn it on.
64949 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
64952 esac
64953 case "$target" in
64954 *-*-solaris2.10)
64955 # These two C99 functions are present only in Solaris >= 10
64956 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
64958 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
64961 esac
64962 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64964 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64966 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
64968 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
64971 *-tpf)
64972 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64973 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
64975 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64977 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64979 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64981 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64983 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64985 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64987 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64989 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64991 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
64993 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
64995 if test x"long_double_math_on_this_cpu" = x"yes"; then
64996 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64998 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
65000 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
65002 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
65006 *-*vms*)
65007 # Check for available headers.
65008 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
65010 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65011 ac_save_CXXFLAGS="$CXXFLAGS"
65012 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65015 $as_echo_n "checking for sin in -lm... " >&6; }
65016 if test "${ac_cv_lib_m_sin+set}" = set; then :
65017 $as_echo_n "(cached) " >&6
65018 else
65019 ac_check_lib_save_LIBS=$LIBS
65020 LIBS="-lm $LIBS"
65021 if test x$gcc_no_link = xyes; then
65022 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65025 /* end confdefs.h. */
65027 /* Override any GCC internal prototype to avoid an error.
65028 Use char because int might match the return type of a GCC
65029 builtin and then its argument prototype would still apply. */
65030 #ifdef __cplusplus
65031 extern "C"
65032 #endif
65033 char sin ();
65035 main ()
65037 return sin ();
65039 return 0;
65041 _ACEOF
65042 if ac_fn_c_try_link "$LINENO"; then :
65043 ac_cv_lib_m_sin=yes
65044 else
65045 ac_cv_lib_m_sin=no
65047 rm -f core conftest.err conftest.$ac_objext \
65048 conftest$ac_exeext conftest.$ac_ext
65049 LIBS=$ac_check_lib_save_LIBS
65051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65052 $as_echo "$ac_cv_lib_m_sin" >&6; }
65053 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65054 libm="-lm"
65057 ac_save_LIBS="$LIBS"
65058 LIBS="$LIBS $libm"
65062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65063 $as_echo_n "checking for isinf declaration... " >&6; }
65064 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65065 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65066 $as_echo_n "(cached) " >&6
65067 else
65070 ac_ext=cpp
65071 ac_cpp='$CXXCPP $CPPFLAGS'
65072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65077 /* end confdefs.h. */
65078 #include <math.h>
65079 #ifdef HAVE_IEEEFP_H
65080 #include <ieeefp.h>
65081 #endif
65084 main ()
65086 isinf(0);
65088 return 0;
65090 _ACEOF
65091 if ac_fn_cxx_try_compile "$LINENO"; then :
65092 glibcxx_cv_func_isinf_use=yes
65093 else
65094 glibcxx_cv_func_isinf_use=no
65096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65097 ac_ext=c
65098 ac_cpp='$CPP $CPPFLAGS'
65099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65108 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65110 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65111 for ac_func in isinf
65112 do :
65113 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65114 if test "x$ac_cv_func_isinf" = x""yes; then :
65115 cat >>confdefs.h <<_ACEOF
65116 #define HAVE_ISINF 1
65117 _ACEOF
65120 done
65122 else
65124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65125 $as_echo_n "checking for _isinf declaration... " >&6; }
65126 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65127 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65128 $as_echo_n "(cached) " >&6
65129 else
65132 ac_ext=cpp
65133 ac_cpp='$CXXCPP $CPPFLAGS'
65134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65139 /* end confdefs.h. */
65140 #include <math.h>
65141 #ifdef HAVE_IEEEFP_H
65142 #include <ieeefp.h>
65143 #endif
65146 main ()
65148 _isinf(0);
65150 return 0;
65152 _ACEOF
65153 if ac_fn_cxx_try_compile "$LINENO"; then :
65154 glibcxx_cv_func__isinf_use=yes
65155 else
65156 glibcxx_cv_func__isinf_use=no
65158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65159 ac_ext=c
65160 ac_cpp='$CPP $CPPFLAGS'
65161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65170 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65172 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65173 for ac_func in _isinf
65174 do :
65175 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65176 if test "x$ac_cv_func__isinf" = x""yes; then :
65177 cat >>confdefs.h <<_ACEOF
65178 #define HAVE__ISINF 1
65179 _ACEOF
65182 done
65191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65192 $as_echo_n "checking for isnan declaration... " >&6; }
65193 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65194 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65195 $as_echo_n "(cached) " >&6
65196 else
65199 ac_ext=cpp
65200 ac_cpp='$CXXCPP $CPPFLAGS'
65201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65206 /* end confdefs.h. */
65207 #include <math.h>
65208 #ifdef HAVE_IEEEFP_H
65209 #include <ieeefp.h>
65210 #endif
65213 main ()
65215 isnan(0);
65217 return 0;
65219 _ACEOF
65220 if ac_fn_cxx_try_compile "$LINENO"; then :
65221 glibcxx_cv_func_isnan_use=yes
65222 else
65223 glibcxx_cv_func_isnan_use=no
65225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65226 ac_ext=c
65227 ac_cpp='$CPP $CPPFLAGS'
65228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65237 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65239 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65240 for ac_func in isnan
65241 do :
65242 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65243 if test "x$ac_cv_func_isnan" = x""yes; then :
65244 cat >>confdefs.h <<_ACEOF
65245 #define HAVE_ISNAN 1
65246 _ACEOF
65249 done
65251 else
65253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65254 $as_echo_n "checking for _isnan declaration... " >&6; }
65255 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65256 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65257 $as_echo_n "(cached) " >&6
65258 else
65261 ac_ext=cpp
65262 ac_cpp='$CXXCPP $CPPFLAGS'
65263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65268 /* end confdefs.h. */
65269 #include <math.h>
65270 #ifdef HAVE_IEEEFP_H
65271 #include <ieeefp.h>
65272 #endif
65275 main ()
65277 _isnan(0);
65279 return 0;
65281 _ACEOF
65282 if ac_fn_cxx_try_compile "$LINENO"; then :
65283 glibcxx_cv_func__isnan_use=yes
65284 else
65285 glibcxx_cv_func__isnan_use=no
65287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65288 ac_ext=c
65289 ac_cpp='$CPP $CPPFLAGS'
65290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65299 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65301 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65302 for ac_func in _isnan
65303 do :
65304 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65305 if test "x$ac_cv_func__isnan" = x""yes; then :
65306 cat >>confdefs.h <<_ACEOF
65307 #define HAVE__ISNAN 1
65308 _ACEOF
65311 done
65320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65321 $as_echo_n "checking for finite declaration... " >&6; }
65322 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65323 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65324 $as_echo_n "(cached) " >&6
65325 else
65328 ac_ext=cpp
65329 ac_cpp='$CXXCPP $CPPFLAGS'
65330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65335 /* end confdefs.h. */
65336 #include <math.h>
65337 #ifdef HAVE_IEEEFP_H
65338 #include <ieeefp.h>
65339 #endif
65342 main ()
65344 finite(0);
65346 return 0;
65348 _ACEOF
65349 if ac_fn_cxx_try_compile "$LINENO"; then :
65350 glibcxx_cv_func_finite_use=yes
65351 else
65352 glibcxx_cv_func_finite_use=no
65354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65355 ac_ext=c
65356 ac_cpp='$CPP $CPPFLAGS'
65357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65366 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65368 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65369 for ac_func in finite
65370 do :
65371 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65372 if test "x$ac_cv_func_finite" = x""yes; then :
65373 cat >>confdefs.h <<_ACEOF
65374 #define HAVE_FINITE 1
65375 _ACEOF
65378 done
65380 else
65382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65383 $as_echo_n "checking for _finite declaration... " >&6; }
65384 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65385 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65386 $as_echo_n "(cached) " >&6
65387 else
65390 ac_ext=cpp
65391 ac_cpp='$CXXCPP $CPPFLAGS'
65392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65397 /* end confdefs.h. */
65398 #include <math.h>
65399 #ifdef HAVE_IEEEFP_H
65400 #include <ieeefp.h>
65401 #endif
65404 main ()
65406 _finite(0);
65408 return 0;
65410 _ACEOF
65411 if ac_fn_cxx_try_compile "$LINENO"; then :
65412 glibcxx_cv_func__finite_use=yes
65413 else
65414 glibcxx_cv_func__finite_use=no
65416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65417 ac_ext=c
65418 ac_cpp='$CPP $CPPFLAGS'
65419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65428 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65430 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65431 for ac_func in _finite
65432 do :
65433 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65434 if test "x$ac_cv_func__finite" = x""yes; then :
65435 cat >>confdefs.h <<_ACEOF
65436 #define HAVE__FINITE 1
65437 _ACEOF
65440 done
65449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65450 $as_echo_n "checking for sincos declaration... " >&6; }
65451 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65452 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65453 $as_echo_n "(cached) " >&6
65454 else
65457 ac_ext=cpp
65458 ac_cpp='$CXXCPP $CPPFLAGS'
65459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65464 /* end confdefs.h. */
65465 #include <math.h>
65467 main ()
65469 sincos(0, 0, 0);
65471 return 0;
65473 _ACEOF
65474 if ac_fn_cxx_try_compile "$LINENO"; then :
65475 glibcxx_cv_func_sincos_use=yes
65476 else
65477 glibcxx_cv_func_sincos_use=no
65479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65480 ac_ext=c
65481 ac_cpp='$CPP $CPPFLAGS'
65482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65491 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65493 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65494 for ac_func in sincos
65495 do :
65496 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65497 if test "x$ac_cv_func_sincos" = x""yes; then :
65498 cat >>confdefs.h <<_ACEOF
65499 #define HAVE_SINCOS 1
65500 _ACEOF
65503 done
65505 else
65507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65508 $as_echo_n "checking for _sincos declaration... " >&6; }
65509 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65510 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65511 $as_echo_n "(cached) " >&6
65512 else
65515 ac_ext=cpp
65516 ac_cpp='$CXXCPP $CPPFLAGS'
65517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65522 /* end confdefs.h. */
65523 #include <math.h>
65525 main ()
65527 _sincos(0, 0, 0);
65529 return 0;
65531 _ACEOF
65532 if ac_fn_cxx_try_compile "$LINENO"; then :
65533 glibcxx_cv_func__sincos_use=yes
65534 else
65535 glibcxx_cv_func__sincos_use=no
65537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65538 ac_ext=c
65539 ac_cpp='$CPP $CPPFLAGS'
65540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65549 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65551 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65552 for ac_func in _sincos
65553 do :
65554 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65555 if test "x$ac_cv_func__sincos" = x""yes; then :
65556 cat >>confdefs.h <<_ACEOF
65557 #define HAVE__SINCOS 1
65558 _ACEOF
65561 done
65570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65571 $as_echo_n "checking for fpclass declaration... " >&6; }
65572 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65573 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65574 $as_echo_n "(cached) " >&6
65575 else
65578 ac_ext=cpp
65579 ac_cpp='$CXXCPP $CPPFLAGS'
65580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65585 /* end confdefs.h. */
65586 #include <math.h>
65587 #ifdef HAVE_IEEEFP_H
65588 #include <ieeefp.h>
65589 #endif
65592 main ()
65594 fpclass(0);
65596 return 0;
65598 _ACEOF
65599 if ac_fn_cxx_try_compile "$LINENO"; then :
65600 glibcxx_cv_func_fpclass_use=yes
65601 else
65602 glibcxx_cv_func_fpclass_use=no
65604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65605 ac_ext=c
65606 ac_cpp='$CPP $CPPFLAGS'
65607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65616 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65618 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65619 for ac_func in fpclass
65620 do :
65621 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65622 if test "x$ac_cv_func_fpclass" = x""yes; then :
65623 cat >>confdefs.h <<_ACEOF
65624 #define HAVE_FPCLASS 1
65625 _ACEOF
65628 done
65630 else
65632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65633 $as_echo_n "checking for _fpclass declaration... " >&6; }
65634 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65635 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65636 $as_echo_n "(cached) " >&6
65637 else
65640 ac_ext=cpp
65641 ac_cpp='$CXXCPP $CPPFLAGS'
65642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65647 /* end confdefs.h. */
65648 #include <math.h>
65649 #ifdef HAVE_IEEEFP_H
65650 #include <ieeefp.h>
65651 #endif
65654 main ()
65656 _fpclass(0);
65658 return 0;
65660 _ACEOF
65661 if ac_fn_cxx_try_compile "$LINENO"; then :
65662 glibcxx_cv_func__fpclass_use=yes
65663 else
65664 glibcxx_cv_func__fpclass_use=no
65666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65667 ac_ext=c
65668 ac_cpp='$CPP $CPPFLAGS'
65669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65678 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65680 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65681 for ac_func in _fpclass
65682 do :
65683 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65684 if test "x$ac_cv_func__fpclass" = x""yes; then :
65685 cat >>confdefs.h <<_ACEOF
65686 #define HAVE__FPCLASS 1
65687 _ACEOF
65690 done
65699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65700 $as_echo_n "checking for qfpclass declaration... " >&6; }
65701 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65702 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65703 $as_echo_n "(cached) " >&6
65704 else
65707 ac_ext=cpp
65708 ac_cpp='$CXXCPP $CPPFLAGS'
65709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65714 /* end confdefs.h. */
65715 #include <math.h>
65716 #ifdef HAVE_IEEEFP_H
65717 #include <ieeefp.h>
65718 #endif
65721 main ()
65723 qfpclass(0);
65725 return 0;
65727 _ACEOF
65728 if ac_fn_cxx_try_compile "$LINENO"; then :
65729 glibcxx_cv_func_qfpclass_use=yes
65730 else
65731 glibcxx_cv_func_qfpclass_use=no
65733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65734 ac_ext=c
65735 ac_cpp='$CPP $CPPFLAGS'
65736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
65745 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
65747 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
65748 for ac_func in qfpclass
65749 do :
65750 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
65751 if test "x$ac_cv_func_qfpclass" = x""yes; then :
65752 cat >>confdefs.h <<_ACEOF
65753 #define HAVE_QFPCLASS 1
65754 _ACEOF
65757 done
65759 else
65761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
65762 $as_echo_n "checking for _qfpclass declaration... " >&6; }
65763 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
65764 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
65765 $as_echo_n "(cached) " >&6
65766 else
65769 ac_ext=cpp
65770 ac_cpp='$CXXCPP $CPPFLAGS'
65771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65776 /* end confdefs.h. */
65777 #include <math.h>
65778 #ifdef HAVE_IEEEFP_H
65779 #include <ieeefp.h>
65780 #endif
65783 main ()
65785 _qfpclass(0);
65787 return 0;
65789 _ACEOF
65790 if ac_fn_cxx_try_compile "$LINENO"; then :
65791 glibcxx_cv_func__qfpclass_use=yes
65792 else
65793 glibcxx_cv_func__qfpclass_use=no
65795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65796 ac_ext=c
65797 ac_cpp='$CPP $CPPFLAGS'
65798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
65807 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
65809 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
65810 for ac_func in _qfpclass
65811 do :
65812 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
65813 if test "x$ac_cv_func__qfpclass" = x""yes; then :
65814 cat >>confdefs.h <<_ACEOF
65815 #define HAVE__QFPCLASS 1
65816 _ACEOF
65819 done
65828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
65829 $as_echo_n "checking for hypot declaration... " >&6; }
65830 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
65831 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
65832 $as_echo_n "(cached) " >&6
65833 else
65836 ac_ext=cpp
65837 ac_cpp='$CXXCPP $CPPFLAGS'
65838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65843 /* end confdefs.h. */
65844 #include <math.h>
65846 main ()
65848 hypot(0, 0);
65850 return 0;
65852 _ACEOF
65853 if ac_fn_cxx_try_compile "$LINENO"; then :
65854 glibcxx_cv_func_hypot_use=yes
65855 else
65856 glibcxx_cv_func_hypot_use=no
65858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65859 ac_ext=c
65860 ac_cpp='$CPP $CPPFLAGS'
65861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
65870 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
65872 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
65873 for ac_func in hypot
65874 do :
65875 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
65876 if test "x$ac_cv_func_hypot" = x""yes; then :
65877 cat >>confdefs.h <<_ACEOF
65878 #define HAVE_HYPOT 1
65879 _ACEOF
65882 done
65884 else
65886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
65887 $as_echo_n "checking for _hypot declaration... " >&6; }
65888 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
65889 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
65890 $as_echo_n "(cached) " >&6
65891 else
65894 ac_ext=cpp
65895 ac_cpp='$CXXCPP $CPPFLAGS'
65896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65901 /* end confdefs.h. */
65902 #include <math.h>
65904 main ()
65906 _hypot(0, 0);
65908 return 0;
65910 _ACEOF
65911 if ac_fn_cxx_try_compile "$LINENO"; then :
65912 glibcxx_cv_func__hypot_use=yes
65913 else
65914 glibcxx_cv_func__hypot_use=no
65916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65917 ac_ext=c
65918 ac_cpp='$CPP $CPPFLAGS'
65919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
65928 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
65930 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
65931 for ac_func in _hypot
65932 do :
65933 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
65934 if test "x$ac_cv_func__hypot" = x""yes; then :
65935 cat >>confdefs.h <<_ACEOF
65936 #define HAVE__HYPOT 1
65937 _ACEOF
65940 done
65949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
65950 $as_echo_n "checking for float trig functions... " >&6; }
65951 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
65952 $as_echo_n "(cached) " >&6
65953 else
65956 ac_ext=cpp
65957 ac_cpp='$CXXCPP $CPPFLAGS'
65958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65963 /* end confdefs.h. */
65964 #include <math.h>
65966 main ()
65968 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
65970 return 0;
65972 _ACEOF
65973 if ac_fn_cxx_try_compile "$LINENO"; then :
65974 glibcxx_cv_func_float_trig_use=yes
65975 else
65976 glibcxx_cv_func_float_trig_use=no
65978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65979 ac_ext=c
65980 ac_cpp='$CPP $CPPFLAGS'
65981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
65988 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
65989 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
65990 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
65991 do :
65992 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65993 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65994 eval as_val=\$$as_ac_var
65995 if test "x$as_val" = x""yes; then :
65996 cat >>confdefs.h <<_ACEOF
65997 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65998 _ACEOF
66001 done
66003 else
66004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66005 $as_echo_n "checking for _float trig functions... " >&6; }
66006 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66007 $as_echo_n "(cached) " >&6
66008 else
66011 ac_ext=cpp
66012 ac_cpp='$CXXCPP $CPPFLAGS'
66013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66018 /* end confdefs.h. */
66019 #include <math.h>
66021 main ()
66023 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66025 return 0;
66027 _ACEOF
66028 if ac_fn_cxx_try_compile "$LINENO"; then :
66029 glibcxx_cv_func__float_trig_use=yes
66030 else
66031 glibcxx_cv_func__float_trig_use=no
66033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66034 ac_ext=c
66035 ac_cpp='$CPP $CPPFLAGS'
66036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66043 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66044 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66045 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66046 do :
66047 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66048 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66049 eval as_val=\$$as_ac_var
66050 if test "x$as_val" = x""yes; then :
66051 cat >>confdefs.h <<_ACEOF
66052 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66053 _ACEOF
66056 done
66065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66066 $as_echo_n "checking for float round functions... " >&6; }
66067 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66068 $as_echo_n "(cached) " >&6
66069 else
66072 ac_ext=cpp
66073 ac_cpp='$CXXCPP $CPPFLAGS'
66074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66079 /* end confdefs.h. */
66080 #include <math.h>
66082 main ()
66084 ceilf (0); floorf (0);
66086 return 0;
66088 _ACEOF
66089 if ac_fn_cxx_try_compile "$LINENO"; then :
66090 glibcxx_cv_func_float_round_use=yes
66091 else
66092 glibcxx_cv_func_float_round_use=no
66094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66095 ac_ext=c
66096 ac_cpp='$CPP $CPPFLAGS'
66097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66104 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66105 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66106 for ac_func in ceilf floorf
66107 do :
66108 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66109 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66110 eval as_val=\$$as_ac_var
66111 if test "x$as_val" = x""yes; then :
66112 cat >>confdefs.h <<_ACEOF
66113 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66114 _ACEOF
66117 done
66119 else
66120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66121 $as_echo_n "checking for _float round functions... " >&6; }
66122 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66123 $as_echo_n "(cached) " >&6
66124 else
66127 ac_ext=cpp
66128 ac_cpp='$CXXCPP $CPPFLAGS'
66129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66134 /* end confdefs.h. */
66135 #include <math.h>
66137 main ()
66139 _ceilf (0); _floorf (0);
66141 return 0;
66143 _ACEOF
66144 if ac_fn_cxx_try_compile "$LINENO"; then :
66145 glibcxx_cv_func__float_round_use=yes
66146 else
66147 glibcxx_cv_func__float_round_use=no
66149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66150 ac_ext=c
66151 ac_cpp='$CPP $CPPFLAGS'
66152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66159 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66160 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66161 for ac_func in _ceilf _floorf
66162 do :
66163 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66164 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66165 eval as_val=\$$as_ac_var
66166 if test "x$as_val" = x""yes; then :
66167 cat >>confdefs.h <<_ACEOF
66168 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66169 _ACEOF
66172 done
66182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66183 $as_echo_n "checking for expf declaration... " >&6; }
66184 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66185 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66186 $as_echo_n "(cached) " >&6
66187 else
66190 ac_ext=cpp
66191 ac_cpp='$CXXCPP $CPPFLAGS'
66192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66197 /* end confdefs.h. */
66198 #include <math.h>
66199 #ifdef HAVE_IEEEFP_H
66200 #include <ieeefp.h>
66201 #endif
66204 main ()
66206 expf(0);
66208 return 0;
66210 _ACEOF
66211 if ac_fn_cxx_try_compile "$LINENO"; then :
66212 glibcxx_cv_func_expf_use=yes
66213 else
66214 glibcxx_cv_func_expf_use=no
66216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66217 ac_ext=c
66218 ac_cpp='$CPP $CPPFLAGS'
66219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66228 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66230 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66231 for ac_func in expf
66232 do :
66233 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66234 if test "x$ac_cv_func_expf" = x""yes; then :
66235 cat >>confdefs.h <<_ACEOF
66236 #define HAVE_EXPF 1
66237 _ACEOF
66240 done
66242 else
66244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66245 $as_echo_n "checking for _expf declaration... " >&6; }
66246 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66247 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66248 $as_echo_n "(cached) " >&6
66249 else
66252 ac_ext=cpp
66253 ac_cpp='$CXXCPP $CPPFLAGS'
66254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66259 /* end confdefs.h. */
66260 #include <math.h>
66261 #ifdef HAVE_IEEEFP_H
66262 #include <ieeefp.h>
66263 #endif
66266 main ()
66268 _expf(0);
66270 return 0;
66272 _ACEOF
66273 if ac_fn_cxx_try_compile "$LINENO"; then :
66274 glibcxx_cv_func__expf_use=yes
66275 else
66276 glibcxx_cv_func__expf_use=no
66278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66279 ac_ext=c
66280 ac_cpp='$CPP $CPPFLAGS'
66281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66290 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66292 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66293 for ac_func in _expf
66294 do :
66295 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66296 if test "x$ac_cv_func__expf" = x""yes; then :
66297 cat >>confdefs.h <<_ACEOF
66298 #define HAVE__EXPF 1
66299 _ACEOF
66302 done
66311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66312 $as_echo_n "checking for isnanf declaration... " >&6; }
66313 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66314 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66315 $as_echo_n "(cached) " >&6
66316 else
66319 ac_ext=cpp
66320 ac_cpp='$CXXCPP $CPPFLAGS'
66321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66326 /* end confdefs.h. */
66327 #include <math.h>
66328 #ifdef HAVE_IEEEFP_H
66329 #include <ieeefp.h>
66330 #endif
66333 main ()
66335 isnanf(0);
66337 return 0;
66339 _ACEOF
66340 if ac_fn_cxx_try_compile "$LINENO"; then :
66341 glibcxx_cv_func_isnanf_use=yes
66342 else
66343 glibcxx_cv_func_isnanf_use=no
66345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66346 ac_ext=c
66347 ac_cpp='$CPP $CPPFLAGS'
66348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66357 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66359 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66360 for ac_func in isnanf
66361 do :
66362 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66363 if test "x$ac_cv_func_isnanf" = x""yes; then :
66364 cat >>confdefs.h <<_ACEOF
66365 #define HAVE_ISNANF 1
66366 _ACEOF
66369 done
66371 else
66373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66374 $as_echo_n "checking for _isnanf declaration... " >&6; }
66375 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66376 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66377 $as_echo_n "(cached) " >&6
66378 else
66381 ac_ext=cpp
66382 ac_cpp='$CXXCPP $CPPFLAGS'
66383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66388 /* end confdefs.h. */
66389 #include <math.h>
66390 #ifdef HAVE_IEEEFP_H
66391 #include <ieeefp.h>
66392 #endif
66395 main ()
66397 _isnanf(0);
66399 return 0;
66401 _ACEOF
66402 if ac_fn_cxx_try_compile "$LINENO"; then :
66403 glibcxx_cv_func__isnanf_use=yes
66404 else
66405 glibcxx_cv_func__isnanf_use=no
66407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66408 ac_ext=c
66409 ac_cpp='$CPP $CPPFLAGS'
66410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66419 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66421 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66422 for ac_func in _isnanf
66423 do :
66424 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66425 if test "x$ac_cv_func__isnanf" = x""yes; then :
66426 cat >>confdefs.h <<_ACEOF
66427 #define HAVE__ISNANF 1
66428 _ACEOF
66431 done
66440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66441 $as_echo_n "checking for isinff declaration... " >&6; }
66442 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66443 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66444 $as_echo_n "(cached) " >&6
66445 else
66448 ac_ext=cpp
66449 ac_cpp='$CXXCPP $CPPFLAGS'
66450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66455 /* end confdefs.h. */
66456 #include <math.h>
66457 #ifdef HAVE_IEEEFP_H
66458 #include <ieeefp.h>
66459 #endif
66462 main ()
66464 isinff(0);
66466 return 0;
66468 _ACEOF
66469 if ac_fn_cxx_try_compile "$LINENO"; then :
66470 glibcxx_cv_func_isinff_use=yes
66471 else
66472 glibcxx_cv_func_isinff_use=no
66474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66475 ac_ext=c
66476 ac_cpp='$CPP $CPPFLAGS'
66477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66486 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66488 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66489 for ac_func in isinff
66490 do :
66491 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66492 if test "x$ac_cv_func_isinff" = x""yes; then :
66493 cat >>confdefs.h <<_ACEOF
66494 #define HAVE_ISINFF 1
66495 _ACEOF
66498 done
66500 else
66502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66503 $as_echo_n "checking for _isinff declaration... " >&6; }
66504 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66505 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66506 $as_echo_n "(cached) " >&6
66507 else
66510 ac_ext=cpp
66511 ac_cpp='$CXXCPP $CPPFLAGS'
66512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66517 /* end confdefs.h. */
66518 #include <math.h>
66519 #ifdef HAVE_IEEEFP_H
66520 #include <ieeefp.h>
66521 #endif
66524 main ()
66526 _isinff(0);
66528 return 0;
66530 _ACEOF
66531 if ac_fn_cxx_try_compile "$LINENO"; then :
66532 glibcxx_cv_func__isinff_use=yes
66533 else
66534 glibcxx_cv_func__isinff_use=no
66536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66537 ac_ext=c
66538 ac_cpp='$CPP $CPPFLAGS'
66539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66548 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66550 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66551 for ac_func in _isinff
66552 do :
66553 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66554 if test "x$ac_cv_func__isinff" = x""yes; then :
66555 cat >>confdefs.h <<_ACEOF
66556 #define HAVE__ISINFF 1
66557 _ACEOF
66560 done
66569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66570 $as_echo_n "checking for atan2f declaration... " >&6; }
66571 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66572 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66573 $as_echo_n "(cached) " >&6
66574 else
66577 ac_ext=cpp
66578 ac_cpp='$CXXCPP $CPPFLAGS'
66579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66584 /* end confdefs.h. */
66585 #include <math.h>
66587 main ()
66589 atan2f(0, 0);
66591 return 0;
66593 _ACEOF
66594 if ac_fn_cxx_try_compile "$LINENO"; then :
66595 glibcxx_cv_func_atan2f_use=yes
66596 else
66597 glibcxx_cv_func_atan2f_use=no
66599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66600 ac_ext=c
66601 ac_cpp='$CPP $CPPFLAGS'
66602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66611 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66613 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66614 for ac_func in atan2f
66615 do :
66616 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66617 if test "x$ac_cv_func_atan2f" = x""yes; then :
66618 cat >>confdefs.h <<_ACEOF
66619 #define HAVE_ATAN2F 1
66620 _ACEOF
66623 done
66625 else
66627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66628 $as_echo_n "checking for _atan2f declaration... " >&6; }
66629 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66630 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66631 $as_echo_n "(cached) " >&6
66632 else
66635 ac_ext=cpp
66636 ac_cpp='$CXXCPP $CPPFLAGS'
66637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66642 /* end confdefs.h. */
66643 #include <math.h>
66645 main ()
66647 _atan2f(0, 0);
66649 return 0;
66651 _ACEOF
66652 if ac_fn_cxx_try_compile "$LINENO"; then :
66653 glibcxx_cv_func__atan2f_use=yes
66654 else
66655 glibcxx_cv_func__atan2f_use=no
66657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66658 ac_ext=c
66659 ac_cpp='$CPP $CPPFLAGS'
66660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66669 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66671 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66672 for ac_func in _atan2f
66673 do :
66674 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66675 if test "x$ac_cv_func__atan2f" = x""yes; then :
66676 cat >>confdefs.h <<_ACEOF
66677 #define HAVE__ATAN2F 1
66678 _ACEOF
66681 done
66690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66691 $as_echo_n "checking for fabsf declaration... " >&6; }
66692 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66693 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66694 $as_echo_n "(cached) " >&6
66695 else
66698 ac_ext=cpp
66699 ac_cpp='$CXXCPP $CPPFLAGS'
66700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66705 /* end confdefs.h. */
66706 #include <math.h>
66707 #ifdef HAVE_IEEEFP_H
66708 #include <ieeefp.h>
66709 #endif
66712 main ()
66714 fabsf(0);
66716 return 0;
66718 _ACEOF
66719 if ac_fn_cxx_try_compile "$LINENO"; then :
66720 glibcxx_cv_func_fabsf_use=yes
66721 else
66722 glibcxx_cv_func_fabsf_use=no
66724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66725 ac_ext=c
66726 ac_cpp='$CPP $CPPFLAGS'
66727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
66736 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
66738 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
66739 for ac_func in fabsf
66740 do :
66741 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
66742 if test "x$ac_cv_func_fabsf" = x""yes; then :
66743 cat >>confdefs.h <<_ACEOF
66744 #define HAVE_FABSF 1
66745 _ACEOF
66748 done
66750 else
66752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
66753 $as_echo_n "checking for _fabsf declaration... " >&6; }
66754 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
66755 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
66756 $as_echo_n "(cached) " >&6
66757 else
66760 ac_ext=cpp
66761 ac_cpp='$CXXCPP $CPPFLAGS'
66762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66767 /* end confdefs.h. */
66768 #include <math.h>
66769 #ifdef HAVE_IEEEFP_H
66770 #include <ieeefp.h>
66771 #endif
66774 main ()
66776 _fabsf(0);
66778 return 0;
66780 _ACEOF
66781 if ac_fn_cxx_try_compile "$LINENO"; then :
66782 glibcxx_cv_func__fabsf_use=yes
66783 else
66784 glibcxx_cv_func__fabsf_use=no
66786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66787 ac_ext=c
66788 ac_cpp='$CPP $CPPFLAGS'
66789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
66798 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
66800 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
66801 for ac_func in _fabsf
66802 do :
66803 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
66804 if test "x$ac_cv_func__fabsf" = x""yes; then :
66805 cat >>confdefs.h <<_ACEOF
66806 #define HAVE__FABSF 1
66807 _ACEOF
66810 done
66819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
66820 $as_echo_n "checking for fmodf declaration... " >&6; }
66821 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
66822 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
66823 $as_echo_n "(cached) " >&6
66824 else
66827 ac_ext=cpp
66828 ac_cpp='$CXXCPP $CPPFLAGS'
66829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66834 /* end confdefs.h. */
66835 #include <math.h>
66837 main ()
66839 fmodf(0, 0);
66841 return 0;
66843 _ACEOF
66844 if ac_fn_cxx_try_compile "$LINENO"; then :
66845 glibcxx_cv_func_fmodf_use=yes
66846 else
66847 glibcxx_cv_func_fmodf_use=no
66849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66850 ac_ext=c
66851 ac_cpp='$CPP $CPPFLAGS'
66852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
66861 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
66863 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
66864 for ac_func in fmodf
66865 do :
66866 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
66867 if test "x$ac_cv_func_fmodf" = x""yes; then :
66868 cat >>confdefs.h <<_ACEOF
66869 #define HAVE_FMODF 1
66870 _ACEOF
66873 done
66875 else
66877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
66878 $as_echo_n "checking for _fmodf declaration... " >&6; }
66879 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
66880 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
66881 $as_echo_n "(cached) " >&6
66882 else
66885 ac_ext=cpp
66886 ac_cpp='$CXXCPP $CPPFLAGS'
66887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66892 /* end confdefs.h. */
66893 #include <math.h>
66895 main ()
66897 _fmodf(0, 0);
66899 return 0;
66901 _ACEOF
66902 if ac_fn_cxx_try_compile "$LINENO"; then :
66903 glibcxx_cv_func__fmodf_use=yes
66904 else
66905 glibcxx_cv_func__fmodf_use=no
66907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66908 ac_ext=c
66909 ac_cpp='$CPP $CPPFLAGS'
66910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
66919 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
66921 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
66922 for ac_func in _fmodf
66923 do :
66924 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
66925 if test "x$ac_cv_func__fmodf" = x""yes; then :
66926 cat >>confdefs.h <<_ACEOF
66927 #define HAVE__FMODF 1
66928 _ACEOF
66931 done
66940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
66941 $as_echo_n "checking for frexpf declaration... " >&6; }
66942 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
66943 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
66944 $as_echo_n "(cached) " >&6
66945 else
66948 ac_ext=cpp
66949 ac_cpp='$CXXCPP $CPPFLAGS'
66950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66955 /* end confdefs.h. */
66956 #include <math.h>
66958 main ()
66960 frexpf(0, 0);
66962 return 0;
66964 _ACEOF
66965 if ac_fn_cxx_try_compile "$LINENO"; then :
66966 glibcxx_cv_func_frexpf_use=yes
66967 else
66968 glibcxx_cv_func_frexpf_use=no
66970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66971 ac_ext=c
66972 ac_cpp='$CPP $CPPFLAGS'
66973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
66982 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
66984 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
66985 for ac_func in frexpf
66986 do :
66987 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
66988 if test "x$ac_cv_func_frexpf" = x""yes; then :
66989 cat >>confdefs.h <<_ACEOF
66990 #define HAVE_FREXPF 1
66991 _ACEOF
66994 done
66996 else
66998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
66999 $as_echo_n "checking for _frexpf declaration... " >&6; }
67000 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67001 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67002 $as_echo_n "(cached) " >&6
67003 else
67006 ac_ext=cpp
67007 ac_cpp='$CXXCPP $CPPFLAGS'
67008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67013 /* end confdefs.h. */
67014 #include <math.h>
67016 main ()
67018 _frexpf(0, 0);
67020 return 0;
67022 _ACEOF
67023 if ac_fn_cxx_try_compile "$LINENO"; then :
67024 glibcxx_cv_func__frexpf_use=yes
67025 else
67026 glibcxx_cv_func__frexpf_use=no
67028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67029 ac_ext=c
67030 ac_cpp='$CPP $CPPFLAGS'
67031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67040 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67042 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67043 for ac_func in _frexpf
67044 do :
67045 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67046 if test "x$ac_cv_func__frexpf" = x""yes; then :
67047 cat >>confdefs.h <<_ACEOF
67048 #define HAVE__FREXPF 1
67049 _ACEOF
67052 done
67061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67062 $as_echo_n "checking for hypotf declaration... " >&6; }
67063 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67064 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67065 $as_echo_n "(cached) " >&6
67066 else
67069 ac_ext=cpp
67070 ac_cpp='$CXXCPP $CPPFLAGS'
67071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67076 /* end confdefs.h. */
67077 #include <math.h>
67079 main ()
67081 hypotf(0, 0);
67083 return 0;
67085 _ACEOF
67086 if ac_fn_cxx_try_compile "$LINENO"; then :
67087 glibcxx_cv_func_hypotf_use=yes
67088 else
67089 glibcxx_cv_func_hypotf_use=no
67091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67092 ac_ext=c
67093 ac_cpp='$CPP $CPPFLAGS'
67094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67103 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67105 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67106 for ac_func in hypotf
67107 do :
67108 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67109 if test "x$ac_cv_func_hypotf" = x""yes; then :
67110 cat >>confdefs.h <<_ACEOF
67111 #define HAVE_HYPOTF 1
67112 _ACEOF
67115 done
67117 else
67119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67120 $as_echo_n "checking for _hypotf declaration... " >&6; }
67121 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67122 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67123 $as_echo_n "(cached) " >&6
67124 else
67127 ac_ext=cpp
67128 ac_cpp='$CXXCPP $CPPFLAGS'
67129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67134 /* end confdefs.h. */
67135 #include <math.h>
67137 main ()
67139 _hypotf(0, 0);
67141 return 0;
67143 _ACEOF
67144 if ac_fn_cxx_try_compile "$LINENO"; then :
67145 glibcxx_cv_func__hypotf_use=yes
67146 else
67147 glibcxx_cv_func__hypotf_use=no
67149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67150 ac_ext=c
67151 ac_cpp='$CPP $CPPFLAGS'
67152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67161 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67163 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67164 for ac_func in _hypotf
67165 do :
67166 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67167 if test "x$ac_cv_func__hypotf" = x""yes; then :
67168 cat >>confdefs.h <<_ACEOF
67169 #define HAVE__HYPOTF 1
67170 _ACEOF
67173 done
67182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67183 $as_echo_n "checking for ldexpf declaration... " >&6; }
67184 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67185 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67186 $as_echo_n "(cached) " >&6
67187 else
67190 ac_ext=cpp
67191 ac_cpp='$CXXCPP $CPPFLAGS'
67192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67197 /* end confdefs.h. */
67198 #include <math.h>
67200 main ()
67202 ldexpf(0, 0);
67204 return 0;
67206 _ACEOF
67207 if ac_fn_cxx_try_compile "$LINENO"; then :
67208 glibcxx_cv_func_ldexpf_use=yes
67209 else
67210 glibcxx_cv_func_ldexpf_use=no
67212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67213 ac_ext=c
67214 ac_cpp='$CPP $CPPFLAGS'
67215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67224 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67226 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67227 for ac_func in ldexpf
67228 do :
67229 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67230 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67231 cat >>confdefs.h <<_ACEOF
67232 #define HAVE_LDEXPF 1
67233 _ACEOF
67236 done
67238 else
67240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67241 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67242 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67243 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67244 $as_echo_n "(cached) " >&6
67245 else
67248 ac_ext=cpp
67249 ac_cpp='$CXXCPP $CPPFLAGS'
67250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67255 /* end confdefs.h. */
67256 #include <math.h>
67258 main ()
67260 _ldexpf(0, 0);
67262 return 0;
67264 _ACEOF
67265 if ac_fn_cxx_try_compile "$LINENO"; then :
67266 glibcxx_cv_func__ldexpf_use=yes
67267 else
67268 glibcxx_cv_func__ldexpf_use=no
67270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67271 ac_ext=c
67272 ac_cpp='$CPP $CPPFLAGS'
67273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67282 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67284 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67285 for ac_func in _ldexpf
67286 do :
67287 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67288 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67289 cat >>confdefs.h <<_ACEOF
67290 #define HAVE__LDEXPF 1
67291 _ACEOF
67294 done
67303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67304 $as_echo_n "checking for logf declaration... " >&6; }
67305 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67306 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67307 $as_echo_n "(cached) " >&6
67308 else
67311 ac_ext=cpp
67312 ac_cpp='$CXXCPP $CPPFLAGS'
67313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67318 /* end confdefs.h. */
67319 #include <math.h>
67320 #ifdef HAVE_IEEEFP_H
67321 #include <ieeefp.h>
67322 #endif
67325 main ()
67327 logf(0);
67329 return 0;
67331 _ACEOF
67332 if ac_fn_cxx_try_compile "$LINENO"; then :
67333 glibcxx_cv_func_logf_use=yes
67334 else
67335 glibcxx_cv_func_logf_use=no
67337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67338 ac_ext=c
67339 ac_cpp='$CPP $CPPFLAGS'
67340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67349 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67351 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67352 for ac_func in logf
67353 do :
67354 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67355 if test "x$ac_cv_func_logf" = x""yes; then :
67356 cat >>confdefs.h <<_ACEOF
67357 #define HAVE_LOGF 1
67358 _ACEOF
67361 done
67363 else
67365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67366 $as_echo_n "checking for _logf declaration... " >&6; }
67367 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67368 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67369 $as_echo_n "(cached) " >&6
67370 else
67373 ac_ext=cpp
67374 ac_cpp='$CXXCPP $CPPFLAGS'
67375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67380 /* end confdefs.h. */
67381 #include <math.h>
67382 #ifdef HAVE_IEEEFP_H
67383 #include <ieeefp.h>
67384 #endif
67387 main ()
67389 _logf(0);
67391 return 0;
67393 _ACEOF
67394 if ac_fn_cxx_try_compile "$LINENO"; then :
67395 glibcxx_cv_func__logf_use=yes
67396 else
67397 glibcxx_cv_func__logf_use=no
67399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67400 ac_ext=c
67401 ac_cpp='$CPP $CPPFLAGS'
67402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67411 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67413 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67414 for ac_func in _logf
67415 do :
67416 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67417 if test "x$ac_cv_func__logf" = x""yes; then :
67418 cat >>confdefs.h <<_ACEOF
67419 #define HAVE__LOGF 1
67420 _ACEOF
67423 done
67432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67433 $as_echo_n "checking for log10f declaration... " >&6; }
67434 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67435 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67436 $as_echo_n "(cached) " >&6
67437 else
67440 ac_ext=cpp
67441 ac_cpp='$CXXCPP $CPPFLAGS'
67442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67447 /* end confdefs.h. */
67448 #include <math.h>
67449 #ifdef HAVE_IEEEFP_H
67450 #include <ieeefp.h>
67451 #endif
67454 main ()
67456 log10f(0);
67458 return 0;
67460 _ACEOF
67461 if ac_fn_cxx_try_compile "$LINENO"; then :
67462 glibcxx_cv_func_log10f_use=yes
67463 else
67464 glibcxx_cv_func_log10f_use=no
67466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67467 ac_ext=c
67468 ac_cpp='$CPP $CPPFLAGS'
67469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67478 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67480 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67481 for ac_func in log10f
67482 do :
67483 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67484 if test "x$ac_cv_func_log10f" = x""yes; then :
67485 cat >>confdefs.h <<_ACEOF
67486 #define HAVE_LOG10F 1
67487 _ACEOF
67490 done
67492 else
67494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67495 $as_echo_n "checking for _log10f declaration... " >&6; }
67496 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67497 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67498 $as_echo_n "(cached) " >&6
67499 else
67502 ac_ext=cpp
67503 ac_cpp='$CXXCPP $CPPFLAGS'
67504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67509 /* end confdefs.h. */
67510 #include <math.h>
67511 #ifdef HAVE_IEEEFP_H
67512 #include <ieeefp.h>
67513 #endif
67516 main ()
67518 _log10f(0);
67520 return 0;
67522 _ACEOF
67523 if ac_fn_cxx_try_compile "$LINENO"; then :
67524 glibcxx_cv_func__log10f_use=yes
67525 else
67526 glibcxx_cv_func__log10f_use=no
67528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67529 ac_ext=c
67530 ac_cpp='$CPP $CPPFLAGS'
67531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67540 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67542 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67543 for ac_func in _log10f
67544 do :
67545 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67546 if test "x$ac_cv_func__log10f" = x""yes; then :
67547 cat >>confdefs.h <<_ACEOF
67548 #define HAVE__LOG10F 1
67549 _ACEOF
67552 done
67561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67562 $as_echo_n "checking for modff declaration... " >&6; }
67563 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67564 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67565 $as_echo_n "(cached) " >&6
67566 else
67569 ac_ext=cpp
67570 ac_cpp='$CXXCPP $CPPFLAGS'
67571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67576 /* end confdefs.h. */
67577 #include <math.h>
67579 main ()
67581 modff(0, 0);
67583 return 0;
67585 _ACEOF
67586 if ac_fn_cxx_try_compile "$LINENO"; then :
67587 glibcxx_cv_func_modff_use=yes
67588 else
67589 glibcxx_cv_func_modff_use=no
67591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67592 ac_ext=c
67593 ac_cpp='$CPP $CPPFLAGS'
67594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67603 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67605 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67606 for ac_func in modff
67607 do :
67608 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67609 if test "x$ac_cv_func_modff" = x""yes; then :
67610 cat >>confdefs.h <<_ACEOF
67611 #define HAVE_MODFF 1
67612 _ACEOF
67615 done
67617 else
67619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67620 $as_echo_n "checking for _modff declaration... " >&6; }
67621 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67622 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67623 $as_echo_n "(cached) " >&6
67624 else
67627 ac_ext=cpp
67628 ac_cpp='$CXXCPP $CPPFLAGS'
67629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67634 /* end confdefs.h. */
67635 #include <math.h>
67637 main ()
67639 _modff(0, 0);
67641 return 0;
67643 _ACEOF
67644 if ac_fn_cxx_try_compile "$LINENO"; then :
67645 glibcxx_cv_func__modff_use=yes
67646 else
67647 glibcxx_cv_func__modff_use=no
67649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67650 ac_ext=c
67651 ac_cpp='$CPP $CPPFLAGS'
67652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67661 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67663 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67664 for ac_func in _modff
67665 do :
67666 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67667 if test "x$ac_cv_func__modff" = x""yes; then :
67668 cat >>confdefs.h <<_ACEOF
67669 #define HAVE__MODFF 1
67670 _ACEOF
67673 done
67682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67683 $as_echo_n "checking for modf declaration... " >&6; }
67684 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67685 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67686 $as_echo_n "(cached) " >&6
67687 else
67690 ac_ext=cpp
67691 ac_cpp='$CXXCPP $CPPFLAGS'
67692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67697 /* end confdefs.h. */
67698 #include <math.h>
67700 main ()
67702 modf(0, 0);
67704 return 0;
67706 _ACEOF
67707 if ac_fn_cxx_try_compile "$LINENO"; then :
67708 glibcxx_cv_func_modf_use=yes
67709 else
67710 glibcxx_cv_func_modf_use=no
67712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67713 ac_ext=c
67714 ac_cpp='$CPP $CPPFLAGS'
67715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
67724 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
67726 if test x$glibcxx_cv_func_modf_use = x"yes"; then
67727 for ac_func in modf
67728 do :
67729 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
67730 if test "x$ac_cv_func_modf" = x""yes; then :
67731 cat >>confdefs.h <<_ACEOF
67732 #define HAVE_MODF 1
67733 _ACEOF
67736 done
67738 else
67740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
67741 $as_echo_n "checking for _modf declaration... " >&6; }
67742 if test x${glibcxx_cv_func__modf_use+set} != xset; then
67743 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
67744 $as_echo_n "(cached) " >&6
67745 else
67748 ac_ext=cpp
67749 ac_cpp='$CXXCPP $CPPFLAGS'
67750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67755 /* end confdefs.h. */
67756 #include <math.h>
67758 main ()
67760 _modf(0, 0);
67762 return 0;
67764 _ACEOF
67765 if ac_fn_cxx_try_compile "$LINENO"; then :
67766 glibcxx_cv_func__modf_use=yes
67767 else
67768 glibcxx_cv_func__modf_use=no
67770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67771 ac_ext=c
67772 ac_cpp='$CPP $CPPFLAGS'
67773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
67782 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
67784 if test x$glibcxx_cv_func__modf_use = x"yes"; then
67785 for ac_func in _modf
67786 do :
67787 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
67788 if test "x$ac_cv_func__modf" = x""yes; then :
67789 cat >>confdefs.h <<_ACEOF
67790 #define HAVE__MODF 1
67791 _ACEOF
67794 done
67803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
67804 $as_echo_n "checking for powf declaration... " >&6; }
67805 if test x${glibcxx_cv_func_powf_use+set} != xset; then
67806 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
67807 $as_echo_n "(cached) " >&6
67808 else
67811 ac_ext=cpp
67812 ac_cpp='$CXXCPP $CPPFLAGS'
67813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67818 /* end confdefs.h. */
67819 #include <math.h>
67821 main ()
67823 powf(0, 0);
67825 return 0;
67827 _ACEOF
67828 if ac_fn_cxx_try_compile "$LINENO"; then :
67829 glibcxx_cv_func_powf_use=yes
67830 else
67831 glibcxx_cv_func_powf_use=no
67833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67834 ac_ext=c
67835 ac_cpp='$CPP $CPPFLAGS'
67836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
67845 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
67847 if test x$glibcxx_cv_func_powf_use = x"yes"; then
67848 for ac_func in powf
67849 do :
67850 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
67851 if test "x$ac_cv_func_powf" = x""yes; then :
67852 cat >>confdefs.h <<_ACEOF
67853 #define HAVE_POWF 1
67854 _ACEOF
67857 done
67859 else
67861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
67862 $as_echo_n "checking for _powf declaration... " >&6; }
67863 if test x${glibcxx_cv_func__powf_use+set} != xset; then
67864 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
67865 $as_echo_n "(cached) " >&6
67866 else
67869 ac_ext=cpp
67870 ac_cpp='$CXXCPP $CPPFLAGS'
67871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67876 /* end confdefs.h. */
67877 #include <math.h>
67879 main ()
67881 _powf(0, 0);
67883 return 0;
67885 _ACEOF
67886 if ac_fn_cxx_try_compile "$LINENO"; then :
67887 glibcxx_cv_func__powf_use=yes
67888 else
67889 glibcxx_cv_func__powf_use=no
67891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67892 ac_ext=c
67893 ac_cpp='$CPP $CPPFLAGS'
67894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
67903 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
67905 if test x$glibcxx_cv_func__powf_use = x"yes"; then
67906 for ac_func in _powf
67907 do :
67908 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
67909 if test "x$ac_cv_func__powf" = x""yes; then :
67910 cat >>confdefs.h <<_ACEOF
67911 #define HAVE__POWF 1
67912 _ACEOF
67915 done
67924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
67925 $as_echo_n "checking for sqrtf declaration... " >&6; }
67926 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
67927 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
67928 $as_echo_n "(cached) " >&6
67929 else
67932 ac_ext=cpp
67933 ac_cpp='$CXXCPP $CPPFLAGS'
67934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67939 /* end confdefs.h. */
67940 #include <math.h>
67941 #ifdef HAVE_IEEEFP_H
67942 #include <ieeefp.h>
67943 #endif
67946 main ()
67948 sqrtf(0);
67950 return 0;
67952 _ACEOF
67953 if ac_fn_cxx_try_compile "$LINENO"; then :
67954 glibcxx_cv_func_sqrtf_use=yes
67955 else
67956 glibcxx_cv_func_sqrtf_use=no
67958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67959 ac_ext=c
67960 ac_cpp='$CPP $CPPFLAGS'
67961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
67970 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
67972 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
67973 for ac_func in sqrtf
67974 do :
67975 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
67976 if test "x$ac_cv_func_sqrtf" = x""yes; then :
67977 cat >>confdefs.h <<_ACEOF
67978 #define HAVE_SQRTF 1
67979 _ACEOF
67982 done
67984 else
67986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
67987 $as_echo_n "checking for _sqrtf declaration... " >&6; }
67988 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
67989 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
67990 $as_echo_n "(cached) " >&6
67991 else
67994 ac_ext=cpp
67995 ac_cpp='$CXXCPP $CPPFLAGS'
67996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68001 /* end confdefs.h. */
68002 #include <math.h>
68003 #ifdef HAVE_IEEEFP_H
68004 #include <ieeefp.h>
68005 #endif
68008 main ()
68010 _sqrtf(0);
68012 return 0;
68014 _ACEOF
68015 if ac_fn_cxx_try_compile "$LINENO"; then :
68016 glibcxx_cv_func__sqrtf_use=yes
68017 else
68018 glibcxx_cv_func__sqrtf_use=no
68020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68021 ac_ext=c
68022 ac_cpp='$CPP $CPPFLAGS'
68023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68032 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68034 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68035 for ac_func in _sqrtf
68036 do :
68037 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68038 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68039 cat >>confdefs.h <<_ACEOF
68040 #define HAVE__SQRTF 1
68041 _ACEOF
68044 done
68053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68054 $as_echo_n "checking for sincosf declaration... " >&6; }
68055 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68056 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68057 $as_echo_n "(cached) " >&6
68058 else
68061 ac_ext=cpp
68062 ac_cpp='$CXXCPP $CPPFLAGS'
68063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68068 /* end confdefs.h. */
68069 #include <math.h>
68071 main ()
68073 sincosf(0, 0, 0);
68075 return 0;
68077 _ACEOF
68078 if ac_fn_cxx_try_compile "$LINENO"; then :
68079 glibcxx_cv_func_sincosf_use=yes
68080 else
68081 glibcxx_cv_func_sincosf_use=no
68083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68084 ac_ext=c
68085 ac_cpp='$CPP $CPPFLAGS'
68086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68095 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68097 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68098 for ac_func in sincosf
68099 do :
68100 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68101 if test "x$ac_cv_func_sincosf" = x""yes; then :
68102 cat >>confdefs.h <<_ACEOF
68103 #define HAVE_SINCOSF 1
68104 _ACEOF
68107 done
68109 else
68111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68112 $as_echo_n "checking for _sincosf declaration... " >&6; }
68113 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68114 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68115 $as_echo_n "(cached) " >&6
68116 else
68119 ac_ext=cpp
68120 ac_cpp='$CXXCPP $CPPFLAGS'
68121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68126 /* end confdefs.h. */
68127 #include <math.h>
68129 main ()
68131 _sincosf(0, 0, 0);
68133 return 0;
68135 _ACEOF
68136 if ac_fn_cxx_try_compile "$LINENO"; then :
68137 glibcxx_cv_func__sincosf_use=yes
68138 else
68139 glibcxx_cv_func__sincosf_use=no
68141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68142 ac_ext=c
68143 ac_cpp='$CPP $CPPFLAGS'
68144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68153 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68155 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68156 for ac_func in _sincosf
68157 do :
68158 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68159 if test "x$ac_cv_func__sincosf" = x""yes; then :
68160 cat >>confdefs.h <<_ACEOF
68161 #define HAVE__SINCOSF 1
68162 _ACEOF
68165 done
68174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68175 $as_echo_n "checking for finitef declaration... " >&6; }
68176 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68177 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68178 $as_echo_n "(cached) " >&6
68179 else
68182 ac_ext=cpp
68183 ac_cpp='$CXXCPP $CPPFLAGS'
68184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68189 /* end confdefs.h. */
68190 #include <math.h>
68191 #ifdef HAVE_IEEEFP_H
68192 #include <ieeefp.h>
68193 #endif
68196 main ()
68198 finitef(0);
68200 return 0;
68202 _ACEOF
68203 if ac_fn_cxx_try_compile "$LINENO"; then :
68204 glibcxx_cv_func_finitef_use=yes
68205 else
68206 glibcxx_cv_func_finitef_use=no
68208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68209 ac_ext=c
68210 ac_cpp='$CPP $CPPFLAGS'
68211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68220 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68222 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68223 for ac_func in finitef
68224 do :
68225 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68226 if test "x$ac_cv_func_finitef" = x""yes; then :
68227 cat >>confdefs.h <<_ACEOF
68228 #define HAVE_FINITEF 1
68229 _ACEOF
68232 done
68234 else
68236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68237 $as_echo_n "checking for _finitef declaration... " >&6; }
68238 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68239 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68240 $as_echo_n "(cached) " >&6
68241 else
68244 ac_ext=cpp
68245 ac_cpp='$CXXCPP $CPPFLAGS'
68246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68251 /* end confdefs.h. */
68252 #include <math.h>
68253 #ifdef HAVE_IEEEFP_H
68254 #include <ieeefp.h>
68255 #endif
68258 main ()
68260 _finitef(0);
68262 return 0;
68264 _ACEOF
68265 if ac_fn_cxx_try_compile "$LINENO"; then :
68266 glibcxx_cv_func__finitef_use=yes
68267 else
68268 glibcxx_cv_func__finitef_use=no
68270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68271 ac_ext=c
68272 ac_cpp='$CPP $CPPFLAGS'
68273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68282 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68284 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68285 for ac_func in _finitef
68286 do :
68287 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68288 if test "x$ac_cv_func__finitef" = x""yes; then :
68289 cat >>confdefs.h <<_ACEOF
68290 #define HAVE__FINITEF 1
68291 _ACEOF
68294 done
68303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68304 $as_echo_n "checking for long double trig functions... " >&6; }
68305 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68306 $as_echo_n "(cached) " >&6
68307 else
68310 ac_ext=cpp
68311 ac_cpp='$CXXCPP $CPPFLAGS'
68312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68317 /* end confdefs.h. */
68318 #include <math.h>
68320 main ()
68322 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68324 return 0;
68326 _ACEOF
68327 if ac_fn_cxx_try_compile "$LINENO"; then :
68328 glibcxx_cv_func_long_double_trig_use=yes
68329 else
68330 glibcxx_cv_func_long_double_trig_use=no
68332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68333 ac_ext=c
68334 ac_cpp='$CPP $CPPFLAGS'
68335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68342 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68343 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68344 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68345 do :
68346 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68347 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68348 eval as_val=\$$as_ac_var
68349 if test "x$as_val" = x""yes; then :
68350 cat >>confdefs.h <<_ACEOF
68351 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68352 _ACEOF
68355 done
68357 else
68358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68359 $as_echo_n "checking for _long double trig functions... " >&6; }
68360 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68361 $as_echo_n "(cached) " >&6
68362 else
68365 ac_ext=cpp
68366 ac_cpp='$CXXCPP $CPPFLAGS'
68367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68372 /* end confdefs.h. */
68373 #include <math.h>
68375 main ()
68377 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68379 return 0;
68381 _ACEOF
68382 if ac_fn_cxx_try_compile "$LINENO"; then :
68383 glibcxx_cv_func__long_double_trig_use=yes
68384 else
68385 glibcxx_cv_func__long_double_trig_use=no
68387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68388 ac_ext=c
68389 ac_cpp='$CPP $CPPFLAGS'
68390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68397 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68398 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68399 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68400 do :
68401 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68402 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68403 eval as_val=\$$as_ac_var
68404 if test "x$as_val" = x""yes; then :
68405 cat >>confdefs.h <<_ACEOF
68406 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68407 _ACEOF
68410 done
68419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68420 $as_echo_n "checking for long double round functions... " >&6; }
68421 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68422 $as_echo_n "(cached) " >&6
68423 else
68426 ac_ext=cpp
68427 ac_cpp='$CXXCPP $CPPFLAGS'
68428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68433 /* end confdefs.h. */
68434 #include <math.h>
68436 main ()
68438 ceill (0); floorl (0);
68440 return 0;
68442 _ACEOF
68443 if ac_fn_cxx_try_compile "$LINENO"; then :
68444 glibcxx_cv_func_long_double_round_use=yes
68445 else
68446 glibcxx_cv_func_long_double_round_use=no
68448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68449 ac_ext=c
68450 ac_cpp='$CPP $CPPFLAGS'
68451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68458 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68459 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68460 for ac_func in ceill floorl
68461 do :
68462 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68463 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68464 eval as_val=\$$as_ac_var
68465 if test "x$as_val" = x""yes; then :
68466 cat >>confdefs.h <<_ACEOF
68467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68468 _ACEOF
68471 done
68473 else
68474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68475 $as_echo_n "checking for _long double round functions... " >&6; }
68476 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68477 $as_echo_n "(cached) " >&6
68478 else
68481 ac_ext=cpp
68482 ac_cpp='$CXXCPP $CPPFLAGS'
68483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68488 /* end confdefs.h. */
68489 #include <math.h>
68491 main ()
68493 _ceill (0); _floorl (0);
68495 return 0;
68497 _ACEOF
68498 if ac_fn_cxx_try_compile "$LINENO"; then :
68499 glibcxx_cv_func__long_double_round_use=yes
68500 else
68501 glibcxx_cv_func__long_double_round_use=no
68503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68504 ac_ext=c
68505 ac_cpp='$CPP $CPPFLAGS'
68506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68513 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68514 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68515 for ac_func in _ceill _floorl
68516 do :
68517 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68518 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68519 eval as_val=\$$as_ac_var
68520 if test "x$as_val" = x""yes; then :
68521 cat >>confdefs.h <<_ACEOF
68522 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68523 _ACEOF
68526 done
68536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68537 $as_echo_n "checking for isnanl declaration... " >&6; }
68538 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68539 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68540 $as_echo_n "(cached) " >&6
68541 else
68544 ac_ext=cpp
68545 ac_cpp='$CXXCPP $CPPFLAGS'
68546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68551 /* end confdefs.h. */
68552 #include <math.h>
68553 #ifdef HAVE_IEEEFP_H
68554 #include <ieeefp.h>
68555 #endif
68558 main ()
68560 isnanl(0);
68562 return 0;
68564 _ACEOF
68565 if ac_fn_cxx_try_compile "$LINENO"; then :
68566 glibcxx_cv_func_isnanl_use=yes
68567 else
68568 glibcxx_cv_func_isnanl_use=no
68570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68571 ac_ext=c
68572 ac_cpp='$CPP $CPPFLAGS'
68573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68582 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68584 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68585 for ac_func in isnanl
68586 do :
68587 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68588 if test "x$ac_cv_func_isnanl" = x""yes; then :
68589 cat >>confdefs.h <<_ACEOF
68590 #define HAVE_ISNANL 1
68591 _ACEOF
68594 done
68596 else
68598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68599 $as_echo_n "checking for _isnanl declaration... " >&6; }
68600 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68601 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68602 $as_echo_n "(cached) " >&6
68603 else
68606 ac_ext=cpp
68607 ac_cpp='$CXXCPP $CPPFLAGS'
68608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68613 /* end confdefs.h. */
68614 #include <math.h>
68615 #ifdef HAVE_IEEEFP_H
68616 #include <ieeefp.h>
68617 #endif
68620 main ()
68622 _isnanl(0);
68624 return 0;
68626 _ACEOF
68627 if ac_fn_cxx_try_compile "$LINENO"; then :
68628 glibcxx_cv_func__isnanl_use=yes
68629 else
68630 glibcxx_cv_func__isnanl_use=no
68632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68633 ac_ext=c
68634 ac_cpp='$CPP $CPPFLAGS'
68635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68644 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68646 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68647 for ac_func in _isnanl
68648 do :
68649 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68650 if test "x$ac_cv_func__isnanl" = x""yes; then :
68651 cat >>confdefs.h <<_ACEOF
68652 #define HAVE__ISNANL 1
68653 _ACEOF
68656 done
68665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68666 $as_echo_n "checking for isinfl declaration... " >&6; }
68667 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68668 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68669 $as_echo_n "(cached) " >&6
68670 else
68673 ac_ext=cpp
68674 ac_cpp='$CXXCPP $CPPFLAGS'
68675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68680 /* end confdefs.h. */
68681 #include <math.h>
68682 #ifdef HAVE_IEEEFP_H
68683 #include <ieeefp.h>
68684 #endif
68687 main ()
68689 isinfl(0);
68691 return 0;
68693 _ACEOF
68694 if ac_fn_cxx_try_compile "$LINENO"; then :
68695 glibcxx_cv_func_isinfl_use=yes
68696 else
68697 glibcxx_cv_func_isinfl_use=no
68699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68700 ac_ext=c
68701 ac_cpp='$CPP $CPPFLAGS'
68702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68711 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
68713 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68714 for ac_func in isinfl
68715 do :
68716 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
68717 if test "x$ac_cv_func_isinfl" = x""yes; then :
68718 cat >>confdefs.h <<_ACEOF
68719 #define HAVE_ISINFL 1
68720 _ACEOF
68723 done
68725 else
68727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
68728 $as_echo_n "checking for _isinfl declaration... " >&6; }
68729 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
68730 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
68731 $as_echo_n "(cached) " >&6
68732 else
68735 ac_ext=cpp
68736 ac_cpp='$CXXCPP $CPPFLAGS'
68737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68742 /* end confdefs.h. */
68743 #include <math.h>
68744 #ifdef HAVE_IEEEFP_H
68745 #include <ieeefp.h>
68746 #endif
68749 main ()
68751 _isinfl(0);
68753 return 0;
68755 _ACEOF
68756 if ac_fn_cxx_try_compile "$LINENO"; then :
68757 glibcxx_cv_func__isinfl_use=yes
68758 else
68759 glibcxx_cv_func__isinfl_use=no
68761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68762 ac_ext=c
68763 ac_cpp='$CPP $CPPFLAGS'
68764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
68773 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
68775 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
68776 for ac_func in _isinfl
68777 do :
68778 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
68779 if test "x$ac_cv_func__isinfl" = x""yes; then :
68780 cat >>confdefs.h <<_ACEOF
68781 #define HAVE__ISINFL 1
68782 _ACEOF
68785 done
68794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
68795 $as_echo_n "checking for atan2l declaration... " >&6; }
68796 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
68797 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
68798 $as_echo_n "(cached) " >&6
68799 else
68802 ac_ext=cpp
68803 ac_cpp='$CXXCPP $CPPFLAGS'
68804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68809 /* end confdefs.h. */
68810 #include <math.h>
68812 main ()
68814 atan2l(0, 0);
68816 return 0;
68818 _ACEOF
68819 if ac_fn_cxx_try_compile "$LINENO"; then :
68820 glibcxx_cv_func_atan2l_use=yes
68821 else
68822 glibcxx_cv_func_atan2l_use=no
68824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68825 ac_ext=c
68826 ac_cpp='$CPP $CPPFLAGS'
68827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
68836 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
68838 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
68839 for ac_func in atan2l
68840 do :
68841 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
68842 if test "x$ac_cv_func_atan2l" = x""yes; then :
68843 cat >>confdefs.h <<_ACEOF
68844 #define HAVE_ATAN2L 1
68845 _ACEOF
68848 done
68850 else
68852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
68853 $as_echo_n "checking for _atan2l declaration... " >&6; }
68854 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
68855 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
68856 $as_echo_n "(cached) " >&6
68857 else
68860 ac_ext=cpp
68861 ac_cpp='$CXXCPP $CPPFLAGS'
68862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68867 /* end confdefs.h. */
68868 #include <math.h>
68870 main ()
68872 _atan2l(0, 0);
68874 return 0;
68876 _ACEOF
68877 if ac_fn_cxx_try_compile "$LINENO"; then :
68878 glibcxx_cv_func__atan2l_use=yes
68879 else
68880 glibcxx_cv_func__atan2l_use=no
68882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68883 ac_ext=c
68884 ac_cpp='$CPP $CPPFLAGS'
68885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
68894 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
68896 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
68897 for ac_func in _atan2l
68898 do :
68899 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
68900 if test "x$ac_cv_func__atan2l" = x""yes; then :
68901 cat >>confdefs.h <<_ACEOF
68902 #define HAVE__ATAN2L 1
68903 _ACEOF
68906 done
68915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
68916 $as_echo_n "checking for expl declaration... " >&6; }
68917 if test x${glibcxx_cv_func_expl_use+set} != xset; then
68918 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
68919 $as_echo_n "(cached) " >&6
68920 else
68923 ac_ext=cpp
68924 ac_cpp='$CXXCPP $CPPFLAGS'
68925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68930 /* end confdefs.h. */
68931 #include <math.h>
68932 #ifdef HAVE_IEEEFP_H
68933 #include <ieeefp.h>
68934 #endif
68937 main ()
68939 expl(0);
68941 return 0;
68943 _ACEOF
68944 if ac_fn_cxx_try_compile "$LINENO"; then :
68945 glibcxx_cv_func_expl_use=yes
68946 else
68947 glibcxx_cv_func_expl_use=no
68949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68950 ac_ext=c
68951 ac_cpp='$CPP $CPPFLAGS'
68952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
68961 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
68963 if test x$glibcxx_cv_func_expl_use = x"yes"; then
68964 for ac_func in expl
68965 do :
68966 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
68967 if test "x$ac_cv_func_expl" = x""yes; then :
68968 cat >>confdefs.h <<_ACEOF
68969 #define HAVE_EXPL 1
68970 _ACEOF
68973 done
68975 else
68977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
68978 $as_echo_n "checking for _expl declaration... " >&6; }
68979 if test x${glibcxx_cv_func__expl_use+set} != xset; then
68980 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
68981 $as_echo_n "(cached) " >&6
68982 else
68985 ac_ext=cpp
68986 ac_cpp='$CXXCPP $CPPFLAGS'
68987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68992 /* end confdefs.h. */
68993 #include <math.h>
68994 #ifdef HAVE_IEEEFP_H
68995 #include <ieeefp.h>
68996 #endif
68999 main ()
69001 _expl(0);
69003 return 0;
69005 _ACEOF
69006 if ac_fn_cxx_try_compile "$LINENO"; then :
69007 glibcxx_cv_func__expl_use=yes
69008 else
69009 glibcxx_cv_func__expl_use=no
69011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69012 ac_ext=c
69013 ac_cpp='$CPP $CPPFLAGS'
69014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69023 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69025 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69026 for ac_func in _expl
69027 do :
69028 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69029 if test "x$ac_cv_func__expl" = x""yes; then :
69030 cat >>confdefs.h <<_ACEOF
69031 #define HAVE__EXPL 1
69032 _ACEOF
69035 done
69044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69045 $as_echo_n "checking for fabsl declaration... " >&6; }
69046 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69047 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69048 $as_echo_n "(cached) " >&6
69049 else
69052 ac_ext=cpp
69053 ac_cpp='$CXXCPP $CPPFLAGS'
69054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69059 /* end confdefs.h. */
69060 #include <math.h>
69061 #ifdef HAVE_IEEEFP_H
69062 #include <ieeefp.h>
69063 #endif
69066 main ()
69068 fabsl(0);
69070 return 0;
69072 _ACEOF
69073 if ac_fn_cxx_try_compile "$LINENO"; then :
69074 glibcxx_cv_func_fabsl_use=yes
69075 else
69076 glibcxx_cv_func_fabsl_use=no
69078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69079 ac_ext=c
69080 ac_cpp='$CPP $CPPFLAGS'
69081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69090 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69092 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69093 for ac_func in fabsl
69094 do :
69095 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69096 if test "x$ac_cv_func_fabsl" = x""yes; then :
69097 cat >>confdefs.h <<_ACEOF
69098 #define HAVE_FABSL 1
69099 _ACEOF
69102 done
69104 else
69106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69107 $as_echo_n "checking for _fabsl declaration... " >&6; }
69108 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69109 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69110 $as_echo_n "(cached) " >&6
69111 else
69114 ac_ext=cpp
69115 ac_cpp='$CXXCPP $CPPFLAGS'
69116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69121 /* end confdefs.h. */
69122 #include <math.h>
69123 #ifdef HAVE_IEEEFP_H
69124 #include <ieeefp.h>
69125 #endif
69128 main ()
69130 _fabsl(0);
69132 return 0;
69134 _ACEOF
69135 if ac_fn_cxx_try_compile "$LINENO"; then :
69136 glibcxx_cv_func__fabsl_use=yes
69137 else
69138 glibcxx_cv_func__fabsl_use=no
69140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69141 ac_ext=c
69142 ac_cpp='$CPP $CPPFLAGS'
69143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69152 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69154 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69155 for ac_func in _fabsl
69156 do :
69157 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69158 if test "x$ac_cv_func__fabsl" = x""yes; then :
69159 cat >>confdefs.h <<_ACEOF
69160 #define HAVE__FABSL 1
69161 _ACEOF
69164 done
69173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69174 $as_echo_n "checking for fmodl declaration... " >&6; }
69175 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69176 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69177 $as_echo_n "(cached) " >&6
69178 else
69181 ac_ext=cpp
69182 ac_cpp='$CXXCPP $CPPFLAGS'
69183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69188 /* end confdefs.h. */
69189 #include <math.h>
69191 main ()
69193 fmodl(0, 0);
69195 return 0;
69197 _ACEOF
69198 if ac_fn_cxx_try_compile "$LINENO"; then :
69199 glibcxx_cv_func_fmodl_use=yes
69200 else
69201 glibcxx_cv_func_fmodl_use=no
69203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69204 ac_ext=c
69205 ac_cpp='$CPP $CPPFLAGS'
69206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69215 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69217 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69218 for ac_func in fmodl
69219 do :
69220 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69221 if test "x$ac_cv_func_fmodl" = x""yes; then :
69222 cat >>confdefs.h <<_ACEOF
69223 #define HAVE_FMODL 1
69224 _ACEOF
69227 done
69229 else
69231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69232 $as_echo_n "checking for _fmodl declaration... " >&6; }
69233 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69234 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69235 $as_echo_n "(cached) " >&6
69236 else
69239 ac_ext=cpp
69240 ac_cpp='$CXXCPP $CPPFLAGS'
69241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69246 /* end confdefs.h. */
69247 #include <math.h>
69249 main ()
69251 _fmodl(0, 0);
69253 return 0;
69255 _ACEOF
69256 if ac_fn_cxx_try_compile "$LINENO"; then :
69257 glibcxx_cv_func__fmodl_use=yes
69258 else
69259 glibcxx_cv_func__fmodl_use=no
69261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69262 ac_ext=c
69263 ac_cpp='$CPP $CPPFLAGS'
69264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69273 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69275 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69276 for ac_func in _fmodl
69277 do :
69278 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69279 if test "x$ac_cv_func__fmodl" = x""yes; then :
69280 cat >>confdefs.h <<_ACEOF
69281 #define HAVE__FMODL 1
69282 _ACEOF
69285 done
69294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69295 $as_echo_n "checking for frexpl declaration... " >&6; }
69296 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69297 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69298 $as_echo_n "(cached) " >&6
69299 else
69302 ac_ext=cpp
69303 ac_cpp='$CXXCPP $CPPFLAGS'
69304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69309 /* end confdefs.h. */
69310 #include <math.h>
69312 main ()
69314 frexpl(0, 0);
69316 return 0;
69318 _ACEOF
69319 if ac_fn_cxx_try_compile "$LINENO"; then :
69320 glibcxx_cv_func_frexpl_use=yes
69321 else
69322 glibcxx_cv_func_frexpl_use=no
69324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69325 ac_ext=c
69326 ac_cpp='$CPP $CPPFLAGS'
69327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69336 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69338 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69339 for ac_func in frexpl
69340 do :
69341 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69342 if test "x$ac_cv_func_frexpl" = x""yes; then :
69343 cat >>confdefs.h <<_ACEOF
69344 #define HAVE_FREXPL 1
69345 _ACEOF
69348 done
69350 else
69352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69353 $as_echo_n "checking for _frexpl declaration... " >&6; }
69354 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69355 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69356 $as_echo_n "(cached) " >&6
69357 else
69360 ac_ext=cpp
69361 ac_cpp='$CXXCPP $CPPFLAGS'
69362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69367 /* end confdefs.h. */
69368 #include <math.h>
69370 main ()
69372 _frexpl(0, 0);
69374 return 0;
69376 _ACEOF
69377 if ac_fn_cxx_try_compile "$LINENO"; then :
69378 glibcxx_cv_func__frexpl_use=yes
69379 else
69380 glibcxx_cv_func__frexpl_use=no
69382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69383 ac_ext=c
69384 ac_cpp='$CPP $CPPFLAGS'
69385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69394 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69396 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69397 for ac_func in _frexpl
69398 do :
69399 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69400 if test "x$ac_cv_func__frexpl" = x""yes; then :
69401 cat >>confdefs.h <<_ACEOF
69402 #define HAVE__FREXPL 1
69403 _ACEOF
69406 done
69415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69416 $as_echo_n "checking for hypotl declaration... " >&6; }
69417 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69418 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69419 $as_echo_n "(cached) " >&6
69420 else
69423 ac_ext=cpp
69424 ac_cpp='$CXXCPP $CPPFLAGS'
69425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69430 /* end confdefs.h. */
69431 #include <math.h>
69433 main ()
69435 hypotl(0, 0);
69437 return 0;
69439 _ACEOF
69440 if ac_fn_cxx_try_compile "$LINENO"; then :
69441 glibcxx_cv_func_hypotl_use=yes
69442 else
69443 glibcxx_cv_func_hypotl_use=no
69445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69446 ac_ext=c
69447 ac_cpp='$CPP $CPPFLAGS'
69448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69457 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69459 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69460 for ac_func in hypotl
69461 do :
69462 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69463 if test "x$ac_cv_func_hypotl" = x""yes; then :
69464 cat >>confdefs.h <<_ACEOF
69465 #define HAVE_HYPOTL 1
69466 _ACEOF
69469 done
69471 else
69473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69474 $as_echo_n "checking for _hypotl declaration... " >&6; }
69475 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69476 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69477 $as_echo_n "(cached) " >&6
69478 else
69481 ac_ext=cpp
69482 ac_cpp='$CXXCPP $CPPFLAGS'
69483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69488 /* end confdefs.h. */
69489 #include <math.h>
69491 main ()
69493 _hypotl(0, 0);
69495 return 0;
69497 _ACEOF
69498 if ac_fn_cxx_try_compile "$LINENO"; then :
69499 glibcxx_cv_func__hypotl_use=yes
69500 else
69501 glibcxx_cv_func__hypotl_use=no
69503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69504 ac_ext=c
69505 ac_cpp='$CPP $CPPFLAGS'
69506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69515 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69517 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69518 for ac_func in _hypotl
69519 do :
69520 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69521 if test "x$ac_cv_func__hypotl" = x""yes; then :
69522 cat >>confdefs.h <<_ACEOF
69523 #define HAVE__HYPOTL 1
69524 _ACEOF
69527 done
69536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69537 $as_echo_n "checking for ldexpl declaration... " >&6; }
69538 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69539 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69540 $as_echo_n "(cached) " >&6
69541 else
69544 ac_ext=cpp
69545 ac_cpp='$CXXCPP $CPPFLAGS'
69546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69551 /* end confdefs.h. */
69552 #include <math.h>
69554 main ()
69556 ldexpl(0, 0);
69558 return 0;
69560 _ACEOF
69561 if ac_fn_cxx_try_compile "$LINENO"; then :
69562 glibcxx_cv_func_ldexpl_use=yes
69563 else
69564 glibcxx_cv_func_ldexpl_use=no
69566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69567 ac_ext=c
69568 ac_cpp='$CPP $CPPFLAGS'
69569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69578 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69580 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69581 for ac_func in ldexpl
69582 do :
69583 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69584 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69585 cat >>confdefs.h <<_ACEOF
69586 #define HAVE_LDEXPL 1
69587 _ACEOF
69590 done
69592 else
69594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69595 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69596 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69597 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69598 $as_echo_n "(cached) " >&6
69599 else
69602 ac_ext=cpp
69603 ac_cpp='$CXXCPP $CPPFLAGS'
69604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69609 /* end confdefs.h. */
69610 #include <math.h>
69612 main ()
69614 _ldexpl(0, 0);
69616 return 0;
69618 _ACEOF
69619 if ac_fn_cxx_try_compile "$LINENO"; then :
69620 glibcxx_cv_func__ldexpl_use=yes
69621 else
69622 glibcxx_cv_func__ldexpl_use=no
69624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69625 ac_ext=c
69626 ac_cpp='$CPP $CPPFLAGS'
69627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69636 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69638 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69639 for ac_func in _ldexpl
69640 do :
69641 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69642 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69643 cat >>confdefs.h <<_ACEOF
69644 #define HAVE__LDEXPL 1
69645 _ACEOF
69648 done
69657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69658 $as_echo_n "checking for logl declaration... " >&6; }
69659 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69660 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69661 $as_echo_n "(cached) " >&6
69662 else
69665 ac_ext=cpp
69666 ac_cpp='$CXXCPP $CPPFLAGS'
69667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69672 /* end confdefs.h. */
69673 #include <math.h>
69674 #ifdef HAVE_IEEEFP_H
69675 #include <ieeefp.h>
69676 #endif
69679 main ()
69681 logl(0);
69683 return 0;
69685 _ACEOF
69686 if ac_fn_cxx_try_compile "$LINENO"; then :
69687 glibcxx_cv_func_logl_use=yes
69688 else
69689 glibcxx_cv_func_logl_use=no
69691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69692 ac_ext=c
69693 ac_cpp='$CPP $CPPFLAGS'
69694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69703 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69705 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69706 for ac_func in logl
69707 do :
69708 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69709 if test "x$ac_cv_func_logl" = x""yes; then :
69710 cat >>confdefs.h <<_ACEOF
69711 #define HAVE_LOGL 1
69712 _ACEOF
69715 done
69717 else
69719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
69720 $as_echo_n "checking for _logl declaration... " >&6; }
69721 if test x${glibcxx_cv_func__logl_use+set} != xset; then
69722 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
69723 $as_echo_n "(cached) " >&6
69724 else
69727 ac_ext=cpp
69728 ac_cpp='$CXXCPP $CPPFLAGS'
69729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69734 /* end confdefs.h. */
69735 #include <math.h>
69736 #ifdef HAVE_IEEEFP_H
69737 #include <ieeefp.h>
69738 #endif
69741 main ()
69743 _logl(0);
69745 return 0;
69747 _ACEOF
69748 if ac_fn_cxx_try_compile "$LINENO"; then :
69749 glibcxx_cv_func__logl_use=yes
69750 else
69751 glibcxx_cv_func__logl_use=no
69753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69754 ac_ext=c
69755 ac_cpp='$CPP $CPPFLAGS'
69756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
69765 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
69767 if test x$glibcxx_cv_func__logl_use = x"yes"; then
69768 for ac_func in _logl
69769 do :
69770 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
69771 if test "x$ac_cv_func__logl" = x""yes; then :
69772 cat >>confdefs.h <<_ACEOF
69773 #define HAVE__LOGL 1
69774 _ACEOF
69777 done
69786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
69787 $as_echo_n "checking for log10l declaration... " >&6; }
69788 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69789 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
69790 $as_echo_n "(cached) " >&6
69791 else
69794 ac_ext=cpp
69795 ac_cpp='$CXXCPP $CPPFLAGS'
69796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69801 /* end confdefs.h. */
69802 #include <math.h>
69803 #ifdef HAVE_IEEEFP_H
69804 #include <ieeefp.h>
69805 #endif
69808 main ()
69810 log10l(0);
69812 return 0;
69814 _ACEOF
69815 if ac_fn_cxx_try_compile "$LINENO"; then :
69816 glibcxx_cv_func_log10l_use=yes
69817 else
69818 glibcxx_cv_func_log10l_use=no
69820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69821 ac_ext=c
69822 ac_cpp='$CPP $CPPFLAGS'
69823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
69832 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
69834 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69835 for ac_func in log10l
69836 do :
69837 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
69838 if test "x$ac_cv_func_log10l" = x""yes; then :
69839 cat >>confdefs.h <<_ACEOF
69840 #define HAVE_LOG10L 1
69841 _ACEOF
69844 done
69846 else
69848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
69849 $as_echo_n "checking for _log10l declaration... " >&6; }
69850 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69851 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
69852 $as_echo_n "(cached) " >&6
69853 else
69856 ac_ext=cpp
69857 ac_cpp='$CXXCPP $CPPFLAGS'
69858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69863 /* end confdefs.h. */
69864 #include <math.h>
69865 #ifdef HAVE_IEEEFP_H
69866 #include <ieeefp.h>
69867 #endif
69870 main ()
69872 _log10l(0);
69874 return 0;
69876 _ACEOF
69877 if ac_fn_cxx_try_compile "$LINENO"; then :
69878 glibcxx_cv_func__log10l_use=yes
69879 else
69880 glibcxx_cv_func__log10l_use=no
69882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69883 ac_ext=c
69884 ac_cpp='$CPP $CPPFLAGS'
69885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
69894 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
69896 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69897 for ac_func in _log10l
69898 do :
69899 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
69900 if test "x$ac_cv_func__log10l" = x""yes; then :
69901 cat >>confdefs.h <<_ACEOF
69902 #define HAVE__LOG10L 1
69903 _ACEOF
69906 done
69915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
69916 $as_echo_n "checking for modfl declaration... " >&6; }
69917 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69918 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
69919 $as_echo_n "(cached) " >&6
69920 else
69923 ac_ext=cpp
69924 ac_cpp='$CXXCPP $CPPFLAGS'
69925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69930 /* end confdefs.h. */
69931 #include <math.h>
69933 main ()
69935 modfl(0, 0);
69937 return 0;
69939 _ACEOF
69940 if ac_fn_cxx_try_compile "$LINENO"; then :
69941 glibcxx_cv_func_modfl_use=yes
69942 else
69943 glibcxx_cv_func_modfl_use=no
69945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69946 ac_ext=c
69947 ac_cpp='$CPP $CPPFLAGS'
69948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
69957 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
69959 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69960 for ac_func in modfl
69961 do :
69962 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
69963 if test "x$ac_cv_func_modfl" = x""yes; then :
69964 cat >>confdefs.h <<_ACEOF
69965 #define HAVE_MODFL 1
69966 _ACEOF
69969 done
69971 else
69973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
69974 $as_echo_n "checking for _modfl declaration... " >&6; }
69975 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
69976 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
69977 $as_echo_n "(cached) " >&6
69978 else
69981 ac_ext=cpp
69982 ac_cpp='$CXXCPP $CPPFLAGS'
69983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69988 /* end confdefs.h. */
69989 #include <math.h>
69991 main ()
69993 _modfl(0, 0);
69995 return 0;
69997 _ACEOF
69998 if ac_fn_cxx_try_compile "$LINENO"; then :
69999 glibcxx_cv_func__modfl_use=yes
70000 else
70001 glibcxx_cv_func__modfl_use=no
70003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70004 ac_ext=c
70005 ac_cpp='$CPP $CPPFLAGS'
70006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70015 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70017 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70018 for ac_func in _modfl
70019 do :
70020 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70021 if test "x$ac_cv_func__modfl" = x""yes; then :
70022 cat >>confdefs.h <<_ACEOF
70023 #define HAVE__MODFL 1
70024 _ACEOF
70027 done
70036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70037 $as_echo_n "checking for powl declaration... " >&6; }
70038 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70039 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70040 $as_echo_n "(cached) " >&6
70041 else
70044 ac_ext=cpp
70045 ac_cpp='$CXXCPP $CPPFLAGS'
70046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70051 /* end confdefs.h. */
70052 #include <math.h>
70054 main ()
70056 powl(0, 0);
70058 return 0;
70060 _ACEOF
70061 if ac_fn_cxx_try_compile "$LINENO"; then :
70062 glibcxx_cv_func_powl_use=yes
70063 else
70064 glibcxx_cv_func_powl_use=no
70066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70067 ac_ext=c
70068 ac_cpp='$CPP $CPPFLAGS'
70069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70078 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70080 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70081 for ac_func in powl
70082 do :
70083 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70084 if test "x$ac_cv_func_powl" = x""yes; then :
70085 cat >>confdefs.h <<_ACEOF
70086 #define HAVE_POWL 1
70087 _ACEOF
70090 done
70092 else
70094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70095 $as_echo_n "checking for _powl declaration... " >&6; }
70096 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70097 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70098 $as_echo_n "(cached) " >&6
70099 else
70102 ac_ext=cpp
70103 ac_cpp='$CXXCPP $CPPFLAGS'
70104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70109 /* end confdefs.h. */
70110 #include <math.h>
70112 main ()
70114 _powl(0, 0);
70116 return 0;
70118 _ACEOF
70119 if ac_fn_cxx_try_compile "$LINENO"; then :
70120 glibcxx_cv_func__powl_use=yes
70121 else
70122 glibcxx_cv_func__powl_use=no
70124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70125 ac_ext=c
70126 ac_cpp='$CPP $CPPFLAGS'
70127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70136 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70138 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70139 for ac_func in _powl
70140 do :
70141 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70142 if test "x$ac_cv_func__powl" = x""yes; then :
70143 cat >>confdefs.h <<_ACEOF
70144 #define HAVE__POWL 1
70145 _ACEOF
70148 done
70157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70158 $as_echo_n "checking for sqrtl declaration... " >&6; }
70159 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70160 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70161 $as_echo_n "(cached) " >&6
70162 else
70165 ac_ext=cpp
70166 ac_cpp='$CXXCPP $CPPFLAGS'
70167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70172 /* end confdefs.h. */
70173 #include <math.h>
70174 #ifdef HAVE_IEEEFP_H
70175 #include <ieeefp.h>
70176 #endif
70179 main ()
70181 sqrtl(0);
70183 return 0;
70185 _ACEOF
70186 if ac_fn_cxx_try_compile "$LINENO"; then :
70187 glibcxx_cv_func_sqrtl_use=yes
70188 else
70189 glibcxx_cv_func_sqrtl_use=no
70191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70192 ac_ext=c
70193 ac_cpp='$CPP $CPPFLAGS'
70194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70203 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70205 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70206 for ac_func in sqrtl
70207 do :
70208 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70209 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70210 cat >>confdefs.h <<_ACEOF
70211 #define HAVE_SQRTL 1
70212 _ACEOF
70215 done
70217 else
70219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70220 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70221 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70222 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70223 $as_echo_n "(cached) " >&6
70224 else
70227 ac_ext=cpp
70228 ac_cpp='$CXXCPP $CPPFLAGS'
70229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70234 /* end confdefs.h. */
70235 #include <math.h>
70236 #ifdef HAVE_IEEEFP_H
70237 #include <ieeefp.h>
70238 #endif
70241 main ()
70243 _sqrtl(0);
70245 return 0;
70247 _ACEOF
70248 if ac_fn_cxx_try_compile "$LINENO"; then :
70249 glibcxx_cv_func__sqrtl_use=yes
70250 else
70251 glibcxx_cv_func__sqrtl_use=no
70253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70254 ac_ext=c
70255 ac_cpp='$CPP $CPPFLAGS'
70256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70265 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70267 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70268 for ac_func in _sqrtl
70269 do :
70270 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70271 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70272 cat >>confdefs.h <<_ACEOF
70273 #define HAVE__SQRTL 1
70274 _ACEOF
70277 done
70286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70287 $as_echo_n "checking for sincosl declaration... " >&6; }
70288 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70289 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70290 $as_echo_n "(cached) " >&6
70291 else
70294 ac_ext=cpp
70295 ac_cpp='$CXXCPP $CPPFLAGS'
70296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70301 /* end confdefs.h. */
70302 #include <math.h>
70304 main ()
70306 sincosl(0, 0, 0);
70308 return 0;
70310 _ACEOF
70311 if ac_fn_cxx_try_compile "$LINENO"; then :
70312 glibcxx_cv_func_sincosl_use=yes
70313 else
70314 glibcxx_cv_func_sincosl_use=no
70316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70317 ac_ext=c
70318 ac_cpp='$CPP $CPPFLAGS'
70319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70328 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70330 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70331 for ac_func in sincosl
70332 do :
70333 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70334 if test "x$ac_cv_func_sincosl" = x""yes; then :
70335 cat >>confdefs.h <<_ACEOF
70336 #define HAVE_SINCOSL 1
70337 _ACEOF
70340 done
70342 else
70344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70345 $as_echo_n "checking for _sincosl declaration... " >&6; }
70346 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70347 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70348 $as_echo_n "(cached) " >&6
70349 else
70352 ac_ext=cpp
70353 ac_cpp='$CXXCPP $CPPFLAGS'
70354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70359 /* end confdefs.h. */
70360 #include <math.h>
70362 main ()
70364 _sincosl(0, 0, 0);
70366 return 0;
70368 _ACEOF
70369 if ac_fn_cxx_try_compile "$LINENO"; then :
70370 glibcxx_cv_func__sincosl_use=yes
70371 else
70372 glibcxx_cv_func__sincosl_use=no
70374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70375 ac_ext=c
70376 ac_cpp='$CPP $CPPFLAGS'
70377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70386 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70388 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70389 for ac_func in _sincosl
70390 do :
70391 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70392 if test "x$ac_cv_func__sincosl" = x""yes; then :
70393 cat >>confdefs.h <<_ACEOF
70394 #define HAVE__SINCOSL 1
70395 _ACEOF
70398 done
70407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70408 $as_echo_n "checking for finitel declaration... " >&6; }
70409 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70410 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70411 $as_echo_n "(cached) " >&6
70412 else
70415 ac_ext=cpp
70416 ac_cpp='$CXXCPP $CPPFLAGS'
70417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70422 /* end confdefs.h. */
70423 #include <math.h>
70424 #ifdef HAVE_IEEEFP_H
70425 #include <ieeefp.h>
70426 #endif
70429 main ()
70431 finitel(0);
70433 return 0;
70435 _ACEOF
70436 if ac_fn_cxx_try_compile "$LINENO"; then :
70437 glibcxx_cv_func_finitel_use=yes
70438 else
70439 glibcxx_cv_func_finitel_use=no
70441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70442 ac_ext=c
70443 ac_cpp='$CPP $CPPFLAGS'
70444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70453 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70455 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70456 for ac_func in finitel
70457 do :
70458 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70459 if test "x$ac_cv_func_finitel" = x""yes; then :
70460 cat >>confdefs.h <<_ACEOF
70461 #define HAVE_FINITEL 1
70462 _ACEOF
70465 done
70467 else
70469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70470 $as_echo_n "checking for _finitel declaration... " >&6; }
70471 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70472 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70473 $as_echo_n "(cached) " >&6
70474 else
70477 ac_ext=cpp
70478 ac_cpp='$CXXCPP $CPPFLAGS'
70479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70484 /* end confdefs.h. */
70485 #include <math.h>
70486 #ifdef HAVE_IEEEFP_H
70487 #include <ieeefp.h>
70488 #endif
70491 main ()
70493 _finitel(0);
70495 return 0;
70497 _ACEOF
70498 if ac_fn_cxx_try_compile "$LINENO"; then :
70499 glibcxx_cv_func__finitel_use=yes
70500 else
70501 glibcxx_cv_func__finitel_use=no
70503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70504 ac_ext=c
70505 ac_cpp='$CPP $CPPFLAGS'
70506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70515 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70517 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70518 for ac_func in _finitel
70519 do :
70520 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70521 if test "x$ac_cv_func__finitel" = x""yes; then :
70522 cat >>confdefs.h <<_ACEOF
70523 #define HAVE__FINITEL 1
70524 _ACEOF
70527 done
70535 LIBS="$ac_save_LIBS"
70536 CXXFLAGS="$ac_save_CXXFLAGS"
70539 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70540 ac_save_CXXFLAGS="$CXXFLAGS"
70541 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70545 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70546 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70547 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70548 $as_echo_n "(cached) " >&6
70549 else
70552 ac_ext=cpp
70553 ac_cpp='$CXXCPP $CPPFLAGS'
70554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70559 /* end confdefs.h. */
70560 #include <stdlib.h>
70562 main ()
70564 at_quick_exit(0);
70566 return 0;
70568 _ACEOF
70569 if ac_fn_cxx_try_compile "$LINENO"; then :
70570 glibcxx_cv_func_at_quick_exit_use=yes
70571 else
70572 glibcxx_cv_func_at_quick_exit_use=no
70574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70575 ac_ext=c
70576 ac_cpp='$CPP $CPPFLAGS'
70577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70586 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70587 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70588 for ac_func in at_quick_exit
70589 do :
70590 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70591 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70592 cat >>confdefs.h <<_ACEOF
70593 #define HAVE_AT_QUICK_EXIT 1
70594 _ACEOF
70597 done
70602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70603 $as_echo_n "checking for quick_exit declaration... " >&6; }
70604 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70605 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70606 $as_echo_n "(cached) " >&6
70607 else
70610 ac_ext=cpp
70611 ac_cpp='$CXXCPP $CPPFLAGS'
70612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70617 /* end confdefs.h. */
70618 #include <stdlib.h>
70620 main ()
70622 quick_exit(0);
70624 return 0;
70626 _ACEOF
70627 if ac_fn_cxx_try_compile "$LINENO"; then :
70628 glibcxx_cv_func_quick_exit_use=yes
70629 else
70630 glibcxx_cv_func_quick_exit_use=no
70632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70633 ac_ext=c
70634 ac_cpp='$CPP $CPPFLAGS'
70635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70644 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70645 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70646 for ac_func in quick_exit
70647 do :
70648 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70649 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70650 cat >>confdefs.h <<_ACEOF
70651 #define HAVE_QUICK_EXIT 1
70652 _ACEOF
70655 done
70660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70661 $as_echo_n "checking for strtold declaration... " >&6; }
70662 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70663 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70664 $as_echo_n "(cached) " >&6
70665 else
70668 ac_ext=cpp
70669 ac_cpp='$CXXCPP $CPPFLAGS'
70670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70675 /* end confdefs.h. */
70676 #include <stdlib.h>
70678 main ()
70680 strtold(0, 0);
70682 return 0;
70684 _ACEOF
70685 if ac_fn_cxx_try_compile "$LINENO"; then :
70686 glibcxx_cv_func_strtold_use=yes
70687 else
70688 glibcxx_cv_func_strtold_use=no
70690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70691 ac_ext=c
70692 ac_cpp='$CPP $CPPFLAGS'
70693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70702 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70703 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70704 for ac_func in strtold
70705 do :
70706 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70707 if test "x$ac_cv_func_strtold" = x""yes; then :
70708 cat >>confdefs.h <<_ACEOF
70709 #define HAVE_STRTOLD 1
70710 _ACEOF
70713 done
70720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
70721 $as_echo_n "checking for strtof declaration... " >&6; }
70722 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
70723 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
70724 $as_echo_n "(cached) " >&6
70725 else
70728 ac_ext=cpp
70729 ac_cpp='$CXXCPP $CPPFLAGS'
70730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70735 /* end confdefs.h. */
70736 #include <stdlib.h>
70738 main ()
70740 strtof(0, 0);
70742 return 0;
70744 _ACEOF
70745 if ac_fn_cxx_try_compile "$LINENO"; then :
70746 glibcxx_cv_func_strtof_use=yes
70747 else
70748 glibcxx_cv_func_strtof_use=no
70750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70751 ac_ext=c
70752 ac_cpp='$CPP $CPPFLAGS'
70753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
70762 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
70763 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
70764 for ac_func in strtof
70765 do :
70766 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
70767 if test "x$ac_cv_func_strtof" = x""yes; then :
70768 cat >>confdefs.h <<_ACEOF
70769 #define HAVE_STRTOF 1
70770 _ACEOF
70773 done
70780 CXXFLAGS="$ac_save_CXXFLAGS"
70783 *-vxworks)
70784 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
70786 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
70788 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
70790 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
70792 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
70794 $as_echo "#define HAVE_COSF 1" >>confdefs.h
70796 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
70798 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
70800 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
70802 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
70804 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
70806 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
70808 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
70810 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
70812 $as_echo "#define HAVE_POWF 1" >>confdefs.h
70814 $as_echo "#define HAVE_SINF 1" >>confdefs.h
70816 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
70818 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
70820 $as_echo "#define HAVE_TANF 1" >>confdefs.h
70822 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
70826 as_fn_error "No support for this host/target combination." "$LINENO" 5
70828 esac
70832 # At some point, we should differentiate between architectures
70833 # like x86, which have long double versions, and alpha/powerpc/etc.,
70834 # which don't. For the time being, punt.
70835 if test x"long_double_math_on_this_cpu" = x"yes"; then
70836 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
70838 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
70840 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
70842 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
70844 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
70846 $as_echo "#define HAVE_COSL 1" >>confdefs.h
70848 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
70850 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
70852 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
70854 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
70856 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
70858 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
70860 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
70862 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
70864 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
70866 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
70868 $as_echo "#define HAVE_POWL 1" >>confdefs.h
70870 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
70872 $as_echo "#define HAVE_SINL 1" >>confdefs.h
70874 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
70876 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
70878 $as_echo "#define HAVE_TANL 1" >>confdefs.h
70880 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
70885 # Check for _Unwind_GetIPInfo.
70888 # Check whether --with-system-libunwind was given.
70889 if test "${with_system_libunwind+set}" = set; then :
70890 withval=$with_system_libunwind;
70893 # If system-libunwind was not specifically set, pick a default setting.
70894 if test x$with_system_libunwind = x; then
70895 case ${target} in
70896 ia64-*-hpux*) with_system_libunwind=yes ;;
70897 *) with_system_libunwind=no ;;
70898 esac
70900 # Based on system-libunwind and target, do we have ipinfo?
70901 if test x$with_system_libunwind = xyes; then
70902 case ${target} in
70903 ia64-*-*) have_unwind_getipinfo=no ;;
70904 *) have_unwind_getipinfo=yes ;;
70905 esac
70906 else
70907 # Darwin before version 9 does not have _Unwind_GetIPInfo.
70909 case ${target} in
70910 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
70911 *) have_unwind_getipinfo=yes ;;
70912 esac
70916 if test x$have_unwind_getipinfo = xyes; then
70918 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
70923 # Check whether --enable-linux-futex was given.
70924 if test "${enable_linux_futex+set}" = set; then :
70925 enableval=$enable_linux_futex;
70926 case "$enableval" in
70927 yes|no|default) ;;
70928 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
70929 esac
70931 else
70932 enable_linux_futex=default
70936 case "$target" in
70937 *-linux*)
70938 case "$enable_linux_futex" in
70939 default)
70940 # If headers don't have gettid/futex syscalls definition, then
70941 # default to no, otherwise there will be compile time failures.
70942 # Otherwise, default to yes. If we don't detect we are
70943 # compiled/linked against NPTL and not cross-compiling, check
70944 # if programs are run by default against NPTL and if not, issue
70945 # a warning.
70946 enable_linux_futex=no
70947 if test x$gcc_no_link = xyes; then
70948 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70951 /* end confdefs.h. */
70952 #include <sys/syscall.h>
70953 int lk;
70955 main ()
70957 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70959 return 0;
70961 _ACEOF
70962 if ac_fn_c_try_link "$LINENO"; then :
70963 save_LIBS="$LIBS"
70964 LIBS="-lpthread $LIBS"
70965 if test x$gcc_no_link = xyes; then
70966 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70969 /* end confdefs.h. */
70970 #ifndef _GNU_SOURCE
70971 #define _GNU_SOURCE 1
70972 #endif
70973 #include <pthread.h>
70974 pthread_t th; void *status;
70976 main ()
70978 pthread_tryjoin_np (th, &status);
70980 return 0;
70982 _ACEOF
70983 if ac_fn_c_try_link "$LINENO"; then :
70984 enable_linux_futex=yes
70985 else
70986 if test x$cross_compiling = xno; then
70987 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
70988 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
70989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
70990 If so, please configure with --disable-linux-futex" >&5
70991 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
70992 If so, please configure with --disable-linux-futex" >&2;}
70995 enable_linux_futex=yes
70997 rm -f core conftest.err conftest.$ac_objext \
70998 conftest$ac_exeext conftest.$ac_ext
70999 LIBS="$save_LIBS"
71001 rm -f core conftest.err conftest.$ac_objext \
71002 conftest$ac_exeext conftest.$ac_ext
71004 yes)
71005 if test x$gcc_no_link = xyes; then
71006 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71009 /* end confdefs.h. */
71010 #include <sys/syscall.h>
71011 int lk;
71013 main ()
71015 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
71017 return 0;
71019 _ACEOF
71020 if ac_fn_c_try_link "$LINENO"; then :
71022 else
71023 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
71025 rm -f core conftest.err conftest.$ac_objext \
71026 conftest$ac_exeext conftest.$ac_ext
71028 esac
71031 enable_linux_futex=no
71033 esac
71034 if test x$enable_linux_futex = xyes; then
71036 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
71043 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
71045 acx_cv_header_stdint=stddef.h
71046 acx_cv_header_stdint_kind="(already complete)"
71047 for i in stdint.h $inttype_headers; do
71048 unset ac_cv_type_uintptr_t
71049 unset ac_cv_type_uintmax_t
71050 unset ac_cv_type_int_least32_t
71051 unset ac_cv_type_int_fast32_t
71052 unset ac_cv_type_uint64_t
71053 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
71054 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
71055 #include <$i>
71057 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
71058 acx_cv_header_stdint=$i
71059 else
71060 continue
71063 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
71064 #include <$i>
71066 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
71068 else
71069 acx_cv_header_stdint_kind="(mostly complete)"
71072 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
71073 #include <$i>
71075 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
71077 else
71078 acx_cv_header_stdint_kind="(mostly complete)"
71081 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
71082 #include <$i>
71084 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
71086 else
71087 acx_cv_header_stdint_kind="(mostly complete)"
71090 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
71091 #include <$i>
71093 if test "x$ac_cv_type_uint64_t" = x""yes; then :
71095 else
71096 acx_cv_header_stdint_kind="(lacks uint64_t)"
71099 break
71100 done
71101 if test "$acx_cv_header_stdint" = stddef.h; then
71102 acx_cv_header_stdint_kind="(lacks uintmax_t)"
71103 for i in stdint.h $inttype_headers; do
71104 unset ac_cv_type_uintptr_t
71105 unset ac_cv_type_uint32_t
71106 unset ac_cv_type_uint64_t
71107 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
71108 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
71109 #include <$i>
71111 if test "x$ac_cv_type_uint32_t" = x""yes; then :
71112 acx_cv_header_stdint=$i
71113 else
71114 continue
71117 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
71118 #include <$i>
71120 if test "x$ac_cv_type_uint64_t" = x""yes; then :
71124 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
71125 #include <$i>
71127 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
71131 break
71132 done
71134 if test "$acx_cv_header_stdint" = stddef.h; then
71135 acx_cv_header_stdint_kind="(u_intXX_t style)"
71136 for i in sys/types.h $inttype_headers; do
71137 unset ac_cv_type_u_int32_t
71138 unset ac_cv_type_u_int64_t
71139 $as_echo_n "looking for u_intXX_t types in $i, " >&6
71140 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
71141 #include <$i>
71143 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
71144 acx_cv_header_stdint=$i
71145 else
71146 continue
71149 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
71150 #include <$i>
71152 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
71156 break
71157 done
71159 if test "$acx_cv_header_stdint" = stddef.h; then
71160 acx_cv_header_stdint_kind="(using manual detection)"
71163 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
71164 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
71165 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
71166 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
71167 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
71169 # ----------------- Summarize what we found so far
71171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
71172 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
71174 case `$as_basename -- include/gstdint.h ||
71175 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
71176 Xinclude/gstdint.h : 'X\(//\)$' \| \
71177 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
71178 $as_echo X/include/gstdint.h |
71179 sed '/^.*\/\([^/][^/]*\)\/*$/{
71180 s//\1/
71183 /^X\/\(\/\/\)$/{
71184 s//\1/
71187 /^X\/\(\/\).*/{
71188 s//\1/
71191 s/.*/./; q'` in
71192 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71193 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71194 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71195 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71196 *) ;;
71197 esac
71199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
71200 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
71202 # ----------------- done included file, check C basic types --------
71204 # Lacking an uintptr_t? Test size of void *
71205 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
71206 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
71207 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71208 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71209 # This bug is HP SR number 8606223364.
71210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
71211 $as_echo_n "checking size of void *... " >&6; }
71212 if test "${ac_cv_sizeof_void_p+set}" = set; then :
71213 $as_echo_n "(cached) " >&6
71214 else
71215 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
71217 else
71218 if test "$ac_cv_type_void_p" = yes; then
71219 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71220 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71221 { as_fn_set_status 77
71222 as_fn_error "cannot compute sizeof (void *)
71223 See \`config.log' for more details." "$LINENO" 5; }; }
71224 else
71225 ac_cv_sizeof_void_p=0
71230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
71231 $as_echo "$ac_cv_sizeof_void_p" >&6; }
71235 cat >>confdefs.h <<_ACEOF
71236 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
71237 _ACEOF
71240 esac
71242 # Lacking an uint64_t? Test size of long
71243 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
71244 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
71245 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71246 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71247 # This bug is HP SR number 8606223364.
71248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
71249 $as_echo_n "checking size of long... " >&6; }
71250 if test "${ac_cv_sizeof_long+set}" = set; then :
71251 $as_echo_n "(cached) " >&6
71252 else
71253 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
71255 else
71256 if test "$ac_cv_type_long" = yes; then
71257 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71259 { as_fn_set_status 77
71260 as_fn_error "cannot compute sizeof (long)
71261 See \`config.log' for more details." "$LINENO" 5; }; }
71262 else
71263 ac_cv_sizeof_long=0
71268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
71269 $as_echo "$ac_cv_sizeof_long" >&6; }
71273 cat >>confdefs.h <<_ACEOF
71274 #define SIZEOF_LONG $ac_cv_sizeof_long
71275 _ACEOF
71278 esac
71280 if test $acx_cv_header_stdint = stddef.h; then
71281 # Lacking a good header? Test size of everything and deduce all types.
71282 # The cast to long int works around a bug in the HP C Compiler
71283 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71284 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71285 # This bug is HP SR number 8606223364.
71286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
71287 $as_echo_n "checking size of int... " >&6; }
71288 if test "${ac_cv_sizeof_int+set}" = set; then :
71289 $as_echo_n "(cached) " >&6
71290 else
71291 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
71293 else
71294 if test "$ac_cv_type_int" = yes; then
71295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71297 { as_fn_set_status 77
71298 as_fn_error "cannot compute sizeof (int)
71299 See \`config.log' for more details." "$LINENO" 5; }; }
71300 else
71301 ac_cv_sizeof_int=0
71306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
71307 $as_echo "$ac_cv_sizeof_int" >&6; }
71311 cat >>confdefs.h <<_ACEOF
71312 #define SIZEOF_INT $ac_cv_sizeof_int
71313 _ACEOF
71316 # The cast to long int works around a bug in the HP C Compiler
71317 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71318 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71319 # This bug is HP SR number 8606223364.
71320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
71321 $as_echo_n "checking size of short... " >&6; }
71322 if test "${ac_cv_sizeof_short+set}" = set; then :
71323 $as_echo_n "(cached) " >&6
71324 else
71325 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
71327 else
71328 if test "$ac_cv_type_short" = yes; then
71329 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71331 { as_fn_set_status 77
71332 as_fn_error "cannot compute sizeof (short)
71333 See \`config.log' for more details." "$LINENO" 5; }; }
71334 else
71335 ac_cv_sizeof_short=0
71340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
71341 $as_echo "$ac_cv_sizeof_short" >&6; }
71345 cat >>confdefs.h <<_ACEOF
71346 #define SIZEOF_SHORT $ac_cv_sizeof_short
71347 _ACEOF
71350 # The cast to long int works around a bug in the HP C Compiler
71351 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71352 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71353 # This bug is HP SR number 8606223364.
71354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
71355 $as_echo_n "checking size of char... " >&6; }
71356 if test "${ac_cv_sizeof_char+set}" = set; then :
71357 $as_echo_n "(cached) " >&6
71358 else
71359 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
71361 else
71362 if test "$ac_cv_type_char" = yes; then
71363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71365 { as_fn_set_status 77
71366 as_fn_error "cannot compute sizeof (char)
71367 See \`config.log' for more details." "$LINENO" 5; }; }
71368 else
71369 ac_cv_sizeof_char=0
71374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
71375 $as_echo "$ac_cv_sizeof_char" >&6; }
71379 cat >>confdefs.h <<_ACEOF
71380 #define SIZEOF_CHAR $ac_cv_sizeof_char
71381 _ACEOF
71385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
71386 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
71387 case "$ac_cv_sizeof_char" in
71388 1) acx_cv_type_int8_t=char ;;
71389 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
71390 esac
71391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
71392 $as_echo "$acx_cv_type_int8_t" >&6; }
71394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
71395 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
71396 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
71397 2:*) acx_cv_type_int16_t=int ;;
71398 *:2) acx_cv_type_int16_t=short ;;
71399 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
71400 esac
71401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
71402 $as_echo "$acx_cv_type_int16_t" >&6; }
71404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
71405 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
71406 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
71407 4:*) acx_cv_type_int32_t=int ;;
71408 *:4) acx_cv_type_int32_t=long ;;
71409 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
71410 esac
71411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
71412 $as_echo "$acx_cv_type_int32_t" >&6; }
71415 # These tests are here to make the output prettier
71417 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
71418 case "$ac_cv_sizeof_long" in
71419 8) acx_cv_type_int64_t=long ;;
71420 esac
71421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
71422 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
71423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
71424 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
71427 # Now we can use the above types
71429 if test "$ac_cv_type_uintptr_t" != yes; then
71430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
71431 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
71432 case $ac_cv_sizeof_void_p in
71433 2) acx_cv_type_intptr_t=int16_t ;;
71434 4) acx_cv_type_intptr_t=int32_t ;;
71435 8) acx_cv_type_intptr_t=int64_t ;;
71436 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
71437 esac
71438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
71439 $as_echo "$acx_cv_type_intptr_t" >&6; }
71442 # ----------------- done all checks, emit header -------------
71443 ac_config_commands="$ac_config_commands include/gstdint.h"
71449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
71450 $as_echo_n "checking for GNU c++filt... " >&6; }
71451 if test "${ac_cv_path_CXXFILT+set}" = set; then :
71452 $as_echo_n "(cached) " >&6
71453 else
71454 if test -z "$CXXFILT"; then
71455 ac_path_CXXFILT_found=false
71456 # Loop through the user's path and test for each of PROGNAME-LIST
71457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71458 for as_dir in $PATH
71460 IFS=$as_save_IFS
71461 test -z "$as_dir" && as_dir=.
71462 for ac_prog in c++filt gc++filt; do
71463 for ac_exec_ext in '' $ac_executable_extensions; do
71464 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
71465 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
71466 # Check for GNU $ac_path_CXXFILT
71467 case `"$ac_path_CXXFILT" --version 2>&1` in
71468 *GNU*)
71469 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
71470 esac
71472 $ac_path_CXXFILT_found && break 3
71473 done
71474 done
71475 done
71476 IFS=$as_save_IFS
71477 if test -z "$ac_cv_path_CXXFILT"; then
71480 else
71481 ac_cv_path_CXXFILT=$CXXFILT
71485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
71486 $as_echo "$ac_cv_path_CXXFILT" >&6; }
71487 CXXFILT=$ac_cv_path_CXXFILT
71491 # Check whether --enable-symvers was given.
71492 if test "${enable_symvers+set}" = set; then :
71493 enableval=$enable_symvers;
71494 case "$enableval" in
71495 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
71496 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
71497 esac
71499 else
71500 enable_symvers=yes
71505 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
71506 # don't know enough about $LD to do tricks...
71508 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
71509 # with extern "C++" in version scripts.
71512 # Turn a 'yes' into a suitable default.
71513 if test x$enable_symvers = xyes ; then
71514 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
71515 enable_symvers=no
71516 else
71517 if test $with_gnu_ld = yes ; then
71518 case ${target_os} in
71519 hpux*)
71520 enable_symvers=no ;;
71522 enable_symvers=gnu ;;
71523 esac
71524 else
71525 case ${target_os} in
71526 darwin*)
71527 enable_symvers=darwin ;;
71528 # Sun symbol versioning exists since Solaris 2.5.
71529 solaris2.[5-9]* | solaris2.1[0-9]*)
71530 # make_sunver.pl needs GNU c++filt to support extern "C++" in
71531 # version scripts, so disable symbol versioning if none can be
71532 # found.
71533 if test -z "$ac_cv_path_CXXFILT"; then
71534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71535 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
71537 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
71538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71539 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71540 enable_symvers=no
71541 else
71542 enable_symvers=sun
71546 enable_symvers=no ;;
71547 esac
71552 # Check to see if 'darwin' or 'darwin-export' can win.
71553 if test x$enable_symvers = xdarwin-export ; then
71554 enable_symvers=darwin
71557 # Check if 'sun' was requested on non-Solaris 2 platforms.
71558 if test x$enable_symvers = xsun ; then
71559 case ${target_os} in
71560 solaris2*)
71561 # All fine.
71564 # Unlikely to work.
71565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71566 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
71568 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
71569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71570 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71571 enable_symvers=no
71573 esac
71576 # Check to see if 'gnu' can win.
71577 if test $enable_symvers = gnu ||
71578 test $enable_symvers = gnu-versioned-namespace ||
71579 test $enable_symvers = sun; then
71580 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
71581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
71582 $as_echo_n "checking for shared libgcc... " >&6; }
71583 ac_save_CFLAGS="$CFLAGS"
71584 CFLAGS=' -lgcc_s'
71585 if test x$gcc_no_link = xyes; then
71586 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71589 /* end confdefs.h. */
71592 main ()
71594 return 0;
71596 return 0;
71598 _ACEOF
71599 if ac_fn_c_try_link "$LINENO"; then :
71600 glibcxx_shared_libgcc=yes
71601 else
71602 glibcxx_shared_libgcc=no
71604 rm -f core conftest.err conftest.$ac_objext \
71605 conftest$ac_exeext conftest.$ac_ext
71606 CFLAGS="$ac_save_CFLAGS"
71607 if test $glibcxx_shared_libgcc = no; then
71608 cat > conftest.c <<EOF
71609 int main (void) { return 0; }
71611 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
71612 -shared -shared-libgcc -o conftest.so \
71613 conftest.c -v 2>&1 >/dev/null \
71614 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
71615 rm -f conftest.c conftest.so
71616 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
71617 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
71618 if test x$gcc_no_link = xyes; then
71619 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71622 /* end confdefs.h. */
71625 main ()
71627 return 0;
71629 return 0;
71631 _ACEOF
71632 if ac_fn_c_try_link "$LINENO"; then :
71633 glibcxx_shared_libgcc=yes
71635 rm -f core conftest.err conftest.$ac_objext \
71636 conftest$ac_exeext conftest.$ac_ext
71637 CFLAGS="$ac_save_CFLAGS"
71640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
71641 $as_echo "$glibcxx_shared_libgcc" >&6; }
71643 # For GNU ld, we need at least this version. The format is described in
71644 # GLIBCXX_CHECK_LINKER_FEATURES above.
71645 glibcxx_min_gnu_ld_version=21400
71647 # If no shared libgcc, can't win.
71648 if test $glibcxx_shared_libgcc != yes; then
71649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71650 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
71652 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
71653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71654 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71655 enable_symvers=no
71656 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
71657 : All interesting versions of Sun ld support sun style symbol versioning.
71658 elif test $with_gnu_ld != yes ; then
71659 # just fail for now
71660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71661 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
71663 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
71664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71665 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71666 enable_symvers=no
71667 elif test $glibcxx_ld_is_gold = yes ; then
71668 : All versions of gold support symbol versioning.
71669 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
71670 # The right tools, the right setup, but too old. Fallbacks?
71671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
71672 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
71673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
71674 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
71675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
71676 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
71677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
71678 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
71679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71680 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71681 enable_symvers=no
71685 # For libtool versioning info, format is CURRENT:REVISION:AGE
71686 libtool_VERSION=6:19:0
71688 # Everything parsed; figure out what files and settings to use.
71689 case $enable_symvers in
71691 SYMVER_FILE=config/abi/pre/none.ver
71693 gnu)
71694 SYMVER_FILE=config/abi/pre/gnu.ver
71696 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
71699 gnu-versioned-namespace)
71700 libtool_VERSION=7:0:0
71701 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
71703 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
71706 darwin)
71707 SYMVER_FILE=config/abi/pre/gnu.ver
71709 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
71712 sun)
71713 SYMVER_FILE=config/abi/pre/gnu.ver
71715 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
71718 esac
71720 if test x$enable_symvers != xno ; then
71722 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
71726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
71727 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
71728 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
71729 $as_echo_n "(cached) " >&6
71730 else
71732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71733 /* end confdefs.h. */
71734 void foo (void); __asm (".symver foo, bar@SYMVER");
71736 main ()
71740 return 0;
71742 _ACEOF
71743 if ac_fn_c_try_compile "$LINENO"; then :
71744 glibcxx_cv_have_as_symver_directive=yes
71745 else
71746 glibcxx_cv_have_as_symver_directive=no
71748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
71751 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
71752 if test $glibcxx_cv_have_as_symver_directive = yes; then
71754 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
71765 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
71766 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
71768 if test $enable_symvers != no ; then
71769 case ${target_os} in
71770 # The Solaris 2 runtime linker doesn't support the GNU extension of
71771 # binding the same symbol to different versions
71772 solaris2*)
71774 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
71777 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
71780 esac
71783 # Now, set up compatibility support, if any.
71784 # In addition, need this to deal with std::size_t mangling in
71785 # src/compatibility.cc. In a perfect world, could use
71786 # typeid(std::size_t).name()[0] to do direct substitution.
71787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
71788 $as_echo_n "checking for size_t as unsigned int... " >&6; }
71789 ac_save_CFLAGS="$CFLAGS"
71790 CFLAGS="-Werror"
71791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71792 /* end confdefs.h. */
71795 main ()
71797 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
71799 return 0;
71801 _ACEOF
71802 if ac_fn_c_try_compile "$LINENO"; then :
71803 glibcxx_size_t_is_i=yes
71804 else
71805 glibcxx_size_t_is_i=no
71807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71808 CFLAGS=$ac_save_CFLAGS
71809 if test "$glibcxx_size_t_is_i" = yes; then
71811 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
71814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
71815 $as_echo "$glibcxx_size_t_is_i" >&6; }
71817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
71818 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
71819 ac_save_CFLAGS="$CFLAGS"
71820 CFLAGS="-Werror"
71821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71822 /* end confdefs.h. */
71825 main ()
71827 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
71829 return 0;
71831 _ACEOF
71832 if ac_fn_c_try_compile "$LINENO"; then :
71833 glibcxx_ptrdiff_t_is_i=yes
71834 else
71835 glibcxx_ptrdiff_t_is_i=no
71837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71838 CFLAGS=$ac_save_CFLAGS
71839 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
71841 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
71844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
71845 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
71850 # Check whether --enable-libstdcxx-visibility was given.
71851 if test "${enable_libstdcxx_visibility+set}" = set; then :
71852 enableval=$enable_libstdcxx_visibility;
71853 case "$enableval" in
71854 yes|no) ;;
71855 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
71856 esac
71858 else
71859 enable_libstdcxx_visibility=yes
71864 if test x$enable_libstdcxx_visibility = xyes ; then
71865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
71866 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
71867 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
71868 $as_echo_n "(cached) " >&6
71869 else
71871 save_CFLAGS="$CFLAGS"
71872 CFLAGS="$CFLAGS -Werror"
71873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71874 /* end confdefs.h. */
71875 void __attribute__((visibility("hidden"))) foo(void) { }
71877 main ()
71881 return 0;
71883 _ACEOF
71884 if ac_fn_c_try_compile "$LINENO"; then :
71885 glibcxx_cv_have_attribute_visibility=yes
71886 else
71887 glibcxx_cv_have_attribute_visibility=no
71889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71890 CFLAGS="$save_CFLAGS"
71892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
71893 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
71894 if test $glibcxx_cv_have_attribute_visibility = no; then
71895 enable_libstdcxx_visibility=no
71900 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
71901 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
71904 ac_ldbl_compat=no
71905 case "$target" in
71906 powerpc*-*-linux* | \
71907 sparc*-*-linux* | \
71908 s390*-*-linux* | \
71909 alpha*-*-linux*)
71910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71911 /* end confdefs.h. */
71914 main ()
71917 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
71918 #error no need for long double compatibility
71919 #endif
71922 return 0;
71924 _ACEOF
71925 if ac_fn_c_try_compile "$LINENO"; then :
71926 ac_ldbl_compat=yes
71927 else
71928 ac_ldbl_compat=no
71930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71931 if test "$ac_ldbl_compat" = yes; then
71933 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
71935 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
71937 esac
71940 # Check if assembler supports disabling hardware capability support.
71942 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
71944 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
71945 # with a different meaning.
71946 case ${target_os} in
71947 solaris2*)
71948 ac_save_CFLAGS="$CFLAGS"
71949 CFLAGS="$CFLAGS -Wa,-nH"
71951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
71952 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
71953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71954 /* end confdefs.h. */
71957 main ()
71959 return 0;
71961 return 0;
71963 _ACEOF
71964 if ac_fn_c_try_compile "$LINENO"; then :
71965 ac_hwcap_flags=yes
71966 else
71967 ac_hwcap_flags=no
71969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71970 if test "$ac_hwcap_flags" = "yes"; then
71971 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
71973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
71974 $as_echo "$ac_hwcap_flags" >&6; }
71976 CFLAGS="$ac_save_CFLAGS"
71978 esac
71983 # Check if assembler supports rdrand opcode.
71985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
71986 $as_echo_n "checking for rdrand support in assembler... " >&6; }
71987 if test "${ac_cv_x86_rdrand+set}" = set; then :
71988 $as_echo_n "(cached) " >&6
71989 else
71991 ac_cv_x86_rdrand=no
71992 case "$target" in
71993 i?86-*-* | \
71994 x86_64-*-*)
71995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71996 /* end confdefs.h. */
71999 main ()
72001 asm("rdrand %eax");
72003 return 0;
72005 _ACEOF
72006 if ac_fn_c_try_compile "$LINENO"; then :
72007 ac_cv_x86_rdrand=yes
72008 else
72009 ac_cv_x86_rdrand=no
72011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72012 esac
72016 if test $ac_cv_x86_rdrand = yes; then
72018 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
72021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
72022 $as_echo "$ac_cv_x86_rdrand" >&6; }
72025 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
72027 if $GLIBCXX_IS_NATIVE ; then
72028 # Do checks for resource limit functions.
72030 setrlimit_have_headers=yes
72031 for ac_header in unistd.h sys/time.h sys/resource.h
72032 do :
72033 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
72034 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
72035 eval as_val=\$$as_ac_Header
72036 if test "x$as_val" = x""yes; then :
72037 cat >>confdefs.h <<_ACEOF
72038 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
72039 _ACEOF
72041 else
72042 setrlimit_have_headers=no
72045 done
72047 # If don't have the headers, then we can't run the tests now, and we
72048 # won't be seeing any of these during testsuite compilation.
72049 if test $setrlimit_have_headers = yes; then
72050 # Can't do these in a loop, else the resulting syntax is wrong.
72052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
72053 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
72054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72055 /* end confdefs.h. */
72056 #include <unistd.h>
72057 #include <sys/time.h>
72058 #include <sys/resource.h>
72061 main ()
72063 int f = RLIMIT_DATA ;
72065 return 0;
72067 _ACEOF
72068 if ac_fn_c_try_compile "$LINENO"; then :
72069 glibcxx_mresult=1
72070 else
72071 glibcxx_mresult=0
72073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72075 cat >>confdefs.h <<_ACEOF
72076 #define HAVE_LIMIT_DATA $glibcxx_mresult
72077 _ACEOF
72079 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72081 $as_echo "$res" >&6; }
72084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
72085 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
72086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72087 /* end confdefs.h. */
72088 #include <unistd.h>
72089 #include <sys/time.h>
72090 #include <sys/resource.h>
72093 main ()
72095 int f = RLIMIT_RSS ;
72097 return 0;
72099 _ACEOF
72100 if ac_fn_c_try_compile "$LINENO"; then :
72101 glibcxx_mresult=1
72102 else
72103 glibcxx_mresult=0
72105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72107 cat >>confdefs.h <<_ACEOF
72108 #define HAVE_LIMIT_RSS $glibcxx_mresult
72109 _ACEOF
72111 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72113 $as_echo "$res" >&6; }
72116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
72117 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
72118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72119 /* end confdefs.h. */
72120 #include <unistd.h>
72121 #include <sys/time.h>
72122 #include <sys/resource.h>
72125 main ()
72127 int f = RLIMIT_VMEM ;
72129 return 0;
72131 _ACEOF
72132 if ac_fn_c_try_compile "$LINENO"; then :
72133 glibcxx_mresult=1
72134 else
72135 glibcxx_mresult=0
72137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72139 cat >>confdefs.h <<_ACEOF
72140 #define HAVE_LIMIT_VMEM $glibcxx_mresult
72141 _ACEOF
72143 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72145 $as_echo "$res" >&6; }
72148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
72149 $as_echo_n "checking for RLIMIT_AS... " >&6; }
72150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72151 /* end confdefs.h. */
72152 #include <unistd.h>
72153 #include <sys/time.h>
72154 #include <sys/resource.h>
72157 main ()
72159 int f = RLIMIT_AS ;
72161 return 0;
72163 _ACEOF
72164 if ac_fn_c_try_compile "$LINENO"; then :
72165 glibcxx_mresult=1
72166 else
72167 glibcxx_mresult=0
72169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72171 cat >>confdefs.h <<_ACEOF
72172 #define HAVE_LIMIT_AS $glibcxx_mresult
72173 _ACEOF
72175 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72177 $as_echo "$res" >&6; }
72180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
72181 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
72182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72183 /* end confdefs.h. */
72184 #include <unistd.h>
72185 #include <sys/time.h>
72186 #include <sys/resource.h>
72189 main ()
72191 int f = RLIMIT_FSIZE ;
72193 return 0;
72195 _ACEOF
72196 if ac_fn_c_try_compile "$LINENO"; then :
72197 glibcxx_mresult=1
72198 else
72199 glibcxx_mresult=0
72201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72203 cat >>confdefs.h <<_ACEOF
72204 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
72205 _ACEOF
72207 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72209 $as_echo "$res" >&6; }
72212 # Check for rlimit, setrlimit.
72213 if test "${glibcxx_cv_setrlimit+set}" = set; then :
72214 $as_echo_n "(cached) " >&6
72215 else
72217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72218 /* end confdefs.h. */
72219 #include <unistd.h>
72220 #include <sys/time.h>
72221 #include <sys/resource.h>
72224 main ()
72226 struct rlimit r;
72227 setrlimit(0, &r);
72229 return 0;
72231 _ACEOF
72232 if ac_fn_c_try_compile "$LINENO"; then :
72233 glibcxx_cv_setrlimit=yes
72234 else
72235 glibcxx_cv_setrlimit=no
72237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
72244 $as_echo_n "checking for testsuite resource limits support... " >&6; }
72245 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
72246 ac_res_limits=yes
72248 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
72250 else
72251 ac_res_limits=no
72253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
72254 $as_echo "$ac_res_limits" >&6; }
72257 # Look for setenv, so that extended locale tests can be performed.
72259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
72260 $as_echo_n "checking for setenv declaration... " >&6; }
72261 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
72262 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
72263 $as_echo_n "(cached) " >&6
72264 else
72267 ac_ext=cpp
72268 ac_cpp='$CXXCPP $CPPFLAGS'
72269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72274 /* end confdefs.h. */
72275 #include <stdlib.h>
72277 main ()
72279 setenv(0, 0, 0);
72281 return 0;
72283 _ACEOF
72284 if ac_fn_cxx_try_compile "$LINENO"; then :
72285 glibcxx_cv_func_setenv_use=yes
72286 else
72287 glibcxx_cv_func_setenv_use=no
72289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72290 ac_ext=c
72291 ac_cpp='$CPP $CPPFLAGS'
72292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
72301 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
72302 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
72303 for ac_func in setenv
72304 do :
72305 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
72306 if test "x$ac_cv_func_setenv" = x""yes; then :
72307 cat >>confdefs.h <<_ACEOF
72308 #define HAVE_SETENV 1
72309 _ACEOF
72312 done
72318 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
72319 test $enable_symvers != no; then
72320 case "$host" in
72321 *-*-cygwin*)
72322 enable_abi_check=no ;;
72324 enable_abi_check=yes ;;
72325 esac
72326 else
72327 # Only build this as native, since automake does not understand
72328 # CXX_FOR_BUILD.
72329 enable_abi_check=no
72332 # Export file names for ABI checking.
72333 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
72335 baseline_subdir_switch="$abi_baseline_subdir_switch"
72339 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
72341 # Check whether --enable-libstdcxx-threads was given.
72342 if test "${enable_libstdcxx_threads+set}" = set; then :
72343 enableval=$enable_libstdcxx_threads;
72344 case "$enableval" in
72345 yes|no) ;;
72346 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
72347 esac
72349 else
72350 enable_libstdcxx_threads=auto
72355 if test x$enable_libstdcxx_threads = xauto ||
72356 test x$enable_libstdcxx_threads = xyes; then
72359 ac_ext=cpp
72360 ac_cpp='$CXXCPP $CPPFLAGS'
72361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72366 ac_save_CXXFLAGS="$CXXFLAGS"
72367 CXXFLAGS="$CXXFLAGS -fno-exceptions \
72368 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
72370 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
72371 case $target_thread_file in
72372 posix)
72373 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
72374 esac
72376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
72377 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
72379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72380 /* end confdefs.h. */
72381 #include <unistd.h>
72383 main ()
72386 // In case of POSIX threads check _POSIX_TIMEOUTS.
72387 #if (defined(_PTHREADS) \
72388 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
72389 #error
72390 #endif
72393 return 0;
72395 _ACEOF
72396 if ac_fn_cxx_try_compile "$LINENO"; then :
72397 ac_gthread_use_mutex_timedlock=1
72398 else
72399 ac_gthread_use_mutex_timedlock=0
72401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72404 cat >>confdefs.h <<_ACEOF
72405 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
72406 _ACEOF
72409 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
72410 else res_mutex_timedlock=no ; fi
72411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
72412 $as_echo "$res_mutex_timedlock" >&6; }
72414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
72415 $as_echo_n "checking for gthreads library... " >&6; }
72417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72418 /* end confdefs.h. */
72419 #include "gthr.h"
72421 main ()
72424 #ifndef __GTHREADS_CXX0X
72425 #error
72426 #endif
72429 return 0;
72431 _ACEOF
72432 if ac_fn_cxx_try_compile "$LINENO"; then :
72433 case $target_os in
72434 # gthreads support breaks symbol versioning on Solaris 9 (PR
72435 # libstdc++/52189).
72436 solaris2.9*)
72437 if test x$enable_symvers = xno; then
72438 ac_has_gthreads=yes
72439 elif test x$enable_libstdcxx_threads = xyes; then
72440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
72441 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
72442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
72443 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
72444 ac_has_gthreads=yes
72445 else
72446 ac_has_gthreads=no
72450 ac_has_gthreads=yes
72452 esac
72453 else
72454 ac_has_gthreads=no
72456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72457 else
72458 ac_has_gthreads=no
72461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
72462 $as_echo "$ac_has_gthreads" >&6; }
72464 if test x"$ac_has_gthreads" = x"yes"; then
72466 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
72470 CXXFLAGS="$ac_save_CXXFLAGS"
72471 ac_ext=c
72472 ac_cpp='$CPP $CPPFLAGS'
72473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72479 # Define documentation rules conditionally.
72481 # See if makeinfo has been installed and is modern enough
72482 # that we can use it.
72484 # Extract the first word of "makeinfo", so it can be a program name with args.
72485 set dummy makeinfo; ac_word=$2
72486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72487 $as_echo_n "checking for $ac_word... " >&6; }
72488 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
72489 $as_echo_n "(cached) " >&6
72490 else
72491 if test -n "$MAKEINFO"; then
72492 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
72493 else
72494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72495 for as_dir in $PATH
72497 IFS=$as_save_IFS
72498 test -z "$as_dir" && as_dir=.
72499 for ac_exec_ext in '' $ac_executable_extensions; do
72500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72501 ac_cv_prog_MAKEINFO="makeinfo"
72502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72503 break 2
72505 done
72506 done
72507 IFS=$as_save_IFS
72511 MAKEINFO=$ac_cv_prog_MAKEINFO
72512 if test -n "$MAKEINFO"; then
72513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
72514 $as_echo "$MAKEINFO" >&6; }
72515 else
72516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72517 $as_echo "no" >&6; }
72521 if test -n "$MAKEINFO"; then
72522 # Found it, now check the version.
72523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
72524 $as_echo_n "checking for modern makeinfo... " >&6; }
72525 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
72526 $as_echo_n "(cached) " >&6
72527 else
72528 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
72529 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
72531 case $ac_prog_version in
72532 '') gcc_cv_prog_makeinfo_modern=no;;
72533 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
72534 *) gcc_cv_prog_makeinfo_modern=no;;
72535 esac
72538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
72539 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
72540 else
72541 gcc_cv_prog_makeinfo_modern=no
72543 if test $gcc_cv_prog_makeinfo_modern = no; then
72544 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
72547 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
72548 BUILD_INFO_TRUE=
72549 BUILD_INFO_FALSE='#'
72550 else
72551 BUILD_INFO_TRUE='#'
72552 BUILD_INFO_FALSE=
72556 # Check for doxygen
72557 # Extract the first word of "doxygen", so it can be a program name with args.
72558 set dummy doxygen; ac_word=$2
72559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72560 $as_echo_n "checking for $ac_word... " >&6; }
72561 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
72562 $as_echo_n "(cached) " >&6
72563 else
72564 if test -n "$DOXYGEN"; then
72565 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
72566 else
72567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72568 for as_dir in $PATH
72570 IFS=$as_save_IFS
72571 test -z "$as_dir" && as_dir=.
72572 for ac_exec_ext in '' $ac_executable_extensions; do
72573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72574 ac_cv_prog_DOXYGEN="yes"
72575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72576 break 2
72578 done
72579 done
72580 IFS=$as_save_IFS
72582 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
72585 DOXYGEN=$ac_cv_prog_DOXYGEN
72586 if test -n "$DOXYGEN"; then
72587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
72588 $as_echo "$DOXYGEN" >&6; }
72589 else
72590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72591 $as_echo "no" >&6; }
72595 # Extract the first word of "dot", so it can be a program name with args.
72596 set dummy dot; ac_word=$2
72597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72598 $as_echo_n "checking for $ac_word... " >&6; }
72599 if test "${ac_cv_prog_DOT+set}" = set; then :
72600 $as_echo_n "(cached) " >&6
72601 else
72602 if test -n "$DOT"; then
72603 ac_cv_prog_DOT="$DOT" # Let the user override the test.
72604 else
72605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72606 for as_dir in $PATH
72608 IFS=$as_save_IFS
72609 test -z "$as_dir" && as_dir=.
72610 for ac_exec_ext in '' $ac_executable_extensions; do
72611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72612 ac_cv_prog_DOT="yes"
72613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72614 break 2
72616 done
72617 done
72618 IFS=$as_save_IFS
72620 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
72623 DOT=$ac_cv_prog_DOT
72624 if test -n "$DOT"; then
72625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
72626 $as_echo "$DOT" >&6; }
72627 else
72628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72629 $as_echo "no" >&6; }
72634 # Check for docbook
72635 # Extract the first word of "xsltproc", so it can be a program name with args.
72636 set dummy xsltproc; ac_word=$2
72637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72638 $as_echo_n "checking for $ac_word... " >&6; }
72639 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
72640 $as_echo_n "(cached) " >&6
72641 else
72642 if test -n "$XSLTPROC"; then
72643 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
72644 else
72645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72646 for as_dir in $PATH
72648 IFS=$as_save_IFS
72649 test -z "$as_dir" && as_dir=.
72650 for ac_exec_ext in '' $ac_executable_extensions; do
72651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72652 ac_cv_prog_XSLTPROC="yes"
72653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72654 break 2
72656 done
72657 done
72658 IFS=$as_save_IFS
72660 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
72663 XSLTPROC=$ac_cv_prog_XSLTPROC
72664 if test -n "$XSLTPROC"; then
72665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
72666 $as_echo "$XSLTPROC" >&6; }
72667 else
72668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72669 $as_echo "no" >&6; }
72673 # Extract the first word of "xmllint", so it can be a program name with args.
72674 set dummy xmllint; ac_word=$2
72675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72676 $as_echo_n "checking for $ac_word... " >&6; }
72677 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
72678 $as_echo_n "(cached) " >&6
72679 else
72680 if test -n "$XMLLINT"; then
72681 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
72682 else
72683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72684 for as_dir in $PATH
72686 IFS=$as_save_IFS
72687 test -z "$as_dir" && as_dir=.
72688 for ac_exec_ext in '' $ac_executable_extensions; do
72689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72690 ac_cv_prog_XMLLINT="yes"
72691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72692 break 2
72694 done
72695 done
72696 IFS=$as_save_IFS
72698 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
72701 XMLLINT=$ac_cv_prog_XMLLINT
72702 if test -n "$XMLLINT"; then
72703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
72704 $as_echo "$XMLLINT" >&6; }
72705 else
72706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72707 $as_echo "no" >&6; }
72713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
72714 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
72715 glibcxx_stylesheets=no
72716 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
72717 glibcxx_stylesheets=yes
72719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
72720 $as_echo "$glibcxx_stylesheets" >&6; }
72722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
72723 $as_echo_n "checking for local stylesheet directory... " >&6; }
72724 glibcxx_local_stylesheets=no
72725 if test x"$glibcxx_stylesheets" = x"yes"; then
72726 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
72727 glibcxx_local_stylesheets=yes
72728 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
72730 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
72731 glibcxx_local_stylesheets=yes
72732 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
72734 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
72735 glibcxx_local_stylesheets=yes
72736 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
72739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
72740 $as_echo "$glibcxx_local_stylesheets" >&6; }
72742 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72744 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
72745 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
72746 else
72747 glibcxx_stylesheets=no
72750 # Check for epub3 dependencies.
72751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
72752 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
72753 glibcxx_epub_stylesheets=no
72754 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72755 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
72756 glibcxx_epub_stylesheets=yes
72759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
72760 $as_echo "$glibcxx_epub_stylesheets" >&6; }
72761 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
72762 BUILD_EPUB_TRUE=
72763 BUILD_EPUB_FALSE='#'
72764 else
72765 BUILD_EPUB_TRUE='#'
72766 BUILD_EPUB_FALSE=
72772 # Check for xml/html dependencies.
72773 if test $ac_cv_prog_DOXYGEN = "yes" &&
72774 test $ac_cv_prog_DOT = "yes" &&
72775 test $ac_cv_prog_XSLTPROC = "yes" &&
72776 test $ac_cv_prog_XMLLINT = "yes" &&
72777 test $glibcxx_stylesheets = "yes"; then
72778 BUILD_XML_TRUE=
72779 BUILD_XML_FALSE='#'
72780 else
72781 BUILD_XML_TRUE='#'
72782 BUILD_XML_FALSE=
72786 if test $ac_cv_prog_DOXYGEN = "yes" &&
72787 test $ac_cv_prog_DOT = "yes" &&
72788 test $ac_cv_prog_XSLTPROC = "yes" &&
72789 test $ac_cv_prog_XMLLINT = "yes" &&
72790 test $glibcxx_stylesheets = "yes"; then
72791 BUILD_HTML_TRUE=
72792 BUILD_HTML_FALSE='#'
72793 else
72794 BUILD_HTML_TRUE='#'
72795 BUILD_HTML_FALSE=
72799 # Check for man dependencies.
72800 if test $ac_cv_prog_DOXYGEN = "yes" &&
72801 test $ac_cv_prog_DOT = "yes"; then
72802 BUILD_MAN_TRUE=
72803 BUILD_MAN_FALSE='#'
72804 else
72805 BUILD_MAN_TRUE='#'
72806 BUILD_MAN_FALSE=
72810 # Check for pdf dependencies.
72811 # Extract the first word of "dblatex", so it can be a program name with args.
72812 set dummy dblatex; ac_word=$2
72813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72814 $as_echo_n "checking for $ac_word... " >&6; }
72815 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
72816 $as_echo_n "(cached) " >&6
72817 else
72818 if test -n "$DBLATEX"; then
72819 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
72820 else
72821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72822 for as_dir in $PATH
72824 IFS=$as_save_IFS
72825 test -z "$as_dir" && as_dir=.
72826 for ac_exec_ext in '' $ac_executable_extensions; do
72827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72828 ac_cv_prog_DBLATEX="yes"
72829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72830 break 2
72832 done
72833 done
72834 IFS=$as_save_IFS
72836 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
72839 DBLATEX=$ac_cv_prog_DBLATEX
72840 if test -n "$DBLATEX"; then
72841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
72842 $as_echo "$DBLATEX" >&6; }
72843 else
72844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72845 $as_echo "no" >&6; }
72849 # Extract the first word of "pdflatex", so it can be a program name with args.
72850 set dummy pdflatex; ac_word=$2
72851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72852 $as_echo_n "checking for $ac_word... " >&6; }
72853 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
72854 $as_echo_n "(cached) " >&6
72855 else
72856 if test -n "$PDFLATEX"; then
72857 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
72858 else
72859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72860 for as_dir in $PATH
72862 IFS=$as_save_IFS
72863 test -z "$as_dir" && as_dir=.
72864 for ac_exec_ext in '' $ac_executable_extensions; do
72865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72866 ac_cv_prog_PDFLATEX="yes"
72867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72868 break 2
72870 done
72871 done
72872 IFS=$as_save_IFS
72874 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
72877 PDFLATEX=$ac_cv_prog_PDFLATEX
72878 if test -n "$PDFLATEX"; then
72879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
72880 $as_echo "$PDFLATEX" >&6; }
72881 else
72882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72883 $as_echo "no" >&6; }
72887 if test $ac_cv_prog_DBLATEX = "yes" &&
72888 test $ac_cv_prog_PDFLATEX = "yes"; then
72889 BUILD_PDF_TRUE=
72890 BUILD_PDF_FALSE='#'
72891 else
72892 BUILD_PDF_TRUE='#'
72893 BUILD_PDF_FALSE=
72898 # Propagate the target-specific source directories through the build chain.
72899 ATOMICITY_SRCDIR=config/${atomicity_dir}
72900 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
72901 ATOMIC_FLAGS=${atomic_flags}
72902 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
72903 OS_INC_SRCDIR=config/${os_include_dir}
72904 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
72905 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
72906 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
72907 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
72919 # Determine cross-compile flags and AM_CONDITIONALs.
72920 #AC_SUBST(GLIBCXX_IS_NATIVE)
72921 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
72922 if test $is_hosted = yes; then
72923 GLIBCXX_HOSTED_TRUE=
72924 GLIBCXX_HOSTED_FALSE='#'
72925 else
72926 GLIBCXX_HOSTED_TRUE='#'
72927 GLIBCXX_HOSTED_FALSE=
72931 if test $enable_libstdcxx_pch = yes; then
72932 GLIBCXX_BUILD_PCH_TRUE=
72933 GLIBCXX_BUILD_PCH_FALSE='#'
72934 else
72935 GLIBCXX_BUILD_PCH_TRUE='#'
72936 GLIBCXX_BUILD_PCH_FALSE=
72940 if test $enable_cheaders = c; then
72941 GLIBCXX_C_HEADERS_C_TRUE=
72942 GLIBCXX_C_HEADERS_C_FALSE='#'
72943 else
72944 GLIBCXX_C_HEADERS_C_TRUE='#'
72945 GLIBCXX_C_HEADERS_C_FALSE=
72949 if test $enable_cheaders = c_std; then
72950 GLIBCXX_C_HEADERS_C_STD_TRUE=
72951 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
72952 else
72953 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
72954 GLIBCXX_C_HEADERS_C_STD_FALSE=
72958 if test $enable_cheaders = c_global; then
72959 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
72960 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
72961 else
72962 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
72963 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
72967 if test $c_compatibility = yes; then
72968 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
72969 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
72970 else
72971 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
72972 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
72976 if test $enable_libstdcxx_debug = yes; then
72977 GLIBCXX_BUILD_DEBUG_TRUE=
72978 GLIBCXX_BUILD_DEBUG_FALSE='#'
72979 else
72980 GLIBCXX_BUILD_DEBUG_TRUE='#'
72981 GLIBCXX_BUILD_DEBUG_FALSE=
72985 if test $enable_extern_template = yes; then
72986 ENABLE_EXTERN_TEMPLATE_TRUE=
72987 ENABLE_EXTERN_TEMPLATE_FALSE='#'
72988 else
72989 ENABLE_EXTERN_TEMPLATE_TRUE='#'
72990 ENABLE_EXTERN_TEMPLATE_FALSE=
72994 if test $python_mod_dir != no; then
72995 ENABLE_PYTHONDIR_TRUE=
72996 ENABLE_PYTHONDIR_FALSE='#'
72997 else
72998 ENABLE_PYTHONDIR_TRUE='#'
72999 ENABLE_PYTHONDIR_FALSE=
73003 if test $enable_werror = yes; then
73004 ENABLE_WERROR_TRUE=
73005 ENABLE_WERROR_FALSE='#'
73006 else
73007 ENABLE_WERROR_TRUE='#'
73008 ENABLE_WERROR_FALSE=
73012 if test $enable_vtable_verify = yes; then
73013 ENABLE_VTABLE_VERIFY_TRUE=
73014 ENABLE_VTABLE_VERIFY_FALSE='#'
73015 else
73016 ENABLE_VTABLE_VERIFY_TRUE='#'
73017 ENABLE_VTABLE_VERIFY_FALSE=
73021 if test $enable_symvers != no; then
73022 ENABLE_SYMVERS_TRUE=
73023 ENABLE_SYMVERS_FALSE='#'
73024 else
73025 ENABLE_SYMVERS_TRUE='#'
73026 ENABLE_SYMVERS_FALSE=
73030 if test $enable_symvers = gnu; then
73031 ENABLE_SYMVERS_GNU_TRUE=
73032 ENABLE_SYMVERS_GNU_FALSE='#'
73033 else
73034 ENABLE_SYMVERS_GNU_TRUE='#'
73035 ENABLE_SYMVERS_GNU_FALSE=
73039 if test $enable_symvers = gnu-versioned-namespace; then
73040 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
73041 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
73042 else
73043 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
73044 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
73048 if test $enable_symvers = darwin; then
73049 ENABLE_SYMVERS_DARWIN_TRUE=
73050 ENABLE_SYMVERS_DARWIN_FALSE='#'
73051 else
73052 ENABLE_SYMVERS_DARWIN_TRUE='#'
73053 ENABLE_SYMVERS_DARWIN_FALSE=
73057 if test $enable_symvers = sun; then
73058 ENABLE_SYMVERS_SUN_TRUE=
73059 ENABLE_SYMVERS_SUN_FALSE='#'
73060 else
73061 ENABLE_SYMVERS_SUN_TRUE='#'
73062 ENABLE_SYMVERS_SUN_FALSE=
73066 if test $enable_libstdcxx_visibility = yes; then
73067 ENABLE_VISIBILITY_TRUE=
73068 ENABLE_VISIBILITY_FALSE='#'
73069 else
73070 ENABLE_VISIBILITY_TRUE='#'
73071 ENABLE_VISIBILITY_FALSE=
73075 if test $ac_ldbl_compat = yes; then
73076 GLIBCXX_LDBL_COMPAT_TRUE=
73077 GLIBCXX_LDBL_COMPAT_FALSE='#'
73078 else
73079 GLIBCXX_LDBL_COMPAT_TRUE='#'
73080 GLIBCXX_LDBL_COMPAT_FALSE=
73086 cat >confcache <<\_ACEOF
73087 # This file is a shell script that caches the results of configure
73088 # tests run on this system so they can be shared between configure
73089 # scripts and configure runs, see configure's option --config-cache.
73090 # It is not useful on other systems. If it contains results you don't
73091 # want to keep, you may remove or edit it.
73093 # config.status only pays attention to the cache file if you give it
73094 # the --recheck option to rerun configure.
73096 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73097 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73098 # following values.
73100 _ACEOF
73102 # The following way of writing the cache mishandles newlines in values,
73103 # but we know of no workaround that is simple, portable, and efficient.
73104 # So, we kill variables containing newlines.
73105 # Ultrix sh set writes to stderr and can't be redirected directly,
73106 # and sets the high bit in the cache file unless we assign to the vars.
73108 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73109 eval ac_val=\$$ac_var
73110 case $ac_val in #(
73111 *${as_nl}*)
73112 case $ac_var in #(
73113 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73114 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73115 esac
73116 case $ac_var in #(
73117 _ | IFS | as_nl) ;; #(
73118 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73119 *) { eval $ac_var=; unset $ac_var;} ;;
73120 esac ;;
73121 esac
73122 done
73124 (set) 2>&1 |
73125 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73126 *${as_nl}ac_space=\ *)
73127 # `set' does not quote correctly, so add quotes: double-quote
73128 # substitution turns \\\\ into \\, and sed turns \\ into \.
73129 sed -n \
73130 "s/'/'\\\\''/g;
73131 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73132 ;; #(
73134 # `set' quotes correctly as required by POSIX, so do not add quotes.
73135 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73137 esac |
73138 sort
73140 sed '
73141 /^ac_cv_env_/b end
73142 t clear
73143 :clear
73144 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73145 t end
73146 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73147 :end' >>confcache
73148 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73149 if test -w "$cache_file"; then
73150 test "x$cache_file" != "x/dev/null" &&
73151 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73152 $as_echo "$as_me: updating cache $cache_file" >&6;}
73153 cat confcache >$cache_file
73154 else
73155 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73156 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73159 rm -f confcache
73161 if test ${multilib} = yes; then
73162 multilib_arg="--enable-multilib"
73163 else
73164 multilib_arg=
73167 # Export all the install information.
73169 glibcxx_toolexecdir=no
73170 glibcxx_toolexeclibdir=no
73171 glibcxx_prefixdir=$prefix
73173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
73174 $as_echo_n "checking for gxx-include-dir... " >&6; }
73176 # Check whether --with-gxx-include-dir was given.
73177 if test "${with_gxx_include_dir+set}" = set; then :
73178 withval=$with_gxx_include_dir; case "$withval" in
73179 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
73180 no) gxx_include_dir=no ;;
73181 *) gxx_include_dir=$withval ;;
73182 esac
73183 else
73184 gxx_include_dir=no
73187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73188 $as_echo "$gxx_include_dir" >&6; }
73190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
73191 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
73192 # Check whether --enable-version-specific-runtime-libs was given.
73193 if test "${enable_version_specific_runtime_libs+set}" = set; then :
73194 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
73195 yes) version_specific_libs=yes ;;
73196 no) version_specific_libs=no ;;
73197 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
73198 esac
73199 else
73200 version_specific_libs=no
73203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
73204 $as_echo "$version_specific_libs" >&6; }
73206 # Default case for install directory for include files.
73207 if test $version_specific_libs = no && test $gxx_include_dir = no; then
73208 gxx_include_dir='include/c++/${gcc_version}'
73209 if test -n "$with_cross_host" &&
73210 test x"$with_cross_host" != x"no"; then
73211 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
73212 else
73213 gxx_include_dir='${prefix}/'"$gxx_include_dir"
73217 # Version-specific runtime libs processing.
73218 if test $version_specific_libs = yes; then
73219 # Need the gcc compiler version to know where to install libraries
73220 # and header files if --enable-version-specific-runtime-libs option
73221 # is selected. FIXME: these variables are misnamed, there are
73222 # no executables installed in _toolexecdir or _toolexeclibdir.
73223 if test x"$gxx_include_dir" = x"no"; then
73224 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
73226 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73227 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
73230 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
73231 # Install a library built with a cross compiler in tooldir, not libdir.
73232 if test x"$glibcxx_toolexecdir" = x"no"; then
73233 if test -n "$with_cross_host" &&
73234 test x"$with_cross_host" != x"no"; then
73235 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
73236 glibcxx_toolexeclibdir='${toolexecdir}/lib'
73237 else
73238 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73239 glibcxx_toolexeclibdir='${libdir}'
73241 multi_os_directory=`$CXX -print-multi-os-directory`
73242 case $multi_os_directory in
73243 .) ;; # Avoid trailing /.
73244 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
73245 esac
73248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
73249 $as_echo_n "checking for install location... " >&6; }
73250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73251 $as_echo "$gxx_include_dir" >&6; }
73259 # Export all the include and flag information to Makefiles.
73261 # Used for every C++ compile we perform.
73262 GLIBCXX_INCLUDES="\
73263 -I$glibcxx_builddir/include/$host_alias \
73264 -I$glibcxx_builddir/include \
73265 -I$glibcxx_srcdir/libsupc++"
73267 # For Canadian crosses, pick this up too.
73268 if test $CANADIAN = yes; then
73269 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
73272 # Stuff in the actual top level. Currently only used by libsupc++ to
73273 # get unwind* headers from the libgcc dir.
73274 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
73275 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
73277 # Now, export this to all the little Makefiles....
73282 # Optimization flags that are probably a good idea for thrill-seekers. Just
73283 # uncomment the lines below and make, everything else is ready to go...
73284 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
73285 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
73288 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
73292 ac_config_files="$ac_config_files Makefile"
73294 ac_config_files="$ac_config_files scripts/testsuite_flags"
73296 ac_config_files="$ac_config_files scripts/extract_symvers"
73298 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
73301 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
73302 # that multilib installs will end up installed in the correct place.
73303 # The testsuite needs it for multilib-aware ABI baseline files.
73304 # To work around this not being passed down from config-ml.in ->
73305 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
73306 # append it here. Only modify Makefiles that have just been created.
73308 # Also, get rid of this simulated-VPATH thing that automake does.
73309 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"
73312 ac_config_commands="$ac_config_commands generate-headers"
73315 cat >confcache <<\_ACEOF
73316 # This file is a shell script that caches the results of configure
73317 # tests run on this system so they can be shared between configure
73318 # scripts and configure runs, see configure's option --config-cache.
73319 # It is not useful on other systems. If it contains results you don't
73320 # want to keep, you may remove or edit it.
73322 # config.status only pays attention to the cache file if you give it
73323 # the --recheck option to rerun configure.
73325 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73326 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73327 # following values.
73329 _ACEOF
73331 # The following way of writing the cache mishandles newlines in values,
73332 # but we know of no workaround that is simple, portable, and efficient.
73333 # So, we kill variables containing newlines.
73334 # Ultrix sh set writes to stderr and can't be redirected directly,
73335 # and sets the high bit in the cache file unless we assign to the vars.
73337 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73338 eval ac_val=\$$ac_var
73339 case $ac_val in #(
73340 *${as_nl}*)
73341 case $ac_var in #(
73342 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73343 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73344 esac
73345 case $ac_var in #(
73346 _ | IFS | as_nl) ;; #(
73347 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73348 *) { eval $ac_var=; unset $ac_var;} ;;
73349 esac ;;
73350 esac
73351 done
73353 (set) 2>&1 |
73354 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73355 *${as_nl}ac_space=\ *)
73356 # `set' does not quote correctly, so add quotes: double-quote
73357 # substitution turns \\\\ into \\, and sed turns \\ into \.
73358 sed -n \
73359 "s/'/'\\\\''/g;
73360 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73361 ;; #(
73363 # `set' quotes correctly as required by POSIX, so do not add quotes.
73364 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73366 esac |
73367 sort
73369 sed '
73370 /^ac_cv_env_/b end
73371 t clear
73372 :clear
73373 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73374 t end
73375 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73376 :end' >>confcache
73377 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73378 if test -w "$cache_file"; then
73379 test "x$cache_file" != "x/dev/null" &&
73380 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73381 $as_echo "$as_me: updating cache $cache_file" >&6;}
73382 cat confcache >$cache_file
73383 else
73384 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73385 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73388 rm -f confcache
73390 test "x$prefix" = xNONE && prefix=$ac_default_prefix
73391 # Let make expand exec_prefix.
73392 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
73394 DEFS=-DHAVE_CONFIG_H
73396 ac_libobjs=
73397 ac_ltlibobjs=
73398 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
73399 # 1. Remove the extension, and $U if already installed.
73400 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
73401 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
73402 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
73403 # will be set to the directory where LIBOBJS objects are built.
73404 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
73405 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
73406 done
73407 LIBOBJS=$ac_libobjs
73409 LTLIBOBJS=$ac_ltlibobjs
73412 if test -n "$EXEEXT"; then
73413 am__EXEEXT_TRUE=
73414 am__EXEEXT_FALSE='#'
73415 else
73416 am__EXEEXT_TRUE='#'
73417 am__EXEEXT_FALSE=
73420 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
73421 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
73422 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73424 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
73425 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
73426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73428 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
73429 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
73430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73432 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
73433 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
73434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73436 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
73437 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
73438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73440 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
73441 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
73442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73444 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
73445 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
73446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73448 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
73449 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
73450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73452 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
73453 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
73454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73456 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
73457 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
73458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73460 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
73461 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
73462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73464 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
73465 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
73466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73468 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
73469 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
73470 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73472 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
73473 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
73474 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73476 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
73477 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
73478 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73480 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
73481 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
73482 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73484 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
73485 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
73486 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73488 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
73489 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
73490 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73492 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
73493 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
73494 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73496 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
73497 as_fn_error "conditional \"BUILD_INFO\" was never defined.
73498 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73500 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
73501 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
73502 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73504 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
73505 as_fn_error "conditional \"BUILD_XML\" was never defined.
73506 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73508 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
73509 as_fn_error "conditional \"BUILD_HTML\" was never defined.
73510 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73512 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
73513 as_fn_error "conditional \"BUILD_MAN\" was never defined.
73514 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73516 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
73517 as_fn_error "conditional \"BUILD_PDF\" was never defined.
73518 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73521 : ${CONFIG_STATUS=./config.status}
73522 ac_write_fail=0
73523 ac_clean_files_save=$ac_clean_files
73524 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
73525 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
73526 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
73527 as_write_fail=0
73528 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
73529 #! $SHELL
73530 # Generated by $as_me.
73531 # Run this file to recreate the current configuration.
73532 # Compiler output produced by configure, useful for debugging
73533 # configure, is in config.log if it exists.
73535 debug=false
73536 ac_cs_recheck=false
73537 ac_cs_silent=false
73539 SHELL=\${CONFIG_SHELL-$SHELL}
73540 export SHELL
73541 _ASEOF
73542 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
73543 ## -------------------- ##
73544 ## M4sh Initialization. ##
73545 ## -------------------- ##
73547 # Be more Bourne compatible
73548 DUALCASE=1; export DUALCASE # for MKS sh
73549 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
73550 emulate sh
73551 NULLCMD=:
73552 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
73553 # is contrary to our usage. Disable this feature.
73554 alias -g '${1+"$@"}'='"$@"'
73555 setopt NO_GLOB_SUBST
73556 else
73557 case `(set -o) 2>/dev/null` in #(
73558 *posix*) :
73559 set -o posix ;; #(
73560 *) :
73562 esac
73566 as_nl='
73568 export as_nl
73569 # Printing a long string crashes Solaris 7 /usr/bin/printf.
73570 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
73571 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
73572 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
73573 # Prefer a ksh shell builtin over an external printf program on Solaris,
73574 # but without wasting forks for bash or zsh.
73575 if test -z "$BASH_VERSION$ZSH_VERSION" \
73576 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
73577 as_echo='print -r --'
73578 as_echo_n='print -rn --'
73579 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
73580 as_echo='printf %s\n'
73581 as_echo_n='printf %s'
73582 else
73583 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
73584 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
73585 as_echo_n='/usr/ucb/echo -n'
73586 else
73587 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
73588 as_echo_n_body='eval
73589 arg=$1;
73590 case $arg in #(
73591 *"$as_nl"*)
73592 expr "X$arg" : "X\\(.*\\)$as_nl";
73593 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
73594 esac;
73595 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73597 export as_echo_n_body
73598 as_echo_n='sh -c $as_echo_n_body as_echo'
73600 export as_echo_body
73601 as_echo='sh -c $as_echo_body as_echo'
73604 # The user is always right.
73605 if test "${PATH_SEPARATOR+set}" != set; then
73606 PATH_SEPARATOR=:
73607 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
73608 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
73609 PATH_SEPARATOR=';'
73614 # IFS
73615 # We need space, tab and new line, in precisely that order. Quoting is
73616 # there to prevent editors from complaining about space-tab.
73617 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
73618 # splitting by setting IFS to empty value.)
73619 IFS=" "" $as_nl"
73621 # Find who we are. Look in the path if we contain no directory separator.
73622 case $0 in #((
73623 *[\\/]* ) as_myself=$0 ;;
73624 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73625 for as_dir in $PATH
73627 IFS=$as_save_IFS
73628 test -z "$as_dir" && as_dir=.
73629 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
73630 done
73631 IFS=$as_save_IFS
73634 esac
73635 # We did not find ourselves, most probably we were run as `sh COMMAND'
73636 # in which case we are not to be found in the path.
73637 if test "x$as_myself" = x; then
73638 as_myself=$0
73640 if test ! -f "$as_myself"; then
73641 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
73642 exit 1
73645 # Unset variables that we do not need and which cause bugs (e.g. in
73646 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
73647 # suppresses any "Segmentation fault" message there. '((' could
73648 # trigger a bug in pdksh 5.2.14.
73649 for as_var in BASH_ENV ENV MAIL MAILPATH
73650 do eval test x\${$as_var+set} = xset \
73651 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
73652 done
73653 PS1='$ '
73654 PS2='> '
73655 PS4='+ '
73657 # NLS nuisances.
73658 LC_ALL=C
73659 export LC_ALL
73660 LANGUAGE=C
73661 export LANGUAGE
73663 # CDPATH.
73664 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73667 # as_fn_error ERROR [LINENO LOG_FD]
73668 # ---------------------------------
73669 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
73670 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
73671 # script with status $?, using 1 if that was 0.
73672 as_fn_error ()
73674 as_status=$?; test $as_status -eq 0 && as_status=1
73675 if test "$3"; then
73676 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
73677 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
73679 $as_echo "$as_me: error: $1" >&2
73680 as_fn_exit $as_status
73681 } # as_fn_error
73684 # as_fn_set_status STATUS
73685 # -----------------------
73686 # Set $? to STATUS, without forking.
73687 as_fn_set_status ()
73689 return $1
73690 } # as_fn_set_status
73692 # as_fn_exit STATUS
73693 # -----------------
73694 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
73695 as_fn_exit ()
73697 set +e
73698 as_fn_set_status $1
73699 exit $1
73700 } # as_fn_exit
73702 # as_fn_unset VAR
73703 # ---------------
73704 # Portably unset VAR.
73705 as_fn_unset ()
73707 { eval $1=; unset $1;}
73709 as_unset=as_fn_unset
73710 # as_fn_append VAR VALUE
73711 # ----------------------
73712 # Append the text in VALUE to the end of the definition contained in VAR. Take
73713 # advantage of any shell optimizations that allow amortized linear growth over
73714 # repeated appends, instead of the typical quadratic growth present in naive
73715 # implementations.
73716 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
73717 eval 'as_fn_append ()
73719 eval $1+=\$2
73721 else
73722 as_fn_append ()
73724 eval $1=\$$1\$2
73726 fi # as_fn_append
73728 # as_fn_arith ARG...
73729 # ------------------
73730 # Perform arithmetic evaluation on the ARGs, and store the result in the
73731 # global $as_val. Take advantage of shells that can avoid forks. The arguments
73732 # must be portable across $(()) and expr.
73733 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
73734 eval 'as_fn_arith ()
73736 as_val=$(( $* ))
73738 else
73739 as_fn_arith ()
73741 as_val=`expr "$@" || test $? -eq 1`
73743 fi # as_fn_arith
73746 if expr a : '\(a\)' >/dev/null 2>&1 &&
73747 test "X`expr 00001 : '.*\(...\)'`" = X001; then
73748 as_expr=expr
73749 else
73750 as_expr=false
73753 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
73754 as_basename=basename
73755 else
73756 as_basename=false
73759 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
73760 as_dirname=dirname
73761 else
73762 as_dirname=false
73765 as_me=`$as_basename -- "$0" ||
73766 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
73767 X"$0" : 'X\(//\)$' \| \
73768 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73769 $as_echo X/"$0" |
73770 sed '/^.*\/\([^/][^/]*\)\/*$/{
73771 s//\1/
73774 /^X\/\(\/\/\)$/{
73775 s//\1/
73778 /^X\/\(\/\).*/{
73779 s//\1/
73782 s/.*/./; q'`
73784 # Avoid depending upon Character Ranges.
73785 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
73786 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
73787 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73788 as_cr_digits='0123456789'
73789 as_cr_alnum=$as_cr_Letters$as_cr_digits
73791 ECHO_C= ECHO_N= ECHO_T=
73792 case `echo -n x` in #(((((
73793 -n*)
73794 case `echo 'xy\c'` in
73795 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
73796 xy) ECHO_C='\c';;
73797 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
73798 ECHO_T=' ';;
73799 esac;;
73801 ECHO_N='-n';;
73802 esac
73804 rm -f conf$$ conf$$.exe conf$$.file
73805 if test -d conf$$.dir; then
73806 rm -f conf$$.dir/conf$$.file
73807 else
73808 rm -f conf$$.dir
73809 mkdir conf$$.dir 2>/dev/null
73811 if (echo >conf$$.file) 2>/dev/null; then
73812 if ln -s conf$$.file conf$$ 2>/dev/null; then
73813 as_ln_s='ln -s'
73814 # ... but there are two gotchas:
73815 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
73816 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
73817 # In both cases, we have to default to `cp -p'.
73818 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
73819 as_ln_s='cp -p'
73820 elif ln conf$$.file conf$$ 2>/dev/null; then
73821 as_ln_s=ln
73822 else
73823 as_ln_s='cp -p'
73825 else
73826 as_ln_s='cp -p'
73828 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
73829 rmdir conf$$.dir 2>/dev/null
73832 # as_fn_mkdir_p
73833 # -------------
73834 # Create "$as_dir" as a directory, including parents if necessary.
73835 as_fn_mkdir_p ()
73838 case $as_dir in #(
73839 -*) as_dir=./$as_dir;;
73840 esac
73841 test -d "$as_dir" || eval $as_mkdir_p || {
73842 as_dirs=
73843 while :; do
73844 case $as_dir in #(
73845 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
73846 *) as_qdir=$as_dir;;
73847 esac
73848 as_dirs="'$as_qdir' $as_dirs"
73849 as_dir=`$as_dirname -- "$as_dir" ||
73850 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73851 X"$as_dir" : 'X\(//\)[^/]' \| \
73852 X"$as_dir" : 'X\(//\)$' \| \
73853 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
73854 $as_echo X"$as_dir" |
73855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73856 s//\1/
73859 /^X\(\/\/\)[^/].*/{
73860 s//\1/
73863 /^X\(\/\/\)$/{
73864 s//\1/
73867 /^X\(\/\).*/{
73868 s//\1/
73871 s/.*/./; q'`
73872 test -d "$as_dir" && break
73873 done
73874 test -z "$as_dirs" || eval "mkdir $as_dirs"
73875 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
73878 } # as_fn_mkdir_p
73879 if mkdir -p . 2>/dev/null; then
73880 as_mkdir_p='mkdir -p "$as_dir"'
73881 else
73882 test -d ./-p && rmdir ./-p
73883 as_mkdir_p=false
73886 if test -x / >/dev/null 2>&1; then
73887 as_test_x='test -x'
73888 else
73889 if ls -dL / >/dev/null 2>&1; then
73890 as_ls_L_option=L
73891 else
73892 as_ls_L_option=
73894 as_test_x='
73895 eval sh -c '\''
73896 if test -d "$1"; then
73897 test -d "$1/.";
73898 else
73899 case $1 in #(
73900 -*)set "./$1";;
73901 esac;
73902 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
73903 ???[sx]*):;;*)false;;esac;fi
73904 '\'' sh
73907 as_executable_p=$as_test_x
73909 # Sed expression to map a string onto a valid CPP name.
73910 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
73912 # Sed expression to map a string onto a valid variable name.
73913 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
73916 exec 6>&1
73917 ## ----------------------------------- ##
73918 ## Main body of $CONFIG_STATUS script. ##
73919 ## ----------------------------------- ##
73920 _ASEOF
73921 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
73923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73924 # Save the log message, to keep $0 and so on meaningful, and to
73925 # report actual input values of CONFIG_FILES etc. instead of their
73926 # values after options handling.
73927 ac_log="
73928 This file was extended by package-unused $as_me version-unused, which was
73929 generated by GNU Autoconf 2.64. Invocation command line was
73931 CONFIG_FILES = $CONFIG_FILES
73932 CONFIG_HEADERS = $CONFIG_HEADERS
73933 CONFIG_LINKS = $CONFIG_LINKS
73934 CONFIG_COMMANDS = $CONFIG_COMMANDS
73935 $ $0 $@
73937 on `(hostname || uname -n) 2>/dev/null | sed 1q`
73940 _ACEOF
73942 case $ac_config_files in *"
73943 "*) set x $ac_config_files; shift; ac_config_files=$*;;
73944 esac
73946 case $ac_config_headers in *"
73947 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
73948 esac
73951 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73952 # Files that config.status was made for.
73953 config_files="$ac_config_files"
73954 config_headers="$ac_config_headers"
73955 config_commands="$ac_config_commands"
73957 _ACEOF
73959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73960 ac_cs_usage="\
73961 \`$as_me' instantiates files and other configuration actions
73962 from templates according to the current configuration. Unless the files
73963 and actions are specified as TAGs, all are instantiated by default.
73965 Usage: $0 [OPTION]... [TAG]...
73967 -h, --help print this help, then exit
73968 -V, --version print version number and configuration settings, then exit
73969 -q, --quiet, --silent
73970 do not print progress messages
73971 -d, --debug don't remove temporary files
73972 --recheck update $as_me by reconfiguring in the same conditions
73973 --file=FILE[:TEMPLATE]
73974 instantiate the configuration file FILE
73975 --header=FILE[:TEMPLATE]
73976 instantiate the configuration header FILE
73978 Configuration files:
73979 $config_files
73981 Configuration headers:
73982 $config_headers
73984 Configuration commands:
73985 $config_commands
73987 Report bugs to the package provider."
73989 _ACEOF
73990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73991 ac_cs_version="\\
73992 package-unused config.status version-unused
73993 configured by $0, generated by GNU Autoconf 2.64,
73994 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
73996 Copyright (C) 2009 Free Software Foundation, Inc.
73997 This config.status script is free software; the Free Software Foundation
73998 gives unlimited permission to copy, distribute and modify it."
74000 ac_pwd='$ac_pwd'
74001 srcdir='$srcdir'
74002 INSTALL='$INSTALL'
74003 MKDIR_P='$MKDIR_P'
74004 AWK='$AWK'
74005 test -n "\$AWK" || AWK=awk
74006 _ACEOF
74008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74009 # The default lists apply if the user does not specify any file.
74010 ac_need_defaults=:
74011 while test $# != 0
74013 case $1 in
74014 --*=*)
74015 ac_option=`expr "X$1" : 'X\([^=]*\)='`
74016 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
74017 ac_shift=:
74020 ac_option=$1
74021 ac_optarg=$2
74022 ac_shift=shift
74024 esac
74026 case $ac_option in
74027 # Handling of the options.
74028 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
74029 ac_cs_recheck=: ;;
74030 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
74031 $as_echo "$ac_cs_version"; exit ;;
74032 --debug | --debu | --deb | --de | --d | -d )
74033 debug=: ;;
74034 --file | --fil | --fi | --f )
74035 $ac_shift
74036 case $ac_optarg in
74037 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
74038 esac
74039 as_fn_append CONFIG_FILES " '$ac_optarg'"
74040 ac_need_defaults=false;;
74041 --header | --heade | --head | --hea )
74042 $ac_shift
74043 case $ac_optarg in
74044 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
74045 esac
74046 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
74047 ac_need_defaults=false;;
74048 --he | --h)
74049 # Conflict between --help and --header
74050 as_fn_error "ambiguous option: \`$1'
74051 Try \`$0 --help' for more information.";;
74052 --help | --hel | -h )
74053 $as_echo "$ac_cs_usage"; exit ;;
74054 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
74055 | -silent | --silent | --silen | --sile | --sil | --si | --s)
74056 ac_cs_silent=: ;;
74058 # This is an error.
74059 -*) as_fn_error "unrecognized option: \`$1'
74060 Try \`$0 --help' for more information." ;;
74062 *) as_fn_append ac_config_targets " $1"
74063 ac_need_defaults=false ;;
74065 esac
74066 shift
74067 done
74069 ac_configure_extra_args=
74071 if $ac_cs_silent; then
74072 exec 6>/dev/null
74073 ac_configure_extra_args="$ac_configure_extra_args --silent"
74076 _ACEOF
74077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74078 if \$ac_cs_recheck; then
74079 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
74080 shift
74081 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
74082 CONFIG_SHELL='$SHELL'
74083 export CONFIG_SHELL
74084 exec "\$@"
74087 _ACEOF
74088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74089 exec 5>>config.log
74091 echo
74092 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
74093 ## Running $as_me. ##
74094 _ASBOX
74095 $as_echo "$ac_log"
74096 } >&5
74098 _ACEOF
74099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74101 # INIT-COMMANDS
74104 srcdir="$srcdir"
74105 host="$host"
74106 target="$target"
74107 with_multisubdir="$with_multisubdir"
74108 with_multisrctop="$with_multisrctop"
74109 with_target_subdir="$with_target_subdir"
74110 ac_configure_args="${multilib_arg} ${ac_configure_args}"
74111 multi_basedir="$multi_basedir"
74112 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
74113 CC="$CC"
74114 CXX="$CXX"
74115 GFORTRAN="$GFORTRAN"
74116 GCJ="$GCJ"
74119 # The HP-UX ksh and POSIX shell print the target directory to stdout
74120 # if CDPATH is set.
74121 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
74123 sed_quote_subst='$sed_quote_subst'
74124 double_quote_subst='$double_quote_subst'
74125 delay_variable_subst='$delay_variable_subst'
74126 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
74127 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
74128 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
74129 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
74130 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
74131 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
74132 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
74133 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
74134 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
74135 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
74136 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
74137 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
74138 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
74139 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
74140 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
74141 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
74142 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
74143 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
74144 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
74145 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
74146 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
74147 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
74148 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
74149 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
74150 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
74151 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
74152 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
74153 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
74154 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
74155 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
74156 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
74157 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
74158 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
74159 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
74160 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
74161 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
74162 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
74163 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74164 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74165 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
74166 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
74167 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
74168 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
74169 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
74170 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
74171 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
74172 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
74173 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
74174 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"`'
74175 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
74176 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
74177 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
74178 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
74179 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
74180 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
74181 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
74182 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
74183 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
74184 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
74185 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
74186 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
74187 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
74188 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
74189 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
74190 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74191 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
74192 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
74193 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
74194 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
74195 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
74196 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
74197 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74198 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
74199 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74200 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
74201 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74202 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
74203 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
74204 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
74205 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
74206 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
74207 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
74208 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
74209 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
74210 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
74211 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
74212 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
74213 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
74214 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
74215 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
74216 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
74217 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
74218 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
74219 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
74220 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
74221 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
74222 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
74223 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
74224 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
74225 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
74226 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
74227 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
74228 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
74229 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
74230 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
74231 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
74232 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
74233 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74234 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74235 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
74236 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
74237 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
74238 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
74239 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
74240 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
74241 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
74242 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
74243 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
74244 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
74245 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
74246 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
74247 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
74248 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
74249 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
74250 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
74251 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
74252 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
74253 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
74254 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74255 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74256 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
74257 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
74258 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
74259 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
74260 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
74261 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
74262 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
74263 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
74264 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
74265 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74266 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74267 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
74268 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74269 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74270 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74271 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74272 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74273 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74274 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
74275 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74276 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74277 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74278 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
74279 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
74280 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
74281 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
74282 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
74283 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
74284 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
74285 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
74286 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
74287 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
74288 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
74289 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74290 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74291 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74292 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74293 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
74294 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
74295 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
74296 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74297 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74298 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
74299 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
74300 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
74302 LTCC='$LTCC'
74303 LTCFLAGS='$LTCFLAGS'
74304 compiler='$compiler_DEFAULT'
74306 # A function that is used when there is no print builtin or printf.
74307 func_fallback_echo ()
74309 eval 'cat <<_LTECHO_EOF
74311 _LTECHO_EOF'
74314 # Quote evaled strings.
74315 for var in SHELL \
74316 ECHO \
74317 SED \
74318 GREP \
74319 EGREP \
74320 FGREP \
74321 LD \
74322 NM \
74323 LN_S \
74324 lt_SP2NL \
74325 lt_NL2SP \
74326 reload_flag \
74327 OBJDUMP \
74328 deplibs_check_method \
74329 file_magic_cmd \
74330 AR \
74331 AR_FLAGS \
74332 STRIP \
74333 RANLIB \
74334 CC \
74335 CFLAGS \
74336 compiler \
74337 lt_cv_sys_global_symbol_pipe \
74338 lt_cv_sys_global_symbol_to_cdecl \
74339 lt_cv_sys_global_symbol_to_c_name_address \
74340 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
74341 lt_prog_compiler_no_builtin_flag \
74342 lt_prog_compiler_wl \
74343 lt_prog_compiler_pic \
74344 lt_prog_compiler_static \
74345 lt_cv_prog_compiler_c_o \
74346 need_locks \
74347 DSYMUTIL \
74348 NMEDIT \
74349 LIPO \
74350 OTOOL \
74351 OTOOL64 \
74352 shrext_cmds \
74353 export_dynamic_flag_spec \
74354 whole_archive_flag_spec \
74355 compiler_needs_object \
74356 with_gnu_ld \
74357 allow_undefined_flag \
74358 no_undefined_flag \
74359 hardcode_libdir_flag_spec \
74360 hardcode_libdir_flag_spec_ld \
74361 hardcode_libdir_separator \
74362 fix_srcfile_path \
74363 exclude_expsyms \
74364 include_expsyms \
74365 file_list_spec \
74366 variables_saved_for_relink \
74367 libname_spec \
74368 library_names_spec \
74369 soname_spec \
74370 install_override_mode \
74371 finish_eval \
74372 old_striplib \
74373 striplib \
74374 compiler_lib_search_dirs \
74375 predep_objects \
74376 postdep_objects \
74377 predeps \
74378 postdeps \
74379 compiler_lib_search_path \
74380 LD_CXX \
74381 reload_flag_CXX \
74382 compiler_CXX \
74383 lt_prog_compiler_no_builtin_flag_CXX \
74384 lt_prog_compiler_wl_CXX \
74385 lt_prog_compiler_pic_CXX \
74386 lt_prog_compiler_static_CXX \
74387 lt_cv_prog_compiler_c_o_CXX \
74388 export_dynamic_flag_spec_CXX \
74389 whole_archive_flag_spec_CXX \
74390 compiler_needs_object_CXX \
74391 with_gnu_ld_CXX \
74392 allow_undefined_flag_CXX \
74393 no_undefined_flag_CXX \
74394 hardcode_libdir_flag_spec_CXX \
74395 hardcode_libdir_flag_spec_ld_CXX \
74396 hardcode_libdir_separator_CXX \
74397 fix_srcfile_path_CXX \
74398 exclude_expsyms_CXX \
74399 include_expsyms_CXX \
74400 file_list_spec_CXX \
74401 compiler_lib_search_dirs_CXX \
74402 predep_objects_CXX \
74403 postdep_objects_CXX \
74404 predeps_CXX \
74405 postdeps_CXX \
74406 compiler_lib_search_path_CXX; do
74407 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74408 *[\\\\\\\`\\"\\\$]*)
74409 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
74412 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74414 esac
74415 done
74417 # Double-quote double-evaled strings.
74418 for var in reload_cmds \
74419 old_postinstall_cmds \
74420 old_postuninstall_cmds \
74421 old_archive_cmds \
74422 extract_expsyms_cmds \
74423 old_archive_from_new_cmds \
74424 old_archive_from_expsyms_cmds \
74425 archive_cmds \
74426 archive_expsym_cmds \
74427 module_cmds \
74428 module_expsym_cmds \
74429 export_symbols_cmds \
74430 prelink_cmds \
74431 postinstall_cmds \
74432 postuninstall_cmds \
74433 finish_cmds \
74434 sys_lib_search_path_spec \
74435 sys_lib_dlsearch_path_spec \
74436 reload_cmds_CXX \
74437 old_archive_cmds_CXX \
74438 old_archive_from_new_cmds_CXX \
74439 old_archive_from_expsyms_cmds_CXX \
74440 archive_cmds_CXX \
74441 archive_expsym_cmds_CXX \
74442 module_cmds_CXX \
74443 module_expsym_cmds_CXX \
74444 export_symbols_cmds_CXX \
74445 prelink_cmds_CXX; do
74446 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74447 *[\\\\\\\`\\"\\\$]*)
74448 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
74451 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74453 esac
74454 done
74456 ac_aux_dir='$ac_aux_dir'
74457 xsi_shell='$xsi_shell'
74458 lt_shell_append='$lt_shell_append'
74460 # See if we are running on zsh, and set the options which allow our
74461 # commands through without removal of \ escapes INIT.
74462 if test -n "\${ZSH_VERSION+set}" ; then
74463 setopt NO_GLOB_SUBST
74467 PACKAGE='$PACKAGE'
74468 VERSION='$VERSION'
74469 TIMESTAMP='$TIMESTAMP'
74470 RM='$RM'
74471 ofile='$ofile'
74478 GCC="$GCC"
74479 CC="$CC"
74480 acx_cv_header_stdint="$acx_cv_header_stdint"
74481 acx_cv_type_int8_t="$acx_cv_type_int8_t"
74482 acx_cv_type_int16_t="$acx_cv_type_int16_t"
74483 acx_cv_type_int32_t="$acx_cv_type_int32_t"
74484 acx_cv_type_int64_t="$acx_cv_type_int64_t"
74485 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
74486 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
74487 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
74488 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
74489 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
74490 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
74491 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
74492 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
74493 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
74496 _ACEOF
74498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74500 # Handling of arguments.
74501 for ac_config_target in $ac_config_targets
74503 case $ac_config_target in
74504 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
74505 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
74506 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
74507 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
74508 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
74509 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
74510 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
74511 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
74512 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
74513 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
74514 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
74515 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
74516 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
74517 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
74518 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
74519 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
74520 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
74521 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
74523 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
74524 esac
74525 done
74528 # If the user did not use the arguments to specify the items to instantiate,
74529 # then the envvar interface is used. Set only those that are not.
74530 # We use the long form for the default assignment because of an extremely
74531 # bizarre bug on SunOS 4.1.3.
74532 if $ac_need_defaults; then
74533 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
74534 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
74535 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
74538 # Have a temporary directory for convenience. Make it in the build tree
74539 # simply because there is no reason against having it here, and in addition,
74540 # creating and moving files from /tmp can sometimes cause problems.
74541 # Hook for its removal unless debugging.
74542 # Note that there is a small window in which the directory will not be cleaned:
74543 # after its creation but before its name has been assigned to `$tmp'.
74544 $debug ||
74546 tmp=
74547 trap 'exit_status=$?
74548 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
74550 trap 'as_fn_exit 1' 1 2 13 15
74552 # Create a (secure) tmp directory for tmp files.
74555 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
74556 test -n "$tmp" && test -d "$tmp"
74557 } ||
74559 tmp=./conf$$-$RANDOM
74560 (umask 077 && mkdir "$tmp")
74561 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
74563 # Set up the scripts for CONFIG_FILES section.
74564 # No need to generate them if there are no CONFIG_FILES.
74565 # This happens for instance with `./config.status config.h'.
74566 if test -n "$CONFIG_FILES"; then
74569 ac_cr=`echo X | tr X '\015'`
74570 # On cygwin, bash can eat \r inside `` if the user requested igncr.
74571 # But we know of no other shell where ac_cr would be empty at this
74572 # point, so we can use a bashism as a fallback.
74573 if test "x$ac_cr" = x; then
74574 eval ac_cr=\$\'\\r\'
74576 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
74577 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
74578 ac_cs_awk_cr='\r'
74579 else
74580 ac_cs_awk_cr=$ac_cr
74583 echo 'BEGIN {' >"$tmp/subs1.awk" &&
74584 _ACEOF
74588 echo "cat >conf$$subs.awk <<_ACEOF" &&
74589 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
74590 echo "_ACEOF"
74591 } >conf$$subs.sh ||
74592 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74593 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
74594 ac_delim='%!_!# '
74595 for ac_last_try in false false false false false :; do
74596 . ./conf$$subs.sh ||
74597 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74599 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
74600 if test $ac_delim_n = $ac_delim_num; then
74601 break
74602 elif $ac_last_try; then
74603 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74604 else
74605 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74607 done
74608 rm -f conf$$subs.sh
74610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74611 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
74612 _ACEOF
74613 sed -n '
74615 s/^/S["/; s/!.*/"]=/
74618 s/^[^!]*!//
74619 :repl
74620 t repl
74621 s/'"$ac_delim"'$//
74622 t delim
74625 s/\(.\{148\}\).*/\1/
74626 t more1
74627 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
74630 b repl
74631 :more1
74632 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74635 s/.\{148\}//
74636 t nl
74637 :delim
74639 s/\(.\{148\}\).*/\1/
74640 t more2
74641 s/["\\]/\\&/g; s/^/"/; s/$/"/
74644 :more2
74645 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74648 s/.\{148\}//
74649 t delim
74650 ' <conf$$subs.awk | sed '
74651 /^[^""]/{
74653 s/\n//
74655 ' >>$CONFIG_STATUS || ac_write_fail=1
74656 rm -f conf$$subs.awk
74657 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74658 _ACAWK
74659 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
74660 for (key in S) S_is_set[key] = 1
74661 FS = "\a"
74665 line = $ 0
74666 nfields = split(line, field, "@")
74667 substed = 0
74668 len = length(field[1])
74669 for (i = 2; i < nfields; i++) {
74670 key = field[i]
74671 keylen = length(key)
74672 if (S_is_set[key]) {
74673 value = S[key]
74674 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
74675 len += length(value) + length(field[++i])
74676 substed = 1
74677 } else
74678 len += 1 + keylen
74681 print line
74684 _ACAWK
74685 _ACEOF
74686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74687 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
74688 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
74689 else
74691 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
74692 || as_fn_error "could not setup config files machinery" "$LINENO" 5
74693 _ACEOF
74695 # VPATH may cause trouble with some makes, so we remove $(srcdir),
74696 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
74697 # trailing colons and then remove the whole line if VPATH becomes empty
74698 # (actually we leave an empty line to preserve line numbers).
74699 if test "x$srcdir" = x.; then
74700 ac_vpsub='/^[ ]*VPATH[ ]*=/{
74701 s/:*\$(srcdir):*/:/
74702 s/:*\${srcdir}:*/:/
74703 s/:*@srcdir@:*/:/
74704 s/^\([^=]*=[ ]*\):*/\1/
74705 s/:*$//
74706 s/^[^=]*=[ ]*$//
74710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74711 fi # test -n "$CONFIG_FILES"
74713 # Set up the scripts for CONFIG_HEADERS section.
74714 # No need to generate them if there are no CONFIG_HEADERS.
74715 # This happens for instance with `./config.status Makefile'.
74716 if test -n "$CONFIG_HEADERS"; then
74717 cat >"$tmp/defines.awk" <<\_ACAWK ||
74718 BEGIN {
74719 _ACEOF
74721 # Transform confdefs.h into an awk script `defines.awk', embedded as
74722 # here-document in config.status, that substitutes the proper values into
74723 # config.h.in to produce config.h.
74725 # Create a delimiter string that does not exist in confdefs.h, to ease
74726 # handling of long lines.
74727 ac_delim='%!_!# '
74728 for ac_last_try in false false :; do
74729 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
74730 if test -z "$ac_t"; then
74731 break
74732 elif $ac_last_try; then
74733 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
74734 else
74735 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74737 done
74739 # For the awk script, D is an array of macro values keyed by name,
74740 # likewise P contains macro parameters if any. Preserve backslash
74741 # newline sequences.
74743 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
74744 sed -n '
74745 s/.\{148\}/&'"$ac_delim"'/g
74746 t rset
74747 :rset
74748 s/^[ ]*#[ ]*define[ ][ ]*/ /
74749 t def
74751 :def
74752 s/\\$//
74753 t bsnl
74754 s/["\\]/\\&/g
74755 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74756 D["\1"]=" \3"/p
74757 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
74759 :bsnl
74760 s/["\\]/\\&/g
74761 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74762 D["\1"]=" \3\\\\\\n"\\/p
74763 t cont
74764 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
74765 t cont
74767 :cont
74769 s/.\{148\}/&'"$ac_delim"'/g
74770 t clear
74771 :clear
74772 s/\\$//
74773 t bsnlc
74774 s/["\\]/\\&/g; s/^/"/; s/$/"/p
74776 :bsnlc
74777 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
74778 b cont
74779 ' <confdefs.h | sed '
74780 s/'"$ac_delim"'/"\\\
74781 "/g' >>$CONFIG_STATUS || ac_write_fail=1
74783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74784 for (key in D) D_is_set[key] = 1
74785 FS = "\a"
74787 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
74788 line = \$ 0
74789 split(line, arg, " ")
74790 if (arg[1] == "#") {
74791 defundef = arg[2]
74792 mac1 = arg[3]
74793 } else {
74794 defundef = substr(arg[1], 2)
74795 mac1 = arg[2]
74797 split(mac1, mac2, "(") #)
74798 macro = mac2[1]
74799 prefix = substr(line, 1, index(line, defundef) - 1)
74800 if (D_is_set[macro]) {
74801 # Preserve the white space surrounding the "#".
74802 print prefix "define", macro P[macro] D[macro]
74803 next
74804 } else {
74805 # Replace #undef with comments. This is necessary, for example,
74806 # in the case of _POSIX_SOURCE, which is predefined and required
74807 # on some systems where configure will not decide to define it.
74808 if (defundef == "undef") {
74809 print "/*", prefix defundef, macro, "*/"
74810 next
74814 { print }
74815 _ACAWK
74816 _ACEOF
74817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74818 as_fn_error "could not setup config headers machinery" "$LINENO" 5
74819 fi # test -n "$CONFIG_HEADERS"
74822 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
74823 shift
74824 for ac_tag
74826 case $ac_tag in
74827 :[FHLC]) ac_mode=$ac_tag; continue;;
74828 esac
74829 case $ac_mode$ac_tag in
74830 :[FHL]*:*);;
74831 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
74832 :[FH]-) ac_tag=-:-;;
74833 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
74834 esac
74835 ac_save_IFS=$IFS
74836 IFS=:
74837 set x $ac_tag
74838 IFS=$ac_save_IFS
74839 shift
74840 ac_file=$1
74841 shift
74843 case $ac_mode in
74844 :L) ac_source=$1;;
74845 :[FH])
74846 ac_file_inputs=
74847 for ac_f
74849 case $ac_f in
74850 -) ac_f="$tmp/stdin";;
74851 *) # Look for the file first in the build tree, then in the source tree
74852 # (if the path is not absolute). The absolute path cannot be DOS-style,
74853 # because $ac_f cannot contain `:'.
74854 test -f "$ac_f" ||
74855 case $ac_f in
74856 [\\/$]*) false;;
74857 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
74858 esac ||
74859 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
74860 esac
74861 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
74862 as_fn_append ac_file_inputs " '$ac_f'"
74863 done
74865 # Let's still pretend it is `configure' which instantiates (i.e., don't
74866 # use $as_me), people would be surprised to read:
74867 # /* config.h. Generated by config.status. */
74868 configure_input='Generated from '`
74869 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
74870 `' by configure.'
74871 if test x"$ac_file" != x-; then
74872 configure_input="$ac_file. $configure_input"
74873 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
74874 $as_echo "$as_me: creating $ac_file" >&6;}
74876 # Neutralize special characters interpreted by sed in replacement strings.
74877 case $configure_input in #(
74878 *\&* | *\|* | *\\* )
74879 ac_sed_conf_input=`$as_echo "$configure_input" |
74880 sed 's/[\\\\&|]/\\\\&/g'`;; #(
74881 *) ac_sed_conf_input=$configure_input;;
74882 esac
74884 case $ac_tag in
74885 *:-:* | *:-) cat >"$tmp/stdin" \
74886 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
74887 esac
74889 esac
74891 ac_dir=`$as_dirname -- "$ac_file" ||
74892 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74893 X"$ac_file" : 'X\(//\)[^/]' \| \
74894 X"$ac_file" : 'X\(//\)$' \| \
74895 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
74896 $as_echo X"$ac_file" |
74897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74898 s//\1/
74901 /^X\(\/\/\)[^/].*/{
74902 s//\1/
74905 /^X\(\/\/\)$/{
74906 s//\1/
74909 /^X\(\/\).*/{
74910 s//\1/
74913 s/.*/./; q'`
74914 as_dir="$ac_dir"; as_fn_mkdir_p
74915 ac_builddir=.
74917 case "$ac_dir" in
74918 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
74920 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
74921 # A ".." for each directory in $ac_dir_suffix.
74922 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
74923 case $ac_top_builddir_sub in
74924 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
74925 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
74926 esac ;;
74927 esac
74928 ac_abs_top_builddir=$ac_pwd
74929 ac_abs_builddir=$ac_pwd$ac_dir_suffix
74930 # for backward compatibility:
74931 ac_top_builddir=$ac_top_build_prefix
74933 case $srcdir in
74934 .) # We are building in place.
74935 ac_srcdir=.
74936 ac_top_srcdir=$ac_top_builddir_sub
74937 ac_abs_top_srcdir=$ac_pwd ;;
74938 [\\/]* | ?:[\\/]* ) # Absolute name.
74939 ac_srcdir=$srcdir$ac_dir_suffix;
74940 ac_top_srcdir=$srcdir
74941 ac_abs_top_srcdir=$srcdir ;;
74942 *) # Relative name.
74943 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
74944 ac_top_srcdir=$ac_top_build_prefix$srcdir
74945 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
74946 esac
74947 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
74950 case $ac_mode in
74953 # CONFIG_FILE
74956 case $INSTALL in
74957 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
74958 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
74959 esac
74960 ac_MKDIR_P=$MKDIR_P
74961 case $MKDIR_P in
74962 [\\/$]* | ?:[\\/]* ) ;;
74963 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
74964 esac
74965 _ACEOF
74967 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74968 # If the template does not know about datarootdir, expand it.
74969 # FIXME: This hack should be removed a few years after 2.60.
74970 ac_datarootdir_hack=; ac_datarootdir_seen=
74971 ac_sed_dataroot='
74972 /datarootdir/ {
74976 /@datadir@/p
74977 /@docdir@/p
74978 /@infodir@/p
74979 /@localedir@/p
74980 /@mandir@/p'
74981 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
74982 *datarootdir*) ac_datarootdir_seen=yes;;
74983 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
74984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
74985 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
74986 _ACEOF
74987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74988 ac_datarootdir_hack='
74989 s&@datadir@&$datadir&g
74990 s&@docdir@&$docdir&g
74991 s&@infodir@&$infodir&g
74992 s&@localedir@&$localedir&g
74993 s&@mandir@&$mandir&g
74994 s&\\\${datarootdir}&$datarootdir&g' ;;
74995 esac
74996 _ACEOF
74998 # Neutralize VPATH when `$srcdir' = `.'.
74999 # Shell code in configure.ac might set extrasub.
75000 # FIXME: do we really want to maintain this feature?
75001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75002 ac_sed_extra="$ac_vpsub
75003 $extrasub
75004 _ACEOF
75005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75007 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
75008 s|@configure_input@|$ac_sed_conf_input|;t t
75009 s&@top_builddir@&$ac_top_builddir_sub&;t t
75010 s&@top_build_prefix@&$ac_top_build_prefix&;t t
75011 s&@srcdir@&$ac_srcdir&;t t
75012 s&@abs_srcdir@&$ac_abs_srcdir&;t t
75013 s&@top_srcdir@&$ac_top_srcdir&;t t
75014 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
75015 s&@builddir@&$ac_builddir&;t t
75016 s&@abs_builddir@&$ac_abs_builddir&;t t
75017 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
75018 s&@INSTALL@&$ac_INSTALL&;t t
75019 s&@MKDIR_P@&$ac_MKDIR_P&;t t
75020 $ac_datarootdir_hack
75022 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
75023 || as_fn_error "could not create $ac_file" "$LINENO" 5
75025 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
75026 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
75027 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
75028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
75029 which seems to be undefined. Please make sure it is defined." >&5
75030 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
75031 which seems to be undefined. Please make sure it is defined." >&2;}
75033 rm -f "$tmp/stdin"
75034 case $ac_file in
75035 -) cat "$tmp/out" && rm -f "$tmp/out";;
75036 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
75037 esac \
75038 || as_fn_error "could not create $ac_file" "$LINENO" 5
75042 # CONFIG_HEADER
75044 if test x"$ac_file" != x-; then
75046 $as_echo "/* $configure_input */" \
75047 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
75048 } >"$tmp/config.h" \
75049 || as_fn_error "could not create $ac_file" "$LINENO" 5
75050 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
75051 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
75052 $as_echo "$as_me: $ac_file is unchanged" >&6;}
75053 else
75054 rm -f "$ac_file"
75055 mv "$tmp/config.h" "$ac_file" \
75056 || as_fn_error "could not create $ac_file" "$LINENO" 5
75058 else
75059 $as_echo "/* $configure_input */" \
75060 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
75061 || as_fn_error "could not create -" "$LINENO" 5
75063 # Compute "$ac_file"'s index in $config_headers.
75064 _am_arg="$ac_file"
75065 _am_stamp_count=1
75066 for _am_header in $config_headers :; do
75067 case $_am_header in
75068 $_am_arg | $_am_arg:* )
75069 break ;;
75071 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
75072 esac
75073 done
75074 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
75075 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
75076 X"$_am_arg" : 'X\(//\)[^/]' \| \
75077 X"$_am_arg" : 'X\(//\)$' \| \
75078 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
75079 $as_echo X"$_am_arg" |
75080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
75081 s//\1/
75084 /^X\(\/\/\)[^/].*/{
75085 s//\1/
75088 /^X\(\/\/\)$/{
75089 s//\1/
75092 /^X\(\/\).*/{
75093 s//\1/
75096 s/.*/./; q'`/stamp-h$_am_stamp_count
75099 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
75100 $as_echo "$as_me: executing $ac_file commands" >&6;}
75102 esac
75105 case $ac_file$ac_mode in
75106 "default-1":C)
75107 # Only add multilib support code if we just rebuilt the top-level
75108 # Makefile.
75109 case " $CONFIG_FILES " in
75110 *" Makefile "*)
75111 ac_file=Makefile . ${multi_basedir}/config-ml.in
75113 esac ;;
75114 "libtool":C)
75116 # See if we are running on zsh, and set the options which allow our
75117 # commands through without removal of \ escapes.
75118 if test -n "${ZSH_VERSION+set}" ; then
75119 setopt NO_GLOB_SUBST
75122 cfgfile="${ofile}T"
75123 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
75124 $RM "$cfgfile"
75126 cat <<_LT_EOF >> "$cfgfile"
75127 #! $SHELL
75129 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
75130 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
75131 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
75132 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
75134 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
75135 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
75136 # Written by Gordon Matzigkeit, 1996
75138 # This file is part of GNU Libtool.
75140 # GNU Libtool is free software; you can redistribute it and/or
75141 # modify it under the terms of the GNU General Public License as
75142 # published by the Free Software Foundation; either version 2 of
75143 # the License, or (at your option) any later version.
75145 # As a special exception to the GNU General Public License,
75146 # if you distribute this file as part of a program or library that
75147 # is built using GNU Libtool, you may include this file under the
75148 # same distribution terms that you use for the rest of that program.
75150 # GNU Libtool is distributed in the hope that it will be useful,
75151 # but WITHOUT ANY WARRANTY; without even the implied warranty of
75152 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
75153 # GNU General Public License for more details.
75155 # You should have received a copy of the GNU General Public License
75156 # along with GNU Libtool; see the file COPYING. If not, a copy
75157 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
75158 # obtained by writing to the Free Software Foundation, Inc.,
75159 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
75162 # The names of the tagged configurations supported by this script.
75163 available_tags="CXX "
75165 # ### BEGIN LIBTOOL CONFIG
75167 # Which release of libtool.m4 was used?
75168 macro_version=$macro_version
75169 macro_revision=$macro_revision
75171 # Whether or not to build shared libraries.
75172 build_libtool_libs=$enable_shared
75174 # Whether or not to build static libraries.
75175 build_old_libs=$enable_static
75177 # What type of objects to build.
75178 pic_mode=$pic_mode
75180 # Whether or not to optimize for fast installation.
75181 fast_install=$enable_fast_install
75183 # Shell to use when invoking shell scripts.
75184 SHELL=$lt_SHELL
75186 # An echo program that protects backslashes.
75187 ECHO=$lt_ECHO
75189 # The host system.
75190 host_alias=$host_alias
75191 host=$host
75192 host_os=$host_os
75194 # The build system.
75195 build_alias=$build_alias
75196 build=$build
75197 build_os=$build_os
75199 # A sed program that does not truncate output.
75200 SED=$lt_SED
75202 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
75203 Xsed="\$SED -e 1s/^X//"
75205 # A grep program that handles long lines.
75206 GREP=$lt_GREP
75208 # An ERE matcher.
75209 EGREP=$lt_EGREP
75211 # A literal string matcher.
75212 FGREP=$lt_FGREP
75214 # A BSD- or MS-compatible name lister.
75215 NM=$lt_NM
75217 # Whether we need soft or hard links.
75218 LN_S=$lt_LN_S
75220 # What is the maximum length of a command?
75221 max_cmd_len=$max_cmd_len
75223 # Object file suffix (normally "o").
75224 objext=$ac_objext
75226 # Executable file suffix (normally "").
75227 exeext=$exeext
75229 # whether the shell understands "unset".
75230 lt_unset=$lt_unset
75232 # turn spaces into newlines.
75233 SP2NL=$lt_lt_SP2NL
75235 # turn newlines into spaces.
75236 NL2SP=$lt_lt_NL2SP
75238 # An object symbol dumper.
75239 OBJDUMP=$lt_OBJDUMP
75241 # Method to check whether dependent libraries are shared objects.
75242 deplibs_check_method=$lt_deplibs_check_method
75244 # Command to use when deplibs_check_method == "file_magic".
75245 file_magic_cmd=$lt_file_magic_cmd
75247 # The archiver.
75248 AR=$lt_AR
75249 AR_FLAGS=$lt_AR_FLAGS
75251 # A symbol stripping program.
75252 STRIP=$lt_STRIP
75254 # Commands used to install an old-style archive.
75255 RANLIB=$lt_RANLIB
75256 old_postinstall_cmds=$lt_old_postinstall_cmds
75257 old_postuninstall_cmds=$lt_old_postuninstall_cmds
75259 # Whether to use a lock for old archive extraction.
75260 lock_old_archive_extraction=$lock_old_archive_extraction
75262 # A C compiler.
75263 LTCC=$lt_CC
75265 # LTCC compiler flags.
75266 LTCFLAGS=$lt_CFLAGS
75268 # Take the output of nm and produce a listing of raw symbols and C names.
75269 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
75271 # Transform the output of nm in a proper C declaration.
75272 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
75274 # Transform the output of nm in a C name address pair.
75275 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
75277 # Transform the output of nm in a C name address pair when lib prefix is needed.
75278 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
75280 # The name of the directory that contains temporary libtool files.
75281 objdir=$objdir
75283 # Used to examine libraries when file_magic_cmd begins with "file".
75284 MAGIC_CMD=$MAGIC_CMD
75286 # Must we lock files when doing compilation?
75287 need_locks=$lt_need_locks
75289 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
75290 DSYMUTIL=$lt_DSYMUTIL
75292 # Tool to change global to local symbols on Mac OS X.
75293 NMEDIT=$lt_NMEDIT
75295 # Tool to manipulate fat objects and archives on Mac OS X.
75296 LIPO=$lt_LIPO
75298 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
75299 OTOOL=$lt_OTOOL
75301 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
75302 OTOOL64=$lt_OTOOL64
75304 # Old archive suffix (normally "a").
75305 libext=$libext
75307 # Shared library suffix (normally ".so").
75308 shrext_cmds=$lt_shrext_cmds
75310 # The commands to extract the exported symbol list from a shared archive.
75311 extract_expsyms_cmds=$lt_extract_expsyms_cmds
75313 # Variables whose values should be saved in libtool wrapper scripts and
75314 # restored at link time.
75315 variables_saved_for_relink=$lt_variables_saved_for_relink
75317 # Do we need the "lib" prefix for modules?
75318 need_lib_prefix=$need_lib_prefix
75320 # Do we need a version for libraries?
75321 need_version=$need_version
75323 # Library versioning type.
75324 version_type=$version_type
75326 # Shared library runtime path variable.
75327 runpath_var=$runpath_var
75329 # Shared library path variable.
75330 shlibpath_var=$shlibpath_var
75332 # Is shlibpath searched before the hard-coded library search path?
75333 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
75335 # Format of library name prefix.
75336 libname_spec=$lt_libname_spec
75338 # List of archive names. First name is the real one, the rest are links.
75339 # The last name is the one that the linker finds with -lNAME
75340 library_names_spec=$lt_library_names_spec
75342 # The coded name of the library, if different from the real name.
75343 soname_spec=$lt_soname_spec
75345 # Permission mode override for installation of shared libraries.
75346 install_override_mode=$lt_install_override_mode
75348 # Command to use after installation of a shared archive.
75349 postinstall_cmds=$lt_postinstall_cmds
75351 # Command to use after uninstallation of a shared archive.
75352 postuninstall_cmds=$lt_postuninstall_cmds
75354 # Commands used to finish a libtool library installation in a directory.
75355 finish_cmds=$lt_finish_cmds
75357 # As "finish_cmds", except a single script fragment to be evaled but
75358 # not shown.
75359 finish_eval=$lt_finish_eval
75361 # Whether we should hardcode library paths into libraries.
75362 hardcode_into_libs=$hardcode_into_libs
75364 # Compile-time system search path for libraries.
75365 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
75367 # Run-time system search path for libraries.
75368 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
75370 # Whether dlopen is supported.
75371 dlopen_support=$enable_dlopen
75373 # Whether dlopen of programs is supported.
75374 dlopen_self=$enable_dlopen_self
75376 # Whether dlopen of statically linked programs is supported.
75377 dlopen_self_static=$enable_dlopen_self_static
75379 # Commands to strip libraries.
75380 old_striplib=$lt_old_striplib
75381 striplib=$lt_striplib
75384 # The linker used to build libraries.
75385 LD=$lt_LD
75387 # How to create reloadable object files.
75388 reload_flag=$lt_reload_flag
75389 reload_cmds=$lt_reload_cmds
75391 # Commands used to build an old-style archive.
75392 old_archive_cmds=$lt_old_archive_cmds
75394 # A language specific compiler.
75395 CC=$lt_compiler
75397 # Is the compiler the GNU compiler?
75398 with_gcc=$GCC
75400 # Compiler flag to turn off builtin functions.
75401 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
75403 # How to pass a linker flag through the compiler.
75404 wl=$lt_lt_prog_compiler_wl
75406 # Additional compiler flags for building library objects.
75407 pic_flag=$lt_lt_prog_compiler_pic
75409 # Compiler flag to prevent dynamic linking.
75410 link_static_flag=$lt_lt_prog_compiler_static
75412 # Does compiler simultaneously support -c and -o options?
75413 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
75415 # Whether or not to add -lc for building shared libraries.
75416 build_libtool_need_lc=$archive_cmds_need_lc
75418 # Whether or not to disallow shared libs when runtime libs are static.
75419 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
75421 # Compiler flag to allow reflexive dlopens.
75422 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
75424 # Compiler flag to generate shared objects directly from archives.
75425 whole_archive_flag_spec=$lt_whole_archive_flag_spec
75427 # Whether the compiler copes with passing no objects directly.
75428 compiler_needs_object=$lt_compiler_needs_object
75430 # Create an old-style archive from a shared archive.
75431 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
75433 # Create a temporary old-style archive to link instead of a shared archive.
75434 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
75436 # Commands used to build a shared archive.
75437 archive_cmds=$lt_archive_cmds
75438 archive_expsym_cmds=$lt_archive_expsym_cmds
75440 # Commands used to build a loadable module if different from building
75441 # a shared archive.
75442 module_cmds=$lt_module_cmds
75443 module_expsym_cmds=$lt_module_expsym_cmds
75445 # Whether we are building with GNU ld or not.
75446 with_gnu_ld=$lt_with_gnu_ld
75448 # Flag that allows shared libraries with undefined symbols to be built.
75449 allow_undefined_flag=$lt_allow_undefined_flag
75451 # Flag that enforces no undefined symbols.
75452 no_undefined_flag=$lt_no_undefined_flag
75454 # Flag to hardcode \$libdir into a binary during linking.
75455 # This must work even if \$libdir does not exist
75456 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
75458 # If ld is used when linking, flag to hardcode \$libdir into a binary
75459 # during linking. This must work even if \$libdir does not exist.
75460 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
75462 # Whether we need a single "-rpath" flag with a separated argument.
75463 hardcode_libdir_separator=$lt_hardcode_libdir_separator
75465 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75466 # DIR into the resulting binary.
75467 hardcode_direct=$hardcode_direct
75469 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75470 # DIR into the resulting binary and the resulting library dependency is
75471 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75472 # library is relocated.
75473 hardcode_direct_absolute=$hardcode_direct_absolute
75475 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75476 # into the resulting binary.
75477 hardcode_minus_L=$hardcode_minus_L
75479 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75480 # into the resulting binary.
75481 hardcode_shlibpath_var=$hardcode_shlibpath_var
75483 # Set to "yes" if building a shared library automatically hardcodes DIR
75484 # into the library and all subsequent libraries and executables linked
75485 # against it.
75486 hardcode_automatic=$hardcode_automatic
75488 # Set to yes if linker adds runtime paths of dependent libraries
75489 # to runtime path list.
75490 inherit_rpath=$inherit_rpath
75492 # Whether libtool must link a program against all its dependency libraries.
75493 link_all_deplibs=$link_all_deplibs
75495 # Fix the shell variable \$srcfile for the compiler.
75496 fix_srcfile_path=$lt_fix_srcfile_path
75498 # Set to "yes" if exported symbols are required.
75499 always_export_symbols=$always_export_symbols
75501 # The commands to list exported symbols.
75502 export_symbols_cmds=$lt_export_symbols_cmds
75504 # Symbols that should not be listed in the preloaded symbols.
75505 exclude_expsyms=$lt_exclude_expsyms
75507 # Symbols that must always be exported.
75508 include_expsyms=$lt_include_expsyms
75510 # Commands necessary for linking programs (against libraries) with templates.
75511 prelink_cmds=$lt_prelink_cmds
75513 # Specify filename containing input files.
75514 file_list_spec=$lt_file_list_spec
75516 # How to hardcode a shared library path into an executable.
75517 hardcode_action=$hardcode_action
75519 # The directories searched by this compiler when creating a shared library.
75520 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
75522 # Dependencies to place before and after the objects being linked to
75523 # create a shared library.
75524 predep_objects=$lt_predep_objects
75525 postdep_objects=$lt_postdep_objects
75526 predeps=$lt_predeps
75527 postdeps=$lt_postdeps
75529 # The library search path used internally by the compiler when linking
75530 # a shared library.
75531 compiler_lib_search_path=$lt_compiler_lib_search_path
75533 # ### END LIBTOOL CONFIG
75535 _LT_EOF
75537 case $host_os in
75538 aix3*)
75539 cat <<\_LT_EOF >> "$cfgfile"
75540 # AIX sometimes has problems with the GCC collect2 program. For some
75541 # reason, if we set the COLLECT_NAMES environment variable, the problems
75542 # vanish in a puff of smoke.
75543 if test "X${COLLECT_NAMES+set}" != Xset; then
75544 COLLECT_NAMES=
75545 export COLLECT_NAMES
75547 _LT_EOF
75549 esac
75552 ltmain="$ac_aux_dir/ltmain.sh"
75555 # We use sed instead of cat because bash on DJGPP gets confused if
75556 # if finds mixed CR/LF and LF-only lines. Since sed operates in
75557 # text mode, it properly converts lines to CR/LF. This bash problem
75558 # is reportedly fixed, but why not run on old versions too?
75559 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
75560 || (rm -f "$cfgfile"; exit 1)
75562 case $xsi_shell in
75563 yes)
75564 cat << \_LT_EOF >> "$cfgfile"
75566 # func_dirname file append nondir_replacement
75567 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75568 # otherwise set result to NONDIR_REPLACEMENT.
75569 func_dirname ()
75571 case ${1} in
75572 */*) func_dirname_result="${1%/*}${2}" ;;
75573 * ) func_dirname_result="${3}" ;;
75574 esac
75577 # func_basename file
75578 func_basename ()
75580 func_basename_result="${1##*/}"
75583 # func_dirname_and_basename file append nondir_replacement
75584 # perform func_basename and func_dirname in a single function
75585 # call:
75586 # dirname: Compute the dirname of FILE. If nonempty,
75587 # add APPEND to the result, otherwise set result
75588 # to NONDIR_REPLACEMENT.
75589 # value returned in "$func_dirname_result"
75590 # basename: Compute filename of FILE.
75591 # value retuned in "$func_basename_result"
75592 # Implementation must be kept synchronized with func_dirname
75593 # and func_basename. For efficiency, we do not delegate to
75594 # those functions but instead duplicate the functionality here.
75595 func_dirname_and_basename ()
75597 case ${1} in
75598 */*) func_dirname_result="${1%/*}${2}" ;;
75599 * ) func_dirname_result="${3}" ;;
75600 esac
75601 func_basename_result="${1##*/}"
75604 # func_stripname prefix suffix name
75605 # strip PREFIX and SUFFIX off of NAME.
75606 # PREFIX and SUFFIX must not contain globbing or regex special
75607 # characters, hashes, percent signs, but SUFFIX may contain a leading
75608 # dot (in which case that matches only a dot).
75609 func_stripname ()
75611 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
75612 # positional parameters, so assign one to ordinary parameter first.
75613 func_stripname_result=${3}
75614 func_stripname_result=${func_stripname_result#"${1}"}
75615 func_stripname_result=${func_stripname_result%"${2}"}
75618 # func_opt_split
75619 func_opt_split ()
75621 func_opt_split_opt=${1%%=*}
75622 func_opt_split_arg=${1#*=}
75625 # func_lo2o object
75626 func_lo2o ()
75628 case ${1} in
75629 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
75630 *) func_lo2o_result=${1} ;;
75631 esac
75634 # func_xform libobj-or-source
75635 func_xform ()
75637 func_xform_result=${1%.*}.lo
75640 # func_arith arithmetic-term...
75641 func_arith ()
75643 func_arith_result=$(( $* ))
75646 # func_len string
75647 # STRING may not start with a hyphen.
75648 func_len ()
75650 func_len_result=${#1}
75653 _LT_EOF
75655 *) # Bourne compatible functions.
75656 cat << \_LT_EOF >> "$cfgfile"
75658 # func_dirname file append nondir_replacement
75659 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75660 # otherwise set result to NONDIR_REPLACEMENT.
75661 func_dirname ()
75663 # Extract subdirectory from the argument.
75664 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
75665 if test "X$func_dirname_result" = "X${1}"; then
75666 func_dirname_result="${3}"
75667 else
75668 func_dirname_result="$func_dirname_result${2}"
75672 # func_basename file
75673 func_basename ()
75675 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
75679 # func_stripname prefix suffix name
75680 # strip PREFIX and SUFFIX off of NAME.
75681 # PREFIX and SUFFIX must not contain globbing or regex special
75682 # characters, hashes, percent signs, but SUFFIX may contain a leading
75683 # dot (in which case that matches only a dot).
75684 # func_strip_suffix prefix name
75685 func_stripname ()
75687 case ${2} in
75688 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
75689 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
75690 esac
75693 # sed scripts:
75694 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
75695 my_sed_long_arg='1s/^-[^=]*=//'
75697 # func_opt_split
75698 func_opt_split ()
75700 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
75701 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
75704 # func_lo2o object
75705 func_lo2o ()
75707 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
75710 # func_xform libobj-or-source
75711 func_xform ()
75713 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
75716 # func_arith arithmetic-term...
75717 func_arith ()
75719 func_arith_result=`expr "$@"`
75722 # func_len string
75723 # STRING may not start with a hyphen.
75724 func_len ()
75726 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
75729 _LT_EOF
75730 esac
75732 case $lt_shell_append in
75733 yes)
75734 cat << \_LT_EOF >> "$cfgfile"
75736 # func_append var value
75737 # Append VALUE to the end of shell variable VAR.
75738 func_append ()
75740 eval "$1+=\$2"
75742 _LT_EOF
75745 cat << \_LT_EOF >> "$cfgfile"
75747 # func_append var value
75748 # Append VALUE to the end of shell variable VAR.
75749 func_append ()
75751 eval "$1=\$$1\$2"
75754 _LT_EOF
75756 esac
75759 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
75760 || (rm -f "$cfgfile"; exit 1)
75762 mv -f "$cfgfile" "$ofile" ||
75763 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
75764 chmod +x "$ofile"
75767 cat <<_LT_EOF >> "$ofile"
75769 # ### BEGIN LIBTOOL TAG CONFIG: CXX
75771 # The linker used to build libraries.
75772 LD=$lt_LD_CXX
75774 # How to create reloadable object files.
75775 reload_flag=$lt_reload_flag_CXX
75776 reload_cmds=$lt_reload_cmds_CXX
75778 # Commands used to build an old-style archive.
75779 old_archive_cmds=$lt_old_archive_cmds_CXX
75781 # A language specific compiler.
75782 CC=$lt_compiler_CXX
75784 # Is the compiler the GNU compiler?
75785 with_gcc=$GCC_CXX
75787 # Compiler flag to turn off builtin functions.
75788 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
75790 # How to pass a linker flag through the compiler.
75791 wl=$lt_lt_prog_compiler_wl_CXX
75793 # Additional compiler flags for building library objects.
75794 pic_flag=$lt_lt_prog_compiler_pic_CXX
75796 # Compiler flag to prevent dynamic linking.
75797 link_static_flag=$lt_lt_prog_compiler_static_CXX
75799 # Does compiler simultaneously support -c and -o options?
75800 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
75802 # Whether or not to add -lc for building shared libraries.
75803 build_libtool_need_lc=$archive_cmds_need_lc_CXX
75805 # Whether or not to disallow shared libs when runtime libs are static.
75806 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
75808 # Compiler flag to allow reflexive dlopens.
75809 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
75811 # Compiler flag to generate shared objects directly from archives.
75812 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
75814 # Whether the compiler copes with passing no objects directly.
75815 compiler_needs_object=$lt_compiler_needs_object_CXX
75817 # Create an old-style archive from a shared archive.
75818 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
75820 # Create a temporary old-style archive to link instead of a shared archive.
75821 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
75823 # Commands used to build a shared archive.
75824 archive_cmds=$lt_archive_cmds_CXX
75825 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
75827 # Commands used to build a loadable module if different from building
75828 # a shared archive.
75829 module_cmds=$lt_module_cmds_CXX
75830 module_expsym_cmds=$lt_module_expsym_cmds_CXX
75832 # Whether we are building with GNU ld or not.
75833 with_gnu_ld=$lt_with_gnu_ld_CXX
75835 # Flag that allows shared libraries with undefined symbols to be built.
75836 allow_undefined_flag=$lt_allow_undefined_flag_CXX
75838 # Flag that enforces no undefined symbols.
75839 no_undefined_flag=$lt_no_undefined_flag_CXX
75841 # Flag to hardcode \$libdir into a binary during linking.
75842 # This must work even if \$libdir does not exist
75843 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
75845 # If ld is used when linking, flag to hardcode \$libdir into a binary
75846 # during linking. This must work even if \$libdir does not exist.
75847 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
75849 # Whether we need a single "-rpath" flag with a separated argument.
75850 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
75852 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75853 # DIR into the resulting binary.
75854 hardcode_direct=$hardcode_direct_CXX
75856 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75857 # DIR into the resulting binary and the resulting library dependency is
75858 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75859 # library is relocated.
75860 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
75862 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75863 # into the resulting binary.
75864 hardcode_minus_L=$hardcode_minus_L_CXX
75866 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75867 # into the resulting binary.
75868 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
75870 # Set to "yes" if building a shared library automatically hardcodes DIR
75871 # into the library and all subsequent libraries and executables linked
75872 # against it.
75873 hardcode_automatic=$hardcode_automatic_CXX
75875 # Set to yes if linker adds runtime paths of dependent libraries
75876 # to runtime path list.
75877 inherit_rpath=$inherit_rpath_CXX
75879 # Whether libtool must link a program against all its dependency libraries.
75880 link_all_deplibs=$link_all_deplibs_CXX
75882 # Fix the shell variable \$srcfile for the compiler.
75883 fix_srcfile_path=$lt_fix_srcfile_path_CXX
75885 # Set to "yes" if exported symbols are required.
75886 always_export_symbols=$always_export_symbols_CXX
75888 # The commands to list exported symbols.
75889 export_symbols_cmds=$lt_export_symbols_cmds_CXX
75891 # Symbols that should not be listed in the preloaded symbols.
75892 exclude_expsyms=$lt_exclude_expsyms_CXX
75894 # Symbols that must always be exported.
75895 include_expsyms=$lt_include_expsyms_CXX
75897 # Commands necessary for linking programs (against libraries) with templates.
75898 prelink_cmds=$lt_prelink_cmds_CXX
75900 # Specify filename containing input files.
75901 file_list_spec=$lt_file_list_spec_CXX
75903 # How to hardcode a shared library path into an executable.
75904 hardcode_action=$hardcode_action_CXX
75906 # The directories searched by this compiler when creating a shared library.
75907 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
75909 # Dependencies to place before and after the objects being linked to
75910 # create a shared library.
75911 predep_objects=$lt_predep_objects_CXX
75912 postdep_objects=$lt_postdep_objects_CXX
75913 predeps=$lt_predeps_CXX
75914 postdeps=$lt_postdeps_CXX
75916 # The library search path used internally by the compiler when linking
75917 # a shared library.
75918 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
75920 # ### END LIBTOOL TAG CONFIG: CXX
75921 _LT_EOF
75924 "include/gstdint.h":C)
75925 if test "$GCC" = yes; then
75926 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
75927 else
75928 echo "/* generated for $CC */" > tmp-stdint.h
75931 sed 's/^ *//' >> tmp-stdint.h <<EOF
75933 #ifndef GCC_GENERATED_STDINT_H
75934 #define GCC_GENERATED_STDINT_H 1
75936 #include <sys/types.h>
75939 if test "$acx_cv_header_stdint" != stdint.h; then
75940 echo "#include <stddef.h>" >> tmp-stdint.h
75942 if test "$acx_cv_header_stdint" != stddef.h; then
75943 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
75946 sed 's/^ *//' >> tmp-stdint.h <<EOF
75947 /* glibc uses these symbols as guards to prevent redefinitions. */
75948 #ifdef __int8_t_defined
75949 #define _INT8_T
75950 #define _INT16_T
75951 #define _INT32_T
75952 #endif
75953 #ifdef __uint32_t_defined
75954 #define _UINT32_T
75955 #endif
75959 # ----------------- done header, emit basic int types -------------
75960 if test "$acx_cv_header_stdint" = stddef.h; then
75961 sed 's/^ *//' >> tmp-stdint.h <<EOF
75963 #ifndef _UINT8_T
75964 #define _UINT8_T
75965 #ifndef __uint8_t_defined
75966 #define __uint8_t_defined
75967 #ifndef uint8_t
75968 typedef unsigned $acx_cv_type_int8_t uint8_t;
75969 #endif
75970 #endif
75971 #endif
75973 #ifndef _UINT16_T
75974 #define _UINT16_T
75975 #ifndef __uint16_t_defined
75976 #define __uint16_t_defined
75977 #ifndef uint16_t
75978 typedef unsigned $acx_cv_type_int16_t uint16_t;
75979 #endif
75980 #endif
75981 #endif
75983 #ifndef _UINT32_T
75984 #define _UINT32_T
75985 #ifndef __uint32_t_defined
75986 #define __uint32_t_defined
75987 #ifndef uint32_t
75988 typedef unsigned $acx_cv_type_int32_t uint32_t;
75989 #endif
75990 #endif
75991 #endif
75993 #ifndef _INT8_T
75994 #define _INT8_T
75995 #ifndef __int8_t_defined
75996 #define __int8_t_defined
75997 #ifndef int8_t
75998 typedef $acx_cv_type_int8_t int8_t;
75999 #endif
76000 #endif
76001 #endif
76003 #ifndef _INT16_T
76004 #define _INT16_T
76005 #ifndef __int16_t_defined
76006 #define __int16_t_defined
76007 #ifndef int16_t
76008 typedef $acx_cv_type_int16_t int16_t;
76009 #endif
76010 #endif
76011 #endif
76013 #ifndef _INT32_T
76014 #define _INT32_T
76015 #ifndef __int32_t_defined
76016 #define __int32_t_defined
76017 #ifndef int32_t
76018 typedef $acx_cv_type_int32_t int32_t;
76019 #endif
76020 #endif
76021 #endif
76023 elif test "$ac_cv_type_u_int32_t" = yes; then
76024 sed 's/^ *//' >> tmp-stdint.h <<EOF
76026 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
76027 #ifndef _INT8_T
76028 #define _INT8_T
76029 #endif
76030 #ifndef _INT16_T
76031 #define _INT16_T
76032 #endif
76033 #ifndef _INT32_T
76034 #define _INT32_T
76035 #endif
76037 #ifndef _UINT8_T
76038 #define _UINT8_T
76039 #ifndef __uint8_t_defined
76040 #define __uint8_t_defined
76041 #ifndef uint8_t
76042 typedef u_int8_t uint8_t;
76043 #endif
76044 #endif
76045 #endif
76047 #ifndef _UINT16_T
76048 #define _UINT16_T
76049 #ifndef __uint16_t_defined
76050 #define __uint16_t_defined
76051 #ifndef uint16_t
76052 typedef u_int16_t uint16_t;
76053 #endif
76054 #endif
76055 #endif
76057 #ifndef _UINT32_T
76058 #define _UINT32_T
76059 #ifndef __uint32_t_defined
76060 #define __uint32_t_defined
76061 #ifndef uint32_t
76062 typedef u_int32_t uint32_t;
76063 #endif
76064 #endif
76065 #endif
76067 else
76068 sed 's/^ *//' >> tmp-stdint.h <<EOF
76070 /* Some systems have guard macros to prevent redefinitions, define them. */
76071 #ifndef _INT8_T
76072 #define _INT8_T
76073 #endif
76074 #ifndef _INT16_T
76075 #define _INT16_T
76076 #endif
76077 #ifndef _INT32_T
76078 #define _INT32_T
76079 #endif
76080 #ifndef _UINT8_T
76081 #define _UINT8_T
76082 #endif
76083 #ifndef _UINT16_T
76084 #define _UINT16_T
76085 #endif
76086 #ifndef _UINT32_T
76087 #define _UINT32_T
76088 #endif
76092 # ------------- done basic int types, emit int64_t types ------------
76093 if test "$ac_cv_type_uint64_t" = yes; then
76094 sed 's/^ *//' >> tmp-stdint.h <<EOF
76096 /* system headers have good uint64_t and int64_t */
76097 #ifndef _INT64_T
76098 #define _INT64_T
76099 #endif
76100 #ifndef _UINT64_T
76101 #define _UINT64_T
76102 #endif
76104 elif test "$ac_cv_type_u_int64_t" = yes; then
76105 sed 's/^ *//' >> tmp-stdint.h <<EOF
76107 /* system headers have an u_int64_t (and int64_t) */
76108 #ifndef _INT64_T
76109 #define _INT64_T
76110 #endif
76111 #ifndef _UINT64_T
76112 #define _UINT64_T
76113 #ifndef __uint64_t_defined
76114 #define __uint64_t_defined
76115 #ifndef uint64_t
76116 typedef u_int64_t uint64_t;
76117 #endif
76118 #endif
76119 #endif
76121 elif test -n "$acx_cv_type_int64_t"; then
76122 sed 's/^ *//' >> tmp-stdint.h <<EOF
76124 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
76125 #ifndef _INT64_T
76126 #define _INT64_T
76127 #ifndef int64_t
76128 typedef $acx_cv_type_int64_t int64_t;
76129 #endif
76130 #endif
76131 #ifndef _UINT64_T
76132 #define _UINT64_T
76133 #ifndef __uint64_t_defined
76134 #define __uint64_t_defined
76135 #ifndef uint64_t
76136 typedef unsigned $acx_cv_type_int64_t uint64_t;
76137 #endif
76138 #endif
76139 #endif
76141 else
76142 sed 's/^ *//' >> tmp-stdint.h <<EOF
76144 /* some common heuristics for int64_t, using compiler-specific tests */
76145 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
76146 #ifndef _INT64_T
76147 #define _INT64_T
76148 #ifndef __int64_t_defined
76149 #ifndef int64_t
76150 typedef long long int64_t;
76151 #endif
76152 #endif
76153 #endif
76154 #ifndef _UINT64_T
76155 #define _UINT64_T
76156 #ifndef uint64_t
76157 typedef unsigned long long uint64_t;
76158 #endif
76159 #endif
76161 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
76162 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
76163 does not implement __extension__. But that compiler doesn't define
76164 __GNUC_MINOR__. */
76165 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
76166 # define __extension__
76167 # endif
76169 # ifndef _INT64_T
76170 # define _INT64_T
76171 # ifndef int64_t
76172 __extension__ typedef long long int64_t;
76173 # endif
76174 # endif
76175 # ifndef _UINT64_T
76176 # define _UINT64_T
76177 # ifndef uint64_t
76178 __extension__ typedef unsigned long long uint64_t;
76179 # endif
76180 # endif
76182 #elif !defined __STRICT_ANSI__
76183 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
76185 # ifndef _INT64_T
76186 # define _INT64_T
76187 # ifndef int64_t
76188 typedef __int64 int64_t;
76189 # endif
76190 # endif
76191 # ifndef _UINT64_T
76192 # define _UINT64_T
76193 # ifndef uint64_t
76194 typedef unsigned __int64 uint64_t;
76195 # endif
76196 # endif
76197 # endif /* compiler */
76199 #endif /* ANSI version */
76203 # ------------- done int64_t types, emit intptr types ------------
76204 if test "$ac_cv_type_uintptr_t" != yes; then
76205 sed 's/^ *//' >> tmp-stdint.h <<EOF
76207 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
76208 #ifndef __uintptr_t_defined
76209 #ifndef uintptr_t
76210 typedef u$acx_cv_type_intptr_t uintptr_t;
76211 #endif
76212 #endif
76213 #ifndef __intptr_t_defined
76214 #ifndef intptr_t
76215 typedef $acx_cv_type_intptr_t intptr_t;
76216 #endif
76217 #endif
76221 # ------------- done intptr types, emit int_least types ------------
76222 if test "$ac_cv_type_int_least32_t" != yes; then
76223 sed 's/^ *//' >> tmp-stdint.h <<EOF
76225 /* Define int_least types */
76226 typedef int8_t int_least8_t;
76227 typedef int16_t int_least16_t;
76228 typedef int32_t int_least32_t;
76229 #ifdef _INT64_T
76230 typedef int64_t int_least64_t;
76231 #endif
76233 typedef uint8_t uint_least8_t;
76234 typedef uint16_t uint_least16_t;
76235 typedef uint32_t uint_least32_t;
76236 #ifdef _UINT64_T
76237 typedef uint64_t uint_least64_t;
76238 #endif
76242 # ------------- done intptr types, emit int_fast types ------------
76243 if test "$ac_cv_type_int_fast32_t" != yes; then
76244 sed 's/^ *//' >> tmp-stdint.h <<EOF
76246 /* Define int_fast types. short is often slow */
76247 typedef int8_t int_fast8_t;
76248 typedef int int_fast16_t;
76249 typedef int32_t int_fast32_t;
76250 #ifdef _INT64_T
76251 typedef int64_t int_fast64_t;
76252 #endif
76254 typedef uint8_t uint_fast8_t;
76255 typedef unsigned int uint_fast16_t;
76256 typedef uint32_t uint_fast32_t;
76257 #ifdef _UINT64_T
76258 typedef uint64_t uint_fast64_t;
76259 #endif
76263 if test "$ac_cv_type_uintmax_t" != yes; then
76264 sed 's/^ *//' >> tmp-stdint.h <<EOF
76266 /* Define intmax based on what we found */
76267 #ifndef intmax_t
76268 #ifdef _INT64_T
76269 typedef int64_t intmax_t;
76270 #else
76271 typedef long intmax_t;
76272 #endif
76273 #endif
76274 #ifndef uintmax_t
76275 #ifdef _UINT64_T
76276 typedef uint64_t uintmax_t;
76277 #else
76278 typedef unsigned long uintmax_t;
76279 #endif
76280 #endif
76284 sed 's/^ *//' >> tmp-stdint.h <<EOF
76286 #endif /* GCC_GENERATED_STDINT_H */
76289 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
76290 rm -f tmp-stdint.h
76291 else
76292 mv -f tmp-stdint.h include/gstdint.h
76296 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
76297 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
76298 "include/Makefile":F) cat > vpsed$$ << \_EOF
76299 s!`test -f '$<' || echo '$(srcdir)/'`!!
76300 _EOF
76301 sed -f vpsed$$ $ac_file > tmp$$
76302 mv tmp$$ $ac_file
76303 rm vpsed$$
76304 echo 'MULTISUBDIR =' >> $ac_file
76305 ml_norecursion=yes
76306 . ${multi_basedir}/config-ml.in
76307 { ml_norecursion=; unset ml_norecursion;}
76309 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
76310 s!`test -f '$<' || echo '$(srcdir)/'`!!
76311 _EOF
76312 sed -f vpsed$$ $ac_file > tmp$$
76313 mv tmp$$ $ac_file
76314 rm vpsed$$
76315 echo 'MULTISUBDIR =' >> $ac_file
76316 ml_norecursion=yes
76317 . ${multi_basedir}/config-ml.in
76318 { ml_norecursion=; unset ml_norecursion;}
76320 "python/Makefile":F) cat > vpsed$$ << \_EOF
76321 s!`test -f '$<' || echo '$(srcdir)/'`!!
76322 _EOF
76323 sed -f vpsed$$ $ac_file > tmp$$
76324 mv tmp$$ $ac_file
76325 rm vpsed$$
76326 echo 'MULTISUBDIR =' >> $ac_file
76327 ml_norecursion=yes
76328 . ${multi_basedir}/config-ml.in
76329 { ml_norecursion=; unset ml_norecursion;}
76331 "src/Makefile":F) cat > vpsed$$ << \_EOF
76332 s!`test -f '$<' || echo '$(srcdir)/'`!!
76333 _EOF
76334 sed -f vpsed$$ $ac_file > tmp$$
76335 mv tmp$$ $ac_file
76336 rm vpsed$$
76337 echo 'MULTISUBDIR =' >> $ac_file
76338 ml_norecursion=yes
76339 . ${multi_basedir}/config-ml.in
76340 { ml_norecursion=; unset ml_norecursion;}
76342 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
76343 s!`test -f '$<' || echo '$(srcdir)/'`!!
76344 _EOF
76345 sed -f vpsed$$ $ac_file > tmp$$
76346 mv tmp$$ $ac_file
76347 rm vpsed$$
76348 echo 'MULTISUBDIR =' >> $ac_file
76349 ml_norecursion=yes
76350 . ${multi_basedir}/config-ml.in
76351 { ml_norecursion=; unset ml_norecursion;}
76353 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
76354 s!`test -f '$<' || echo '$(srcdir)/'`!!
76355 _EOF
76356 sed -f vpsed$$ $ac_file > tmp$$
76357 mv tmp$$ $ac_file
76358 rm vpsed$$
76359 echo 'MULTISUBDIR =' >> $ac_file
76360 ml_norecursion=yes
76361 . ${multi_basedir}/config-ml.in
76362 { ml_norecursion=; unset ml_norecursion;}
76364 "doc/Makefile":F) cat > vpsed$$ << \_EOF
76365 s!`test -f '$<' || echo '$(srcdir)/'`!!
76366 _EOF
76367 sed -f vpsed$$ $ac_file > tmp$$
76368 mv tmp$$ $ac_file
76369 rm vpsed$$
76370 echo 'MULTISUBDIR =' >> $ac_file
76371 ml_norecursion=yes
76372 . ${multi_basedir}/config-ml.in
76373 { ml_norecursion=; unset ml_norecursion;}
76375 "po/Makefile":F) cat > vpsed$$ << \_EOF
76376 s!`test -f '$<' || echo '$(srcdir)/'`!!
76377 _EOF
76378 sed -f vpsed$$ $ac_file > tmp$$
76379 mv tmp$$ $ac_file
76380 rm vpsed$$
76381 echo 'MULTISUBDIR =' >> $ac_file
76382 ml_norecursion=yes
76383 . ${multi_basedir}/config-ml.in
76384 { ml_norecursion=; unset ml_norecursion;}
76386 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
76387 s!`test -f '$<' || echo '$(srcdir)/'`!!
76388 _EOF
76389 sed -f vpsed$$ $ac_file > tmp$$
76390 mv tmp$$ $ac_file
76391 rm vpsed$$
76392 echo 'MULTISUBDIR =' >> $ac_file
76393 ml_norecursion=yes
76394 . ${multi_basedir}/config-ml.in
76395 { ml_norecursion=; unset ml_norecursion;}
76397 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
76399 esac
76400 done # for ac_tag
76403 as_fn_exit 0
76404 _ACEOF
76405 ac_clean_files=$ac_clean_files_save
76407 test $ac_write_fail = 0 ||
76408 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
76411 # configure is writing to config.log, and then calls config.status.
76412 # config.status does its own redirection, appending to config.log.
76413 # Unfortunately, on DOS this fails, as config.log is still kept open
76414 # by configure, so config.status won't be able to write to it; its
76415 # output is simply discarded. So we exec the FD to /dev/null,
76416 # effectively closing config.log, so it can be properly (re)opened and
76417 # appended to by config.status. When coming back to configure, we
76418 # need to make the FD available again.
76419 if test "$no_create" != yes; then
76420 ac_cs_success=:
76421 ac_config_status_args=
76422 test "$silent" = yes &&
76423 ac_config_status_args="$ac_config_status_args --quiet"
76424 exec 5>/dev/null
76425 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
76426 exec 5>>config.log
76427 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
76428 # would make configure fail if this is the last instruction.
76429 $ac_cs_success || as_fn_exit $?
76431 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
76432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
76433 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}