2012-05-16 Andrew Pinski <apinski@cavium.com>
[official-gcc.git] / libstdc++-v3 / configure
blobe0af9c8de6cdbc36041b30b7ef974a86c98b5d92
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 PIC_CXXFLAGS
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 ERROR_CONSTANTS_SRCDIR
615 OS_INC_SRCDIR
616 ABI_TWEAKS_SRCDIR
617 CPU_DEFINES_SRCDIR
618 ATOMIC_FLAGS
619 ATOMIC_WORD_SRCDIR
620 ATOMICITY_SRCDIR
621 BUILD_PDF_FALSE
622 BUILD_PDF_TRUE
623 PDFLATEX
624 DBLATEX
625 BUILD_MAN_FALSE
626 BUILD_MAN_TRUE
627 BUILD_HTML_FALSE
628 BUILD_HTML_TRUE
629 BUILD_XML_FALSE
630 BUILD_XML_TRUE
631 BUILD_EPUB_FALSE
632 BUILD_EPUB_TRUE
633 XSL_STYLE_DIR
634 XMLLINT
635 XSLTPROC
637 DOXYGEN
638 BUILD_INFO_FALSE
639 BUILD_INFO_TRUE
640 baseline_subdir_switch
641 baseline_dir
642 GLIBCXX_LDBL_COMPAT_FALSE
643 GLIBCXX_LDBL_COMPAT_TRUE
644 ENABLE_VISIBILITY_FALSE
645 ENABLE_VISIBILITY_TRUE
646 libtool_VERSION
647 ENABLE_SYMVERS_SUN_FALSE
648 ENABLE_SYMVERS_SUN_TRUE
649 ENABLE_SYMVERS_DARWIN_FALSE
650 ENABLE_SYMVERS_DARWIN_TRUE
651 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
652 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
653 ENABLE_SYMVERS_GNU_FALSE
654 ENABLE_SYMVERS_GNU_TRUE
655 ENABLE_SYMVERS_FALSE
656 ENABLE_SYMVERS_TRUE
657 port_specific_symbol_files
658 SYMVER_FILE
659 CXXFILT
660 LTLIBICONV
661 LIBICONV
662 OPT_LDFLAGS
663 SECTION_LDFLAGS
664 GLIBCXX_LIBS
665 ENABLE_WERROR_FALSE
666 ENABLE_WERROR_TRUE
667 ENABLE_PYTHONDIR_FALSE
668 ENABLE_PYTHONDIR_TRUE
669 python_mod_dir
670 ENABLE_EXTERN_TEMPLATE_FALSE
671 ENABLE_EXTERN_TEMPLATE_TRUE
672 EXTRA_CXX_FLAGS
673 ENABLE_PARALLEL_FALSE
674 ENABLE_PARALLEL_TRUE
675 GLIBCXX_BUILD_DEBUG_FALSE
676 GLIBCXX_BUILD_DEBUG_TRUE
677 DEBUG_FLAGS
678 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
679 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
680 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
681 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
682 GLIBCXX_C_HEADERS_C_STD_FALSE
683 GLIBCXX_C_HEADERS_C_STD_TRUE
684 GLIBCXX_C_HEADERS_C_FALSE
685 GLIBCXX_C_HEADERS_C_TRUE
686 C_INCLUDE_DIR
687 ALLOCATOR_NAME
688 ALLOCATOR_H
689 CLOCALE_INTERNAL_H
690 CLOCALE_CC
691 CTIME_CC
692 CTIME_H
693 CNUMERIC_CC
694 CMONEY_CC
695 CMESSAGES_CC
696 CCTYPE_CC
697 CCOLLATE_CC
698 CCODECVT_CC
699 CMESSAGES_H
700 CLOCALE_H
701 USE_NLS
702 glibcxx_localedir
703 glibcxx_POFILES
704 glibcxx_MOFILES
705 check_msgfmt
706 BASIC_FILE_CC
707 BASIC_FILE_H
708 CSTDIO_H
709 SECTION_FLAGS
710 WERROR
711 glibcxx_PCHFLAGS
712 GLIBCXX_BUILD_PCH_FALSE
713 GLIBCXX_BUILD_PCH_TRUE
714 GLIBCXX_HOSTED_FALSE
715 GLIBCXX_HOSTED_TRUE
716 enable_static
717 enable_shared
718 lt_host_flags
719 CXXCPP
720 OTOOL64
721 OTOOL
722 LIPO
723 NMEDIT
724 DSYMUTIL
725 OBJDUMP
727 ac_ct_DUMPBIN
728 DUMPBIN
730 FGREP
732 LIBTOOL
733 EGREP
734 GREP
736 MAINT
737 MAINTAINER_MODE_FALSE
738 MAINTAINER_MODE_TRUE
739 RANLIB
742 LN_S
743 toplevel_srcdir
744 toplevel_builddir
745 glibcxx_srcdir
746 glibcxx_builddir
747 ac_ct_CXX
748 CXXFLAGS
750 OBJEXT
751 EXEEXT
752 ac_ct_CC
753 CPPFLAGS
754 LDFLAGS
755 CFLAGS
757 am__untar
758 am__tar
759 AMTAR
760 am__leading_dot
761 SET_MAKE
763 mkdir_p
764 MKDIR_P
765 INSTALL_STRIP_PROGRAM
766 STRIP
767 install_sh
768 MAKEINFO
769 AUTOHEADER
770 AUTOMAKE
771 AUTOCONF
772 ACLOCAL
773 VERSION
774 PACKAGE
775 CYGPATH_W
776 am__isrc
777 INSTALL_DATA
778 INSTALL_SCRIPT
779 INSTALL_PROGRAM
780 target_os
781 target_vendor
782 target_cpu
783 target
784 host_os
785 host_vendor
786 host_cpu
787 host
788 build_os
789 build_vendor
790 build_cpu
791 build
792 multi_basedir
793 target_alias
794 host_alias
795 build_alias
796 LIBS
797 ECHO_T
798 ECHO_N
799 ECHO_C
800 DEFS
801 mandir
802 localedir
803 libdir
804 psdir
805 pdfdir
806 dvidir
807 htmldir
808 infodir
809 docdir
810 oldincludedir
811 includedir
812 localstatedir
813 sharedstatedir
814 sysconfdir
815 datadir
816 datarootdir
817 libexecdir
818 sbindir
819 bindir
820 program_transform_name
821 prefix
822 exec_prefix
823 PACKAGE_URL
824 PACKAGE_BUGREPORT
825 PACKAGE_STRING
826 PACKAGE_VERSION
827 PACKAGE_TARNAME
828 PACKAGE_NAME
829 PATH_SEPARATOR
830 SHELL'
831 ac_subst_files=''
832 ac_user_opts='
833 enable_option_checking
834 enable_multilib
835 with_target_subdir
836 with_cross_host
837 with_newlib
838 enable_maintainer_mode
839 enable_shared
840 enable_static
841 with_pic
842 enable_fast_install
843 with_gnu_ld
844 enable_libtool_lock
845 enable_hosted_libstdcxx
846 enable_sjlj_exceptions
847 enable_libstdcxx_pch
848 enable_cstdio
849 enable_clocale
850 enable_nls
851 enable_libstdcxx_allocator
852 enable_cheaders
853 enable_long_long
854 enable_wchar_t
855 enable_c99
856 enable_concept_checks
857 enable_libstdcxx_debug_flags
858 enable_libstdcxx_debug
859 enable_cxx_flags
860 enable_fully_dynamic_string
861 enable_extern_template
862 with_python_dir
863 enable_werror
864 enable_libstdcxx_time
865 enable_tls
866 enable_rpath
867 with_libiconv_prefix
868 with_system_libunwind
869 enable_linux_futex
870 enable_symvers
871 enable_libstdcxx_visibility
872 enable_libstdcxx_threads
873 with_gxx_include_dir
874 enable_version_specific_runtime_libs
876 ac_precious_vars='build_alias
877 host_alias
878 target_alias
880 CFLAGS
881 LDFLAGS
882 LIBS
883 CPPFLAGS
885 CXXFLAGS
888 CXXCPP
889 CXXFILT'
892 # Initialize some variables set by options.
893 ac_init_help=
894 ac_init_version=false
895 ac_unrecognized_opts=
896 ac_unrecognized_sep=
897 # The variables have the same names as the options, with
898 # dashes changed to underlines.
899 cache_file=/dev/null
900 exec_prefix=NONE
901 no_create=
902 no_recursion=
903 prefix=NONE
904 program_prefix=NONE
905 program_suffix=NONE
906 program_transform_name=s,x,x,
907 silent=
908 site=
909 srcdir=
910 verbose=
911 x_includes=NONE
912 x_libraries=NONE
914 # Installation directory options.
915 # These are left unexpanded so users can "make install exec_prefix=/foo"
916 # and all the variables that are supposed to be based on exec_prefix
917 # by default will actually change.
918 # Use braces instead of parens because sh, perl, etc. also accept them.
919 # (The list follows the same order as the GNU Coding Standards.)
920 bindir='${exec_prefix}/bin'
921 sbindir='${exec_prefix}/sbin'
922 libexecdir='${exec_prefix}/libexec'
923 datarootdir='${prefix}/share'
924 datadir='${datarootdir}'
925 sysconfdir='${prefix}/etc'
926 sharedstatedir='${prefix}/com'
927 localstatedir='${prefix}/var'
928 includedir='${prefix}/include'
929 oldincludedir='/usr/include'
930 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
931 infodir='${datarootdir}/info'
932 htmldir='${docdir}'
933 dvidir='${docdir}'
934 pdfdir='${docdir}'
935 psdir='${docdir}'
936 libdir='${exec_prefix}/lib'
937 localedir='${datarootdir}/locale'
938 mandir='${datarootdir}/man'
940 ac_prev=
941 ac_dashdash=
942 for ac_option
944 # If the previous option needs an argument, assign it.
945 if test -n "$ac_prev"; then
946 eval $ac_prev=\$ac_option
947 ac_prev=
948 continue
951 case $ac_option in
952 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
953 *) ac_optarg=yes ;;
954 esac
956 # Accept the important Cygnus configure options, so we can diagnose typos.
958 case $ac_dashdash$ac_option in
960 ac_dashdash=yes ;;
962 -bindir | --bindir | --bindi | --bind | --bin | --bi)
963 ac_prev=bindir ;;
964 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
965 bindir=$ac_optarg ;;
967 -build | --build | --buil | --bui | --bu)
968 ac_prev=build_alias ;;
969 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
970 build_alias=$ac_optarg ;;
972 -cache-file | --cache-file | --cache-fil | --cache-fi \
973 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
974 ac_prev=cache_file ;;
975 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
976 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
977 cache_file=$ac_optarg ;;
979 --config-cache | -C)
980 cache_file=config.cache ;;
982 -datadir | --datadir | --datadi | --datad)
983 ac_prev=datadir ;;
984 -datadir=* | --datadir=* | --datadi=* | --datad=*)
985 datadir=$ac_optarg ;;
987 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
988 | --dataroo | --dataro | --datar)
989 ac_prev=datarootdir ;;
990 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
991 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
992 datarootdir=$ac_optarg ;;
994 -disable-* | --disable-*)
995 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
996 # Reject names that are not valid shell variable names.
997 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
998 as_fn_error "invalid feature name: $ac_useropt"
999 ac_useropt_orig=$ac_useropt
1000 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1001 case $ac_user_opts in
1003 "enable_$ac_useropt"
1004 "*) ;;
1005 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1006 ac_unrecognized_sep=', ';;
1007 esac
1008 eval enable_$ac_useropt=no ;;
1010 -docdir | --docdir | --docdi | --doc | --do)
1011 ac_prev=docdir ;;
1012 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1013 docdir=$ac_optarg ;;
1015 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1016 ac_prev=dvidir ;;
1017 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1018 dvidir=$ac_optarg ;;
1020 -enable-* | --enable-*)
1021 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1022 # Reject names that are not valid shell variable names.
1023 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1024 as_fn_error "invalid feature name: $ac_useropt"
1025 ac_useropt_orig=$ac_useropt
1026 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1027 case $ac_user_opts in
1029 "enable_$ac_useropt"
1030 "*) ;;
1031 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1032 ac_unrecognized_sep=', ';;
1033 esac
1034 eval enable_$ac_useropt=\$ac_optarg ;;
1036 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1037 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1038 | --exec | --exe | --ex)
1039 ac_prev=exec_prefix ;;
1040 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1041 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1042 | --exec=* | --exe=* | --ex=*)
1043 exec_prefix=$ac_optarg ;;
1045 -gas | --gas | --ga | --g)
1046 # Obsolete; use --with-gas.
1047 with_gas=yes ;;
1049 -help | --help | --hel | --he | -h)
1050 ac_init_help=long ;;
1051 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1052 ac_init_help=recursive ;;
1053 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1054 ac_init_help=short ;;
1056 -host | --host | --hos | --ho)
1057 ac_prev=host_alias ;;
1058 -host=* | --host=* | --hos=* | --ho=*)
1059 host_alias=$ac_optarg ;;
1061 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1062 ac_prev=htmldir ;;
1063 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1064 | --ht=*)
1065 htmldir=$ac_optarg ;;
1067 -includedir | --includedir | --includedi | --included | --include \
1068 | --includ | --inclu | --incl | --inc)
1069 ac_prev=includedir ;;
1070 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1071 | --includ=* | --inclu=* | --incl=* | --inc=*)
1072 includedir=$ac_optarg ;;
1074 -infodir | --infodir | --infodi | --infod | --info | --inf)
1075 ac_prev=infodir ;;
1076 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1077 infodir=$ac_optarg ;;
1079 -libdir | --libdir | --libdi | --libd)
1080 ac_prev=libdir ;;
1081 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1082 libdir=$ac_optarg ;;
1084 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1085 | --libexe | --libex | --libe)
1086 ac_prev=libexecdir ;;
1087 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1088 | --libexe=* | --libex=* | --libe=*)
1089 libexecdir=$ac_optarg ;;
1091 -localedir | --localedir | --localedi | --localed | --locale)
1092 ac_prev=localedir ;;
1093 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1094 localedir=$ac_optarg ;;
1096 -localstatedir | --localstatedir | --localstatedi | --localstated \
1097 | --localstate | --localstat | --localsta | --localst | --locals)
1098 ac_prev=localstatedir ;;
1099 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1100 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1101 localstatedir=$ac_optarg ;;
1103 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1104 ac_prev=mandir ;;
1105 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1106 mandir=$ac_optarg ;;
1108 -nfp | --nfp | --nf)
1109 # Obsolete; use --without-fp.
1110 with_fp=no ;;
1112 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1113 | --no-cr | --no-c | -n)
1114 no_create=yes ;;
1116 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1117 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1118 no_recursion=yes ;;
1120 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1121 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1122 | --oldin | --oldi | --old | --ol | --o)
1123 ac_prev=oldincludedir ;;
1124 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1125 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1126 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1127 oldincludedir=$ac_optarg ;;
1129 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1130 ac_prev=prefix ;;
1131 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1132 prefix=$ac_optarg ;;
1134 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1135 | --program-pre | --program-pr | --program-p)
1136 ac_prev=program_prefix ;;
1137 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1138 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1139 program_prefix=$ac_optarg ;;
1141 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1142 | --program-suf | --program-su | --program-s)
1143 ac_prev=program_suffix ;;
1144 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1145 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1146 program_suffix=$ac_optarg ;;
1148 -program-transform-name | --program-transform-name \
1149 | --program-transform-nam | --program-transform-na \
1150 | --program-transform-n | --program-transform- \
1151 | --program-transform | --program-transfor \
1152 | --program-transfo | --program-transf \
1153 | --program-trans | --program-tran \
1154 | --progr-tra | --program-tr | --program-t)
1155 ac_prev=program_transform_name ;;
1156 -program-transform-name=* | --program-transform-name=* \
1157 | --program-transform-nam=* | --program-transform-na=* \
1158 | --program-transform-n=* | --program-transform-=* \
1159 | --program-transform=* | --program-transfor=* \
1160 | --program-transfo=* | --program-transf=* \
1161 | --program-trans=* | --program-tran=* \
1162 | --progr-tra=* | --program-tr=* | --program-t=*)
1163 program_transform_name=$ac_optarg ;;
1165 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1166 ac_prev=pdfdir ;;
1167 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1168 pdfdir=$ac_optarg ;;
1170 -psdir | --psdir | --psdi | --psd | --ps)
1171 ac_prev=psdir ;;
1172 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1173 psdir=$ac_optarg ;;
1175 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1176 | -silent | --silent | --silen | --sile | --sil)
1177 silent=yes ;;
1179 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1180 ac_prev=sbindir ;;
1181 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1182 | --sbi=* | --sb=*)
1183 sbindir=$ac_optarg ;;
1185 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1186 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1187 | --sharedst | --shareds | --shared | --share | --shar \
1188 | --sha | --sh)
1189 ac_prev=sharedstatedir ;;
1190 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1191 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1192 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1193 | --sha=* | --sh=*)
1194 sharedstatedir=$ac_optarg ;;
1196 -site | --site | --sit)
1197 ac_prev=site ;;
1198 -site=* | --site=* | --sit=*)
1199 site=$ac_optarg ;;
1201 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1202 ac_prev=srcdir ;;
1203 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1204 srcdir=$ac_optarg ;;
1206 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1207 | --syscon | --sysco | --sysc | --sys | --sy)
1208 ac_prev=sysconfdir ;;
1209 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1210 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1211 sysconfdir=$ac_optarg ;;
1213 -target | --target | --targe | --targ | --tar | --ta | --t)
1214 ac_prev=target_alias ;;
1215 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1216 target_alias=$ac_optarg ;;
1218 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1219 verbose=yes ;;
1221 -version | --version | --versio | --versi | --vers | -V)
1222 ac_init_version=: ;;
1224 -with-* | --with-*)
1225 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1226 # Reject names that are not valid shell variable names.
1227 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1228 as_fn_error "invalid package name: $ac_useropt"
1229 ac_useropt_orig=$ac_useropt
1230 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1231 case $ac_user_opts in
1233 "with_$ac_useropt"
1234 "*) ;;
1235 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1236 ac_unrecognized_sep=', ';;
1237 esac
1238 eval with_$ac_useropt=\$ac_optarg ;;
1240 -without-* | --without-*)
1241 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1242 # Reject names that are not valid shell variable names.
1243 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1244 as_fn_error "invalid package name: $ac_useropt"
1245 ac_useropt_orig=$ac_useropt
1246 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1247 case $ac_user_opts in
1249 "with_$ac_useropt"
1250 "*) ;;
1251 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1252 ac_unrecognized_sep=', ';;
1253 esac
1254 eval with_$ac_useropt=no ;;
1256 --x)
1257 # Obsolete; use --with-x.
1258 with_x=yes ;;
1260 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1261 | --x-incl | --x-inc | --x-in | --x-i)
1262 ac_prev=x_includes ;;
1263 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1264 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1265 x_includes=$ac_optarg ;;
1267 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1268 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1269 ac_prev=x_libraries ;;
1270 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1271 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1272 x_libraries=$ac_optarg ;;
1274 -*) as_fn_error "unrecognized option: \`$ac_option'
1275 Try \`$0 --help' for more information."
1278 *=*)
1279 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1280 # Reject names that are not valid shell variable names.
1281 case $ac_envvar in #(
1282 '' | [0-9]* | *[!_$as_cr_alnum]* )
1283 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1284 esac
1285 eval $ac_envvar=\$ac_optarg
1286 export $ac_envvar ;;
1289 # FIXME: should be removed in autoconf 3.0.
1290 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1291 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1292 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1293 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1296 esac
1297 done
1299 if test -n "$ac_prev"; then
1300 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1301 as_fn_error "missing argument to $ac_option"
1304 if test -n "$ac_unrecognized_opts"; then
1305 case $enable_option_checking in
1306 no) ;;
1307 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1308 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1309 esac
1312 # Check all directory arguments for consistency.
1313 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1314 datadir sysconfdir sharedstatedir localstatedir includedir \
1315 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1316 libdir localedir mandir
1318 eval ac_val=\$$ac_var
1319 # Remove trailing slashes.
1320 case $ac_val in
1321 */ )
1322 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1323 eval $ac_var=\$ac_val;;
1324 esac
1325 # Be sure to have absolute directory names.
1326 case $ac_val in
1327 [\\/$]* | ?:[\\/]* ) continue;;
1328 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1329 esac
1330 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1331 done
1333 # There might be people who depend on the old broken behavior: `$host'
1334 # used to hold the argument of --host etc.
1335 # FIXME: To remove some day.
1336 build=$build_alias
1337 host=$host_alias
1338 target=$target_alias
1340 # FIXME: To remove some day.
1341 if test "x$host_alias" != x; then
1342 if test "x$build_alias" = x; then
1343 cross_compiling=maybe
1344 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1345 If a cross compiler is detected then cross compile mode will be used." >&2
1346 elif test "x$build_alias" != "x$host_alias"; then
1347 cross_compiling=yes
1351 ac_tool_prefix=
1352 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1354 test "$silent" = yes && exec 6>/dev/null
1357 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1358 ac_ls_di=`ls -di .` &&
1359 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1360 as_fn_error "working directory cannot be determined"
1361 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1362 as_fn_error "pwd does not report name of working directory"
1365 # Find the source files, if location was not specified.
1366 if test -z "$srcdir"; then
1367 ac_srcdir_defaulted=yes
1368 # Try the directory containing this script, then the parent directory.
1369 ac_confdir=`$as_dirname -- "$as_myself" ||
1370 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1371 X"$as_myself" : 'X\(//\)[^/]' \| \
1372 X"$as_myself" : 'X\(//\)$' \| \
1373 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1374 $as_echo X"$as_myself" |
1375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1376 s//\1/
1379 /^X\(\/\/\)[^/].*/{
1380 s//\1/
1383 /^X\(\/\/\)$/{
1384 s//\1/
1387 /^X\(\/\).*/{
1388 s//\1/
1391 s/.*/./; q'`
1392 srcdir=$ac_confdir
1393 if test ! -r "$srcdir/$ac_unique_file"; then
1394 srcdir=..
1396 else
1397 ac_srcdir_defaulted=no
1399 if test ! -r "$srcdir/$ac_unique_file"; then
1400 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1401 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1403 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1404 ac_abs_confdir=`(
1405 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1406 pwd)`
1407 # When building in place, set srcdir=.
1408 if test "$ac_abs_confdir" = "$ac_pwd"; then
1409 srcdir=.
1411 # Remove unnecessary trailing slashes from srcdir.
1412 # Double slashes in file names in object file debugging info
1413 # mess up M-x gdb in Emacs.
1414 case $srcdir in
1415 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1416 esac
1417 for ac_var in $ac_precious_vars; do
1418 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1419 eval ac_env_${ac_var}_value=\$${ac_var}
1420 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1421 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1422 done
1425 # Report the --help message.
1427 if test "$ac_init_help" = "long"; then
1428 # Omit some internal or obsolete options to make the list less imposing.
1429 # This message is too long to be a string in the A/UX 3.1 sh.
1430 cat <<_ACEOF
1431 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1433 Usage: $0 [OPTION]... [VAR=VALUE]...
1435 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1436 VAR=VALUE. See below for descriptions of some of the useful variables.
1438 Defaults for the options are specified in brackets.
1440 Configuration:
1441 -h, --help display this help and exit
1442 --help=short display options specific to this package
1443 --help=recursive display the short help of all the included packages
1444 -V, --version display version information and exit
1445 -q, --quiet, --silent do not print \`checking...' messages
1446 --cache-file=FILE cache test results in FILE [disabled]
1447 -C, --config-cache alias for \`--cache-file=config.cache'
1448 -n, --no-create do not create output files
1449 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1451 Installation directories:
1452 --prefix=PREFIX install architecture-independent files in PREFIX
1453 [$ac_default_prefix]
1454 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1455 [PREFIX]
1457 By default, \`make install' will install all the files in
1458 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1459 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1460 for instance \`--prefix=\$HOME'.
1462 For better control, use the options below.
1464 Fine tuning of the installation directories:
1465 --bindir=DIR user executables [EPREFIX/bin]
1466 --sbindir=DIR system admin executables [EPREFIX/sbin]
1467 --libexecdir=DIR program executables [EPREFIX/libexec]
1468 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1469 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1470 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1471 --libdir=DIR object code libraries [EPREFIX/lib]
1472 --includedir=DIR C header files [PREFIX/include]
1473 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1474 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1475 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1476 --infodir=DIR info documentation [DATAROOTDIR/info]
1477 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1478 --mandir=DIR man documentation [DATAROOTDIR/man]
1479 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1480 --htmldir=DIR html documentation [DOCDIR]
1481 --dvidir=DIR dvi documentation [DOCDIR]
1482 --pdfdir=DIR pdf documentation [DOCDIR]
1483 --psdir=DIR ps documentation [DOCDIR]
1484 _ACEOF
1486 cat <<\_ACEOF
1488 Program names:
1489 --program-prefix=PREFIX prepend PREFIX to installed program names
1490 --program-suffix=SUFFIX append SUFFIX to installed program names
1491 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1493 System types:
1494 --build=BUILD configure for building on BUILD [guessed]
1495 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1496 --target=TARGET configure for building compilers for TARGET [HOST]
1497 _ACEOF
1500 if test -n "$ac_init_help"; then
1501 case $ac_init_help in
1502 short | recursive ) echo "Configuration of package-unused version-unused:";;
1503 esac
1504 cat <<\_ACEOF
1506 Optional Features:
1507 --disable-option-checking ignore unrecognized --enable/--with options
1508 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1509 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1510 --enable-multilib build many library versions (default)
1511 --enable-maintainer-mode enable make rules and dependencies not useful
1512 (and sometimes confusing) to the casual installer
1513 --enable-shared[=PKGS] build shared libraries [default=yes]
1514 --enable-static[=PKGS] build static libraries [default=yes]
1515 --enable-fast-install[=PKGS]
1516 optimize for fast installation [default=yes]
1517 --disable-libtool-lock avoid locking (might break parallel builds)
1518 --disable-hosted-libstdcxx
1519 only build freestanding C++ runtime support
1520 --enable-sjlj-exceptions
1521 force use of builtin_setjmp for exceptions
1522 [default=auto]
1523 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1524 [default=$is_hosted]
1525 --enable-cstdio[=PACKAGE]
1526 use target-specific I/O package [default=stdio]
1527 --enable-clocale[=MODEL]
1528 use MODEL for target locale package [default=auto]
1529 --enable-nls use Native Language Support (default)
1530 --enable-libstdcxx-allocator[=KIND]
1531 use KIND for target std::allocator base
1532 [default=auto]
1533 --enable-cheaders[=KIND]
1534 construct "C" headers for g++ [default=$c_model]
1535 --enable-long-long enable template specializations for 'long long'
1536 [default=yes]
1537 --enable-wchar_t enable template specializations for 'wchar_t'
1538 [default=yes]
1539 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1540 --enable-concept-checks use Boost-derived template checks [default=no]
1541 --enable-libstdcxx-debug-flags=FLAGS
1542 pass compiler FLAGS when building debug library
1543 [default="-gdwarf-4 -g3 -O0"]
1544 --enable-libstdcxx-debug
1545 build extra debug library [default=no]
1546 --enable-cxx-flags=FLAGS
1547 pass compiler FLAGS when building library [default=]
1548 --enable-fully-dynamic-string
1549 do not put empty strings in per-process static
1550 memory [default=no]
1551 --enable-extern-template
1552 enable extern template [default=yes]
1553 --enable-werror turns on -Werror [default=yes]
1554 --enable-libstdcxx-time[=KIND]
1555 use KIND for check type [default=no]
1556 --enable-tls Use thread-local storage [default=yes]
1557 --disable-rpath do not hardcode runtime library paths
1558 --enable-linux-futex use the Linux futex system call [default=default]
1559 --enable-symvers[=STYLE]
1560 enables symbol versioning of the shared library
1561 [default=yes]
1562 --enable-libstdcxx-visibility
1563 enables visibility safe usage [default=yes]
1564 --enable-libstdcxx-threads
1565 enable C++11 threads support [default=auto]
1566 --enable-version-specific-runtime-libs
1567 Specify that runtime libraries should be installed
1568 in a compiler-specific directory
1570 Optional Packages:
1571 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1572 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1573 --with-target-subdir=SUBDIR
1574 configuring in a subdirectory
1575 --with-cross-host=HOST configuring with a cross compiler
1576 --with-newlib assume newlib as a system C library
1577 --with-pic try to use only PIC/non-PIC objects [default=use
1578 both]
1579 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1580 --with-python-dir the location to install Python modules. This path is
1581 relative starting from the prefix.
1582 --with-gnu-ld assume the C compiler uses GNU ld default=no
1583 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1584 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1585 --with-system-libunwind use installed libunwind
1586 --with-gxx-include-dir=DIR
1587 installation directory for include files
1589 Some influential environment variables:
1590 CC C compiler command
1591 CFLAGS C compiler flags
1592 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1593 nonstandard directory <lib dir>
1594 LIBS libraries to pass to the linker, e.g. -l<library>
1595 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1596 you have headers in a nonstandard directory <include dir>
1597 CXX C++ compiler command
1598 CXXFLAGS C++ compiler flags
1599 CPP C preprocessor
1600 CXXCPP C++ preprocessor
1601 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1602 `c++filt', `gc++filt' on PATH.
1604 Use these variables to override the choices made by `configure' or to help
1605 it to find libraries and programs with nonstandard names/locations.
1607 Report bugs to the package provider.
1608 _ACEOF
1609 ac_status=$?
1612 if test "$ac_init_help" = "recursive"; then
1613 # If there are subdirs, report their specific --help.
1614 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1615 test -d "$ac_dir" ||
1616 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1617 continue
1618 ac_builddir=.
1620 case "$ac_dir" in
1621 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1623 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1624 # A ".." for each directory in $ac_dir_suffix.
1625 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1626 case $ac_top_builddir_sub in
1627 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1628 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1629 esac ;;
1630 esac
1631 ac_abs_top_builddir=$ac_pwd
1632 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1633 # for backward compatibility:
1634 ac_top_builddir=$ac_top_build_prefix
1636 case $srcdir in
1637 .) # We are building in place.
1638 ac_srcdir=.
1639 ac_top_srcdir=$ac_top_builddir_sub
1640 ac_abs_top_srcdir=$ac_pwd ;;
1641 [\\/]* | ?:[\\/]* ) # Absolute name.
1642 ac_srcdir=$srcdir$ac_dir_suffix;
1643 ac_top_srcdir=$srcdir
1644 ac_abs_top_srcdir=$srcdir ;;
1645 *) # Relative name.
1646 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1647 ac_top_srcdir=$ac_top_build_prefix$srcdir
1648 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1649 esac
1650 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1652 cd "$ac_dir" || { ac_status=$?; continue; }
1653 # Check for guested configure.
1654 if test -f "$ac_srcdir/configure.gnu"; then
1655 echo &&
1656 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1657 elif test -f "$ac_srcdir/configure"; then
1658 echo &&
1659 $SHELL "$ac_srcdir/configure" --help=recursive
1660 else
1661 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1662 fi || ac_status=$?
1663 cd "$ac_pwd" || { ac_status=$?; break; }
1664 done
1667 test -n "$ac_init_help" && exit $ac_status
1668 if $ac_init_version; then
1669 cat <<\_ACEOF
1670 package-unused configure version-unused
1671 generated by GNU Autoconf 2.64
1673 Copyright (C) 2009 Free Software Foundation, Inc.
1674 This configure script is free software; the Free Software Foundation
1675 gives unlimited permission to copy, distribute and modify it.
1676 _ACEOF
1677 exit
1680 ## ------------------------ ##
1681 ## Autoconf initialization. ##
1682 ## ------------------------ ##
1684 # ac_fn_c_try_compile LINENO
1685 # --------------------------
1686 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1687 ac_fn_c_try_compile ()
1689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1690 rm -f conftest.$ac_objext
1691 if { { ac_try="$ac_compile"
1692 case "(($ac_try" in
1693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1694 *) ac_try_echo=$ac_try;;
1695 esac
1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1697 $as_echo "$ac_try_echo"; } >&5
1698 (eval "$ac_compile") 2>conftest.err
1699 ac_status=$?
1700 if test -s conftest.err; then
1701 grep -v '^ *+' conftest.err >conftest.er1
1702 cat conftest.er1 >&5
1703 mv -f conftest.er1 conftest.err
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; } && {
1707 test -z "$ac_c_werror_flag" ||
1708 test ! -s conftest.err
1709 } && test -s conftest.$ac_objext; then :
1710 ac_retval=0
1711 else
1712 $as_echo "$as_me: failed program was:" >&5
1713 sed 's/^/| /' conftest.$ac_ext >&5
1715 ac_retval=1
1717 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1718 return $ac_retval
1720 } # ac_fn_c_try_compile
1722 # ac_fn_cxx_try_compile LINENO
1723 # ----------------------------
1724 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1725 ac_fn_cxx_try_compile ()
1727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728 rm -f conftest.$ac_objext
1729 if { { ac_try="$ac_compile"
1730 case "(($ac_try" in
1731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1732 *) ac_try_echo=$ac_try;;
1733 esac
1734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735 $as_echo "$ac_try_echo"; } >&5
1736 (eval "$ac_compile") 2>conftest.err
1737 ac_status=$?
1738 if test -s conftest.err; then
1739 grep -v '^ *+' conftest.err >conftest.er1
1740 cat conftest.er1 >&5
1741 mv -f conftest.er1 conftest.err
1743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744 test $ac_status = 0; } && {
1745 test -z "$ac_cxx_werror_flag" ||
1746 test ! -s conftest.err
1747 } && test -s conftest.$ac_objext; then :
1748 ac_retval=0
1749 else
1750 $as_echo "$as_me: failed program was:" >&5
1751 sed 's/^/| /' conftest.$ac_ext >&5
1753 ac_retval=1
1755 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1756 return $ac_retval
1758 } # ac_fn_cxx_try_compile
1760 # ac_fn_c_try_cpp LINENO
1761 # ----------------------
1762 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1763 ac_fn_c_try_cpp ()
1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766 if { { ac_try="$ac_cpp conftest.$ac_ext"
1767 case "(($ac_try" in
1768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1769 *) ac_try_echo=$ac_try;;
1770 esac
1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1772 $as_echo "$ac_try_echo"; } >&5
1773 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1774 ac_status=$?
1775 if test -s conftest.err; then
1776 grep -v '^ *+' conftest.err >conftest.er1
1777 cat conftest.er1 >&5
1778 mv -f conftest.er1 conftest.err
1780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781 test $ac_status = 0; } >/dev/null && {
1782 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1783 test ! -s conftest.err
1784 }; then :
1785 ac_retval=0
1786 else
1787 $as_echo "$as_me: failed program was:" >&5
1788 sed 's/^/| /' conftest.$ac_ext >&5
1790 ac_retval=1
1792 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1793 return $ac_retval
1795 } # ac_fn_c_try_cpp
1797 # ac_fn_c_try_link LINENO
1798 # -----------------------
1799 # Try to link conftest.$ac_ext, and return whether this succeeded.
1800 ac_fn_c_try_link ()
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 rm -f conftest.$ac_objext conftest$ac_exeext
1804 if { { ac_try="$ac_link"
1805 case "(($ac_try" in
1806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1807 *) ac_try_echo=$ac_try;;
1808 esac
1809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1810 $as_echo "$ac_try_echo"; } >&5
1811 (eval "$ac_link") 2>conftest.err
1812 ac_status=$?
1813 if test -s conftest.err; then
1814 grep -v '^ *+' conftest.err >conftest.er1
1815 cat conftest.er1 >&5
1816 mv -f conftest.er1 conftest.err
1818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1819 test $ac_status = 0; } && {
1820 test -z "$ac_c_werror_flag" ||
1821 test ! -s conftest.err
1822 } && test -s conftest$ac_exeext && {
1823 test "$cross_compiling" = yes ||
1824 $as_test_x conftest$ac_exeext
1825 }; then :
1826 ac_retval=0
1827 else
1828 $as_echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.$ac_ext >&5
1831 ac_retval=1
1833 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1834 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1835 # interfere with the next link command; also delete a directory that is
1836 # left behind by Apple's compiler. We do this before executing the actions.
1837 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1838 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1839 return $ac_retval
1841 } # ac_fn_c_try_link
1843 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1844 # -------------------------------------------------------
1845 # Tests whether HEADER exists and can be compiled using the include files in
1846 # INCLUDES, setting the cache variable VAR accordingly.
1847 ac_fn_c_check_header_compile ()
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1851 $as_echo_n "checking for $2... " >&6; }
1852 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1853 $as_echo_n "(cached) " >&6
1854 else
1855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1856 /* end confdefs.h. */
1858 #include <$2>
1859 _ACEOF
1860 if ac_fn_c_try_compile "$LINENO"; then :
1861 eval "$3=yes"
1862 else
1863 eval "$3=no"
1865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1867 eval ac_res=\$$3
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1869 $as_echo "$ac_res" >&6; }
1870 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1872 } # ac_fn_c_check_header_compile
1874 # ac_fn_c_try_run LINENO
1875 # ----------------------
1876 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1877 # that executables *can* be run.
1878 ac_fn_c_try_run ()
1880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881 if { { ac_try="$ac_link"
1882 case "(($ac_try" in
1883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1884 *) ac_try_echo=$ac_try;;
1885 esac
1886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887 $as_echo "$ac_try_echo"; } >&5
1888 (eval "$ac_link") 2>&5
1889 ac_status=$?
1890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1891 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1892 { { case "(($ac_try" in
1893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1894 *) ac_try_echo=$ac_try;;
1895 esac
1896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1897 $as_echo "$ac_try_echo"; } >&5
1898 (eval "$ac_try") 2>&5
1899 ac_status=$?
1900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1901 test $ac_status = 0; }; }; then :
1902 ac_retval=0
1903 else
1904 $as_echo "$as_me: program exited with status $ac_status" >&5
1905 $as_echo "$as_me: failed program was:" >&5
1906 sed 's/^/| /' conftest.$ac_ext >&5
1908 ac_retval=$ac_status
1910 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1911 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1912 return $ac_retval
1914 } # ac_fn_c_try_run
1916 # ac_fn_c_check_func LINENO FUNC VAR
1917 # ----------------------------------
1918 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1919 ac_fn_c_check_func ()
1921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1923 $as_echo_n "checking for $2... " >&6; }
1924 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1925 $as_echo_n "(cached) " >&6
1926 else
1927 if test x$gcc_no_link = xyes; then
1928 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1931 /* end confdefs.h. */
1932 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1934 #define $2 innocuous_$2
1936 /* System header to define __stub macros and hopefully few prototypes,
1937 which can conflict with char $2 (); below.
1938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1939 <limits.h> exists even on freestanding compilers. */
1941 #ifdef __STDC__
1942 # include <limits.h>
1943 #else
1944 # include <assert.h>
1945 #endif
1947 #undef $2
1949 /* Override any GCC internal prototype to avoid an error.
1950 Use char because int might match the return type of a GCC
1951 builtin and then its argument prototype would still apply. */
1952 #ifdef __cplusplus
1953 extern "C"
1954 #endif
1955 char $2 ();
1956 /* The GNU C library defines this for functions which it implements
1957 to always fail with ENOSYS. Some functions are actually named
1958 something starting with __ and the normal name is an alias. */
1959 #if defined __stub_$2 || defined __stub___$2
1960 choke me
1961 #endif
1964 main ()
1966 return $2 ();
1968 return 0;
1970 _ACEOF
1971 if ac_fn_c_try_link "$LINENO"; then :
1972 eval "$3=yes"
1973 else
1974 eval "$3=no"
1976 rm -f core conftest.err conftest.$ac_objext \
1977 conftest$ac_exeext conftest.$ac_ext
1979 eval ac_res=\$$3
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1981 $as_echo "$ac_res" >&6; }
1982 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1984 } # ac_fn_c_check_func
1986 # ac_fn_cxx_try_cpp LINENO
1987 # ------------------------
1988 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1989 ac_fn_cxx_try_cpp ()
1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992 if { { ac_try="$ac_cpp conftest.$ac_ext"
1993 case "(($ac_try" in
1994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1995 *) ac_try_echo=$ac_try;;
1996 esac
1997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1998 $as_echo "$ac_try_echo"; } >&5
1999 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2000 ac_status=$?
2001 if test -s conftest.err; then
2002 grep -v '^ *+' conftest.err >conftest.er1
2003 cat conftest.er1 >&5
2004 mv -f conftest.er1 conftest.err
2006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2007 test $ac_status = 0; } >/dev/null && {
2008 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2009 test ! -s conftest.err
2010 }; then :
2011 ac_retval=0
2012 else
2013 $as_echo "$as_me: failed program was:" >&5
2014 sed 's/^/| /' conftest.$ac_ext >&5
2016 ac_retval=1
2018 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2019 return $ac_retval
2021 } # ac_fn_cxx_try_cpp
2023 # ac_fn_cxx_try_link LINENO
2024 # -------------------------
2025 # Try to link conftest.$ac_ext, and return whether this succeeded.
2026 ac_fn_cxx_try_link ()
2028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2029 rm -f conftest.$ac_objext conftest$ac_exeext
2030 if { { ac_try="$ac_link"
2031 case "(($ac_try" in
2032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2033 *) ac_try_echo=$ac_try;;
2034 esac
2035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2036 $as_echo "$ac_try_echo"; } >&5
2037 (eval "$ac_link") 2>conftest.err
2038 ac_status=$?
2039 if test -s conftest.err; then
2040 grep -v '^ *+' conftest.err >conftest.er1
2041 cat conftest.er1 >&5
2042 mv -f conftest.er1 conftest.err
2044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2045 test $ac_status = 0; } && {
2046 test -z "$ac_cxx_werror_flag" ||
2047 test ! -s conftest.err
2048 } && test -s conftest$ac_exeext && {
2049 test "$cross_compiling" = yes ||
2050 $as_test_x conftest$ac_exeext
2051 }; then :
2052 ac_retval=0
2053 else
2054 $as_echo "$as_me: failed program was:" >&5
2055 sed 's/^/| /' conftest.$ac_ext >&5
2057 ac_retval=1
2059 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2060 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2061 # interfere with the next link command; also delete a directory that is
2062 # left behind by Apple's compiler. We do this before executing the actions.
2063 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2064 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2065 return $ac_retval
2067 } # ac_fn_cxx_try_link
2069 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2070 # -------------------------------------------------------
2071 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2072 # the include files in INCLUDES and setting the cache variable VAR
2073 # accordingly.
2074 ac_fn_c_check_header_mongrel ()
2076 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2077 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2079 $as_echo_n "checking for $2... " >&6; }
2080 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2081 $as_echo_n "(cached) " >&6
2083 eval ac_res=\$$3
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2085 $as_echo "$ac_res" >&6; }
2086 else
2087 # Is the header compilable?
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2089 $as_echo_n "checking $2 usability... " >&6; }
2090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2091 /* end confdefs.h. */
2093 #include <$2>
2094 _ACEOF
2095 if ac_fn_c_try_compile "$LINENO"; then :
2096 ac_header_compiler=yes
2097 else
2098 ac_header_compiler=no
2100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2102 $as_echo "$ac_header_compiler" >&6; }
2104 # Is the header present?
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2106 $as_echo_n "checking $2 presence... " >&6; }
2107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2108 /* end confdefs.h. */
2109 #include <$2>
2110 _ACEOF
2111 if ac_fn_c_try_cpp "$LINENO"; then :
2112 ac_header_preproc=yes
2113 else
2114 ac_header_preproc=no
2116 rm -f conftest.err conftest.$ac_ext
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2118 $as_echo "$ac_header_preproc" >&6; }
2120 # So? What about this header?
2121 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2122 yes:no: )
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2124 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2126 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2128 no:yes:* )
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2130 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2132 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2134 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2136 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2138 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2140 esac
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2142 $as_echo_n "checking for $2... " >&6; }
2143 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2144 $as_echo_n "(cached) " >&6
2145 else
2146 eval "$3=\$ac_header_compiler"
2148 eval ac_res=\$$3
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2150 $as_echo "$ac_res" >&6; }
2152 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2154 } # ac_fn_c_check_header_mongrel
2156 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2157 # ---------------------------------------------------------
2158 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2159 # the include files in INCLUDES and setting the cache variable VAR
2160 # accordingly.
2161 ac_fn_cxx_check_header_mongrel ()
2163 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2164 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2166 $as_echo_n "checking for $2... " >&6; }
2167 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2168 $as_echo_n "(cached) " >&6
2170 eval ac_res=\$$3
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2172 $as_echo "$ac_res" >&6; }
2173 else
2174 # Is the header compilable?
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2176 $as_echo_n "checking $2 usability... " >&6; }
2177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2178 /* end confdefs.h. */
2180 #include <$2>
2181 _ACEOF
2182 if ac_fn_cxx_try_compile "$LINENO"; then :
2183 ac_header_compiler=yes
2184 else
2185 ac_header_compiler=no
2187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2189 $as_echo "$ac_header_compiler" >&6; }
2191 # Is the header present?
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2193 $as_echo_n "checking $2 presence... " >&6; }
2194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2195 /* end confdefs.h. */
2196 #include <$2>
2197 _ACEOF
2198 if ac_fn_cxx_try_cpp "$LINENO"; then :
2199 ac_header_preproc=yes
2200 else
2201 ac_header_preproc=no
2203 rm -f conftest.err conftest.$ac_ext
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2205 $as_echo "$ac_header_preproc" >&6; }
2207 # So? What about this header?
2208 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2209 yes:no: )
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2211 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2213 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2215 no:yes:* )
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2217 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2219 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2221 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2223 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2225 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2227 esac
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2229 $as_echo_n "checking for $2... " >&6; }
2230 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2231 $as_echo_n "(cached) " >&6
2232 else
2233 eval "$3=\$ac_header_compiler"
2235 eval ac_res=\$$3
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2237 $as_echo "$ac_res" >&6; }
2239 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2241 } # ac_fn_cxx_check_header_mongrel
2243 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2244 # --------------------------------------------
2245 # Tries to find the compile-time value of EXPR in a program that includes
2246 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2247 # computed
2248 ac_fn_c_compute_int ()
2250 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2251 if test "$cross_compiling" = yes; then
2252 # Depending upon the size, compute the lo and hi bounds.
2253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2254 /* end confdefs.h. */
2257 main ()
2259 static int test_array [1 - 2 * !(($2) >= 0)];
2260 test_array [0] = 0
2263 return 0;
2265 _ACEOF
2266 if ac_fn_c_try_compile "$LINENO"; then :
2267 ac_lo=0 ac_mid=0
2268 while :; do
2269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2270 /* end confdefs.h. */
2273 main ()
2275 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2276 test_array [0] = 0
2279 return 0;
2281 _ACEOF
2282 if ac_fn_c_try_compile "$LINENO"; then :
2283 ac_hi=$ac_mid; break
2284 else
2285 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2286 if test $ac_lo -le $ac_mid; then
2287 ac_lo= ac_hi=
2288 break
2290 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2293 done
2294 else
2295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2296 /* end confdefs.h. */
2299 main ()
2301 static int test_array [1 - 2 * !(($2) < 0)];
2302 test_array [0] = 0
2305 return 0;
2307 _ACEOF
2308 if ac_fn_c_try_compile "$LINENO"; then :
2309 ac_hi=-1 ac_mid=-1
2310 while :; do
2311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2312 /* end confdefs.h. */
2315 main ()
2317 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2318 test_array [0] = 0
2321 return 0;
2323 _ACEOF
2324 if ac_fn_c_try_compile "$LINENO"; then :
2325 ac_lo=$ac_mid; break
2326 else
2327 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2328 if test $ac_mid -le $ac_hi; then
2329 ac_lo= ac_hi=
2330 break
2332 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2335 done
2336 else
2337 ac_lo= ac_hi=
2339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342 # Binary search between lo and hi bounds.
2343 while test "x$ac_lo" != "x$ac_hi"; do
2344 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2346 /* end confdefs.h. */
2349 main ()
2351 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2352 test_array [0] = 0
2355 return 0;
2357 _ACEOF
2358 if ac_fn_c_try_compile "$LINENO"; then :
2359 ac_hi=$ac_mid
2360 else
2361 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2364 done
2365 case $ac_lo in #((
2366 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2367 '') ac_retval=1 ;;
2368 esac
2369 else
2370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2371 /* end confdefs.h. */
2373 static long int longval () { return $2; }
2374 static unsigned long int ulongval () { return $2; }
2375 #include <stdio.h>
2376 #include <stdlib.h>
2378 main ()
2381 FILE *f = fopen ("conftest.val", "w");
2382 if (! f)
2383 return 1;
2384 if (($2) < 0)
2386 long int i = longval ();
2387 if (i != ($2))
2388 return 1;
2389 fprintf (f, "%ld", i);
2391 else
2393 unsigned long int i = ulongval ();
2394 if (i != ($2))
2395 return 1;
2396 fprintf (f, "%lu", i);
2398 /* Do not output a trailing newline, as this causes \r\n confusion
2399 on some platforms. */
2400 return ferror (f) || fclose (f) != 0;
2403 return 0;
2405 _ACEOF
2406 if ac_fn_c_try_run "$LINENO"; then :
2407 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2408 else
2409 ac_retval=1
2411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2412 conftest.$ac_objext conftest.beam conftest.$ac_ext
2413 rm -f conftest.val
2416 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2417 return $ac_retval
2419 } # ac_fn_c_compute_int
2421 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2422 # -------------------------------------------
2423 # Tests whether TYPE exists after having included INCLUDES, setting cache
2424 # variable VAR accordingly.
2425 ac_fn_c_check_type ()
2427 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2429 $as_echo_n "checking for $2... " >&6; }
2430 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2431 $as_echo_n "(cached) " >&6
2432 else
2433 eval "$3=no"
2434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2435 /* end confdefs.h. */
2438 main ()
2440 if (sizeof ($2))
2441 return 0;
2443 return 0;
2445 _ACEOF
2446 if ac_fn_c_try_compile "$LINENO"; then :
2447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2448 /* end confdefs.h. */
2451 main ()
2453 if (sizeof (($2)))
2454 return 0;
2456 return 0;
2458 _ACEOF
2459 if ac_fn_c_try_compile "$LINENO"; then :
2461 else
2462 eval "$3=yes"
2464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2468 eval ac_res=\$$3
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2470 $as_echo "$ac_res" >&6; }
2471 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2473 } # ac_fn_c_check_type
2474 cat >config.log <<_ACEOF
2475 This file contains any messages produced by compilers while
2476 running configure, to aid debugging if configure makes a mistake.
2478 It was created by package-unused $as_me version-unused, which was
2479 generated by GNU Autoconf 2.64. Invocation command line was
2481 $ $0 $@
2483 _ACEOF
2484 exec 5>>config.log
2486 cat <<_ASUNAME
2487 ## --------- ##
2488 ## Platform. ##
2489 ## --------- ##
2491 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2492 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2493 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2494 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2495 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2497 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2498 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2500 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2501 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2502 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2503 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2504 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2505 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2506 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2508 _ASUNAME
2510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2511 for as_dir in $PATH
2513 IFS=$as_save_IFS
2514 test -z "$as_dir" && as_dir=.
2515 $as_echo "PATH: $as_dir"
2516 done
2517 IFS=$as_save_IFS
2519 } >&5
2521 cat >&5 <<_ACEOF
2524 ## ----------- ##
2525 ## Core tests. ##
2526 ## ----------- ##
2528 _ACEOF
2531 # Keep a trace of the command line.
2532 # Strip out --no-create and --no-recursion so they do not pile up.
2533 # Strip out --silent because we don't want to record it for future runs.
2534 # Also quote any args containing shell meta-characters.
2535 # Make two passes to allow for proper duplicate-argument suppression.
2536 ac_configure_args=
2537 ac_configure_args0=
2538 ac_configure_args1=
2539 ac_must_keep_next=false
2540 for ac_pass in 1 2
2542 for ac_arg
2544 case $ac_arg in
2545 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2546 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2547 | -silent | --silent | --silen | --sile | --sil)
2548 continue ;;
2549 *\'*)
2550 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2551 esac
2552 case $ac_pass in
2553 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2555 as_fn_append ac_configure_args1 " '$ac_arg'"
2556 if test $ac_must_keep_next = true; then
2557 ac_must_keep_next=false # Got value, back to normal.
2558 else
2559 case $ac_arg in
2560 *=* | --config-cache | -C | -disable-* | --disable-* \
2561 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2562 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2563 | -with-* | --with-* | -without-* | --without-* | --x)
2564 case "$ac_configure_args0 " in
2565 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2566 esac
2568 -* ) ac_must_keep_next=true ;;
2569 esac
2571 as_fn_append ac_configure_args " '$ac_arg'"
2573 esac
2574 done
2575 done
2576 { ac_configure_args0=; unset ac_configure_args0;}
2577 { ac_configure_args1=; unset ac_configure_args1;}
2579 # When interrupted or exit'd, cleanup temporary files, and complete
2580 # config.log. We remove comments because anyway the quotes in there
2581 # would cause problems or look ugly.
2582 # WARNING: Use '\'' to represent an apostrophe within the trap.
2583 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2584 trap 'exit_status=$?
2585 # Save into config.log some information that might help in debugging.
2587 echo
2589 cat <<\_ASBOX
2590 ## ---------------- ##
2591 ## Cache variables. ##
2592 ## ---------------- ##
2593 _ASBOX
2594 echo
2595 # The following way of writing the cache mishandles newlines in values,
2597 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2598 eval ac_val=\$$ac_var
2599 case $ac_val in #(
2600 *${as_nl}*)
2601 case $ac_var in #(
2602 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2603 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2604 esac
2605 case $ac_var in #(
2606 _ | IFS | as_nl) ;; #(
2607 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2608 *) { eval $ac_var=; unset $ac_var;} ;;
2609 esac ;;
2610 esac
2611 done
2612 (set) 2>&1 |
2613 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2614 *${as_nl}ac_space=\ *)
2615 sed -n \
2616 "s/'\''/'\''\\\\'\'''\''/g;
2617 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2618 ;; #(
2620 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2622 esac |
2623 sort
2625 echo
2627 cat <<\_ASBOX
2628 ## ----------------- ##
2629 ## Output variables. ##
2630 ## ----------------- ##
2631 _ASBOX
2632 echo
2633 for ac_var in $ac_subst_vars
2635 eval ac_val=\$$ac_var
2636 case $ac_val in
2637 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2638 esac
2639 $as_echo "$ac_var='\''$ac_val'\''"
2640 done | sort
2641 echo
2643 if test -n "$ac_subst_files"; then
2644 cat <<\_ASBOX
2645 ## ------------------- ##
2646 ## File substitutions. ##
2647 ## ------------------- ##
2648 _ASBOX
2649 echo
2650 for ac_var in $ac_subst_files
2652 eval ac_val=\$$ac_var
2653 case $ac_val in
2654 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2655 esac
2656 $as_echo "$ac_var='\''$ac_val'\''"
2657 done | sort
2658 echo
2661 if test -s confdefs.h; then
2662 cat <<\_ASBOX
2663 ## ----------- ##
2664 ## confdefs.h. ##
2665 ## ----------- ##
2666 _ASBOX
2667 echo
2668 cat confdefs.h
2669 echo
2671 test "$ac_signal" != 0 &&
2672 $as_echo "$as_me: caught signal $ac_signal"
2673 $as_echo "$as_me: exit $exit_status"
2674 } >&5
2675 rm -f core *.core core.conftest.* &&
2676 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2677 exit $exit_status
2679 for ac_signal in 1 2 13 15; do
2680 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2681 done
2682 ac_signal=0
2684 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2685 rm -f -r conftest* confdefs.h
2687 $as_echo "/* confdefs.h */" > confdefs.h
2689 # Predefined preprocessor variables.
2691 cat >>confdefs.h <<_ACEOF
2692 #define PACKAGE_NAME "$PACKAGE_NAME"
2693 _ACEOF
2695 cat >>confdefs.h <<_ACEOF
2696 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2697 _ACEOF
2699 cat >>confdefs.h <<_ACEOF
2700 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2701 _ACEOF
2703 cat >>confdefs.h <<_ACEOF
2704 #define PACKAGE_STRING "$PACKAGE_STRING"
2705 _ACEOF
2707 cat >>confdefs.h <<_ACEOF
2708 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2709 _ACEOF
2711 cat >>confdefs.h <<_ACEOF
2712 #define PACKAGE_URL "$PACKAGE_URL"
2713 _ACEOF
2716 # Let the site file select an alternate cache file if it wants to.
2717 # Prefer an explicitly selected file to automatically selected ones.
2718 ac_site_file1=NONE
2719 ac_site_file2=NONE
2720 if test -n "$CONFIG_SITE"; then
2721 ac_site_file1=$CONFIG_SITE
2722 elif test "x$prefix" != xNONE; then
2723 ac_site_file1=$prefix/share/config.site
2724 ac_site_file2=$prefix/etc/config.site
2725 else
2726 ac_site_file1=$ac_default_prefix/share/config.site
2727 ac_site_file2=$ac_default_prefix/etc/config.site
2729 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2731 test "x$ac_site_file" = xNONE && continue
2732 if test -r "$ac_site_file"; then
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2734 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2735 sed 's/^/| /' "$ac_site_file" >&5
2736 . "$ac_site_file"
2738 done
2740 if test -r "$cache_file"; then
2741 # Some versions of bash will fail to source /dev/null (special
2742 # files actually), so we avoid doing that.
2743 if test -f "$cache_file"; then
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2745 $as_echo "$as_me: loading cache $cache_file" >&6;}
2746 case $cache_file in
2747 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2748 *) . "./$cache_file";;
2749 esac
2751 else
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2753 $as_echo "$as_me: creating cache $cache_file" >&6;}
2754 >$cache_file
2757 # Check that the precious variables saved in the cache have kept the same
2758 # value.
2759 ac_cache_corrupted=false
2760 for ac_var in $ac_precious_vars; do
2761 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2762 eval ac_new_set=\$ac_env_${ac_var}_set
2763 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2764 eval ac_new_val=\$ac_env_${ac_var}_value
2765 case $ac_old_set,$ac_new_set in
2766 set,)
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2768 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2769 ac_cache_corrupted=: ;;
2770 ,set)
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2772 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2773 ac_cache_corrupted=: ;;
2774 ,);;
2776 if test "x$ac_old_val" != "x$ac_new_val"; then
2777 # differences in whitespace do not lead to failure.
2778 ac_old_val_w=`echo x $ac_old_val`
2779 ac_new_val_w=`echo x $ac_new_val`
2780 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2782 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2783 ac_cache_corrupted=:
2784 else
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2786 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2787 eval $ac_var=\$ac_old_val
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2790 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2792 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2793 fi;;
2794 esac
2795 # Pass precious variables to config.status.
2796 if test "$ac_new_set" = set; then
2797 case $ac_new_val in
2798 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2799 *) ac_arg=$ac_var=$ac_new_val ;;
2800 esac
2801 case " $ac_configure_args " in
2802 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2803 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2804 esac
2806 done
2807 if $ac_cache_corrupted; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2811 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2812 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2814 ## -------------------- ##
2815 ## Main body of script. ##
2816 ## -------------------- ##
2818 ac_ext=c
2819 ac_cpp='$CPP $CPPFLAGS'
2820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2829 ac_config_headers="$ac_config_headers config.h"
2832 # This works around the fact that libtool configuration may change LD
2833 # for this particular configuration, but some shells, instead of
2834 # keeping the changes in LD private, export them just because LD is
2835 # exported. Only used at the end of this file.
2836 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2838 # Find the rest of the source tree framework.
2839 # Default to --enable-multilib
2840 # Check whether --enable-multilib was given.
2841 if test "${enable_multilib+set}" = set; then :
2842 enableval=$enable_multilib; case "$enableval" in
2843 yes) multilib=yes ;;
2844 no) multilib=no ;;
2845 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2846 esac
2847 else
2848 multilib=yes
2852 # We may get other options which we leave undocumented:
2853 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2854 # See config-ml.in if you want the gory details.
2856 if test "$srcdir" = "."; then
2857 if test "$with_target_subdir" != "."; then
2858 multi_basedir="$srcdir/$with_multisrctop../.."
2859 else
2860 multi_basedir="$srcdir/$with_multisrctop.."
2862 else
2863 multi_basedir="$srcdir/.."
2867 # Even if the default multilib is not a cross compilation,
2868 # it may be that some of the other multilibs are.
2869 if test $cross_compiling = no && test $multilib = yes \
2870 && test "x${with_multisubdir}" != x ; then
2871 cross_compiling=maybe
2874 ac_config_commands="$ac_config_commands default-1"
2877 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2879 # You will slowly go insane if you do not grok the following fact: when
2880 # building v3 as part of the compiler, the top-level /target/ becomes the
2881 # library's /host/. configure then causes --target to default to --host,
2882 # exactly like any other package using autoconf. Therefore, 'target' and
2883 # 'host' will always be the same. This makes sense both for native and
2884 # cross compilers, just think about it for a little while. :-)
2886 # Also, if v3 is being configured as part of a cross compiler, the top-level
2887 # configure script will pass the "real" host as $with_cross_host.
2889 # Do not delete or change the following two lines. For why, see
2890 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2891 ac_aux_dir=
2892 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2893 for ac_t in install-sh install.sh shtool; do
2894 if test -f "$ac_dir/$ac_t"; then
2895 ac_aux_dir=$ac_dir
2896 ac_install_sh="$ac_aux_dir/$ac_t -c"
2897 break 2
2899 done
2900 done
2901 if test -z "$ac_aux_dir"; then
2902 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2905 # These three variables are undocumented and unsupported,
2906 # and are intended to be withdrawn in a future Autoconf release.
2907 # They can cause serious problems if a builder's source tree is in a directory
2908 # whose full name contains unusual characters.
2909 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2910 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2911 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2914 # Make sure we can run config.sub.
2915 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2916 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2919 $as_echo_n "checking build system type... " >&6; }
2920 if test "${ac_cv_build+set}" = set; then :
2921 $as_echo_n "(cached) " >&6
2922 else
2923 ac_build_alias=$build_alias
2924 test "x$ac_build_alias" = x &&
2925 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2926 test "x$ac_build_alias" = x &&
2927 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2928 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2929 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2933 $as_echo "$ac_cv_build" >&6; }
2934 case $ac_cv_build in
2935 *-*-*) ;;
2936 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2937 esac
2938 build=$ac_cv_build
2939 ac_save_IFS=$IFS; IFS='-'
2940 set x $ac_cv_build
2941 shift
2942 build_cpu=$1
2943 build_vendor=$2
2944 shift; shift
2945 # Remember, the first character of IFS is used to create $*,
2946 # except with old shells:
2947 build_os=$*
2948 IFS=$ac_save_IFS
2949 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2953 $as_echo_n "checking host system type... " >&6; }
2954 if test "${ac_cv_host+set}" = set; then :
2955 $as_echo_n "(cached) " >&6
2956 else
2957 if test "x$host_alias" = x; then
2958 ac_cv_host=$ac_cv_build
2959 else
2960 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2961 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2966 $as_echo "$ac_cv_host" >&6; }
2967 case $ac_cv_host in
2968 *-*-*) ;;
2969 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2970 esac
2971 host=$ac_cv_host
2972 ac_save_IFS=$IFS; IFS='-'
2973 set x $ac_cv_host
2974 shift
2975 host_cpu=$1
2976 host_vendor=$2
2977 shift; shift
2978 # Remember, the first character of IFS is used to create $*,
2979 # except with old shells:
2980 host_os=$*
2981 IFS=$ac_save_IFS
2982 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2986 $as_echo_n "checking target system type... " >&6; }
2987 if test "${ac_cv_target+set}" = set; then :
2988 $as_echo_n "(cached) " >&6
2989 else
2990 if test "x$target_alias" = x; then
2991 ac_cv_target=$ac_cv_host
2992 else
2993 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2994 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2999 $as_echo "$ac_cv_target" >&6; }
3000 case $ac_cv_target in
3001 *-*-*) ;;
3002 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3003 esac
3004 target=$ac_cv_target
3005 ac_save_IFS=$IFS; IFS='-'
3006 set x $ac_cv_target
3007 shift
3008 target_cpu=$1
3009 target_vendor=$2
3010 shift; shift
3011 # Remember, the first character of IFS is used to create $*,
3012 # except with old shells:
3013 target_os=$*
3014 IFS=$ac_save_IFS
3015 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3018 # The aliases save the names the user supplied, while $host etc.
3019 # will get canonicalized.
3020 test -n "$target_alias" &&
3021 test "$program_prefix$program_suffix$program_transform_name" = \
3022 NONENONEs,x,x, &&
3023 program_prefix=${target_alias}-
3025 target_alias=${target_alias-$host_alias}
3027 # Handy for debugging:
3028 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3030 if test "$build" != "$host"; then
3031 # We are being configured with some form of cross compiler.
3032 GLIBCXX_IS_NATIVE=false
3033 case "$host","$target" in
3034 # Darwin crosses can use the host system's libraries and headers,
3035 # because of the fat library support. Of course, it must be the
3036 # same version of Darwin on both sides. Allow the user to
3037 # just say --target=foo-darwin without a version number to mean
3038 # "the version on this system".
3039 *-*-darwin*,*-*-darwin*)
3040 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3041 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3042 if test $hostos = $targetos -o $targetos = darwin ; then
3043 GLIBCXX_IS_NATIVE=true
3050 esac
3051 else
3052 GLIBCXX_IS_NATIVE=true
3055 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3056 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3057 # 1.x: minimum required version
3058 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3059 # of other PACKAGE_* variables will, however, and there's nothing
3060 # we can do about that; they come from AC_INIT).
3061 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3062 # file in the top srcdir, etc, etc), so stop complaining.
3063 # no-dependencies: turns off auto dependency generation (just for now)
3064 # no-dist: we don't want 'dist' and related rules.
3065 # -Wall: turns on all automake warnings...
3066 # -Wno-portability: ...except this one, since GNU make is now required.
3067 am__api_version='1.11'
3069 # Find a good install program. We prefer a C program (faster),
3070 # so one script is as good as another. But avoid the broken or
3071 # incompatible versions:
3072 # SysV /etc/install, /usr/sbin/install
3073 # SunOS /usr/etc/install
3074 # IRIX /sbin/install
3075 # AIX /bin/install
3076 # AmigaOS /C/install, which installs bootblocks on floppy discs
3077 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3078 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3079 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3080 # OS/2's system install, which has a completely different semantic
3081 # ./install, which can be erroneously created by make from ./install.sh.
3082 # Reject install programs that cannot install multiple files.
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3084 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3085 if test -z "$INSTALL"; then
3086 if test "${ac_cv_path_install+set}" = set; then :
3087 $as_echo_n "(cached) " >&6
3088 else
3089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3090 for as_dir in $PATH
3092 IFS=$as_save_IFS
3093 test -z "$as_dir" && as_dir=.
3094 # Account for people who put trailing slashes in PATH elements.
3095 case $as_dir/ in #((
3096 ./ | .// | /[cC]/* | \
3097 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3098 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3099 /usr/ucb/* ) ;;
3101 # OSF1 and SCO ODT 3.0 have their own names for install.
3102 # Don't use installbsd from OSF since it installs stuff as root
3103 # by default.
3104 for ac_prog in ginstall scoinst install; do
3105 for ac_exec_ext in '' $ac_executable_extensions; do
3106 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3107 if test $ac_prog = install &&
3108 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3109 # AIX install. It has an incompatible calling convention.
3111 elif test $ac_prog = install &&
3112 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3113 # program-specific install script used by HP pwplus--don't use.
3115 else
3116 rm -rf conftest.one conftest.two conftest.dir
3117 echo one > conftest.one
3118 echo two > conftest.two
3119 mkdir conftest.dir
3120 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3121 test -s conftest.one && test -s conftest.two &&
3122 test -s conftest.dir/conftest.one &&
3123 test -s conftest.dir/conftest.two
3124 then
3125 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3126 break 3
3130 done
3131 done
3133 esac
3135 done
3136 IFS=$as_save_IFS
3138 rm -rf conftest.one conftest.two conftest.dir
3141 if test "${ac_cv_path_install+set}" = set; then
3142 INSTALL=$ac_cv_path_install
3143 else
3144 # As a last resort, use the slow shell script. Don't cache a
3145 # value for INSTALL within a source directory, because that will
3146 # break other packages using the cache if that directory is
3147 # removed, or if the value is a relative name.
3148 INSTALL=$ac_install_sh
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3152 $as_echo "$INSTALL" >&6; }
3154 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3155 # It thinks the first close brace ends the variable substitution.
3156 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3158 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3160 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3163 $as_echo_n "checking whether build environment is sane... " >&6; }
3164 # Just in case
3165 sleep 1
3166 echo timestamp > conftest.file
3167 # Reject unsafe characters in $srcdir or the absolute working directory
3168 # name. Accept space and tab only in the latter.
3169 am_lf='
3171 case `pwd` in
3172 *[\\\"\#\$\&\'\`$am_lf]*)
3173 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3174 esac
3175 case $srcdir in
3176 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3177 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3178 esac
3180 # Do `set' in a subshell so we don't clobber the current shell's
3181 # arguments. Must try -L first in case configure is actually a
3182 # symlink; some systems play weird games with the mod time of symlinks
3183 # (eg FreeBSD returns the mod time of the symlink's containing
3184 # directory).
3185 if (
3186 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3187 if test "$*" = "X"; then
3188 # -L didn't work.
3189 set X `ls -t "$srcdir/configure" conftest.file`
3191 rm -f conftest.file
3192 if test "$*" != "X $srcdir/configure conftest.file" \
3193 && test "$*" != "X conftest.file $srcdir/configure"; then
3195 # If neither matched, then we have a broken ls. This can happen
3196 # if, for instance, CONFIG_SHELL is bash and it inherits a
3197 # broken ls alias from the environment. This has actually
3198 # happened. Such a system could not be considered "sane".
3199 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3200 alias in your environment" "$LINENO" 5
3203 test "$2" = conftest.file
3205 then
3206 # Ok.
3208 else
3209 as_fn_error "newly created file is older than distributed files!
3210 Check your system clock" "$LINENO" 5
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3213 $as_echo "yes" >&6; }
3214 test "$program_prefix" != NONE &&
3215 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3216 # Use a double $ so make ignores it.
3217 test "$program_suffix" != NONE &&
3218 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3219 # Double any \ or $.
3220 # By default was `s,x,x', remove it if useless.
3221 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3222 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3224 # expand $ac_aux_dir to an absolute path
3225 am_aux_dir=`cd $ac_aux_dir && pwd`
3227 if test x"${MISSING+set}" != xset; then
3228 case $am_aux_dir in
3229 *\ * | *\ *)
3230 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3232 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3233 esac
3235 # Use eval to expand $SHELL
3236 if eval "$MISSING --run true"; then
3237 am_missing_run="$MISSING --run "
3238 else
3239 am_missing_run=
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3241 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3244 if test x"${install_sh}" != xset; then
3245 case $am_aux_dir in
3246 *\ * | *\ *)
3247 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3249 install_sh="\${SHELL} $am_aux_dir/install-sh"
3250 esac
3253 # Installed binaries are usually stripped using `strip' when the user
3254 # run `make install-strip'. However `strip' might not be the right
3255 # tool to use in cross-compilation environments, therefore Automake
3256 # will honor the `STRIP' environment variable to overrule this program.
3257 if test "$cross_compiling" != no; then
3258 if test -n "$ac_tool_prefix"; then
3259 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3260 set dummy ${ac_tool_prefix}strip; ac_word=$2
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3262 $as_echo_n "checking for $ac_word... " >&6; }
3263 if test "${ac_cv_prog_STRIP+set}" = set; then :
3264 $as_echo_n "(cached) " >&6
3265 else
3266 if test -n "$STRIP"; then
3267 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3268 else
3269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3270 for as_dir in $PATH
3272 IFS=$as_save_IFS
3273 test -z "$as_dir" && as_dir=.
3274 for ac_exec_ext in '' $ac_executable_extensions; do
3275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3276 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3278 break 2
3280 done
3281 done
3282 IFS=$as_save_IFS
3286 STRIP=$ac_cv_prog_STRIP
3287 if test -n "$STRIP"; then
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3289 $as_echo "$STRIP" >&6; }
3290 else
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3292 $as_echo "no" >&6; }
3297 if test -z "$ac_cv_prog_STRIP"; then
3298 ac_ct_STRIP=$STRIP
3299 # Extract the first word of "strip", so it can be a program name with args.
3300 set dummy strip; ac_word=$2
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3302 $as_echo_n "checking for $ac_word... " >&6; }
3303 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3304 $as_echo_n "(cached) " >&6
3305 else
3306 if test -n "$ac_ct_STRIP"; then
3307 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3308 else
3309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3310 for as_dir in $PATH
3312 IFS=$as_save_IFS
3313 test -z "$as_dir" && as_dir=.
3314 for ac_exec_ext in '' $ac_executable_extensions; do
3315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3316 ac_cv_prog_ac_ct_STRIP="strip"
3317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3318 break 2
3320 done
3321 done
3322 IFS=$as_save_IFS
3326 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3327 if test -n "$ac_ct_STRIP"; then
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3329 $as_echo "$ac_ct_STRIP" >&6; }
3330 else
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3332 $as_echo "no" >&6; }
3335 if test "x$ac_ct_STRIP" = x; then
3336 STRIP=":"
3337 else
3338 case $cross_compiling:$ac_tool_warned in
3339 yes:)
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3342 ac_tool_warned=yes ;;
3343 esac
3344 STRIP=$ac_ct_STRIP
3346 else
3347 STRIP="$ac_cv_prog_STRIP"
3351 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3354 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3355 if test -z "$MKDIR_P"; then
3356 if test "${ac_cv_path_mkdir+set}" = set; then :
3357 $as_echo_n "(cached) " >&6
3358 else
3359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3360 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3362 IFS=$as_save_IFS
3363 test -z "$as_dir" && as_dir=.
3364 for ac_prog in mkdir gmkdir; do
3365 for ac_exec_ext in '' $ac_executable_extensions; do
3366 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3367 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3368 'mkdir (GNU coreutils) '* | \
3369 'mkdir (coreutils) '* | \
3370 'mkdir (fileutils) '4.1*)
3371 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3372 break 3;;
3373 esac
3374 done
3375 done
3376 done
3377 IFS=$as_save_IFS
3381 if test "${ac_cv_path_mkdir+set}" = set; then
3382 MKDIR_P="$ac_cv_path_mkdir -p"
3383 else
3384 # As a last resort, use the slow shell script. Don't cache a
3385 # value for MKDIR_P within a source directory, because that will
3386 # break other packages using the cache if that directory is
3387 # removed, or if the value is a relative name.
3388 test -d ./--version && rmdir ./--version
3389 MKDIR_P="$ac_install_sh -d"
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3393 $as_echo "$MKDIR_P" >&6; }
3395 mkdir_p="$MKDIR_P"
3396 case $mkdir_p in
3397 [\\/$]* | ?:[\\/]*) ;;
3398 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3399 esac
3401 for ac_prog in gawk mawk nawk awk
3403 # Extract the first word of "$ac_prog", so it can be a program name with args.
3404 set dummy $ac_prog; ac_word=$2
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3406 $as_echo_n "checking for $ac_word... " >&6; }
3407 if test "${ac_cv_prog_AWK+set}" = set; then :
3408 $as_echo_n "(cached) " >&6
3409 else
3410 if test -n "$AWK"; then
3411 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3412 else
3413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3414 for as_dir in $PATH
3416 IFS=$as_save_IFS
3417 test -z "$as_dir" && as_dir=.
3418 for ac_exec_ext in '' $ac_executable_extensions; do
3419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3420 ac_cv_prog_AWK="$ac_prog"
3421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3422 break 2
3424 done
3425 done
3426 IFS=$as_save_IFS
3430 AWK=$ac_cv_prog_AWK
3431 if test -n "$AWK"; then
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3433 $as_echo "$AWK" >&6; }
3434 else
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3436 $as_echo "no" >&6; }
3440 test -n "$AWK" && break
3441 done
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3444 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3445 set x ${MAKE-make}
3446 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3447 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3448 $as_echo_n "(cached) " >&6
3449 else
3450 cat >conftest.make <<\_ACEOF
3451 SHELL = /bin/sh
3452 all:
3453 @echo '@@@%%%=$(MAKE)=@@@%%%'
3454 _ACEOF
3455 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3456 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3457 *@@@%%%=?*=@@@%%%*)
3458 eval ac_cv_prog_make_${ac_make}_set=yes;;
3460 eval ac_cv_prog_make_${ac_make}_set=no;;
3461 esac
3462 rm -f conftest.make
3464 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3466 $as_echo "yes" >&6; }
3467 SET_MAKE=
3468 else
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3470 $as_echo "no" >&6; }
3471 SET_MAKE="MAKE=${MAKE-make}"
3474 rm -rf .tst 2>/dev/null
3475 mkdir .tst 2>/dev/null
3476 if test -d .tst; then
3477 am__leading_dot=.
3478 else
3479 am__leading_dot=_
3481 rmdir .tst 2>/dev/null
3483 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3484 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3485 # is not polluted with repeated "-I."
3486 am__isrc=' -I$(srcdir)'
3487 # test to see if srcdir already configured
3488 if test -f $srcdir/config.status; then
3489 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3493 # test whether we have cygpath
3494 if test -z "$CYGPATH_W"; then
3495 if (cygpath --version) >/dev/null 2>/dev/null; then
3496 CYGPATH_W='cygpath -w'
3497 else
3498 CYGPATH_W=echo
3503 # Define the identity of the package.
3504 PACKAGE='libstdc++'
3505 VERSION='version-unused'
3508 # Some tools Automake needs.
3510 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3513 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3516 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3519 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3522 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3524 # We need awk for the "check" target. The system "awk" is bad on
3525 # some platforms.
3526 # Always define AMTAR for backward compatibility.
3528 AMTAR=${AMTAR-"${am_missing_run}tar"}
3530 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3539 # -fno-builtin must be present here so that a non-conflicting form of
3540 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3542 save_CXXFLAGS="$CXXFLAGS"
3543 CXXFLAGS="$CXXFLAGS -fno-builtin"
3544 ac_ext=c
3545 ac_cpp='$CPP $CPPFLAGS'
3546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3549 if test -n "$ac_tool_prefix"; then
3550 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3551 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3553 $as_echo_n "checking for $ac_word... " >&6; }
3554 if test "${ac_cv_prog_CC+set}" = set; then :
3555 $as_echo_n "(cached) " >&6
3556 else
3557 if test -n "$CC"; then
3558 ac_cv_prog_CC="$CC" # Let the user override the test.
3559 else
3560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3561 for as_dir in $PATH
3563 IFS=$as_save_IFS
3564 test -z "$as_dir" && as_dir=.
3565 for ac_exec_ext in '' $ac_executable_extensions; do
3566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3567 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3569 break 2
3571 done
3572 done
3573 IFS=$as_save_IFS
3577 CC=$ac_cv_prog_CC
3578 if test -n "$CC"; then
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3580 $as_echo "$CC" >&6; }
3581 else
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3583 $as_echo "no" >&6; }
3588 if test -z "$ac_cv_prog_CC"; then
3589 ac_ct_CC=$CC
3590 # Extract the first word of "gcc", so it can be a program name with args.
3591 set dummy gcc; ac_word=$2
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3593 $as_echo_n "checking for $ac_word... " >&6; }
3594 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3595 $as_echo_n "(cached) " >&6
3596 else
3597 if test -n "$ac_ct_CC"; then
3598 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3599 else
3600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3601 for as_dir in $PATH
3603 IFS=$as_save_IFS
3604 test -z "$as_dir" && as_dir=.
3605 for ac_exec_ext in '' $ac_executable_extensions; do
3606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3607 ac_cv_prog_ac_ct_CC="gcc"
3608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3609 break 2
3611 done
3612 done
3613 IFS=$as_save_IFS
3617 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3618 if test -n "$ac_ct_CC"; then
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3620 $as_echo "$ac_ct_CC" >&6; }
3621 else
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3623 $as_echo "no" >&6; }
3626 if test "x$ac_ct_CC" = x; then
3627 CC=""
3628 else
3629 case $cross_compiling:$ac_tool_warned in
3630 yes:)
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3633 ac_tool_warned=yes ;;
3634 esac
3635 CC=$ac_ct_CC
3637 else
3638 CC="$ac_cv_prog_CC"
3641 if test -z "$CC"; then
3642 if test -n "$ac_tool_prefix"; then
3643 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3644 set dummy ${ac_tool_prefix}cc; ac_word=$2
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3646 $as_echo_n "checking for $ac_word... " >&6; }
3647 if test "${ac_cv_prog_CC+set}" = set; then :
3648 $as_echo_n "(cached) " >&6
3649 else
3650 if test -n "$CC"; then
3651 ac_cv_prog_CC="$CC" # Let the user override the test.
3652 else
3653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3654 for as_dir in $PATH
3656 IFS=$as_save_IFS
3657 test -z "$as_dir" && as_dir=.
3658 for ac_exec_ext in '' $ac_executable_extensions; do
3659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3660 ac_cv_prog_CC="${ac_tool_prefix}cc"
3661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3662 break 2
3664 done
3665 done
3666 IFS=$as_save_IFS
3670 CC=$ac_cv_prog_CC
3671 if test -n "$CC"; then
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3673 $as_echo "$CC" >&6; }
3674 else
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3676 $as_echo "no" >&6; }
3682 if test -z "$CC"; then
3683 # Extract the first word of "cc", so it can be a program name with args.
3684 set dummy cc; ac_word=$2
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3686 $as_echo_n "checking for $ac_word... " >&6; }
3687 if test "${ac_cv_prog_CC+set}" = set; then :
3688 $as_echo_n "(cached) " >&6
3689 else
3690 if test -n "$CC"; then
3691 ac_cv_prog_CC="$CC" # Let the user override the test.
3692 else
3693 ac_prog_rejected=no
3694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3695 for as_dir in $PATH
3697 IFS=$as_save_IFS
3698 test -z "$as_dir" && as_dir=.
3699 for ac_exec_ext in '' $ac_executable_extensions; do
3700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3701 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3702 ac_prog_rejected=yes
3703 continue
3705 ac_cv_prog_CC="cc"
3706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3707 break 2
3709 done
3710 done
3711 IFS=$as_save_IFS
3713 if test $ac_prog_rejected = yes; then
3714 # We found a bogon in the path, so make sure we never use it.
3715 set dummy $ac_cv_prog_CC
3716 shift
3717 if test $# != 0; then
3718 # We chose a different compiler from the bogus one.
3719 # However, it has the same basename, so the bogon will be chosen
3720 # first if we set CC to just the basename; use the full file name.
3721 shift
3722 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3727 CC=$ac_cv_prog_CC
3728 if test -n "$CC"; then
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3730 $as_echo "$CC" >&6; }
3731 else
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3733 $as_echo "no" >&6; }
3738 if test -z "$CC"; then
3739 if test -n "$ac_tool_prefix"; then
3740 for ac_prog in cl.exe
3742 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3743 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3745 $as_echo_n "checking for $ac_word... " >&6; }
3746 if test "${ac_cv_prog_CC+set}" = set; then :
3747 $as_echo_n "(cached) " >&6
3748 else
3749 if test -n "$CC"; then
3750 ac_cv_prog_CC="$CC" # Let the user override the test.
3751 else
3752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3753 for as_dir in $PATH
3755 IFS=$as_save_IFS
3756 test -z "$as_dir" && as_dir=.
3757 for ac_exec_ext in '' $ac_executable_extensions; do
3758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3759 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3761 break 2
3763 done
3764 done
3765 IFS=$as_save_IFS
3769 CC=$ac_cv_prog_CC
3770 if test -n "$CC"; then
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3772 $as_echo "$CC" >&6; }
3773 else
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 $as_echo "no" >&6; }
3779 test -n "$CC" && break
3780 done
3782 if test -z "$CC"; then
3783 ac_ct_CC=$CC
3784 for ac_prog in cl.exe
3786 # Extract the first word of "$ac_prog", so it can be a program name with args.
3787 set dummy $ac_prog; ac_word=$2
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3789 $as_echo_n "checking for $ac_word... " >&6; }
3790 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3791 $as_echo_n "(cached) " >&6
3792 else
3793 if test -n "$ac_ct_CC"; then
3794 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3795 else
3796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3797 for as_dir in $PATH
3799 IFS=$as_save_IFS
3800 test -z "$as_dir" && as_dir=.
3801 for ac_exec_ext in '' $ac_executable_extensions; do
3802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3803 ac_cv_prog_ac_ct_CC="$ac_prog"
3804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3805 break 2
3807 done
3808 done
3809 IFS=$as_save_IFS
3813 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3814 if test -n "$ac_ct_CC"; then
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3816 $as_echo "$ac_ct_CC" >&6; }
3817 else
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3819 $as_echo "no" >&6; }
3823 test -n "$ac_ct_CC" && break
3824 done
3826 if test "x$ac_ct_CC" = x; then
3827 CC=""
3828 else
3829 case $cross_compiling:$ac_tool_warned in
3830 yes:)
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3833 ac_tool_warned=yes ;;
3834 esac
3835 CC=$ac_ct_CC
3842 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3844 as_fn_error "no acceptable C compiler found in \$PATH
3845 See \`config.log' for more details." "$LINENO" 5; }
3847 # Provide some information about the compiler.
3848 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3849 set X $ac_compile
3850 ac_compiler=$2
3851 for ac_option in --version -v -V -qversion; do
3852 { { ac_try="$ac_compiler $ac_option >&5"
3853 case "(($ac_try" in
3854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3855 *) ac_try_echo=$ac_try;;
3856 esac
3857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3858 $as_echo "$ac_try_echo"; } >&5
3859 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3860 ac_status=$?
3861 if test -s conftest.err; then
3862 sed '10a\
3863 ... rest of stderr output deleted ...
3864 10q' conftest.err >conftest.er1
3865 cat conftest.er1 >&5
3866 rm -f conftest.er1 conftest.err
3868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3869 test $ac_status = 0; }
3870 done
3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h. */
3876 main ()
3880 return 0;
3882 _ACEOF
3883 # FIXME: Cleanup?
3884 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3885 (eval $ac_link) 2>&5
3886 ac_status=$?
3887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3888 test $ac_status = 0; }; then :
3889 gcc_no_link=no
3890 else
3891 gcc_no_link=yes
3893 if test x$gcc_no_link = xyes; then
3894 # Setting cross_compile will disable run tests; it will
3895 # also disable AC_CHECK_FILE but that's generally
3896 # correct if we can't link.
3897 cross_compiling=yes
3898 EXEEXT=
3899 else
3900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3901 /* end confdefs.h. */
3904 main ()
3908 return 0;
3910 _ACEOF
3911 ac_clean_files_save=$ac_clean_files
3912 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3913 # Try to create an executable without -o first, disregard a.out.
3914 # It will help us diagnose broken compilers, and finding out an intuition
3915 # of exeext.
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3917 $as_echo_n "checking for C compiler default output file name... " >&6; }
3918 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3920 # The possible output files:
3921 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3923 ac_rmfiles=
3924 for ac_file in $ac_files
3926 case $ac_file in
3927 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3928 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3929 esac
3930 done
3931 rm -f $ac_rmfiles
3933 if { { ac_try="$ac_link_default"
3934 case "(($ac_try" in
3935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3936 *) ac_try_echo=$ac_try;;
3937 esac
3938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3939 $as_echo "$ac_try_echo"; } >&5
3940 (eval "$ac_link_default") 2>&5
3941 ac_status=$?
3942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3943 test $ac_status = 0; }; then :
3944 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3945 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3946 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3947 # so that the user can short-circuit this test for compilers unknown to
3948 # Autoconf.
3949 for ac_file in $ac_files ''
3951 test -f "$ac_file" || continue
3952 case $ac_file in
3953 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3955 [ab].out )
3956 # We found the default executable, but exeext='' is most
3957 # certainly right.
3958 break;;
3959 *.* )
3960 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3961 then :; else
3962 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3964 # We set ac_cv_exeext here because the later test for it is not
3965 # safe: cross compilers may not add the suffix if given an `-o'
3966 # argument, so we may need to know it at that point already.
3967 # Even if this section looks crufty: it has the advantage of
3968 # actually working.
3969 break;;
3971 break;;
3972 esac
3973 done
3974 test "$ac_cv_exeext" = no && ac_cv_exeext=
3976 else
3977 ac_file=''
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3980 $as_echo "$ac_file" >&6; }
3981 if test -z "$ac_file"; then :
3982 $as_echo "$as_me: failed program was:" >&5
3983 sed 's/^/| /' conftest.$ac_ext >&5
3985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3987 { as_fn_set_status 77
3988 as_fn_error "C compiler cannot create executables
3989 See \`config.log' for more details." "$LINENO" 5; }; }
3991 ac_exeext=$ac_cv_exeext
3993 # Check that the compiler produces executables we can run. If not, either
3994 # the compiler is broken, or we cross compile.
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3996 $as_echo_n "checking whether the C compiler works... " >&6; }
3997 # If not cross compiling, check that we can run a simple program.
3998 if test "$cross_compiling" != yes; then
3999 if { ac_try='./$ac_file'
4000 { { case "(($ac_try" in
4001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4002 *) ac_try_echo=$ac_try;;
4003 esac
4004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4005 $as_echo "$ac_try_echo"; } >&5
4006 (eval "$ac_try") 2>&5
4007 ac_status=$?
4008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4009 test $ac_status = 0; }; }; then
4010 cross_compiling=no
4011 else
4012 if test "$cross_compiling" = maybe; then
4013 cross_compiling=yes
4014 else
4015 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4017 as_fn_error "cannot run C compiled programs.
4018 If you meant to cross compile, use \`--host'.
4019 See \`config.log' for more details." "$LINENO" 5; }
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4024 $as_echo "yes" >&6; }
4026 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4027 ac_clean_files=$ac_clean_files_save
4028 # Check that the compiler produces executables we can run. If not, either
4029 # the compiler is broken, or we cross compile.
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4031 $as_echo_n "checking whether we are cross compiling... " >&6; }
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4033 $as_echo "$cross_compiling" >&6; }
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4036 $as_echo_n "checking for suffix of executables... " >&6; }
4037 if { { ac_try="$ac_link"
4038 case "(($ac_try" in
4039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4040 *) ac_try_echo=$ac_try;;
4041 esac
4042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4043 $as_echo "$ac_try_echo"; } >&5
4044 (eval "$ac_link") 2>&5
4045 ac_status=$?
4046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4047 test $ac_status = 0; }; then :
4048 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4049 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4050 # work properly (i.e., refer to `conftest.exe'), while it won't with
4051 # `rm'.
4052 for ac_file in conftest.exe conftest conftest.*; do
4053 test -f "$ac_file" || continue
4054 case $ac_file in
4055 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4056 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4057 break;;
4058 * ) break;;
4059 esac
4060 done
4061 else
4062 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4064 as_fn_error "cannot compute suffix of executables: cannot compile and link
4065 See \`config.log' for more details." "$LINENO" 5; }
4067 rm -f conftest$ac_cv_exeext
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4069 $as_echo "$ac_cv_exeext" >&6; }
4071 rm -f conftest.$ac_ext
4072 EXEEXT=$ac_cv_exeext
4073 ac_exeext=$EXEEXT
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4076 $as_echo_n "checking for suffix of object files... " >&6; }
4077 if test "${ac_cv_objext+set}" = set; then :
4078 $as_echo_n "(cached) " >&6
4079 else
4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4081 /* end confdefs.h. */
4084 main ()
4088 return 0;
4090 _ACEOF
4091 rm -f conftest.o conftest.obj
4092 if { { ac_try="$ac_compile"
4093 case "(($ac_try" in
4094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4096 esac
4097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4098 $as_echo "$ac_try_echo"; } >&5
4099 (eval "$ac_compile") 2>&5
4100 ac_status=$?
4101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4102 test $ac_status = 0; }; then :
4103 for ac_file in conftest.o conftest.obj conftest.*; do
4104 test -f "$ac_file" || continue;
4105 case $ac_file in
4106 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4107 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4108 break;;
4109 esac
4110 done
4111 else
4112 $as_echo "$as_me: failed program was:" >&5
4113 sed 's/^/| /' conftest.$ac_ext >&5
4115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4117 as_fn_error "cannot compute suffix of object files: cannot compile
4118 See \`config.log' for more details." "$LINENO" 5; }
4120 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4123 $as_echo "$ac_cv_objext" >&6; }
4124 OBJEXT=$ac_cv_objext
4125 ac_objext=$OBJEXT
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4127 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4128 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4129 $as_echo_n "(cached) " >&6
4130 else
4131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4132 /* end confdefs.h. */
4135 main ()
4137 #ifndef __GNUC__
4138 choke me
4139 #endif
4142 return 0;
4144 _ACEOF
4145 if ac_fn_c_try_compile "$LINENO"; then :
4146 ac_compiler_gnu=yes
4147 else
4148 ac_compiler_gnu=no
4150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4151 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4155 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4156 if test $ac_compiler_gnu = yes; then
4157 GCC=yes
4158 else
4159 GCC=
4161 ac_test_CFLAGS=${CFLAGS+set}
4162 ac_save_CFLAGS=$CFLAGS
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4164 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4165 if test "${ac_cv_prog_cc_g+set}" = set; then :
4166 $as_echo_n "(cached) " >&6
4167 else
4168 ac_save_c_werror_flag=$ac_c_werror_flag
4169 ac_c_werror_flag=yes
4170 ac_cv_prog_cc_g=no
4171 CFLAGS="-g"
4172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4173 /* end confdefs.h. */
4176 main ()
4180 return 0;
4182 _ACEOF
4183 if ac_fn_c_try_compile "$LINENO"; then :
4184 ac_cv_prog_cc_g=yes
4185 else
4186 CFLAGS=""
4187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h. */
4191 main ()
4195 return 0;
4197 _ACEOF
4198 if ac_fn_c_try_compile "$LINENO"; then :
4200 else
4201 ac_c_werror_flag=$ac_save_c_werror_flag
4202 CFLAGS="-g"
4203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4204 /* end confdefs.h. */
4207 main ()
4211 return 0;
4213 _ACEOF
4214 if ac_fn_c_try_compile "$LINENO"; then :
4215 ac_cv_prog_cc_g=yes
4217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222 ac_c_werror_flag=$ac_save_c_werror_flag
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4225 $as_echo "$ac_cv_prog_cc_g" >&6; }
4226 if test "$ac_test_CFLAGS" = set; then
4227 CFLAGS=$ac_save_CFLAGS
4228 elif test $ac_cv_prog_cc_g = yes; then
4229 if test "$GCC" = yes; then
4230 CFLAGS="-g -O2"
4231 else
4232 CFLAGS="-g"
4234 else
4235 if test "$GCC" = yes; then
4236 CFLAGS="-O2"
4237 else
4238 CFLAGS=
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4242 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4243 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4244 $as_echo_n "(cached) " >&6
4245 else
4246 ac_cv_prog_cc_c89=no
4247 ac_save_CC=$CC
4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h. */
4250 #include <stdarg.h>
4251 #include <stdio.h>
4252 #include <sys/types.h>
4253 #include <sys/stat.h>
4254 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4255 struct buf { int x; };
4256 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4257 static char *e (p, i)
4258 char **p;
4259 int i;
4261 return p[i];
4263 static char *f (char * (*g) (char **, int), char **p, ...)
4265 char *s;
4266 va_list v;
4267 va_start (v,p);
4268 s = g (p, va_arg (v,int));
4269 va_end (v);
4270 return s;
4273 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4274 function prototypes and stuff, but not '\xHH' hex character constants.
4275 These don't provoke an error unfortunately, instead are silently treated
4276 as 'x'. The following induces an error, until -std is added to get
4277 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4278 array size at least. It's necessary to write '\x00'==0 to get something
4279 that's true only with -std. */
4280 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4282 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4283 inside strings and character constants. */
4284 #define FOO(x) 'x'
4285 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4287 int test (int i, double x);
4288 struct s1 {int (*f) (int a);};
4289 struct s2 {int (*f) (double a);};
4290 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4291 int argc;
4292 char **argv;
4294 main ()
4296 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4298 return 0;
4300 _ACEOF
4301 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4302 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4304 CC="$ac_save_CC $ac_arg"
4305 if ac_fn_c_try_compile "$LINENO"; then :
4306 ac_cv_prog_cc_c89=$ac_arg
4308 rm -f core conftest.err conftest.$ac_objext
4309 test "x$ac_cv_prog_cc_c89" != "xno" && break
4310 done
4311 rm -f conftest.$ac_ext
4312 CC=$ac_save_CC
4315 # AC_CACHE_VAL
4316 case "x$ac_cv_prog_cc_c89" in
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4319 $as_echo "none needed" >&6; } ;;
4320 xno)
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4322 $as_echo "unsupported" >&6; } ;;
4324 CC="$CC $ac_cv_prog_cc_c89"
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4326 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4327 esac
4328 if test "x$ac_cv_prog_cc_c89" != xno; then :
4332 ac_ext=c
4333 ac_cpp='$CPP $CPPFLAGS'
4334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4338 ac_ext=cpp
4339 ac_cpp='$CXXCPP $CPPFLAGS'
4340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4343 if test -z "$CXX"; then
4344 if test -n "$CCC"; then
4345 CXX=$CCC
4346 else
4347 if test -n "$ac_tool_prefix"; then
4348 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4350 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4351 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if test "${ac_cv_prog_CXX+set}" = set; then :
4355 $as_echo_n "(cached) " >&6
4356 else
4357 if test -n "$CXX"; then
4358 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4359 else
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361 for as_dir in $PATH
4363 IFS=$as_save_IFS
4364 test -z "$as_dir" && as_dir=.
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4367 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4369 break 2
4371 done
4372 done
4373 IFS=$as_save_IFS
4377 CXX=$ac_cv_prog_CXX
4378 if test -n "$CXX"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4380 $as_echo "$CXX" >&6; }
4381 else
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4387 test -n "$CXX" && break
4388 done
4390 if test -z "$CXX"; then
4391 ac_ct_CXX=$CXX
4392 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4394 # Extract the first word of "$ac_prog", so it can be a program name with args.
4395 set dummy $ac_prog; ac_word=$2
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4397 $as_echo_n "checking for $ac_word... " >&6; }
4398 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4399 $as_echo_n "(cached) " >&6
4400 else
4401 if test -n "$ac_ct_CXX"; then
4402 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4403 else
4404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4405 for as_dir in $PATH
4407 IFS=$as_save_IFS
4408 test -z "$as_dir" && as_dir=.
4409 for ac_exec_ext in '' $ac_executable_extensions; do
4410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4411 ac_cv_prog_ac_ct_CXX="$ac_prog"
4412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4413 break 2
4415 done
4416 done
4417 IFS=$as_save_IFS
4421 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4422 if test -n "$ac_ct_CXX"; then
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4424 $as_echo "$ac_ct_CXX" >&6; }
4425 else
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4427 $as_echo "no" >&6; }
4431 test -n "$ac_ct_CXX" && break
4432 done
4434 if test "x$ac_ct_CXX" = x; then
4435 CXX="g++"
4436 else
4437 case $cross_compiling:$ac_tool_warned in
4438 yes:)
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4441 ac_tool_warned=yes ;;
4442 esac
4443 CXX=$ac_ct_CXX
4449 # Provide some information about the compiler.
4450 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4451 set X $ac_compile
4452 ac_compiler=$2
4453 for ac_option in --version -v -V -qversion; do
4454 { { ac_try="$ac_compiler $ac_option >&5"
4455 case "(($ac_try" in
4456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4457 *) ac_try_echo=$ac_try;;
4458 esac
4459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4460 $as_echo "$ac_try_echo"; } >&5
4461 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4462 ac_status=$?
4463 if test -s conftest.err; then
4464 sed '10a\
4465 ... rest of stderr output deleted ...
4466 10q' conftest.err >conftest.er1
4467 cat conftest.er1 >&5
4468 rm -f conftest.er1 conftest.err
4470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4471 test $ac_status = 0; }
4472 done
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4475 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4476 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4477 $as_echo_n "(cached) " >&6
4478 else
4479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4480 /* end confdefs.h. */
4483 main ()
4485 #ifndef __GNUC__
4486 choke me
4487 #endif
4490 return 0;
4492 _ACEOF
4493 if ac_fn_cxx_try_compile "$LINENO"; then :
4494 ac_compiler_gnu=yes
4495 else
4496 ac_compiler_gnu=no
4498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4499 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4503 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4504 if test $ac_compiler_gnu = yes; then
4505 GXX=yes
4506 else
4507 GXX=
4509 ac_test_CXXFLAGS=${CXXFLAGS+set}
4510 ac_save_CXXFLAGS=$CXXFLAGS
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4512 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4513 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4514 $as_echo_n "(cached) " >&6
4515 else
4516 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4517 ac_cxx_werror_flag=yes
4518 ac_cv_prog_cxx_g=no
4519 CXXFLAGS="-g"
4520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4524 main ()
4528 return 0;
4530 _ACEOF
4531 if ac_fn_cxx_try_compile "$LINENO"; then :
4532 ac_cv_prog_cxx_g=yes
4533 else
4534 CXXFLAGS=""
4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4539 main ()
4543 return 0;
4545 _ACEOF
4546 if ac_fn_cxx_try_compile "$LINENO"; then :
4548 else
4549 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4550 CXXFLAGS="-g"
4551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4552 /* end confdefs.h. */
4555 main ()
4559 return 0;
4561 _ACEOF
4562 if ac_fn_cxx_try_compile "$LINENO"; then :
4563 ac_cv_prog_cxx_g=yes
4565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4570 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4573 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4574 if test "$ac_test_CXXFLAGS" = set; then
4575 CXXFLAGS=$ac_save_CXXFLAGS
4576 elif test $ac_cv_prog_cxx_g = yes; then
4577 if test "$GXX" = yes; then
4578 CXXFLAGS="-g -O2"
4579 else
4580 CXXFLAGS="-g"
4582 else
4583 if test "$GXX" = yes; then
4584 CXXFLAGS="-O2"
4585 else
4586 CXXFLAGS=
4589 ac_ext=c
4590 ac_cpp='$CPP $CPPFLAGS'
4591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4595 CXXFLAGS="$save_CXXFLAGS"
4597 # Runs configure.host, and assorted other critical bits. Sets
4598 # up critical shell variables.
4600 ac_ext=c
4601 ac_cpp='$CPP $CPPFLAGS'
4602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4606 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4607 # On Suns, sometimes $CPP names a directory.
4608 if test -n "$CPP" && test -d "$CPP"; then
4609 CPP=
4611 if test -z "$CPP"; then
4612 if test "${ac_cv_prog_CPP+set}" = set; then :
4613 $as_echo_n "(cached) " >&6
4614 else
4615 # Double quotes because CPP needs to be expanded
4616 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4618 ac_preproc_ok=false
4619 for ac_c_preproc_warn_flag in '' yes
4621 # Use a header file that comes with gcc, so configuring glibc
4622 # with a fresh cross-compiler works.
4623 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4624 # <limits.h> exists even on freestanding compilers.
4625 # On the NeXT, cc -E runs the code through the compiler's parser,
4626 # not just through cpp. "Syntax error" is here to catch this case.
4627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4628 /* end confdefs.h. */
4629 #ifdef __STDC__
4630 # include <limits.h>
4631 #else
4632 # include <assert.h>
4633 #endif
4634 Syntax error
4635 _ACEOF
4636 if ac_fn_c_try_cpp "$LINENO"; then :
4638 else
4639 # Broken: fails on valid input.
4640 continue
4642 rm -f conftest.err conftest.$ac_ext
4644 # OK, works on sane cases. Now check whether nonexistent headers
4645 # can be detected and how.
4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4648 #include <ac_nonexistent.h>
4649 _ACEOF
4650 if ac_fn_c_try_cpp "$LINENO"; then :
4651 # Broken: success on invalid input.
4652 continue
4653 else
4654 # Passes both tests.
4655 ac_preproc_ok=:
4656 break
4658 rm -f conftest.err conftest.$ac_ext
4660 done
4661 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4662 rm -f conftest.err conftest.$ac_ext
4663 if $ac_preproc_ok; then :
4664 break
4667 done
4668 ac_cv_prog_CPP=$CPP
4671 CPP=$ac_cv_prog_CPP
4672 else
4673 ac_cv_prog_CPP=$CPP
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4676 $as_echo "$CPP" >&6; }
4677 ac_preproc_ok=false
4678 for ac_c_preproc_warn_flag in '' yes
4680 # Use a header file that comes with gcc, so configuring glibc
4681 # with a fresh cross-compiler works.
4682 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4683 # <limits.h> exists even on freestanding compilers.
4684 # On the NeXT, cc -E runs the code through the compiler's parser,
4685 # not just through cpp. "Syntax error" is here to catch this case.
4686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4687 /* end confdefs.h. */
4688 #ifdef __STDC__
4689 # include <limits.h>
4690 #else
4691 # include <assert.h>
4692 #endif
4693 Syntax error
4694 _ACEOF
4695 if ac_fn_c_try_cpp "$LINENO"; then :
4697 else
4698 # Broken: fails on valid input.
4699 continue
4701 rm -f conftest.err conftest.$ac_ext
4703 # OK, works on sane cases. Now check whether nonexistent headers
4704 # can be detected and how.
4705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4706 /* end confdefs.h. */
4707 #include <ac_nonexistent.h>
4708 _ACEOF
4709 if ac_fn_c_try_cpp "$LINENO"; then :
4710 # Broken: success on invalid input.
4711 continue
4712 else
4713 # Passes both tests.
4714 ac_preproc_ok=:
4715 break
4717 rm -f conftest.err conftest.$ac_ext
4719 done
4720 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4721 rm -f conftest.err conftest.$ac_ext
4722 if $ac_preproc_ok; then :
4724 else
4725 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4726 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4727 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4728 See \`config.log' for more details." "$LINENO" 5; }
4731 ac_ext=c
4732 ac_cpp='$CPP $CPPFLAGS'
4733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4739 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4740 if test "${ac_cv_path_GREP+set}" = set; then :
4741 $as_echo_n "(cached) " >&6
4742 else
4743 if test -z "$GREP"; then
4744 ac_path_GREP_found=false
4745 # Loop through the user's path and test for each of PROGNAME-LIST
4746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4747 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4749 IFS=$as_save_IFS
4750 test -z "$as_dir" && as_dir=.
4751 for ac_prog in grep ggrep; do
4752 for ac_exec_ext in '' $ac_executable_extensions; do
4753 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4754 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4755 # Check for GNU ac_path_GREP and select it if it is found.
4756 # Check for GNU $ac_path_GREP
4757 case `"$ac_path_GREP" --version 2>&1` in
4758 *GNU*)
4759 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4761 ac_count=0
4762 $as_echo_n 0123456789 >"conftest.in"
4763 while :
4765 cat "conftest.in" "conftest.in" >"conftest.tmp"
4766 mv "conftest.tmp" "conftest.in"
4767 cp "conftest.in" "conftest.nl"
4768 $as_echo 'GREP' >> "conftest.nl"
4769 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4770 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4771 as_fn_arith $ac_count + 1 && ac_count=$as_val
4772 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4773 # Best one so far, save it but keep looking for a better one
4774 ac_cv_path_GREP="$ac_path_GREP"
4775 ac_path_GREP_max=$ac_count
4777 # 10*(2^10) chars as input seems more than enough
4778 test $ac_count -gt 10 && break
4779 done
4780 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4781 esac
4783 $ac_path_GREP_found && break 3
4784 done
4785 done
4786 done
4787 IFS=$as_save_IFS
4788 if test -z "$ac_cv_path_GREP"; then
4789 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4791 else
4792 ac_cv_path_GREP=$GREP
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4797 $as_echo "$ac_cv_path_GREP" >&6; }
4798 GREP="$ac_cv_path_GREP"
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4802 $as_echo_n "checking for egrep... " >&6; }
4803 if test "${ac_cv_path_EGREP+set}" = set; then :
4804 $as_echo_n "(cached) " >&6
4805 else
4806 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4807 then ac_cv_path_EGREP="$GREP -E"
4808 else
4809 if test -z "$EGREP"; then
4810 ac_path_EGREP_found=false
4811 # Loop through the user's path and test for each of PROGNAME-LIST
4812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4813 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4815 IFS=$as_save_IFS
4816 test -z "$as_dir" && as_dir=.
4817 for ac_prog in egrep; do
4818 for ac_exec_ext in '' $ac_executable_extensions; do
4819 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4820 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4821 # Check for GNU ac_path_EGREP and select it if it is found.
4822 # Check for GNU $ac_path_EGREP
4823 case `"$ac_path_EGREP" --version 2>&1` in
4824 *GNU*)
4825 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4827 ac_count=0
4828 $as_echo_n 0123456789 >"conftest.in"
4829 while :
4831 cat "conftest.in" "conftest.in" >"conftest.tmp"
4832 mv "conftest.tmp" "conftest.in"
4833 cp "conftest.in" "conftest.nl"
4834 $as_echo 'EGREP' >> "conftest.nl"
4835 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4836 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4837 as_fn_arith $ac_count + 1 && ac_count=$as_val
4838 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4839 # Best one so far, save it but keep looking for a better one
4840 ac_cv_path_EGREP="$ac_path_EGREP"
4841 ac_path_EGREP_max=$ac_count
4843 # 10*(2^10) chars as input seems more than enough
4844 test $ac_count -gt 10 && break
4845 done
4846 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4847 esac
4849 $ac_path_EGREP_found && break 3
4850 done
4851 done
4852 done
4853 IFS=$as_save_IFS
4854 if test -z "$ac_cv_path_EGREP"; then
4855 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4857 else
4858 ac_cv_path_EGREP=$EGREP
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4864 $as_echo "$ac_cv_path_EGREP" >&6; }
4865 EGREP="$ac_cv_path_EGREP"
4869 # Keep these sync'd with the list in Makefile.am. The first provides an
4870 # expandable list at autoconf time; the second provides an expandable list
4871 # (i.e., shell variable) at configure time.
4873 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4875 # These need to be absolute paths, yet at the same time need to
4876 # canonicalize only relative paths, because then amd will not unmount
4877 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4878 glibcxx_builddir=`${PWDCMD-pwd}`
4879 case $srcdir in
4880 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4881 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4882 esac
4883 toplevel_builddir=${glibcxx_builddir}/..
4884 toplevel_srcdir=${glibcxx_srcdir}/..
4890 # We use these options to decide which functions to include. They are
4891 # set from the top level.
4893 # Check whether --with-target-subdir was given.
4894 if test "${with_target_subdir+set}" = set; then :
4895 withval=$with_target_subdir;
4900 # Check whether --with-cross-host was given.
4901 if test "${with_cross_host+set}" = set; then :
4902 withval=$with_cross_host;
4907 # Check whether --with-newlib was given.
4908 if test "${with_newlib+set}" = set; then :
4909 withval=$with_newlib;
4913 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4914 # available). Uncomment the next line to force a particular method.
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4916 $as_echo_n "checking whether ln -s works... " >&6; }
4917 LN_S=$as_ln_s
4918 if test "$LN_S" = "ln -s"; then
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4920 $as_echo "yes" >&6; }
4921 else
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4923 $as_echo "no, using $LN_S" >&6; }
4926 #LN_S='cp -p'
4928 if test -n "$ac_tool_prefix"; then
4929 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4930 set dummy ${ac_tool_prefix}as; ac_word=$2
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932 $as_echo_n "checking for $ac_word... " >&6; }
4933 if test "${ac_cv_prog_AS+set}" = set; then :
4934 $as_echo_n "(cached) " >&6
4935 else
4936 if test -n "$AS"; then
4937 ac_cv_prog_AS="$AS" # Let the user override the test.
4938 else
4939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 for as_dir in $PATH
4942 IFS=$as_save_IFS
4943 test -z "$as_dir" && as_dir=.
4944 for ac_exec_ext in '' $ac_executable_extensions; do
4945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4946 ac_cv_prog_AS="${ac_tool_prefix}as"
4947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4948 break 2
4950 done
4951 done
4952 IFS=$as_save_IFS
4956 AS=$ac_cv_prog_AS
4957 if test -n "$AS"; then
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4959 $as_echo "$AS" >&6; }
4960 else
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 $as_echo "no" >&6; }
4967 if test -z "$ac_cv_prog_AS"; then
4968 ac_ct_AS=$AS
4969 # Extract the first word of "as", so it can be a program name with args.
4970 set dummy as; ac_word=$2
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972 $as_echo_n "checking for $ac_word... " >&6; }
4973 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4974 $as_echo_n "(cached) " >&6
4975 else
4976 if test -n "$ac_ct_AS"; then
4977 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4978 else
4979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4980 for as_dir in $PATH
4982 IFS=$as_save_IFS
4983 test -z "$as_dir" && as_dir=.
4984 for ac_exec_ext in '' $ac_executable_extensions; do
4985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4986 ac_cv_prog_ac_ct_AS="as"
4987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4988 break 2
4990 done
4991 done
4992 IFS=$as_save_IFS
4996 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4997 if test -n "$ac_ct_AS"; then
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4999 $as_echo "$ac_ct_AS" >&6; }
5000 else
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5005 if test "x$ac_ct_AS" = x; then
5006 AS=""
5007 else
5008 case $cross_compiling:$ac_tool_warned in
5009 yes:)
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5012 ac_tool_warned=yes ;;
5013 esac
5014 AS=$ac_ct_AS
5016 else
5017 AS="$ac_cv_prog_AS"
5020 if test -n "$ac_tool_prefix"; then
5021 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5022 set dummy ${ac_tool_prefix}ar; ac_word=$2
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5024 $as_echo_n "checking for $ac_word... " >&6; }
5025 if test "${ac_cv_prog_AR+set}" = set; then :
5026 $as_echo_n "(cached) " >&6
5027 else
5028 if test -n "$AR"; then
5029 ac_cv_prog_AR="$AR" # Let the user override the test.
5030 else
5031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5032 for as_dir in $PATH
5034 IFS=$as_save_IFS
5035 test -z "$as_dir" && as_dir=.
5036 for ac_exec_ext in '' $ac_executable_extensions; do
5037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5038 ac_cv_prog_AR="${ac_tool_prefix}ar"
5039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5040 break 2
5042 done
5043 done
5044 IFS=$as_save_IFS
5048 AR=$ac_cv_prog_AR
5049 if test -n "$AR"; then
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5051 $as_echo "$AR" >&6; }
5052 else
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5054 $as_echo "no" >&6; }
5059 if test -z "$ac_cv_prog_AR"; then
5060 ac_ct_AR=$AR
5061 # Extract the first word of "ar", so it can be a program name with args.
5062 set dummy ar; ac_word=$2
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5064 $as_echo_n "checking for $ac_word... " >&6; }
5065 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5066 $as_echo_n "(cached) " >&6
5067 else
5068 if test -n "$ac_ct_AR"; then
5069 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5070 else
5071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5072 for as_dir in $PATH
5074 IFS=$as_save_IFS
5075 test -z "$as_dir" && as_dir=.
5076 for ac_exec_ext in '' $ac_executable_extensions; do
5077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5078 ac_cv_prog_ac_ct_AR="ar"
5079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5080 break 2
5082 done
5083 done
5084 IFS=$as_save_IFS
5088 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5089 if test -n "$ac_ct_AR"; then
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5091 $as_echo "$ac_ct_AR" >&6; }
5092 else
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5094 $as_echo "no" >&6; }
5097 if test "x$ac_ct_AR" = x; then
5098 AR=""
5099 else
5100 case $cross_compiling:$ac_tool_warned in
5101 yes:)
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5104 ac_tool_warned=yes ;;
5105 esac
5106 AR=$ac_ct_AR
5108 else
5109 AR="$ac_cv_prog_AR"
5112 if test -n "$ac_tool_prefix"; then
5113 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5114 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5116 $as_echo_n "checking for $ac_word... " >&6; }
5117 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5118 $as_echo_n "(cached) " >&6
5119 else
5120 if test -n "$RANLIB"; then
5121 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5122 else
5123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5124 for as_dir in $PATH
5126 IFS=$as_save_IFS
5127 test -z "$as_dir" && as_dir=.
5128 for ac_exec_ext in '' $ac_executable_extensions; do
5129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5130 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5132 break 2
5134 done
5135 done
5136 IFS=$as_save_IFS
5140 RANLIB=$ac_cv_prog_RANLIB
5141 if test -n "$RANLIB"; then
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5143 $as_echo "$RANLIB" >&6; }
5144 else
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5146 $as_echo "no" >&6; }
5151 if test -z "$ac_cv_prog_RANLIB"; then
5152 ac_ct_RANLIB=$RANLIB
5153 # Extract the first word of "ranlib", so it can be a program name with args.
5154 set dummy ranlib; ac_word=$2
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5156 $as_echo_n "checking for $ac_word... " >&6; }
5157 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5158 $as_echo_n "(cached) " >&6
5159 else
5160 if test -n "$ac_ct_RANLIB"; then
5161 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5162 else
5163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5164 for as_dir in $PATH
5166 IFS=$as_save_IFS
5167 test -z "$as_dir" && as_dir=.
5168 for ac_exec_ext in '' $ac_executable_extensions; do
5169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5170 ac_cv_prog_ac_ct_RANLIB="ranlib"
5171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5172 break 2
5174 done
5175 done
5176 IFS=$as_save_IFS
5180 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5181 if test -n "$ac_ct_RANLIB"; then
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5183 $as_echo "$ac_ct_RANLIB" >&6; }
5184 else
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5186 $as_echo "no" >&6; }
5189 if test "x$ac_ct_RANLIB" = x; then
5190 RANLIB="ranlib-not-found-in-path-error"
5191 else
5192 case $cross_compiling:$ac_tool_warned in
5193 yes:)
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5196 ac_tool_warned=yes ;;
5197 esac
5198 RANLIB=$ac_ct_RANLIB
5200 else
5201 RANLIB="$ac_cv_prog_RANLIB"
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5207 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5208 # Check whether --enable-maintainer-mode was given.
5209 if test "${enable_maintainer_mode+set}" = set; then :
5210 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5211 else
5212 USE_MAINTAINER_MODE=no
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5216 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5217 if test $USE_MAINTAINER_MODE = yes; then
5218 MAINTAINER_MODE_TRUE=
5219 MAINTAINER_MODE_FALSE='#'
5220 else
5221 MAINTAINER_MODE_TRUE='#'
5222 MAINTAINER_MODE_FALSE=
5225 MAINT=$MAINTAINER_MODE_TRUE
5229 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5230 # which are themselves conditionally expanded.
5231 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5232 ## other macros from doing the same. This should be automated.) -pme
5234 # Check for C library flavor since GNU/Linux platforms use different
5235 # configuration directories depending on the C library in use.
5236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5237 /* end confdefs.h. */
5239 #include <stdio.h>
5240 #if __UCLIBC__
5241 _using_uclibc
5242 #endif
5244 _ACEOF
5245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5246 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5247 uclibc=yes
5248 else
5249 uclibc=no
5251 rm -f conftest*
5254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5255 /* end confdefs.h. */
5257 #include <stdio.h>
5258 #if __BIONIC__
5259 _using_bionic
5260 #endif
5262 _ACEOF
5263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5264 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5265 bionic=yes
5266 else
5267 bionic=no
5269 rm -f conftest*
5272 # Find platform-specific directories containing configuration info.
5273 # Also possibly modify flags used elsewhere, as needed by the platform.
5275 . $glibcxx_srcdir/configure.host
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5277 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5279 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5283 if test "x${with_newlib}" != "xyes"; then
5284 enable_dlopen=yes
5289 case `pwd` in
5290 *\ * | *\ *)
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5292 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5293 esac
5297 macro_version='2.2.7a'
5298 macro_revision='1.3134'
5312 ltmain="$ac_aux_dir/ltmain.sh"
5314 # Backslashify metacharacters that are still active within
5315 # double-quoted strings.
5316 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5318 # Same as above, but do not quote variable references.
5319 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5321 # Sed substitution to delay expansion of an escaped shell variable in a
5322 # double_quote_subst'ed string.
5323 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5325 # Sed substitution to delay expansion of an escaped single quote.
5326 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5328 # Sed substitution to avoid accidental globbing in evaled expressions
5329 no_glob_subst='s/\*/\\\*/g'
5331 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5332 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5333 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5336 $as_echo_n "checking how to print strings... " >&6; }
5337 # Test print first, because it will be a builtin if present.
5338 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5339 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5340 ECHO='print -r --'
5341 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5342 ECHO='printf %s\n'
5343 else
5344 # Use this function as a fallback that always works.
5345 func_fallback_echo ()
5347 eval 'cat <<_LTECHO_EOF
5349 _LTECHO_EOF'
5351 ECHO='func_fallback_echo'
5354 # func_echo_all arg...
5355 # Invoke $ECHO with all args, space-separated.
5356 func_echo_all ()
5358 $ECHO ""
5361 case "$ECHO" in
5362 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5363 $as_echo "printf" >&6; } ;;
5364 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5365 $as_echo "print -r" >&6; } ;;
5366 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5367 $as_echo "cat" >&6; } ;;
5368 esac
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5384 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5385 if test "${ac_cv_path_SED+set}" = set; then :
5386 $as_echo_n "(cached) " >&6
5387 else
5388 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5389 for ac_i in 1 2 3 4 5 6 7; do
5390 ac_script="$ac_script$as_nl$ac_script"
5391 done
5392 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5393 { ac_script=; unset ac_script;}
5394 if test -z "$SED"; then
5395 ac_path_SED_found=false
5396 # Loop through the user's path and test for each of PROGNAME-LIST
5397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5398 for as_dir in $PATH
5400 IFS=$as_save_IFS
5401 test -z "$as_dir" && as_dir=.
5402 for ac_prog in sed gsed; do
5403 for ac_exec_ext in '' $ac_executable_extensions; do
5404 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5405 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5406 # Check for GNU ac_path_SED and select it if it is found.
5407 # Check for GNU $ac_path_SED
5408 case `"$ac_path_SED" --version 2>&1` in
5409 *GNU*)
5410 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5412 ac_count=0
5413 $as_echo_n 0123456789 >"conftest.in"
5414 while :
5416 cat "conftest.in" "conftest.in" >"conftest.tmp"
5417 mv "conftest.tmp" "conftest.in"
5418 cp "conftest.in" "conftest.nl"
5419 $as_echo '' >> "conftest.nl"
5420 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5421 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5422 as_fn_arith $ac_count + 1 && ac_count=$as_val
5423 if test $ac_count -gt ${ac_path_SED_max-0}; then
5424 # Best one so far, save it but keep looking for a better one
5425 ac_cv_path_SED="$ac_path_SED"
5426 ac_path_SED_max=$ac_count
5428 # 10*(2^10) chars as input seems more than enough
5429 test $ac_count -gt 10 && break
5430 done
5431 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5432 esac
5434 $ac_path_SED_found && break 3
5435 done
5436 done
5437 done
5438 IFS=$as_save_IFS
5439 if test -z "$ac_cv_path_SED"; then
5440 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5442 else
5443 ac_cv_path_SED=$SED
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5448 $as_echo "$ac_cv_path_SED" >&6; }
5449 SED="$ac_cv_path_SED"
5450 rm -f conftest.sed
5452 test -z "$SED" && SED=sed
5453 Xsed="$SED -e 1s/^X//"
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5466 $as_echo_n "checking for fgrep... " >&6; }
5467 if test "${ac_cv_path_FGREP+set}" = set; then :
5468 $as_echo_n "(cached) " >&6
5469 else
5470 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5471 then ac_cv_path_FGREP="$GREP -F"
5472 else
5473 if test -z "$FGREP"; then
5474 ac_path_FGREP_found=false
5475 # Loop through the user's path and test for each of PROGNAME-LIST
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5479 IFS=$as_save_IFS
5480 test -z "$as_dir" && as_dir=.
5481 for ac_prog in fgrep; do
5482 for ac_exec_ext in '' $ac_executable_extensions; do
5483 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5484 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5485 # Check for GNU ac_path_FGREP and select it if it is found.
5486 # Check for GNU $ac_path_FGREP
5487 case `"$ac_path_FGREP" --version 2>&1` in
5488 *GNU*)
5489 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5491 ac_count=0
5492 $as_echo_n 0123456789 >"conftest.in"
5493 while :
5495 cat "conftest.in" "conftest.in" >"conftest.tmp"
5496 mv "conftest.tmp" "conftest.in"
5497 cp "conftest.in" "conftest.nl"
5498 $as_echo 'FGREP' >> "conftest.nl"
5499 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5500 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5501 as_fn_arith $ac_count + 1 && ac_count=$as_val
5502 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5503 # Best one so far, save it but keep looking for a better one
5504 ac_cv_path_FGREP="$ac_path_FGREP"
5505 ac_path_FGREP_max=$ac_count
5507 # 10*(2^10) chars as input seems more than enough
5508 test $ac_count -gt 10 && break
5509 done
5510 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5511 esac
5513 $ac_path_FGREP_found && break 3
5514 done
5515 done
5516 done
5517 IFS=$as_save_IFS
5518 if test -z "$ac_cv_path_FGREP"; then
5519 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5521 else
5522 ac_cv_path_FGREP=$FGREP
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5528 $as_echo "$ac_cv_path_FGREP" >&6; }
5529 FGREP="$ac_cv_path_FGREP"
5532 test -z "$GREP" && GREP=grep
5552 # Check whether --with-gnu-ld was given.
5553 if test "${with_gnu_ld+set}" = set; then :
5554 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5555 else
5556 with_gnu_ld=no
5559 ac_prog=ld
5560 if test "$GCC" = yes; then
5561 # Check if gcc -print-prog-name=ld gives a path.
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5563 $as_echo_n "checking for ld used by $CC... " >&6; }
5564 case $host in
5565 *-*-mingw*)
5566 # gcc leaves a trailing carriage return which upsets mingw
5567 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5569 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5570 esac
5571 case $ac_prog in
5572 # Accept absolute paths.
5573 [\\/]* | ?:[\\/]*)
5574 re_direlt='/[^/][^/]*/\.\./'
5575 # Canonicalize the pathname of ld
5576 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5577 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5578 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5579 done
5580 test -z "$LD" && LD="$ac_prog"
5583 # If it fails, then pretend we aren't using GCC.
5584 ac_prog=ld
5587 # If it is relative, then search for the first ld in PATH.
5588 with_gnu_ld=unknown
5590 esac
5591 elif test "$with_gnu_ld" = yes; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5593 $as_echo_n "checking for GNU ld... " >&6; }
5594 else
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5596 $as_echo_n "checking for non-GNU ld... " >&6; }
5598 if test "${lt_cv_path_LD+set}" = set; then :
5599 $as_echo_n "(cached) " >&6
5600 else
5601 if test -z "$LD"; then
5602 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5603 for ac_dir in $PATH; do
5604 IFS="$lt_save_ifs"
5605 test -z "$ac_dir" && ac_dir=.
5606 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5607 lt_cv_path_LD="$ac_dir/$ac_prog"
5608 # Check to see if the program is GNU ld. I'd rather use --version,
5609 # but apparently some variants of GNU ld only accept -v.
5610 # Break only if it was the GNU/non-GNU ld that we prefer.
5611 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5612 *GNU* | *'with BFD'*)
5613 test "$with_gnu_ld" != no && break
5616 test "$with_gnu_ld" != yes && break
5618 esac
5620 done
5621 IFS="$lt_save_ifs"
5622 else
5623 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5627 LD="$lt_cv_path_LD"
5628 if test -n "$LD"; then
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5630 $as_echo "$LD" >&6; }
5631 else
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5633 $as_echo "no" >&6; }
5635 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5637 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5638 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5639 $as_echo_n "(cached) " >&6
5640 else
5641 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5642 case `$LD -v 2>&1 </dev/null` in
5643 *GNU* | *'with BFD'*)
5644 lt_cv_prog_gnu_ld=yes
5647 lt_cv_prog_gnu_ld=no
5649 esac
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5652 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5653 with_gnu_ld=$lt_cv_prog_gnu_ld
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5664 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5665 if test "${lt_cv_path_NM+set}" = set; then :
5666 $as_echo_n "(cached) " >&6
5667 else
5668 if test -n "$NM"; then
5669 # Let the user override the test.
5670 lt_cv_path_NM="$NM"
5671 else
5672 lt_nm_to_check="${ac_tool_prefix}nm"
5673 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5674 lt_nm_to_check="$lt_nm_to_check nm"
5676 for lt_tmp_nm in $lt_nm_to_check; do
5677 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5678 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5679 IFS="$lt_save_ifs"
5680 test -z "$ac_dir" && ac_dir=.
5681 tmp_nm="$ac_dir/$lt_tmp_nm"
5682 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5683 # Check to see if the nm accepts a BSD-compat flag.
5684 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5685 # nm: unknown option "B" ignored
5686 # Tru64's nm complains that /dev/null is an invalid object file
5687 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5688 */dev/null* | *'Invalid file or object type'*)
5689 lt_cv_path_NM="$tmp_nm -B"
5690 break
5693 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5694 */dev/null*)
5695 lt_cv_path_NM="$tmp_nm -p"
5696 break
5699 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5700 continue # so that we can try to find one that supports BSD flags
5702 esac
5704 esac
5706 done
5707 IFS="$lt_save_ifs"
5708 done
5709 : ${lt_cv_path_NM=no}
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5713 $as_echo "$lt_cv_path_NM" >&6; }
5714 if test "$lt_cv_path_NM" != "no"; then
5715 NM="$lt_cv_path_NM"
5716 else
5717 # Didn't find any BSD compatible name lister, look for dumpbin.
5718 if test -n "$DUMPBIN"; then :
5719 # Let the user override the test.
5720 else
5721 if test -n "$ac_tool_prefix"; then
5722 for ac_prog in dumpbin "link -dump"
5724 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5725 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5727 $as_echo_n "checking for $ac_word... " >&6; }
5728 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5729 $as_echo_n "(cached) " >&6
5730 else
5731 if test -n "$DUMPBIN"; then
5732 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5733 else
5734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5735 for as_dir in $PATH
5737 IFS=$as_save_IFS
5738 test -z "$as_dir" && as_dir=.
5739 for ac_exec_ext in '' $ac_executable_extensions; do
5740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5741 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5743 break 2
5745 done
5746 done
5747 IFS=$as_save_IFS
5751 DUMPBIN=$ac_cv_prog_DUMPBIN
5752 if test -n "$DUMPBIN"; then
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5754 $as_echo "$DUMPBIN" >&6; }
5755 else
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5757 $as_echo "no" >&6; }
5761 test -n "$DUMPBIN" && break
5762 done
5764 if test -z "$DUMPBIN"; then
5765 ac_ct_DUMPBIN=$DUMPBIN
5766 for ac_prog in dumpbin "link -dump"
5768 # Extract the first word of "$ac_prog", so it can be a program name with args.
5769 set dummy $ac_prog; ac_word=$2
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5771 $as_echo_n "checking for $ac_word... " >&6; }
5772 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5773 $as_echo_n "(cached) " >&6
5774 else
5775 if test -n "$ac_ct_DUMPBIN"; then
5776 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5777 else
5778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5779 for as_dir in $PATH
5781 IFS=$as_save_IFS
5782 test -z "$as_dir" && as_dir=.
5783 for ac_exec_ext in '' $ac_executable_extensions; do
5784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5785 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5787 break 2
5789 done
5790 done
5791 IFS=$as_save_IFS
5795 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5796 if test -n "$ac_ct_DUMPBIN"; then
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5798 $as_echo "$ac_ct_DUMPBIN" >&6; }
5799 else
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5801 $as_echo "no" >&6; }
5805 test -n "$ac_ct_DUMPBIN" && break
5806 done
5808 if test "x$ac_ct_DUMPBIN" = x; then
5809 DUMPBIN=":"
5810 else
5811 case $cross_compiling:$ac_tool_warned in
5812 yes:)
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5815 ac_tool_warned=yes ;;
5816 esac
5817 DUMPBIN=$ac_ct_DUMPBIN
5821 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5822 *COFF*)
5823 DUMPBIN="$DUMPBIN -symbols"
5826 DUMPBIN=:
5828 esac
5831 if test "$DUMPBIN" != ":"; then
5832 NM="$DUMPBIN"
5835 test -z "$NM" && NM=nm
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5843 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5844 if test "${lt_cv_nm_interface+set}" = set; then :
5845 $as_echo_n "(cached) " >&6
5846 else
5847 lt_cv_nm_interface="BSD nm"
5848 echo "int some_variable = 0;" > conftest.$ac_ext
5849 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5850 (eval "$ac_compile" 2>conftest.err)
5851 cat conftest.err >&5
5852 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5853 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5854 cat conftest.err >&5
5855 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5856 cat conftest.out >&5
5857 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5858 lt_cv_nm_interface="MS dumpbin"
5860 rm -f conftest*
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5863 $as_echo "$lt_cv_nm_interface" >&6; }
5865 # find the maximum length of command line arguments
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5867 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5868 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5869 $as_echo_n "(cached) " >&6
5870 else
5872 teststring="ABCD"
5874 case $build_os in
5875 msdosdjgpp*)
5876 # On DJGPP, this test can blow up pretty badly due to problems in libc
5877 # (any single argument exceeding 2000 bytes causes a buffer overrun
5878 # during glob expansion). Even if it were fixed, the result of this
5879 # check would be larger than it should be.
5880 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5883 gnu*)
5884 # Under GNU Hurd, this test is not required because there is
5885 # no limit to the length of command line arguments.
5886 # Libtool will interpret -1 as no limit whatsoever
5887 lt_cv_sys_max_cmd_len=-1;
5890 cygwin* | mingw* | cegcc*)
5891 # On Win9x/ME, this test blows up -- it succeeds, but takes
5892 # about 5 minutes as the teststring grows exponentially.
5893 # Worse, since 9x/ME are not pre-emptively multitasking,
5894 # you end up with a "frozen" computer, even though with patience
5895 # the test eventually succeeds (with a max line length of 256k).
5896 # Instead, let's just punt: use the minimum linelength reported by
5897 # all of the supported platforms: 8192 (on NT/2K/XP).
5898 lt_cv_sys_max_cmd_len=8192;
5901 mint*)
5902 # On MiNT this can take a long time and run out of memory.
5903 lt_cv_sys_max_cmd_len=8192;
5906 amigaos*)
5907 # On AmigaOS with pdksh, this test takes hours, literally.
5908 # So we just punt and use a minimum line length of 8192.
5909 lt_cv_sys_max_cmd_len=8192;
5912 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5913 # This has been around since 386BSD, at least. Likely further.
5914 if test -x /sbin/sysctl; then
5915 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5916 elif test -x /usr/sbin/sysctl; then
5917 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5918 else
5919 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5921 # And add a safety zone
5922 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5923 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5926 interix*)
5927 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5928 lt_cv_sys_max_cmd_len=196608
5931 osf*)
5932 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5933 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5934 # nice to cause kernel panics so lets avoid the loop below.
5935 # First set a reasonable default.
5936 lt_cv_sys_max_cmd_len=16384
5938 if test -x /sbin/sysconfig; then
5939 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5940 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5941 esac
5944 sco3.2v5*)
5945 lt_cv_sys_max_cmd_len=102400
5947 sysv5* | sco5v6* | sysv4.2uw2*)
5948 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5949 if test -n "$kargmax"; then
5950 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5951 else
5952 lt_cv_sys_max_cmd_len=32768
5956 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5957 if test -n "$lt_cv_sys_max_cmd_len"; then
5958 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5959 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5960 else
5961 # Make teststring a little bigger before we do anything with it.
5962 # a 1K string should be a reasonable start.
5963 for i in 1 2 3 4 5 6 7 8 ; do
5964 teststring=$teststring$teststring
5965 done
5966 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5967 # If test is not a shell built-in, we'll probably end up computing a
5968 # maximum length that is only half of the actual maximum length, but
5969 # we can't tell.
5970 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5971 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5972 test $i != 17 # 1/2 MB should be enough
5974 i=`expr $i + 1`
5975 teststring=$teststring$teststring
5976 done
5977 # Only check the string length outside the loop.
5978 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5979 teststring=
5980 # Add a significant safety factor because C++ compilers can tack on
5981 # massive amounts of additional arguments before passing them to the
5982 # linker. It appears as though 1/2 is a usable value.
5983 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5986 esac
5990 if test -n $lt_cv_sys_max_cmd_len ; then
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5992 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5993 else
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5995 $as_echo "none" >&6; }
5997 max_cmd_len=$lt_cv_sys_max_cmd_len
6004 : ${CP="cp -f"}
6005 : ${MV="mv -f"}
6006 : ${RM="rm -f"}
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6009 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6010 # Try some XSI features
6011 xsi_shell=no
6012 ( _lt_dummy="a/b/c"
6013 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6014 = c,a/b,, \
6015 && eval 'test $(( 1 + 1 )) -eq 2 \
6016 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6017 && xsi_shell=yes
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6019 $as_echo "$xsi_shell" >&6; }
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6023 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6024 lt_shell_append=no
6025 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6026 >/dev/null 2>&1 \
6027 && lt_shell_append=yes
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6029 $as_echo "$lt_shell_append" >&6; }
6032 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6033 lt_unset=unset
6034 else
6035 lt_unset=false
6042 # test EBCDIC or ASCII
6043 case `echo X|tr X '\101'` in
6044 A) # ASCII based system
6045 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6046 lt_SP2NL='tr \040 \012'
6047 lt_NL2SP='tr \015\012 \040\040'
6049 *) # EBCDIC based system
6050 lt_SP2NL='tr \100 \n'
6051 lt_NL2SP='tr \r\n \100\100'
6053 esac
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6064 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6065 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6066 $as_echo_n "(cached) " >&6
6067 else
6068 lt_cv_ld_reload_flag='-r'
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6071 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6072 reload_flag=$lt_cv_ld_reload_flag
6073 case $reload_flag in
6074 "" | " "*) ;;
6075 *) reload_flag=" $reload_flag" ;;
6076 esac
6077 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6078 case $host_os in
6079 darwin*)
6080 if test "$GCC" = yes; then
6081 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6082 else
6083 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6086 esac
6096 if test -n "$ac_tool_prefix"; then
6097 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6098 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6100 $as_echo_n "checking for $ac_word... " >&6; }
6101 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6102 $as_echo_n "(cached) " >&6
6103 else
6104 if test -n "$OBJDUMP"; then
6105 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6106 else
6107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6108 for as_dir in $PATH
6110 IFS=$as_save_IFS
6111 test -z "$as_dir" && as_dir=.
6112 for ac_exec_ext in '' $ac_executable_extensions; do
6113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6114 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6116 break 2
6118 done
6119 done
6120 IFS=$as_save_IFS
6124 OBJDUMP=$ac_cv_prog_OBJDUMP
6125 if test -n "$OBJDUMP"; then
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6127 $as_echo "$OBJDUMP" >&6; }
6128 else
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6130 $as_echo "no" >&6; }
6135 if test -z "$ac_cv_prog_OBJDUMP"; then
6136 ac_ct_OBJDUMP=$OBJDUMP
6137 # Extract the first word of "objdump", so it can be a program name with args.
6138 set dummy objdump; ac_word=$2
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6140 $as_echo_n "checking for $ac_word... " >&6; }
6141 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6142 $as_echo_n "(cached) " >&6
6143 else
6144 if test -n "$ac_ct_OBJDUMP"; then
6145 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6146 else
6147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6148 for as_dir in $PATH
6150 IFS=$as_save_IFS
6151 test -z "$as_dir" && as_dir=.
6152 for ac_exec_ext in '' $ac_executable_extensions; do
6153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6154 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6156 break 2
6158 done
6159 done
6160 IFS=$as_save_IFS
6164 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6165 if test -n "$ac_ct_OBJDUMP"; then
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6167 $as_echo "$ac_ct_OBJDUMP" >&6; }
6168 else
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6170 $as_echo "no" >&6; }
6173 if test "x$ac_ct_OBJDUMP" = x; then
6174 OBJDUMP="false"
6175 else
6176 case $cross_compiling:$ac_tool_warned in
6177 yes:)
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6179 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6180 ac_tool_warned=yes ;;
6181 esac
6182 OBJDUMP=$ac_ct_OBJDUMP
6184 else
6185 OBJDUMP="$ac_cv_prog_OBJDUMP"
6188 test -z "$OBJDUMP" && OBJDUMP=objdump
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6199 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6200 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6201 $as_echo_n "(cached) " >&6
6202 else
6203 lt_cv_file_magic_cmd='$MAGIC_CMD'
6204 lt_cv_file_magic_test_file=
6205 lt_cv_deplibs_check_method='unknown'
6206 # Need to set the preceding variable on all platforms that support
6207 # interlibrary dependencies.
6208 # 'none' -- dependencies not supported.
6209 # `unknown' -- same as none, but documents that we really don't know.
6210 # 'pass_all' -- all dependencies passed with no checks.
6211 # 'test_compile' -- check by making test program.
6212 # 'file_magic [[regex]]' -- check by looking for files in library path
6213 # which responds to the $file_magic_cmd with a given extended regex.
6214 # If you have `file' or equivalent on your system and you're not sure
6215 # whether `pass_all' will *always* work, you probably want this one.
6217 case $host_os in
6218 aix[4-9]*)
6219 lt_cv_deplibs_check_method=pass_all
6222 beos*)
6223 lt_cv_deplibs_check_method=pass_all
6226 bsdi[45]*)
6227 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6228 lt_cv_file_magic_cmd='/usr/bin/file -L'
6229 lt_cv_file_magic_test_file=/shlib/libc.so
6232 cygwin*)
6233 # func_win32_libid is a shell function defined in ltmain.sh
6234 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6235 lt_cv_file_magic_cmd='func_win32_libid'
6238 mingw* | pw32*)
6239 # Base MSYS/MinGW do not provide the 'file' command needed by
6240 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6241 # unless we find 'file', for example because we are cross-compiling.
6242 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6243 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6244 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6245 lt_cv_file_magic_cmd='func_win32_libid'
6246 else
6247 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6248 lt_cv_file_magic_cmd='$OBJDUMP -f'
6252 cegcc*)
6253 # use the weaker test based on 'objdump'. See mingw*.
6254 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6255 lt_cv_file_magic_cmd='$OBJDUMP -f'
6258 darwin* | rhapsody*)
6259 lt_cv_deplibs_check_method=pass_all
6262 freebsd* | dragonfly*)
6263 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6264 case $host_cpu in
6265 i*86 )
6266 # Not sure whether the presence of OpenBSD here was a mistake.
6267 # Let's accept both of them until this is cleared up.
6268 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6269 lt_cv_file_magic_cmd=/usr/bin/file
6270 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6272 esac
6273 else
6274 lt_cv_deplibs_check_method=pass_all
6278 gnu*)
6279 lt_cv_deplibs_check_method=pass_all
6282 haiku*)
6283 lt_cv_deplibs_check_method=pass_all
6286 hpux10.20* | hpux11*)
6287 lt_cv_file_magic_cmd=/usr/bin/file
6288 case $host_cpu in
6289 ia64*)
6290 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6291 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6293 hppa*64*)
6294 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]'
6295 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6298 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6299 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6301 esac
6304 interix[3-9]*)
6305 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6306 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6309 irix5* | irix6* | nonstopux*)
6310 case $LD in
6311 *-32|*"-32 ") libmagic=32-bit;;
6312 *-n32|*"-n32 ") libmagic=N32;;
6313 *-64|*"-64 ") libmagic=64-bit;;
6314 *) libmagic=never-match;;
6315 esac
6316 lt_cv_deplibs_check_method=pass_all
6319 # This must be Linux ELF.
6320 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6321 lt_cv_deplibs_check_method=pass_all
6324 netbsd*)
6325 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6326 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6327 else
6328 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6332 newos6*)
6333 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6334 lt_cv_file_magic_cmd=/usr/bin/file
6335 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6338 *nto* | *qnx*)
6339 lt_cv_deplibs_check_method=pass_all
6342 openbsd*)
6343 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6344 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6345 else
6346 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6350 osf3* | osf4* | osf5*)
6351 lt_cv_deplibs_check_method=pass_all
6354 rdos*)
6355 lt_cv_deplibs_check_method=pass_all
6358 solaris*)
6359 lt_cv_deplibs_check_method=pass_all
6362 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6363 lt_cv_deplibs_check_method=pass_all
6366 sysv4 | sysv4.3*)
6367 case $host_vendor in
6368 motorola)
6369 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]'
6370 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6372 ncr)
6373 lt_cv_deplibs_check_method=pass_all
6375 sequent)
6376 lt_cv_file_magic_cmd='/bin/file'
6377 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6379 sni)
6380 lt_cv_file_magic_cmd='/bin/file'
6381 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6382 lt_cv_file_magic_test_file=/lib/libc.so
6384 siemens)
6385 lt_cv_deplibs_check_method=pass_all
6388 lt_cv_deplibs_check_method=pass_all
6390 esac
6393 tpf*)
6394 lt_cv_deplibs_check_method=pass_all
6396 esac
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6400 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6401 file_magic_cmd=$lt_cv_file_magic_cmd
6402 deplibs_check_method=$lt_cv_deplibs_check_method
6403 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6416 if test -n "$ac_tool_prefix"; then
6417 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6418 set dummy ${ac_tool_prefix}ar; ac_word=$2
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6420 $as_echo_n "checking for $ac_word... " >&6; }
6421 if test "${ac_cv_prog_AR+set}" = set; then :
6422 $as_echo_n "(cached) " >&6
6423 else
6424 if test -n "$AR"; then
6425 ac_cv_prog_AR="$AR" # Let the user override the test.
6426 else
6427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6428 for as_dir in $PATH
6430 IFS=$as_save_IFS
6431 test -z "$as_dir" && as_dir=.
6432 for ac_exec_ext in '' $ac_executable_extensions; do
6433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6434 ac_cv_prog_AR="${ac_tool_prefix}ar"
6435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6436 break 2
6438 done
6439 done
6440 IFS=$as_save_IFS
6444 AR=$ac_cv_prog_AR
6445 if test -n "$AR"; then
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6447 $as_echo "$AR" >&6; }
6448 else
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6450 $as_echo "no" >&6; }
6455 if test -z "$ac_cv_prog_AR"; then
6456 ac_ct_AR=$AR
6457 # Extract the first word of "ar", so it can be a program name with args.
6458 set dummy ar; ac_word=$2
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6460 $as_echo_n "checking for $ac_word... " >&6; }
6461 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6462 $as_echo_n "(cached) " >&6
6463 else
6464 if test -n "$ac_ct_AR"; then
6465 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6466 else
6467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6468 for as_dir in $PATH
6470 IFS=$as_save_IFS
6471 test -z "$as_dir" && as_dir=.
6472 for ac_exec_ext in '' $ac_executable_extensions; do
6473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6474 ac_cv_prog_ac_ct_AR="ar"
6475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6476 break 2
6478 done
6479 done
6480 IFS=$as_save_IFS
6484 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6485 if test -n "$ac_ct_AR"; then
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6487 $as_echo "$ac_ct_AR" >&6; }
6488 else
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6490 $as_echo "no" >&6; }
6493 if test "x$ac_ct_AR" = x; then
6494 AR="false"
6495 else
6496 case $cross_compiling:$ac_tool_warned in
6497 yes:)
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6500 ac_tool_warned=yes ;;
6501 esac
6502 AR=$ac_ct_AR
6504 else
6505 AR="$ac_cv_prog_AR"
6508 test -z "$AR" && AR=ar
6509 test -z "$AR_FLAGS" && AR_FLAGS=cru
6521 if test -n "$ac_tool_prefix"; then
6522 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6523 set dummy ${ac_tool_prefix}strip; ac_word=$2
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6525 $as_echo_n "checking for $ac_word... " >&6; }
6526 if test "${ac_cv_prog_STRIP+set}" = set; then :
6527 $as_echo_n "(cached) " >&6
6528 else
6529 if test -n "$STRIP"; then
6530 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6531 else
6532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6533 for as_dir in $PATH
6535 IFS=$as_save_IFS
6536 test -z "$as_dir" && as_dir=.
6537 for ac_exec_ext in '' $ac_executable_extensions; do
6538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6539 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6541 break 2
6543 done
6544 done
6545 IFS=$as_save_IFS
6549 STRIP=$ac_cv_prog_STRIP
6550 if test -n "$STRIP"; then
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6552 $as_echo "$STRIP" >&6; }
6553 else
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6555 $as_echo "no" >&6; }
6560 if test -z "$ac_cv_prog_STRIP"; then
6561 ac_ct_STRIP=$STRIP
6562 # Extract the first word of "strip", so it can be a program name with args.
6563 set dummy strip; ac_word=$2
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6565 $as_echo_n "checking for $ac_word... " >&6; }
6566 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6567 $as_echo_n "(cached) " >&6
6568 else
6569 if test -n "$ac_ct_STRIP"; then
6570 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6571 else
6572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6573 for as_dir in $PATH
6575 IFS=$as_save_IFS
6576 test -z "$as_dir" && as_dir=.
6577 for ac_exec_ext in '' $ac_executable_extensions; do
6578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6579 ac_cv_prog_ac_ct_STRIP="strip"
6580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6581 break 2
6583 done
6584 done
6585 IFS=$as_save_IFS
6589 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6590 if test -n "$ac_ct_STRIP"; then
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6592 $as_echo "$ac_ct_STRIP" >&6; }
6593 else
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6595 $as_echo "no" >&6; }
6598 if test "x$ac_ct_STRIP" = x; then
6599 STRIP=":"
6600 else
6601 case $cross_compiling:$ac_tool_warned in
6602 yes:)
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6605 ac_tool_warned=yes ;;
6606 esac
6607 STRIP=$ac_ct_STRIP
6609 else
6610 STRIP="$ac_cv_prog_STRIP"
6613 test -z "$STRIP" && STRIP=:
6620 if test -n "$ac_tool_prefix"; then
6621 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6622 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6624 $as_echo_n "checking for $ac_word... " >&6; }
6625 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6626 $as_echo_n "(cached) " >&6
6627 else
6628 if test -n "$RANLIB"; then
6629 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6630 else
6631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6632 for as_dir in $PATH
6634 IFS=$as_save_IFS
6635 test -z "$as_dir" && as_dir=.
6636 for ac_exec_ext in '' $ac_executable_extensions; do
6637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6638 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6640 break 2
6642 done
6643 done
6644 IFS=$as_save_IFS
6648 RANLIB=$ac_cv_prog_RANLIB
6649 if test -n "$RANLIB"; then
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6651 $as_echo "$RANLIB" >&6; }
6652 else
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6654 $as_echo "no" >&6; }
6659 if test -z "$ac_cv_prog_RANLIB"; then
6660 ac_ct_RANLIB=$RANLIB
6661 # Extract the first word of "ranlib", so it can be a program name with args.
6662 set dummy ranlib; ac_word=$2
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6664 $as_echo_n "checking for $ac_word... " >&6; }
6665 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6666 $as_echo_n "(cached) " >&6
6667 else
6668 if test -n "$ac_ct_RANLIB"; then
6669 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6670 else
6671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6672 for as_dir in $PATH
6674 IFS=$as_save_IFS
6675 test -z "$as_dir" && as_dir=.
6676 for ac_exec_ext in '' $ac_executable_extensions; do
6677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6678 ac_cv_prog_ac_ct_RANLIB="ranlib"
6679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6680 break 2
6682 done
6683 done
6684 IFS=$as_save_IFS
6688 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6689 if test -n "$ac_ct_RANLIB"; then
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6691 $as_echo "$ac_ct_RANLIB" >&6; }
6692 else
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6694 $as_echo "no" >&6; }
6697 if test "x$ac_ct_RANLIB" = x; then
6698 RANLIB=":"
6699 else
6700 case $cross_compiling:$ac_tool_warned in
6701 yes:)
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6704 ac_tool_warned=yes ;;
6705 esac
6706 RANLIB=$ac_ct_RANLIB
6708 else
6709 RANLIB="$ac_cv_prog_RANLIB"
6712 test -z "$RANLIB" && RANLIB=:
6719 # Determine commands to create old-style static archives.
6720 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6721 old_postinstall_cmds='chmod 644 $oldlib'
6722 old_postuninstall_cmds=
6724 if test -n "$RANLIB"; then
6725 case $host_os in
6726 openbsd*)
6727 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6730 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6732 esac
6733 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6736 case $host_os in
6737 darwin*)
6738 lock_old_archive_extraction=yes ;;
6740 lock_old_archive_extraction=no ;;
6741 esac
6781 # If no C compiler was specified, use CC.
6782 LTCC=${LTCC-"$CC"}
6784 # If no C compiler flags were specified, use CFLAGS.
6785 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6787 # Allow CC to be a program name with arguments.
6788 compiler=$CC
6791 # Check for command to grab the raw symbol name followed by C symbol from nm.
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6793 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6794 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6795 $as_echo_n "(cached) " >&6
6796 else
6798 # These are sane defaults that work on at least a few old systems.
6799 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6801 # Character class describing NM global symbol codes.
6802 symcode='[BCDEGRST]'
6804 # Regexp to match symbols that can be accessed directly from C.
6805 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6807 # Define system-specific variables.
6808 case $host_os in
6809 aix*)
6810 symcode='[BCDT]'
6812 cygwin* | mingw* | pw32* | cegcc*)
6813 symcode='[ABCDGISTW]'
6815 hpux*)
6816 if test "$host_cpu" = ia64; then
6817 symcode='[ABCDEGRST]'
6820 irix* | nonstopux*)
6821 symcode='[BCDEGRST]'
6823 osf*)
6824 symcode='[BCDEGQRST]'
6826 solaris*)
6827 symcode='[BDRT]'
6829 sco3.2v5*)
6830 symcode='[DT]'
6832 sysv4.2uw2*)
6833 symcode='[DT]'
6835 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6836 symcode='[ABDT]'
6838 sysv4)
6839 symcode='[DFNSTU]'
6841 esac
6843 # If we're using GNU nm, then use its standard symbol codes.
6844 case `$NM -V 2>&1` in
6845 *GNU* | *'with BFD'*)
6846 symcode='[ABCDGIRSTW]' ;;
6847 esac
6849 # Transform an extracted symbol line into a proper C declaration.
6850 # Some systems (esp. on ia64) link data and code symbols differently,
6851 # so use this general approach.
6852 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6854 # Transform an extracted symbol line into symbol name and symbol address
6855 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6856 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'"
6858 # Handle CRLF in mingw tool chain
6859 opt_cr=
6860 case $build_os in
6861 mingw*)
6862 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6864 esac
6866 # Try without a prefix underscore, then with it.
6867 for ac_symprfx in "" "_"; do
6869 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6870 symxfrm="\\1 $ac_symprfx\\2 \\2"
6872 # Write the raw and C identifiers.
6873 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6874 # Fake it for dumpbin and say T for any non-static function
6875 # and D for any global variable.
6876 # Also find C++ and __fastcall symbols from MSVC++,
6877 # which start with @ or ?.
6878 lt_cv_sys_global_symbol_pipe="$AWK '"\
6879 " {last_section=section; section=\$ 3};"\
6880 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6881 " \$ 0!~/External *\|/{next};"\
6882 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6883 " {if(hide[section]) next};"\
6884 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6885 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6886 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6887 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6888 " ' prfx=^$ac_symprfx"
6889 else
6890 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6893 # Check to see that the pipe works correctly.
6894 pipe_works=no
6896 rm -f conftest*
6897 cat > conftest.$ac_ext <<_LT_EOF
6898 #ifdef __cplusplus
6899 extern "C" {
6900 #endif
6901 char nm_test_var;
6902 void nm_test_func(void);
6903 void nm_test_func(void){}
6904 #ifdef __cplusplus
6906 #endif
6907 int main(){nm_test_var='a';nm_test_func();return(0);}
6908 _LT_EOF
6910 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6911 (eval $ac_compile) 2>&5
6912 ac_status=$?
6913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6914 test $ac_status = 0; }; then
6915 # Now try to grab the symbols.
6916 nlist=conftest.nm
6917 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6918 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6919 ac_status=$?
6920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6921 test $ac_status = 0; } && test -s "$nlist"; then
6922 # Try sorting and uniquifying the output.
6923 if sort "$nlist" | uniq > "$nlist"T; then
6924 mv -f "$nlist"T "$nlist"
6925 else
6926 rm -f "$nlist"T
6929 # Make sure that we snagged all the symbols we need.
6930 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6931 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6932 cat <<_LT_EOF > conftest.$ac_ext
6933 #ifdef __cplusplus
6934 extern "C" {
6935 #endif
6937 _LT_EOF
6938 # Now generate the symbol file.
6939 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6941 cat <<_LT_EOF >> conftest.$ac_ext
6943 /* The mapping between symbol names and symbols. */
6944 const struct {
6945 const char *name;
6946 void *address;
6948 lt__PROGRAM__LTX_preloaded_symbols[] =
6950 { "@PROGRAM@", (void *) 0 },
6951 _LT_EOF
6952 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6953 cat <<\_LT_EOF >> conftest.$ac_ext
6954 {0, (void *) 0}
6957 /* This works around a problem in FreeBSD linker */
6958 #ifdef FREEBSD_WORKAROUND
6959 static const void *lt_preloaded_setup() {
6960 return lt__PROGRAM__LTX_preloaded_symbols;
6962 #endif
6964 #ifdef __cplusplus
6966 #endif
6967 _LT_EOF
6968 # Now try linking the two files.
6969 mv conftest.$ac_objext conftstm.$ac_objext
6970 lt_save_LIBS="$LIBS"
6971 lt_save_CFLAGS="$CFLAGS"
6972 LIBS="conftstm.$ac_objext"
6973 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6974 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6975 (eval $ac_link) 2>&5
6976 ac_status=$?
6977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6978 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6979 pipe_works=yes
6981 LIBS="$lt_save_LIBS"
6982 CFLAGS="$lt_save_CFLAGS"
6983 else
6984 echo "cannot find nm_test_func in $nlist" >&5
6986 else
6987 echo "cannot find nm_test_var in $nlist" >&5
6989 else
6990 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6992 else
6993 echo "$progname: failed program was:" >&5
6994 cat conftest.$ac_ext >&5
6996 rm -rf conftest* conftst*
6998 # Do not use the global_symbol_pipe unless it works.
6999 if test "$pipe_works" = yes; then
7000 break
7001 else
7002 lt_cv_sys_global_symbol_pipe=
7004 done
7008 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7009 lt_cv_sys_global_symbol_to_cdecl=
7011 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7013 $as_echo "failed" >&6; }
7014 else
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7016 $as_echo "ok" >&6; }
7040 # Check whether --enable-libtool-lock was given.
7041 if test "${enable_libtool_lock+set}" = set; then :
7042 enableval=$enable_libtool_lock;
7045 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7047 # Some flags need to be propagated to the compiler or linker for good
7048 # libtool support.
7049 case $host in
7050 ia64-*-hpux*)
7051 # Find out which ABI we are using.
7052 echo 'int i;' > conftest.$ac_ext
7053 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7054 (eval $ac_compile) 2>&5
7055 ac_status=$?
7056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7057 test $ac_status = 0; }; then
7058 case `/usr/bin/file conftest.$ac_objext` in
7059 *ELF-32*)
7060 HPUX_IA64_MODE="32"
7062 *ELF-64*)
7063 HPUX_IA64_MODE="64"
7065 esac
7067 rm -rf conftest*
7069 *-*-irix6*)
7070 # Find out which ABI we are using.
7071 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7072 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7073 (eval $ac_compile) 2>&5
7074 ac_status=$?
7075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7076 test $ac_status = 0; }; then
7077 if test "$lt_cv_prog_gnu_ld" = yes; then
7078 case `/usr/bin/file conftest.$ac_objext` in
7079 *32-bit*)
7080 LD="${LD-ld} -melf32bsmip"
7082 *N32*)
7083 LD="${LD-ld} -melf32bmipn32"
7085 *64-bit*)
7086 LD="${LD-ld} -melf64bmip"
7088 esac
7089 else
7090 case `/usr/bin/file conftest.$ac_objext` in
7091 *32-bit*)
7092 LD="${LD-ld} -32"
7094 *N32*)
7095 LD="${LD-ld} -n32"
7097 *64-bit*)
7098 LD="${LD-ld} -64"
7100 esac
7103 rm -rf conftest*
7106 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7107 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7108 # Find out which ABI we are using.
7109 echo 'int i;' > conftest.$ac_ext
7110 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7111 (eval $ac_compile) 2>&5
7112 ac_status=$?
7113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7114 test $ac_status = 0; }; then
7115 case `/usr/bin/file conftest.o` in
7116 *32-bit*)
7117 case $host in
7118 x86_64-*kfreebsd*-gnu)
7119 LD="${LD-ld} -m elf_i386_fbsd"
7121 x86_64-*linux*)
7122 LD="${LD-ld} -m elf_i386"
7124 ppc64-*linux*|powerpc64-*linux*)
7125 LD="${LD-ld} -m elf32ppclinux"
7127 s390x-*linux*)
7128 LD="${LD-ld} -m elf_s390"
7130 sparc64-*linux*)
7131 LD="${LD-ld} -m elf32_sparc"
7133 esac
7135 *64-bit*)
7136 case $host in
7137 x86_64-*kfreebsd*-gnu)
7138 LD="${LD-ld} -m elf_x86_64_fbsd"
7140 x86_64-*linux*)
7141 LD="${LD-ld} -m elf_x86_64"
7143 ppc*-*linux*|powerpc*-*linux*)
7144 LD="${LD-ld} -m elf64ppc"
7146 s390*-*linux*|s390*-*tpf*)
7147 LD="${LD-ld} -m elf64_s390"
7149 sparc*-*linux*)
7150 LD="${LD-ld} -m elf64_sparc"
7152 esac
7154 esac
7156 rm -rf conftest*
7159 *-*-sco3.2v5*)
7160 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7161 SAVE_CFLAGS="$CFLAGS"
7162 CFLAGS="$CFLAGS -belf"
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7164 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7165 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7166 $as_echo_n "(cached) " >&6
7167 else
7168 ac_ext=c
7169 ac_cpp='$CPP $CPPFLAGS'
7170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7174 if test x$gcc_no_link = xyes; then
7175 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7178 /* end confdefs.h. */
7181 main ()
7185 return 0;
7187 _ACEOF
7188 if ac_fn_c_try_link "$LINENO"; then :
7189 lt_cv_cc_needs_belf=yes
7190 else
7191 lt_cv_cc_needs_belf=no
7193 rm -f core conftest.err conftest.$ac_objext \
7194 conftest$ac_exeext conftest.$ac_ext
7195 ac_ext=c
7196 ac_cpp='$CPP $CPPFLAGS'
7197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7203 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7204 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7205 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7206 CFLAGS="$SAVE_CFLAGS"
7209 sparc*-*solaris*)
7210 # Find out which ABI we are using.
7211 echo 'int i;' > conftest.$ac_ext
7212 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7213 (eval $ac_compile) 2>&5
7214 ac_status=$?
7215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7216 test $ac_status = 0; }; then
7217 case `/usr/bin/file conftest.o` in
7218 *64-bit*)
7219 case $lt_cv_prog_gnu_ld in
7220 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7222 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7223 LD="${LD-ld} -64"
7226 esac
7228 esac
7230 rm -rf conftest*
7232 esac
7234 need_locks="$enable_libtool_lock"
7237 case $host_os in
7238 rhapsody* | darwin*)
7239 if test -n "$ac_tool_prefix"; then
7240 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7241 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7243 $as_echo_n "checking for $ac_word... " >&6; }
7244 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7245 $as_echo_n "(cached) " >&6
7246 else
7247 if test -n "$DSYMUTIL"; then
7248 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7249 else
7250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7251 for as_dir in $PATH
7253 IFS=$as_save_IFS
7254 test -z "$as_dir" && as_dir=.
7255 for ac_exec_ext in '' $ac_executable_extensions; do
7256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7257 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7259 break 2
7261 done
7262 done
7263 IFS=$as_save_IFS
7267 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7268 if test -n "$DSYMUTIL"; then
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7270 $as_echo "$DSYMUTIL" >&6; }
7271 else
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7273 $as_echo "no" >&6; }
7278 if test -z "$ac_cv_prog_DSYMUTIL"; then
7279 ac_ct_DSYMUTIL=$DSYMUTIL
7280 # Extract the first word of "dsymutil", so it can be a program name with args.
7281 set dummy dsymutil; ac_word=$2
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7283 $as_echo_n "checking for $ac_word... " >&6; }
7284 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7285 $as_echo_n "(cached) " >&6
7286 else
7287 if test -n "$ac_ct_DSYMUTIL"; then
7288 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7289 else
7290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7291 for as_dir in $PATH
7293 IFS=$as_save_IFS
7294 test -z "$as_dir" && as_dir=.
7295 for ac_exec_ext in '' $ac_executable_extensions; do
7296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7297 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7299 break 2
7301 done
7302 done
7303 IFS=$as_save_IFS
7307 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7308 if test -n "$ac_ct_DSYMUTIL"; then
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7310 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7311 else
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7313 $as_echo "no" >&6; }
7316 if test "x$ac_ct_DSYMUTIL" = x; then
7317 DSYMUTIL=":"
7318 else
7319 case $cross_compiling:$ac_tool_warned in
7320 yes:)
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7323 ac_tool_warned=yes ;;
7324 esac
7325 DSYMUTIL=$ac_ct_DSYMUTIL
7327 else
7328 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7331 if test -n "$ac_tool_prefix"; then
7332 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7333 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7335 $as_echo_n "checking for $ac_word... " >&6; }
7336 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7337 $as_echo_n "(cached) " >&6
7338 else
7339 if test -n "$NMEDIT"; then
7340 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7341 else
7342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7343 for as_dir in $PATH
7345 IFS=$as_save_IFS
7346 test -z "$as_dir" && as_dir=.
7347 for ac_exec_ext in '' $ac_executable_extensions; do
7348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7349 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7351 break 2
7353 done
7354 done
7355 IFS=$as_save_IFS
7359 NMEDIT=$ac_cv_prog_NMEDIT
7360 if test -n "$NMEDIT"; then
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7362 $as_echo "$NMEDIT" >&6; }
7363 else
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7365 $as_echo "no" >&6; }
7370 if test -z "$ac_cv_prog_NMEDIT"; then
7371 ac_ct_NMEDIT=$NMEDIT
7372 # Extract the first word of "nmedit", so it can be a program name with args.
7373 set dummy nmedit; ac_word=$2
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7375 $as_echo_n "checking for $ac_word... " >&6; }
7376 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7377 $as_echo_n "(cached) " >&6
7378 else
7379 if test -n "$ac_ct_NMEDIT"; then
7380 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7381 else
7382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7383 for as_dir in $PATH
7385 IFS=$as_save_IFS
7386 test -z "$as_dir" && as_dir=.
7387 for ac_exec_ext in '' $ac_executable_extensions; do
7388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7389 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7391 break 2
7393 done
7394 done
7395 IFS=$as_save_IFS
7399 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7400 if test -n "$ac_ct_NMEDIT"; then
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7402 $as_echo "$ac_ct_NMEDIT" >&6; }
7403 else
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7405 $as_echo "no" >&6; }
7408 if test "x$ac_ct_NMEDIT" = x; then
7409 NMEDIT=":"
7410 else
7411 case $cross_compiling:$ac_tool_warned in
7412 yes:)
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7415 ac_tool_warned=yes ;;
7416 esac
7417 NMEDIT=$ac_ct_NMEDIT
7419 else
7420 NMEDIT="$ac_cv_prog_NMEDIT"
7423 if test -n "$ac_tool_prefix"; then
7424 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7425 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7427 $as_echo_n "checking for $ac_word... " >&6; }
7428 if test "${ac_cv_prog_LIPO+set}" = set; then :
7429 $as_echo_n "(cached) " >&6
7430 else
7431 if test -n "$LIPO"; then
7432 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7433 else
7434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7435 for as_dir in $PATH
7437 IFS=$as_save_IFS
7438 test -z "$as_dir" && as_dir=.
7439 for ac_exec_ext in '' $ac_executable_extensions; do
7440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7441 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7443 break 2
7445 done
7446 done
7447 IFS=$as_save_IFS
7451 LIPO=$ac_cv_prog_LIPO
7452 if test -n "$LIPO"; then
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7454 $as_echo "$LIPO" >&6; }
7455 else
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7457 $as_echo "no" >&6; }
7462 if test -z "$ac_cv_prog_LIPO"; then
7463 ac_ct_LIPO=$LIPO
7464 # Extract the first word of "lipo", so it can be a program name with args.
7465 set dummy lipo; ac_word=$2
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7467 $as_echo_n "checking for $ac_word... " >&6; }
7468 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7469 $as_echo_n "(cached) " >&6
7470 else
7471 if test -n "$ac_ct_LIPO"; then
7472 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7473 else
7474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7475 for as_dir in $PATH
7477 IFS=$as_save_IFS
7478 test -z "$as_dir" && as_dir=.
7479 for ac_exec_ext in '' $ac_executable_extensions; do
7480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7481 ac_cv_prog_ac_ct_LIPO="lipo"
7482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7483 break 2
7485 done
7486 done
7487 IFS=$as_save_IFS
7491 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7492 if test -n "$ac_ct_LIPO"; then
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7494 $as_echo "$ac_ct_LIPO" >&6; }
7495 else
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7497 $as_echo "no" >&6; }
7500 if test "x$ac_ct_LIPO" = x; then
7501 LIPO=":"
7502 else
7503 case $cross_compiling:$ac_tool_warned in
7504 yes:)
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7507 ac_tool_warned=yes ;;
7508 esac
7509 LIPO=$ac_ct_LIPO
7511 else
7512 LIPO="$ac_cv_prog_LIPO"
7515 if test -n "$ac_tool_prefix"; then
7516 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7517 set dummy ${ac_tool_prefix}otool; ac_word=$2
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7519 $as_echo_n "checking for $ac_word... " >&6; }
7520 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7521 $as_echo_n "(cached) " >&6
7522 else
7523 if test -n "$OTOOL"; then
7524 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7525 else
7526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7527 for as_dir in $PATH
7529 IFS=$as_save_IFS
7530 test -z "$as_dir" && as_dir=.
7531 for ac_exec_ext in '' $ac_executable_extensions; do
7532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7533 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7535 break 2
7537 done
7538 done
7539 IFS=$as_save_IFS
7543 OTOOL=$ac_cv_prog_OTOOL
7544 if test -n "$OTOOL"; then
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7546 $as_echo "$OTOOL" >&6; }
7547 else
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7549 $as_echo "no" >&6; }
7554 if test -z "$ac_cv_prog_OTOOL"; then
7555 ac_ct_OTOOL=$OTOOL
7556 # Extract the first word of "otool", so it can be a program name with args.
7557 set dummy otool; ac_word=$2
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7559 $as_echo_n "checking for $ac_word... " >&6; }
7560 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7561 $as_echo_n "(cached) " >&6
7562 else
7563 if test -n "$ac_ct_OTOOL"; then
7564 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7565 else
7566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7567 for as_dir in $PATH
7569 IFS=$as_save_IFS
7570 test -z "$as_dir" && as_dir=.
7571 for ac_exec_ext in '' $ac_executable_extensions; do
7572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7573 ac_cv_prog_ac_ct_OTOOL="otool"
7574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7575 break 2
7577 done
7578 done
7579 IFS=$as_save_IFS
7583 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7584 if test -n "$ac_ct_OTOOL"; then
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7586 $as_echo "$ac_ct_OTOOL" >&6; }
7587 else
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7589 $as_echo "no" >&6; }
7592 if test "x$ac_ct_OTOOL" = x; then
7593 OTOOL=":"
7594 else
7595 case $cross_compiling:$ac_tool_warned in
7596 yes:)
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7599 ac_tool_warned=yes ;;
7600 esac
7601 OTOOL=$ac_ct_OTOOL
7603 else
7604 OTOOL="$ac_cv_prog_OTOOL"
7607 if test -n "$ac_tool_prefix"; then
7608 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7609 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7611 $as_echo_n "checking for $ac_word... " >&6; }
7612 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7613 $as_echo_n "(cached) " >&6
7614 else
7615 if test -n "$OTOOL64"; then
7616 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7617 else
7618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7619 for as_dir in $PATH
7621 IFS=$as_save_IFS
7622 test -z "$as_dir" && as_dir=.
7623 for ac_exec_ext in '' $ac_executable_extensions; do
7624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7625 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7627 break 2
7629 done
7630 done
7631 IFS=$as_save_IFS
7635 OTOOL64=$ac_cv_prog_OTOOL64
7636 if test -n "$OTOOL64"; then
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7638 $as_echo "$OTOOL64" >&6; }
7639 else
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7641 $as_echo "no" >&6; }
7646 if test -z "$ac_cv_prog_OTOOL64"; then
7647 ac_ct_OTOOL64=$OTOOL64
7648 # Extract the first word of "otool64", so it can be a program name with args.
7649 set dummy otool64; ac_word=$2
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7651 $as_echo_n "checking for $ac_word... " >&6; }
7652 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7653 $as_echo_n "(cached) " >&6
7654 else
7655 if test -n "$ac_ct_OTOOL64"; then
7656 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7657 else
7658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7659 for as_dir in $PATH
7661 IFS=$as_save_IFS
7662 test -z "$as_dir" && as_dir=.
7663 for ac_exec_ext in '' $ac_executable_extensions; do
7664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7665 ac_cv_prog_ac_ct_OTOOL64="otool64"
7666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7667 break 2
7669 done
7670 done
7671 IFS=$as_save_IFS
7675 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7676 if test -n "$ac_ct_OTOOL64"; then
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7678 $as_echo "$ac_ct_OTOOL64" >&6; }
7679 else
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7681 $as_echo "no" >&6; }
7684 if test "x$ac_ct_OTOOL64" = x; then
7685 OTOOL64=":"
7686 else
7687 case $cross_compiling:$ac_tool_warned in
7688 yes:)
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7691 ac_tool_warned=yes ;;
7692 esac
7693 OTOOL64=$ac_ct_OTOOL64
7695 else
7696 OTOOL64="$ac_cv_prog_OTOOL64"
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7726 $as_echo_n "checking for -single_module linker flag... " >&6; }
7727 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7728 $as_echo_n "(cached) " >&6
7729 else
7730 lt_cv_apple_cc_single_mod=no
7731 if test -z "${LT_MULTI_MODULE}"; then
7732 # By default we will add the -single_module flag. You can override
7733 # by either setting the environment variable LT_MULTI_MODULE
7734 # non-empty at configure time, or by adding -multi_module to the
7735 # link flags.
7736 rm -rf libconftest.dylib*
7737 echo "int foo(void){return 1;}" > conftest.c
7738 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7739 -dynamiclib -Wl,-single_module conftest.c" >&5
7740 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7741 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7742 _lt_result=$?
7743 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7744 lt_cv_apple_cc_single_mod=yes
7745 else
7746 cat conftest.err >&5
7748 rm -rf libconftest.dylib*
7749 rm -f conftest.*
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7753 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7755 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7756 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7757 $as_echo_n "(cached) " >&6
7758 else
7759 lt_cv_ld_exported_symbols_list=no
7760 save_LDFLAGS=$LDFLAGS
7761 echo "_main" > conftest.sym
7762 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7763 if test x$gcc_no_link = xyes; then
7764 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7767 /* end confdefs.h. */
7770 main ()
7774 return 0;
7776 _ACEOF
7777 if ac_fn_c_try_link "$LINENO"; then :
7778 lt_cv_ld_exported_symbols_list=yes
7779 else
7780 lt_cv_ld_exported_symbols_list=no
7782 rm -f core conftest.err conftest.$ac_objext \
7783 conftest$ac_exeext conftest.$ac_ext
7784 LDFLAGS="$save_LDFLAGS"
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7788 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7790 $as_echo_n "checking for -force_load linker flag... " >&6; }
7791 if test "${lt_cv_ld_force_load+set}" = set; then :
7792 $as_echo_n "(cached) " >&6
7793 else
7794 lt_cv_ld_force_load=no
7795 cat > conftest.c << _LT_EOF
7796 int forced_loaded() { return 2;}
7797 _LT_EOF
7798 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7799 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7800 echo "$AR cru libconftest.a conftest.o" >&5
7801 $AR cru libconftest.a conftest.o 2>&5
7802 cat > conftest.c << _LT_EOF
7803 int main() { return 0;}
7804 _LT_EOF
7805 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7806 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7807 _lt_result=$?
7808 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7809 lt_cv_ld_force_load=yes
7810 else
7811 cat conftest.err >&5
7813 rm -f conftest.err libconftest.a conftest conftest.c
7814 rm -rf conftest.dSYM
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7818 $as_echo "$lt_cv_ld_force_load" >&6; }
7819 case $host_os in
7820 rhapsody* | darwin1.[012])
7821 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7822 darwin1.*)
7823 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7824 darwin*) # darwin 5.x on
7825 # if running on 10.5 or later, the deployment target defaults
7826 # to the OS version, if on x86, and 10.4, the deployment
7827 # target defaults to 10.4. Don't you love it?
7828 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7829 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7830 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7831 10.[012]*)
7832 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7833 10.*)
7834 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7835 esac
7837 esac
7838 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7839 _lt_dar_single_mod='$single_module'
7841 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7842 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7843 else
7844 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7846 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7847 _lt_dsymutil='~$DSYMUTIL $lib || :'
7848 else
7849 _lt_dsymutil=
7852 esac
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7855 $as_echo_n "checking for ANSI C header files... " >&6; }
7856 if test "${ac_cv_header_stdc+set}" = set; then :
7857 $as_echo_n "(cached) " >&6
7858 else
7859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7860 /* end confdefs.h. */
7861 #include <stdlib.h>
7862 #include <stdarg.h>
7863 #include <string.h>
7864 #include <float.h>
7867 main ()
7871 return 0;
7873 _ACEOF
7874 if ac_fn_c_try_compile "$LINENO"; then :
7875 ac_cv_header_stdc=yes
7876 else
7877 ac_cv_header_stdc=no
7879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7881 if test $ac_cv_header_stdc = yes; then
7882 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7884 /* end confdefs.h. */
7885 #include <string.h>
7887 _ACEOF
7888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7889 $EGREP "memchr" >/dev/null 2>&1; then :
7891 else
7892 ac_cv_header_stdc=no
7894 rm -f conftest*
7898 if test $ac_cv_header_stdc = yes; then
7899 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7901 /* end confdefs.h. */
7902 #include <stdlib.h>
7904 _ACEOF
7905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7906 $EGREP "free" >/dev/null 2>&1; then :
7908 else
7909 ac_cv_header_stdc=no
7911 rm -f conftest*
7915 if test $ac_cv_header_stdc = yes; then
7916 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7917 if test "$cross_compiling" = yes; then :
7919 else
7920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7921 /* end confdefs.h. */
7922 #include <ctype.h>
7923 #include <stdlib.h>
7924 #if ((' ' & 0x0FF) == 0x020)
7925 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7926 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7927 #else
7928 # define ISLOWER(c) \
7929 (('a' <= (c) && (c) <= 'i') \
7930 || ('j' <= (c) && (c) <= 'r') \
7931 || ('s' <= (c) && (c) <= 'z'))
7932 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7933 #endif
7935 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7937 main ()
7939 int i;
7940 for (i = 0; i < 256; i++)
7941 if (XOR (islower (i), ISLOWER (i))
7942 || toupper (i) != TOUPPER (i))
7943 return 2;
7944 return 0;
7946 _ACEOF
7947 if ac_fn_c_try_run "$LINENO"; then :
7949 else
7950 ac_cv_header_stdc=no
7952 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7953 conftest.$ac_objext conftest.beam conftest.$ac_ext
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7959 $as_echo "$ac_cv_header_stdc" >&6; }
7960 if test $ac_cv_header_stdc = yes; then
7962 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7966 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7967 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7968 inttypes.h stdint.h unistd.h
7969 do :
7970 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7971 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7973 eval as_val=\$$as_ac_Header
7974 if test "x$as_val" = x""yes; then :
7975 cat >>confdefs.h <<_ACEOF
7976 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7977 _ACEOF
7981 done
7984 for ac_header in dlfcn.h
7985 do :
7986 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7988 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7989 cat >>confdefs.h <<_ACEOF
7990 #define HAVE_DLFCN_H 1
7991 _ACEOF
7995 done
8002 # Set options
8007 enable_win32_dll=no
8010 # Check whether --enable-shared was given.
8011 if test "${enable_shared+set}" = set; then :
8012 enableval=$enable_shared; p=${PACKAGE-default}
8013 case $enableval in
8014 yes) enable_shared=yes ;;
8015 no) enable_shared=no ;;
8017 enable_shared=no
8018 # Look at the argument we got. We use all the common list separators.
8019 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8020 for pkg in $enableval; do
8021 IFS="$lt_save_ifs"
8022 if test "X$pkg" = "X$p"; then
8023 enable_shared=yes
8025 done
8026 IFS="$lt_save_ifs"
8028 esac
8029 else
8030 enable_shared=yes
8041 # Check whether --enable-static was given.
8042 if test "${enable_static+set}" = set; then :
8043 enableval=$enable_static; p=${PACKAGE-default}
8044 case $enableval in
8045 yes) enable_static=yes ;;
8046 no) enable_static=no ;;
8048 enable_static=no
8049 # Look at the argument we got. We use all the common list separators.
8050 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8051 for pkg in $enableval; do
8052 IFS="$lt_save_ifs"
8053 if test "X$pkg" = "X$p"; then
8054 enable_static=yes
8056 done
8057 IFS="$lt_save_ifs"
8059 esac
8060 else
8061 enable_static=yes
8073 # Check whether --with-pic was given.
8074 if test "${with_pic+set}" = set; then :
8075 withval=$with_pic; pic_mode="$withval"
8076 else
8077 pic_mode=default
8081 test -z "$pic_mode" && pic_mode=default
8089 # Check whether --enable-fast-install was given.
8090 if test "${enable_fast_install+set}" = set; then :
8091 enableval=$enable_fast_install; p=${PACKAGE-default}
8092 case $enableval in
8093 yes) enable_fast_install=yes ;;
8094 no) enable_fast_install=no ;;
8096 enable_fast_install=no
8097 # Look at the argument we got. We use all the common list separators.
8098 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8099 for pkg in $enableval; do
8100 IFS="$lt_save_ifs"
8101 if test "X$pkg" = "X$p"; then
8102 enable_fast_install=yes
8104 done
8105 IFS="$lt_save_ifs"
8107 esac
8108 else
8109 enable_fast_install=yes
8122 # This can be used to rebuild libtool when needed
8123 LIBTOOL_DEPS="$ltmain"
8125 # Always use our own libtool.
8126 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8153 test -z "$LN_S" && LN_S="ln -s"
8168 if test -n "${ZSH_VERSION+set}" ; then
8169 setopt NO_GLOB_SUBST
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8173 $as_echo_n "checking for objdir... " >&6; }
8174 if test "${lt_cv_objdir+set}" = set; then :
8175 $as_echo_n "(cached) " >&6
8176 else
8177 rm -f .libs 2>/dev/null
8178 mkdir .libs 2>/dev/null
8179 if test -d .libs; then
8180 lt_cv_objdir=.libs
8181 else
8182 # MS-DOS does not allow filenames that begin with a dot.
8183 lt_cv_objdir=_libs
8185 rmdir .libs 2>/dev/null
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8188 $as_echo "$lt_cv_objdir" >&6; }
8189 objdir=$lt_cv_objdir
8195 cat >>confdefs.h <<_ACEOF
8196 #define LT_OBJDIR "$lt_cv_objdir/"
8197 _ACEOF
8202 case $host_os in
8203 aix3*)
8204 # AIX sometimes has problems with the GCC collect2 program. For some
8205 # reason, if we set the COLLECT_NAMES environment variable, the problems
8206 # vanish in a puff of smoke.
8207 if test "X${COLLECT_NAMES+set}" != Xset; then
8208 COLLECT_NAMES=
8209 export COLLECT_NAMES
8212 esac
8214 # Global variables:
8215 ofile=libtool
8216 can_build_shared=yes
8218 # All known linkers require a `.a' archive for static linking (except MSVC,
8219 # which needs '.lib').
8220 libext=a
8222 with_gnu_ld="$lt_cv_prog_gnu_ld"
8224 old_CC="$CC"
8225 old_CFLAGS="$CFLAGS"
8227 # Set sane defaults for various variables
8228 test -z "$CC" && CC=cc
8229 test -z "$LTCC" && LTCC=$CC
8230 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8231 test -z "$LD" && LD=ld
8232 test -z "$ac_objext" && ac_objext=o
8234 for cc_temp in $compiler""; do
8235 case $cc_temp in
8236 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8237 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8238 \-*) ;;
8239 *) break;;
8240 esac
8241 done
8242 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8245 # Only perform the check for file, if the check method requires it
8246 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8247 case $deplibs_check_method in
8248 file_magic*)
8249 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8251 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8252 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8253 $as_echo_n "(cached) " >&6
8254 else
8255 case $MAGIC_CMD in
8256 [\\/*] | ?:[\\/]*)
8257 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8260 lt_save_MAGIC_CMD="$MAGIC_CMD"
8261 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8262 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8263 for ac_dir in $ac_dummy; do
8264 IFS="$lt_save_ifs"
8265 test -z "$ac_dir" && ac_dir=.
8266 if test -f $ac_dir/${ac_tool_prefix}file; then
8267 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8268 if test -n "$file_magic_test_file"; then
8269 case $deplibs_check_method in
8270 "file_magic "*)
8271 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8272 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8273 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8274 $EGREP "$file_magic_regex" > /dev/null; then
8276 else
8277 cat <<_LT_EOF 1>&2
8279 *** Warning: the command libtool uses to detect shared libraries,
8280 *** $file_magic_cmd, produces output that libtool cannot recognize.
8281 *** The result is that libtool may fail to recognize shared libraries
8282 *** as such. This will affect the creation of libtool libraries that
8283 *** depend on shared libraries, but programs linked with such libtool
8284 *** libraries will work regardless of this problem. Nevertheless, you
8285 *** may want to report the problem to your system manager and/or to
8286 *** bug-libtool@gnu.org
8288 _LT_EOF
8289 fi ;;
8290 esac
8292 break
8294 done
8295 IFS="$lt_save_ifs"
8296 MAGIC_CMD="$lt_save_MAGIC_CMD"
8298 esac
8301 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8302 if test -n "$MAGIC_CMD"; then
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8304 $as_echo "$MAGIC_CMD" >&6; }
8305 else
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8307 $as_echo "no" >&6; }
8314 if test -z "$lt_cv_path_MAGIC_CMD"; then
8315 if test -n "$ac_tool_prefix"; then
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8317 $as_echo_n "checking for file... " >&6; }
8318 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8319 $as_echo_n "(cached) " >&6
8320 else
8321 case $MAGIC_CMD in
8322 [\\/*] | ?:[\\/]*)
8323 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8326 lt_save_MAGIC_CMD="$MAGIC_CMD"
8327 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8328 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8329 for ac_dir in $ac_dummy; do
8330 IFS="$lt_save_ifs"
8331 test -z "$ac_dir" && ac_dir=.
8332 if test -f $ac_dir/file; then
8333 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8334 if test -n "$file_magic_test_file"; then
8335 case $deplibs_check_method in
8336 "file_magic "*)
8337 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8338 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8339 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8340 $EGREP "$file_magic_regex" > /dev/null; then
8342 else
8343 cat <<_LT_EOF 1>&2
8345 *** Warning: the command libtool uses to detect shared libraries,
8346 *** $file_magic_cmd, produces output that libtool cannot recognize.
8347 *** The result is that libtool may fail to recognize shared libraries
8348 *** as such. This will affect the creation of libtool libraries that
8349 *** depend on shared libraries, but programs linked with such libtool
8350 *** libraries will work regardless of this problem. Nevertheless, you
8351 *** may want to report the problem to your system manager and/or to
8352 *** bug-libtool@gnu.org
8354 _LT_EOF
8355 fi ;;
8356 esac
8358 break
8360 done
8361 IFS="$lt_save_ifs"
8362 MAGIC_CMD="$lt_save_MAGIC_CMD"
8364 esac
8367 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8368 if test -n "$MAGIC_CMD"; then
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8370 $as_echo "$MAGIC_CMD" >&6; }
8371 else
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8373 $as_echo "no" >&6; }
8377 else
8378 MAGIC_CMD=:
8384 esac
8386 # Use C for the default configuration in the libtool script
8388 lt_save_CC="$CC"
8389 ac_ext=c
8390 ac_cpp='$CPP $CPPFLAGS'
8391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8396 # Source file extension for C test sources.
8397 ac_ext=c
8399 # Object file extension for compiled C test sources.
8400 objext=o
8401 objext=$objext
8403 # Code to be used in simple compile tests
8404 lt_simple_compile_test_code="int some_variable = 0;"
8406 # Code to be used in simple link tests
8407 lt_simple_link_test_code='int main(){return(0);}'
8415 # If no C compiler was specified, use CC.
8416 LTCC=${LTCC-"$CC"}
8418 # If no C compiler flags were specified, use CFLAGS.
8419 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8421 # Allow CC to be a program name with arguments.
8422 compiler=$CC
8424 # Save the default compiler, since it gets overwritten when the other
8425 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8426 compiler_DEFAULT=$CC
8428 # save warnings/boilerplate of simple test code
8429 ac_outfile=conftest.$ac_objext
8430 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8431 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8432 _lt_compiler_boilerplate=`cat conftest.err`
8433 $RM conftest*
8435 ac_outfile=conftest.$ac_objext
8436 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8437 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8438 _lt_linker_boilerplate=`cat conftest.err`
8439 $RM -r conftest*
8442 ## CAVEAT EMPTOR:
8443 ## There is no encapsulation within the following macros, do not change
8444 ## the running order or otherwise move them around unless you know exactly
8445 ## what you are doing...
8446 if test -n "$compiler"; then
8448 lt_prog_compiler_no_builtin_flag=
8450 if test "$GCC" = yes; then
8451 case $cc_basename in
8452 nvcc*)
8453 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8455 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8456 esac
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8459 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8460 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8461 $as_echo_n "(cached) " >&6
8462 else
8463 lt_cv_prog_compiler_rtti_exceptions=no
8464 ac_outfile=conftest.$ac_objext
8465 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8466 lt_compiler_flag="-fno-rtti -fno-exceptions"
8467 # Insert the option either (1) after the last *FLAGS variable, or
8468 # (2) before a word containing "conftest.", or (3) at the end.
8469 # Note that $ac_compile itself does not contain backslashes and begins
8470 # with a dollar sign (not a hyphen), so the echo should work correctly.
8471 # The option is referenced via a variable to avoid confusing sed.
8472 lt_compile=`echo "$ac_compile" | $SED \
8473 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8474 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8475 -e 's:$: $lt_compiler_flag:'`
8476 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8477 (eval "$lt_compile" 2>conftest.err)
8478 ac_status=$?
8479 cat conftest.err >&5
8480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8481 if (exit $ac_status) && test -s "$ac_outfile"; then
8482 # The compiler can only warn and ignore the option if not recognized
8483 # So say no if there are warnings other than the usual output.
8484 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8485 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8486 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8487 lt_cv_prog_compiler_rtti_exceptions=yes
8490 $RM conftest*
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8494 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8496 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8497 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8498 else
8509 lt_prog_compiler_wl=
8510 lt_prog_compiler_pic=
8511 lt_prog_compiler_static=
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8514 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8516 if test "$GCC" = yes; then
8517 lt_prog_compiler_wl='-Wl,'
8518 lt_prog_compiler_static='-static'
8520 case $host_os in
8521 aix*)
8522 # All AIX code is PIC.
8523 if test "$host_cpu" = ia64; then
8524 # AIX 5 now supports IA64 processor
8525 lt_prog_compiler_static='-Bstatic'
8529 amigaos*)
8530 case $host_cpu in
8531 powerpc)
8532 # see comment about AmigaOS4 .so support
8533 lt_prog_compiler_pic='-fPIC'
8535 m68k)
8536 # FIXME: we need at least 68020 code to build shared libraries, but
8537 # adding the `-m68020' flag to GCC prevents building anything better,
8538 # like `-m68040'.
8539 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8541 esac
8544 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8545 # PIC is the default for these OSes.
8548 mingw* | cygwin* | pw32* | os2* | cegcc*)
8549 # This hack is so that the source file can tell whether it is being
8550 # built for inclusion in a dll (and should export symbols for example).
8551 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8552 # (--disable-auto-import) libraries
8553 lt_prog_compiler_pic='-DDLL_EXPORT'
8556 darwin* | rhapsody*)
8557 # PIC is the default on this platform
8558 # Common symbols not allowed in MH_DYLIB files
8559 lt_prog_compiler_pic='-fno-common'
8562 haiku*)
8563 # PIC is the default for Haiku.
8564 # The "-static" flag exists, but is broken.
8565 lt_prog_compiler_static=
8568 hpux*)
8569 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8570 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8571 # sets the default TLS model and affects inlining.
8572 case $host_cpu in
8573 hppa*64*)
8574 # +Z the default
8577 lt_prog_compiler_pic='-fPIC'
8579 esac
8582 interix[3-9]*)
8583 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8584 # Instead, we relocate shared libraries at runtime.
8587 msdosdjgpp*)
8588 # Just because we use GCC doesn't mean we suddenly get shared libraries
8589 # on systems that don't support them.
8590 lt_prog_compiler_can_build_shared=no
8591 enable_shared=no
8594 *nto* | *qnx*)
8595 # QNX uses GNU C++, but need to define -shared option too, otherwise
8596 # it will coredump.
8597 lt_prog_compiler_pic='-fPIC -shared'
8600 sysv4*MP*)
8601 if test -d /usr/nec; then
8602 lt_prog_compiler_pic=-Kconform_pic
8607 lt_prog_compiler_pic='-fPIC'
8609 esac
8611 case $cc_basename in
8612 nvcc*) # Cuda Compiler Driver 2.2
8613 lt_prog_compiler_wl='-Xlinker '
8614 lt_prog_compiler_pic='-Xcompiler -fPIC'
8616 esac
8617 else
8618 # PORTME Check for flag to pass linker flags through the system compiler.
8619 case $host_os in
8620 aix*)
8621 lt_prog_compiler_wl='-Wl,'
8622 if test "$host_cpu" = ia64; then
8623 # AIX 5 now supports IA64 processor
8624 lt_prog_compiler_static='-Bstatic'
8625 else
8626 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8630 mingw* | cygwin* | pw32* | os2* | cegcc*)
8631 # This hack is so that the source file can tell whether it is being
8632 # built for inclusion in a dll (and should export symbols for example).
8633 lt_prog_compiler_pic='-DDLL_EXPORT'
8636 hpux9* | hpux10* | hpux11*)
8637 lt_prog_compiler_wl='-Wl,'
8638 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8639 # not for PA HP-UX.
8640 case $host_cpu in
8641 hppa*64*|ia64*)
8642 # +Z the default
8645 lt_prog_compiler_pic='+Z'
8647 esac
8648 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8649 lt_prog_compiler_static='${wl}-a ${wl}archive'
8652 irix5* | irix6* | nonstopux*)
8653 lt_prog_compiler_wl='-Wl,'
8654 # PIC (with -KPIC) is the default.
8655 lt_prog_compiler_static='-non_shared'
8658 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8659 case $cc_basename in
8660 # old Intel for x86_64 which still supported -KPIC.
8661 ecc*)
8662 lt_prog_compiler_wl='-Wl,'
8663 lt_prog_compiler_pic='-KPIC'
8664 lt_prog_compiler_static='-static'
8666 # icc used to be incompatible with GCC.
8667 # ICC 10 doesn't accept -KPIC any more.
8668 icc* | ifort*)
8669 lt_prog_compiler_wl='-Wl,'
8670 lt_prog_compiler_pic='-fPIC'
8671 lt_prog_compiler_static='-static'
8673 # Lahey Fortran 8.1.
8674 lf95*)
8675 lt_prog_compiler_wl='-Wl,'
8676 lt_prog_compiler_pic='--shared'
8677 lt_prog_compiler_static='--static'
8679 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8680 # Portland Group compilers (*not* the Pentium gcc compiler,
8681 # which looks to be a dead project)
8682 lt_prog_compiler_wl='-Wl,'
8683 lt_prog_compiler_pic='-fpic'
8684 lt_prog_compiler_static='-Bstatic'
8686 ccc*)
8687 lt_prog_compiler_wl='-Wl,'
8688 # All Alpha code is PIC.
8689 lt_prog_compiler_static='-non_shared'
8691 xl* | bgxl* | bgf* | mpixl*)
8692 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8693 lt_prog_compiler_wl='-Wl,'
8694 lt_prog_compiler_pic='-qpic'
8695 lt_prog_compiler_static='-qstaticlink'
8698 case `$CC -V 2>&1 | sed 5q` in
8699 *Sun\ F* | *Sun*Fortran*)
8700 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8701 lt_prog_compiler_pic='-KPIC'
8702 lt_prog_compiler_static='-Bstatic'
8703 lt_prog_compiler_wl=''
8705 *Sun\ C*)
8706 # Sun C 5.9
8707 lt_prog_compiler_pic='-KPIC'
8708 lt_prog_compiler_static='-Bstatic'
8709 lt_prog_compiler_wl='-Wl,'
8711 esac
8713 esac
8716 newsos6)
8717 lt_prog_compiler_pic='-KPIC'
8718 lt_prog_compiler_static='-Bstatic'
8721 *nto* | *qnx*)
8722 # QNX uses GNU C++, but need to define -shared option too, otherwise
8723 # it will coredump.
8724 lt_prog_compiler_pic='-fPIC -shared'
8727 osf3* | osf4* | osf5*)
8728 lt_prog_compiler_wl='-Wl,'
8729 # All OSF/1 code is PIC.
8730 lt_prog_compiler_static='-non_shared'
8733 rdos*)
8734 lt_prog_compiler_static='-non_shared'
8737 solaris*)
8738 lt_prog_compiler_pic='-KPIC'
8739 lt_prog_compiler_static='-Bstatic'
8740 case $cc_basename in
8741 f77* | f90* | f95*)
8742 lt_prog_compiler_wl='-Qoption ld ';;
8744 lt_prog_compiler_wl='-Wl,';;
8745 esac
8748 sunos4*)
8749 lt_prog_compiler_wl='-Qoption ld '
8750 lt_prog_compiler_pic='-PIC'
8751 lt_prog_compiler_static='-Bstatic'
8754 sysv4 | sysv4.2uw2* | sysv4.3*)
8755 lt_prog_compiler_wl='-Wl,'
8756 lt_prog_compiler_pic='-KPIC'
8757 lt_prog_compiler_static='-Bstatic'
8760 sysv4*MP*)
8761 if test -d /usr/nec ;then
8762 lt_prog_compiler_pic='-Kconform_pic'
8763 lt_prog_compiler_static='-Bstatic'
8767 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8768 lt_prog_compiler_wl='-Wl,'
8769 lt_prog_compiler_pic='-KPIC'
8770 lt_prog_compiler_static='-Bstatic'
8773 unicos*)
8774 lt_prog_compiler_wl='-Wl,'
8775 lt_prog_compiler_can_build_shared=no
8778 uts4*)
8779 lt_prog_compiler_pic='-pic'
8780 lt_prog_compiler_static='-Bstatic'
8784 lt_prog_compiler_can_build_shared=no
8786 esac
8789 case $host_os in
8790 # For platforms which do not support PIC, -DPIC is meaningless:
8791 *djgpp*)
8792 lt_prog_compiler_pic=
8795 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8797 esac
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8799 $as_echo "$lt_prog_compiler_pic" >&6; }
8807 # Check to make sure the PIC flag actually works.
8809 if test -n "$lt_prog_compiler_pic"; then
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8811 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8812 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8813 $as_echo_n "(cached) " >&6
8814 else
8815 lt_cv_prog_compiler_pic_works=no
8816 ac_outfile=conftest.$ac_objext
8817 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8818 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8819 # Insert the option either (1) after the last *FLAGS variable, or
8820 # (2) before a word containing "conftest.", or (3) at the end.
8821 # Note that $ac_compile itself does not contain backslashes and begins
8822 # with a dollar sign (not a hyphen), so the echo should work correctly.
8823 # The option is referenced via a variable to avoid confusing sed.
8824 lt_compile=`echo "$ac_compile" | $SED \
8825 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8826 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8827 -e 's:$: $lt_compiler_flag:'`
8828 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8829 (eval "$lt_compile" 2>conftest.err)
8830 ac_status=$?
8831 cat conftest.err >&5
8832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8833 if (exit $ac_status) && test -s "$ac_outfile"; then
8834 # The compiler can only warn and ignore the option if not recognized
8835 # So say no if there are warnings other than the usual output.
8836 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8837 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8838 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8839 lt_cv_prog_compiler_pic_works=yes
8842 $RM conftest*
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8846 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8848 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8849 case $lt_prog_compiler_pic in
8850 "" | " "*) ;;
8851 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8852 esac
8853 else
8854 lt_prog_compiler_pic=
8855 lt_prog_compiler_can_build_shared=no
8866 # Check to make sure the static flag actually works.
8868 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8870 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8871 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8872 $as_echo_n "(cached) " >&6
8873 else
8874 lt_cv_prog_compiler_static_works=no
8875 save_LDFLAGS="$LDFLAGS"
8876 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8877 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8878 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8879 # The linker can only warn and ignore the option if not recognized
8880 # So say no if there are warnings
8881 if test -s conftest.err; then
8882 # Append any errors to the config.log.
8883 cat conftest.err 1>&5
8884 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8885 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8886 if diff conftest.exp conftest.er2 >/dev/null; then
8887 lt_cv_prog_compiler_static_works=yes
8889 else
8890 lt_cv_prog_compiler_static_works=yes
8893 $RM -r conftest*
8894 LDFLAGS="$save_LDFLAGS"
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8898 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8900 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8902 else
8903 lt_prog_compiler_static=
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8913 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8914 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8915 $as_echo_n "(cached) " >&6
8916 else
8917 lt_cv_prog_compiler_c_o=no
8918 $RM -r conftest 2>/dev/null
8919 mkdir conftest
8920 cd conftest
8921 mkdir out
8922 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8924 lt_compiler_flag="-o out/conftest2.$ac_objext"
8925 # Insert the option either (1) after the last *FLAGS variable, or
8926 # (2) before a word containing "conftest.", or (3) at the end.
8927 # Note that $ac_compile itself does not contain backslashes and begins
8928 # with a dollar sign (not a hyphen), so the echo should work correctly.
8929 lt_compile=`echo "$ac_compile" | $SED \
8930 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8931 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8932 -e 's:$: $lt_compiler_flag:'`
8933 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8934 (eval "$lt_compile" 2>out/conftest.err)
8935 ac_status=$?
8936 cat out/conftest.err >&5
8937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8938 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8939 then
8940 # The compiler can only warn and ignore the option if not recognized
8941 # So say no if there are warnings
8942 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8943 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8944 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8945 lt_cv_prog_compiler_c_o=yes
8948 chmod u+w . 2>&5
8949 $RM conftest*
8950 # SGI C++ compiler will create directory out/ii_files/ for
8951 # template instantiation
8952 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8953 $RM out/* && rmdir out
8954 cd ..
8955 $RM -r conftest
8956 $RM conftest*
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8960 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8968 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8969 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8970 $as_echo_n "(cached) " >&6
8971 else
8972 lt_cv_prog_compiler_c_o=no
8973 $RM -r conftest 2>/dev/null
8974 mkdir conftest
8975 cd conftest
8976 mkdir out
8977 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8979 lt_compiler_flag="-o out/conftest2.$ac_objext"
8980 # Insert the option either (1) after the last *FLAGS variable, or
8981 # (2) before a word containing "conftest.", or (3) at the end.
8982 # Note that $ac_compile itself does not contain backslashes and begins
8983 # with a dollar sign (not a hyphen), so the echo should work correctly.
8984 lt_compile=`echo "$ac_compile" | $SED \
8985 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8986 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8987 -e 's:$: $lt_compiler_flag:'`
8988 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8989 (eval "$lt_compile" 2>out/conftest.err)
8990 ac_status=$?
8991 cat out/conftest.err >&5
8992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8993 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8994 then
8995 # The compiler can only warn and ignore the option if not recognized
8996 # So say no if there are warnings
8997 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8998 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8999 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9000 lt_cv_prog_compiler_c_o=yes
9003 chmod u+w . 2>&5
9004 $RM conftest*
9005 # SGI C++ compiler will create directory out/ii_files/ for
9006 # template instantiation
9007 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9008 $RM out/* && rmdir out
9009 cd ..
9010 $RM -r conftest
9011 $RM conftest*
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9015 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9020 hard_links="nottested"
9021 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9022 # do not overwrite the value of need_locks provided by the user
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9024 $as_echo_n "checking if we can lock with hard links... " >&6; }
9025 hard_links=yes
9026 $RM conftest*
9027 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9028 touch conftest.a
9029 ln conftest.a conftest.b 2>&5 || hard_links=no
9030 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9032 $as_echo "$hard_links" >&6; }
9033 if test "$hard_links" = no; then
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9035 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9036 need_locks=warn
9038 else
9039 need_locks=no
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9048 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9050 runpath_var=
9051 allow_undefined_flag=
9052 always_export_symbols=no
9053 archive_cmds=
9054 archive_expsym_cmds=
9055 compiler_needs_object=no
9056 enable_shared_with_static_runtimes=no
9057 export_dynamic_flag_spec=
9058 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9059 hardcode_automatic=no
9060 hardcode_direct=no
9061 hardcode_direct_absolute=no
9062 hardcode_libdir_flag_spec=
9063 hardcode_libdir_flag_spec_ld=
9064 hardcode_libdir_separator=
9065 hardcode_minus_L=no
9066 hardcode_shlibpath_var=unsupported
9067 inherit_rpath=no
9068 link_all_deplibs=unknown
9069 module_cmds=
9070 module_expsym_cmds=
9071 old_archive_from_new_cmds=
9072 old_archive_from_expsyms_cmds=
9073 thread_safe_flag_spec=
9074 whole_archive_flag_spec=
9075 # include_expsyms should be a list of space-separated symbols to be *always*
9076 # included in the symbol list
9077 include_expsyms=
9078 # exclude_expsyms can be an extended regexp of symbols to exclude
9079 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9080 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9081 # as well as any symbol that contains `d'.
9082 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9083 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9084 # platforms (ab)use it in PIC code, but their linkers get confused if
9085 # the symbol is explicitly referenced. Since portable code cannot
9086 # rely on this symbol name, it's probably fine to never include it in
9087 # preloaded symbol tables.
9088 # Exclude shared library initialization/finalization symbols.
9089 extract_expsyms_cmds=
9091 case $host_os in
9092 cygwin* | mingw* | pw32* | cegcc*)
9093 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9094 # When not using gcc, we currently assume that we are using
9095 # Microsoft Visual C++.
9096 if test "$GCC" != yes; then
9097 with_gnu_ld=no
9100 interix*)
9101 # we just hope/assume this is gcc and not c89 (= MSVC++)
9102 with_gnu_ld=yes
9104 openbsd*)
9105 with_gnu_ld=no
9107 esac
9109 ld_shlibs=yes
9111 # On some targets, GNU ld is compatible enough with the native linker
9112 # that we're better off using the native interface for both.
9113 lt_use_gnu_ld_interface=no
9114 if test "$with_gnu_ld" = yes; then
9115 case $host_os in
9116 aix*)
9117 # The AIX port of GNU ld has always aspired to compatibility
9118 # with the native linker. However, as the warning in the GNU ld
9119 # block says, versions before 2.19.5* couldn't really create working
9120 # shared libraries, regardless of the interface used.
9121 case `$LD -v 2>&1` in
9122 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9123 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9124 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9126 lt_use_gnu_ld_interface=yes
9128 esac
9131 lt_use_gnu_ld_interface=yes
9133 esac
9136 if test "$lt_use_gnu_ld_interface" = yes; then
9137 # If archive_cmds runs LD, not CC, wlarc should be empty
9138 wlarc='${wl}'
9140 # Set some defaults for GNU ld with shared library support. These
9141 # are reset later if shared libraries are not supported. Putting them
9142 # here allows them to be overridden if necessary.
9143 runpath_var=LD_RUN_PATH
9144 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9145 export_dynamic_flag_spec='${wl}--export-dynamic'
9146 # ancient GNU ld didn't support --whole-archive et. al.
9147 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9148 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9149 else
9150 whole_archive_flag_spec=
9152 supports_anon_versioning=no
9153 case `$LD -v 2>&1` in
9154 *GNU\ gold*) supports_anon_versioning=yes ;;
9155 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9156 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9157 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9158 *\ 2.11.*) ;; # other 2.11 versions
9159 *) supports_anon_versioning=yes ;;
9160 esac
9162 # See if GNU ld supports shared libraries.
9163 case $host_os in
9164 aix[3-9]*)
9165 # On AIX/PPC, the GNU linker is very broken
9166 if test "$host_cpu" != ia64; then
9167 ld_shlibs=no
9168 cat <<_LT_EOF 1>&2
9170 *** Warning: the GNU linker, at least up to release 2.19, is reported
9171 *** to be unable to reliably create shared libraries on AIX.
9172 *** Therefore, libtool is disabling shared libraries support. If you
9173 *** really care for shared libraries, you may want to install binutils
9174 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9175 *** You will then need to restart the configuration process.
9177 _LT_EOF
9181 amigaos*)
9182 case $host_cpu in
9183 powerpc)
9184 # see comment about AmigaOS4 .so support
9185 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9186 archive_expsym_cmds=''
9188 m68k)
9189 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)'
9190 hardcode_libdir_flag_spec='-L$libdir'
9191 hardcode_minus_L=yes
9193 esac
9196 beos*)
9197 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9198 allow_undefined_flag=unsupported
9199 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9200 # support --undefined. This deserves some investigation. FIXME
9201 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202 else
9203 ld_shlibs=no
9207 cygwin* | mingw* | pw32* | cegcc*)
9208 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9209 # as there is no search path for DLLs.
9210 hardcode_libdir_flag_spec='-L$libdir'
9211 export_dynamic_flag_spec='${wl}--export-all-symbols'
9212 allow_undefined_flag=unsupported
9213 always_export_symbols=no
9214 enable_shared_with_static_runtimes=yes
9215 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9217 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9218 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9219 # If the export-symbols file already is a .def file (1st line
9220 # is EXPORTS), use it as is; otherwise, prepend...
9221 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9222 cp $export_symbols $output_objdir/$soname.def;
9223 else
9224 echo EXPORTS > $output_objdir/$soname.def;
9225 cat $export_symbols >> $output_objdir/$soname.def;
9227 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9228 else
9229 ld_shlibs=no
9233 haiku*)
9234 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9235 link_all_deplibs=yes
9238 interix[3-9]*)
9239 hardcode_direct=no
9240 hardcode_shlibpath_var=no
9241 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9242 export_dynamic_flag_spec='${wl}-E'
9243 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9244 # Instead, shared libraries are loaded at an image base (0x10000000 by
9245 # default) and relocated if they conflict, which is a slow very memory
9246 # consuming and fragmenting process. To avoid this, we pick a random,
9247 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9248 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9249 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9250 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'
9253 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9254 tmp_diet=no
9255 if test "$host_os" = linux-dietlibc; then
9256 case $cc_basename in
9257 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9258 esac
9260 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9261 && test "$tmp_diet" = no
9262 then
9263 tmp_addflag=
9264 tmp_sharedflag='-shared'
9265 case $cc_basename,$host_cpu in
9266 pgcc*) # Portland Group C compiler
9267 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'
9268 tmp_addflag=' $pic_flag'
9270 pgf77* | pgf90* | pgf95* | pgfortran*)
9271 # Portland Group f77 and f90 compilers
9272 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'
9273 tmp_addflag=' $pic_flag -Mnomain' ;;
9274 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9275 tmp_addflag=' -i_dynamic' ;;
9276 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9277 tmp_addflag=' -i_dynamic -nofor_main' ;;
9278 ifc* | ifort*) # Intel Fortran compiler
9279 tmp_addflag=' -nofor_main' ;;
9280 lf95*) # Lahey Fortran 8.1
9281 whole_archive_flag_spec=
9282 tmp_sharedflag='--shared' ;;
9283 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9284 tmp_sharedflag='-qmkshrobj'
9285 tmp_addflag= ;;
9286 nvcc*) # Cuda Compiler Driver 2.2
9287 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9288 compiler_needs_object=yes
9290 esac
9291 case `$CC -V 2>&1 | sed 5q` in
9292 *Sun\ C*) # Sun C 5.9
9293 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'
9294 compiler_needs_object=yes
9295 tmp_sharedflag='-G' ;;
9296 *Sun\ F*) # Sun Fortran 8.3
9297 tmp_sharedflag='-G' ;;
9298 esac
9299 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9301 if test "x$supports_anon_versioning" = xyes; then
9302 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9303 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9304 echo "local: *; };" >> $output_objdir/$libname.ver~
9305 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9308 case $cc_basename in
9309 xlf* | bgf* | bgxlf* | mpixlf*)
9310 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9311 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9312 hardcode_libdir_flag_spec=
9313 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9314 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9315 if test "x$supports_anon_versioning" = xyes; then
9316 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9317 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9318 echo "local: *; };" >> $output_objdir/$libname.ver~
9319 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9322 esac
9323 else
9324 ld_shlibs=no
9328 netbsd*)
9329 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9330 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9331 wlarc=
9332 else
9333 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9334 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9338 solaris*)
9339 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9340 ld_shlibs=no
9341 cat <<_LT_EOF 1>&2
9343 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9344 *** create shared libraries on Solaris systems. Therefore, libtool
9345 *** is disabling shared libraries support. We urge you to upgrade GNU
9346 *** binutils to release 2.9.1 or newer. Another option is to modify
9347 *** your PATH or compiler configuration so that the native linker is
9348 *** used, and then restart.
9350 _LT_EOF
9351 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9352 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9353 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9354 else
9355 ld_shlibs=no
9359 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9360 case `$LD -v 2>&1` in
9361 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9362 ld_shlibs=no
9363 cat <<_LT_EOF 1>&2
9365 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9366 *** reliably create shared libraries on SCO systems. Therefore, libtool
9367 *** is disabling shared libraries support. We urge you to upgrade GNU
9368 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9369 *** your PATH or compiler configuration so that the native linker is
9370 *** used, and then restart.
9372 _LT_EOF
9375 # For security reasons, it is highly recommended that you always
9376 # use absolute paths for naming shared libraries, and exclude the
9377 # DT_RUNPATH tag from executables and libraries. But doing so
9378 # requires that you compile everything twice, which is a pain.
9379 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9380 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9381 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9382 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9383 else
9384 ld_shlibs=no
9387 esac
9390 sunos4*)
9391 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9392 wlarc=
9393 hardcode_direct=yes
9394 hardcode_shlibpath_var=no
9398 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9399 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9400 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9401 else
9402 ld_shlibs=no
9405 esac
9407 if test "$ld_shlibs" = no; then
9408 runpath_var=
9409 hardcode_libdir_flag_spec=
9410 export_dynamic_flag_spec=
9411 whole_archive_flag_spec=
9413 else
9414 # PORTME fill in a description of your system's linker (not GNU ld)
9415 case $host_os in
9416 aix3*)
9417 allow_undefined_flag=unsupported
9418 always_export_symbols=yes
9419 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'
9420 # Note: this linker hardcodes the directories in LIBPATH if there
9421 # are no directories specified by -L.
9422 hardcode_minus_L=yes
9423 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9424 # Neither direct hardcoding nor static linking is supported with a
9425 # broken collect2.
9426 hardcode_direct=unsupported
9430 aix[4-9]*)
9431 if test "$host_cpu" = ia64; then
9432 # On IA64, the linker does run time linking by default, so we don't
9433 # have to do anything special.
9434 aix_use_runtimelinking=no
9435 exp_sym_flag='-Bexport'
9436 no_entry_flag=""
9437 else
9438 # If we're using GNU nm, then we don't want the "-C" option.
9439 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9440 # Also, AIX nm treats weak defined symbols like other global
9441 # defined symbols, whereas GNU nm marks them as "W".
9442 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9443 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'
9444 else
9445 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'
9447 aix_use_runtimelinking=no
9449 # Test if we are trying to use run time linking or normal
9450 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9451 # need to do runtime linking.
9452 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9453 for ld_flag in $LDFLAGS; do
9454 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9455 aix_use_runtimelinking=yes
9456 break
9458 done
9460 esac
9462 exp_sym_flag='-bexport'
9463 no_entry_flag='-bnoentry'
9466 # When large executables or shared objects are built, AIX ld can
9467 # have problems creating the table of contents. If linking a library
9468 # or program results in "error TOC overflow" add -mminimal-toc to
9469 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9470 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9472 archive_cmds=''
9473 hardcode_direct=yes
9474 hardcode_direct_absolute=yes
9475 hardcode_libdir_separator=':'
9476 link_all_deplibs=yes
9477 file_list_spec='${wl}-f,'
9479 if test "$GCC" = yes; then
9480 case $host_os in aix4.[012]|aix4.[012].*)
9481 # We only want to do this on AIX 4.2 and lower, the check
9482 # below for broken collect2 doesn't work under 4.3+
9483 collect2name=`${CC} -print-prog-name=collect2`
9484 if test -f "$collect2name" &&
9485 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9486 then
9487 # We have reworked collect2
9489 else
9490 # We have old collect2
9491 hardcode_direct=unsupported
9492 # It fails to find uninstalled libraries when the uninstalled
9493 # path is not listed in the libpath. Setting hardcode_minus_L
9494 # to unsupported forces relinking
9495 hardcode_minus_L=yes
9496 hardcode_libdir_flag_spec='-L$libdir'
9497 hardcode_libdir_separator=
9500 esac
9501 shared_flag='-shared'
9502 if test "$aix_use_runtimelinking" = yes; then
9503 shared_flag="$shared_flag "'${wl}-G'
9505 else
9506 # not using gcc
9507 if test "$host_cpu" = ia64; then
9508 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9509 # chokes on -Wl,-G. The following line is correct:
9510 shared_flag='-G'
9511 else
9512 if test "$aix_use_runtimelinking" = yes; then
9513 shared_flag='${wl}-G'
9514 else
9515 shared_flag='${wl}-bM:SRE'
9520 export_dynamic_flag_spec='${wl}-bexpall'
9521 # It seems that -bexpall does not export symbols beginning with
9522 # underscore (_), so it is better to generate a list of symbols to export.
9523 always_export_symbols=yes
9524 if test "$aix_use_runtimelinking" = yes; then
9525 # Warning - without using the other runtime loading flags (-brtl),
9526 # -berok will link without error, but may produce a broken library.
9527 allow_undefined_flag='-berok'
9528 # Determine the default libpath from the value encoded in an
9529 # empty executable.
9530 if test x$gcc_no_link = xyes; then
9531 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9534 /* end confdefs.h. */
9537 main ()
9541 return 0;
9543 _ACEOF
9544 if ac_fn_c_try_link "$LINENO"; then :
9546 lt_aix_libpath_sed='
9547 /Import File Strings/,/^$/ {
9548 /^0/ {
9549 s/^0 *\(.*\)$/\1/
9553 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9554 # Check for a 64-bit object if we didn't find anything.
9555 if test -z "$aix_libpath"; then
9556 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9559 rm -f core conftest.err conftest.$ac_objext \
9560 conftest$ac_exeext conftest.$ac_ext
9561 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9563 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9564 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"
9565 else
9566 if test "$host_cpu" = ia64; then
9567 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9568 allow_undefined_flag="-z nodefs"
9569 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"
9570 else
9571 # Determine the default libpath from the value encoded in an
9572 # empty executable.
9573 if test x$gcc_no_link = xyes; then
9574 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9577 /* end confdefs.h. */
9580 main ()
9584 return 0;
9586 _ACEOF
9587 if ac_fn_c_try_link "$LINENO"; then :
9589 lt_aix_libpath_sed='
9590 /Import File Strings/,/^$/ {
9591 /^0/ {
9592 s/^0 *\(.*\)$/\1/
9596 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9597 # Check for a 64-bit object if we didn't find anything.
9598 if test -z "$aix_libpath"; then
9599 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9602 rm -f core conftest.err conftest.$ac_objext \
9603 conftest$ac_exeext conftest.$ac_ext
9604 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9606 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9607 # Warning - without using the other run time loading flags,
9608 # -berok will link without error, but may produce a broken library.
9609 no_undefined_flag=' ${wl}-bernotok'
9610 allow_undefined_flag=' ${wl}-berok'
9611 if test "$with_gnu_ld" = yes; then
9612 # We only use this code for GNU lds that support --whole-archive.
9613 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9614 else
9615 # Exported symbols can be pulled into shared objects from archives
9616 whole_archive_flag_spec='$convenience'
9618 archive_cmds_need_lc=yes
9619 # This is similar to how AIX traditionally builds its shared libraries.
9620 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'
9625 amigaos*)
9626 case $host_cpu in
9627 powerpc)
9628 # see comment about AmigaOS4 .so support
9629 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9630 archive_expsym_cmds=''
9632 m68k)
9633 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)'
9634 hardcode_libdir_flag_spec='-L$libdir'
9635 hardcode_minus_L=yes
9637 esac
9640 bsdi[45]*)
9641 export_dynamic_flag_spec=-rdynamic
9644 cygwin* | mingw* | pw32* | cegcc*)
9645 # When not using gcc, we currently assume that we are using
9646 # Microsoft Visual C++.
9647 # hardcode_libdir_flag_spec is actually meaningless, as there is
9648 # no search path for DLLs.
9649 hardcode_libdir_flag_spec=' '
9650 allow_undefined_flag=unsupported
9651 # Tell ltmain to make .lib files, not .a files.
9652 libext=lib
9653 # Tell ltmain to make .dll files, not .so files.
9654 shrext_cmds=".dll"
9655 # FIXME: Setting linknames here is a bad hack.
9656 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9657 # The linker will automatically build a .lib file if we build a DLL.
9658 old_archive_from_new_cmds='true'
9659 # FIXME: Should let the user specify the lib program.
9660 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9661 fix_srcfile_path='`cygpath -w "$srcfile"`'
9662 enable_shared_with_static_runtimes=yes
9665 darwin* | rhapsody*)
9668 archive_cmds_need_lc=no
9669 hardcode_direct=no
9670 hardcode_automatic=yes
9671 hardcode_shlibpath_var=unsupported
9672 if test "$lt_cv_ld_force_load" = "yes"; then
9673 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\"`'
9674 else
9675 whole_archive_flag_spec=''
9677 link_all_deplibs=yes
9678 allow_undefined_flag="$_lt_dar_allow_undefined"
9679 case $cc_basename in
9680 ifort*) _lt_dar_can_shared=yes ;;
9681 *) _lt_dar_can_shared=$GCC ;;
9682 esac
9683 if test "$_lt_dar_can_shared" = "yes"; then
9684 output_verbose_link_cmd=func_echo_all
9685 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9686 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9687 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}"
9688 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}"
9690 else
9691 ld_shlibs=no
9696 dgux*)
9697 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9698 hardcode_libdir_flag_spec='-L$libdir'
9699 hardcode_shlibpath_var=no
9702 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9703 # support. Future versions do this automatically, but an explicit c++rt0.o
9704 # does not break anything, and helps significantly (at the cost of a little
9705 # extra space).
9706 freebsd2.2*)
9707 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9708 hardcode_libdir_flag_spec='-R$libdir'
9709 hardcode_direct=yes
9710 hardcode_shlibpath_var=no
9713 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9714 freebsd2.*)
9715 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9716 hardcode_direct=yes
9717 hardcode_minus_L=yes
9718 hardcode_shlibpath_var=no
9721 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9722 freebsd* | dragonfly*)
9723 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9724 hardcode_libdir_flag_spec='-R$libdir'
9725 hardcode_direct=yes
9726 hardcode_shlibpath_var=no
9729 hpux9*)
9730 if test "$GCC" = yes; then
9731 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'
9732 else
9733 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'
9735 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9736 hardcode_libdir_separator=:
9737 hardcode_direct=yes
9739 # hardcode_minus_L: Not really in the search PATH,
9740 # but as the default location of the library.
9741 hardcode_minus_L=yes
9742 export_dynamic_flag_spec='${wl}-E'
9745 hpux10*)
9746 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9747 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9748 else
9749 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9751 if test "$with_gnu_ld" = no; then
9752 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9753 hardcode_libdir_flag_spec_ld='+b $libdir'
9754 hardcode_libdir_separator=:
9755 hardcode_direct=yes
9756 hardcode_direct_absolute=yes
9757 export_dynamic_flag_spec='${wl}-E'
9758 # hardcode_minus_L: Not really in the search PATH,
9759 # but as the default location of the library.
9760 hardcode_minus_L=yes
9764 hpux11*)
9765 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9766 case $host_cpu in
9767 hppa*64*)
9768 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9770 ia64*)
9771 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9774 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9776 esac
9777 else
9778 case $host_cpu in
9779 hppa*64*)
9780 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9782 ia64*)
9783 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9787 # Older versions of the 11.00 compiler do not understand -b yet
9788 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9790 $as_echo_n "checking if $CC understands -b... " >&6; }
9791 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9792 $as_echo_n "(cached) " >&6
9793 else
9794 lt_cv_prog_compiler__b=no
9795 save_LDFLAGS="$LDFLAGS"
9796 LDFLAGS="$LDFLAGS -b"
9797 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9798 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9799 # The linker can only warn and ignore the option if not recognized
9800 # So say no if there are warnings
9801 if test -s conftest.err; then
9802 # Append any errors to the config.log.
9803 cat conftest.err 1>&5
9804 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9805 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9806 if diff conftest.exp conftest.er2 >/dev/null; then
9807 lt_cv_prog_compiler__b=yes
9809 else
9810 lt_cv_prog_compiler__b=yes
9813 $RM -r conftest*
9814 LDFLAGS="$save_LDFLAGS"
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9818 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9820 if test x"$lt_cv_prog_compiler__b" = xyes; then
9821 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9822 else
9823 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9827 esac
9829 if test "$with_gnu_ld" = no; then
9830 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9831 hardcode_libdir_separator=:
9833 case $host_cpu in
9834 hppa*64*|ia64*)
9835 hardcode_direct=no
9836 hardcode_shlibpath_var=no
9839 hardcode_direct=yes
9840 hardcode_direct_absolute=yes
9841 export_dynamic_flag_spec='${wl}-E'
9843 # hardcode_minus_L: Not really in the search PATH,
9844 # but as the default location of the library.
9845 hardcode_minus_L=yes
9847 esac
9851 irix5* | irix6* | nonstopux*)
9852 if test "$GCC" = yes; then
9853 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'
9854 # Try to use the -exported_symbol ld option, if it does not
9855 # work, assume that -exports_file does not work either and
9856 # implicitly export all symbols.
9857 save_LDFLAGS="$LDFLAGS"
9858 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9859 if test x$gcc_no_link = xyes; then
9860 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9863 /* end confdefs.h. */
9864 int foo(void) {}
9865 _ACEOF
9866 if ac_fn_c_try_link "$LINENO"; then :
9867 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'
9870 rm -f core conftest.err conftest.$ac_objext \
9871 conftest$ac_exeext conftest.$ac_ext
9872 LDFLAGS="$save_LDFLAGS"
9873 else
9874 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'
9875 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'
9877 archive_cmds_need_lc='no'
9878 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9879 hardcode_libdir_separator=:
9880 inherit_rpath=yes
9881 link_all_deplibs=yes
9884 netbsd*)
9885 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9886 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9887 else
9888 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9890 hardcode_libdir_flag_spec='-R$libdir'
9891 hardcode_direct=yes
9892 hardcode_shlibpath_var=no
9895 newsos6)
9896 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9897 hardcode_direct=yes
9898 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9899 hardcode_libdir_separator=:
9900 hardcode_shlibpath_var=no
9903 *nto* | *qnx*)
9906 openbsd*)
9907 if test -f /usr/libexec/ld.so; then
9908 hardcode_direct=yes
9909 hardcode_shlibpath_var=no
9910 hardcode_direct_absolute=yes
9911 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9912 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9913 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9914 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9915 export_dynamic_flag_spec='${wl}-E'
9916 else
9917 case $host_os in
9918 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9919 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9920 hardcode_libdir_flag_spec='-R$libdir'
9923 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9924 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9926 esac
9928 else
9929 ld_shlibs=no
9933 os2*)
9934 hardcode_libdir_flag_spec='-L$libdir'
9935 hardcode_minus_L=yes
9936 allow_undefined_flag=unsupported
9937 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'
9938 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9941 osf3*)
9942 if test "$GCC" = yes; then
9943 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9944 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'
9945 else
9946 allow_undefined_flag=' -expect_unresolved \*'
9947 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'
9949 archive_cmds_need_lc='no'
9950 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9951 hardcode_libdir_separator=:
9954 osf4* | osf5*) # as osf3* with the addition of -msym flag
9955 if test "$GCC" = yes; then
9956 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9957 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'
9958 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9959 else
9960 allow_undefined_flag=' -expect_unresolved \*'
9961 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'
9962 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~
9963 $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'
9965 # Both c and cxx compiler support -rpath directly
9966 hardcode_libdir_flag_spec='-rpath $libdir'
9968 archive_cmds_need_lc='no'
9969 hardcode_libdir_separator=:
9972 solaris*)
9973 no_undefined_flag=' -z defs'
9974 if test "$GCC" = yes; then
9975 wlarc='${wl}'
9976 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9977 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9978 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9979 else
9980 case `$CC -V 2>&1` in
9981 *"Compilers 5.0"*)
9982 wlarc=''
9983 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9984 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9985 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9988 wlarc='${wl}'
9989 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9990 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9991 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9993 esac
9995 hardcode_libdir_flag_spec='-R$libdir'
9996 hardcode_shlibpath_var=no
9997 case $host_os in
9998 solaris2.[0-5] | solaris2.[0-5].*) ;;
10000 # The compiler driver will combine and reorder linker options,
10001 # but understands `-z linker_flag'. GCC discards it without `$wl',
10002 # but is careful enough not to reorder.
10003 # Supported since Solaris 2.6 (maybe 2.5.1?)
10004 if test "$GCC" = yes; then
10005 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10006 else
10007 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10010 esac
10011 link_all_deplibs=yes
10014 sunos4*)
10015 if test "x$host_vendor" = xsequent; then
10016 # Use $CC to link under sequent, because it throws in some extra .o
10017 # files that make .init and .fini sections work.
10018 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10019 else
10020 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10022 hardcode_libdir_flag_spec='-L$libdir'
10023 hardcode_direct=yes
10024 hardcode_minus_L=yes
10025 hardcode_shlibpath_var=no
10028 sysv4)
10029 case $host_vendor in
10030 sni)
10031 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10032 hardcode_direct=yes # is this really true???
10034 siemens)
10035 ## LD is ld it makes a PLAMLIB
10036 ## CC just makes a GrossModule.
10037 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10038 reload_cmds='$CC -r -o $output$reload_objs'
10039 hardcode_direct=no
10041 motorola)
10042 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10043 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10045 esac
10046 runpath_var='LD_RUN_PATH'
10047 hardcode_shlibpath_var=no
10050 sysv4.3*)
10051 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10052 hardcode_shlibpath_var=no
10053 export_dynamic_flag_spec='-Bexport'
10056 sysv4*MP*)
10057 if test -d /usr/nec; then
10058 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059 hardcode_shlibpath_var=no
10060 runpath_var=LD_RUN_PATH
10061 hardcode_runpath_var=yes
10062 ld_shlibs=yes
10066 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10067 no_undefined_flag='${wl}-z,text'
10068 archive_cmds_need_lc=no
10069 hardcode_shlibpath_var=no
10070 runpath_var='LD_RUN_PATH'
10072 if test "$GCC" = yes; then
10073 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10074 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10075 else
10076 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10077 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10081 sysv5* | sco3.2v5* | sco5v6*)
10082 # Note: We can NOT use -z defs as we might desire, because we do not
10083 # link with -lc, and that would cause any symbols used from libc to
10084 # always be unresolved, which means just about no library would
10085 # ever link correctly. If we're not using GNU ld we use -z text
10086 # though, which does catch some bad symbols but isn't as heavy-handed
10087 # as -z defs.
10088 no_undefined_flag='${wl}-z,text'
10089 allow_undefined_flag='${wl}-z,nodefs'
10090 archive_cmds_need_lc=no
10091 hardcode_shlibpath_var=no
10092 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10093 hardcode_libdir_separator=':'
10094 link_all_deplibs=yes
10095 export_dynamic_flag_spec='${wl}-Bexport'
10096 runpath_var='LD_RUN_PATH'
10098 if test "$GCC" = yes; then
10099 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10100 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10101 else
10102 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10103 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10107 uts4*)
10108 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10109 hardcode_libdir_flag_spec='-L$libdir'
10110 hardcode_shlibpath_var=no
10114 ld_shlibs=no
10116 esac
10118 if test x$host_vendor = xsni; then
10119 case $host in
10120 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10121 export_dynamic_flag_spec='${wl}-Blargedynsym'
10123 esac
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10128 $as_echo "$ld_shlibs" >&6; }
10129 test "$ld_shlibs" = no && can_build_shared=no
10131 with_gnu_ld=$with_gnu_ld
10148 # Do we need to explicitly link libc?
10150 case "x$archive_cmds_need_lc" in
10151 x|xyes)
10152 # Assume -lc should be added
10153 archive_cmds_need_lc=yes
10155 if test "$enable_shared" = yes && test "$GCC" = yes; then
10156 case $archive_cmds in
10157 *'~'*)
10158 # FIXME: we may have to deal with multi-command sequences.
10160 '$CC '*)
10161 # Test whether the compiler implicitly links with -lc since on some
10162 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10163 # to ld, don't add -lc before -lgcc.
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10165 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10166 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10167 $as_echo_n "(cached) " >&6
10168 else
10169 $RM conftest*
10170 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10172 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10173 (eval $ac_compile) 2>&5
10174 ac_status=$?
10175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10176 test $ac_status = 0; } 2>conftest.err; then
10177 soname=conftest
10178 lib=conftest
10179 libobjs=conftest.$ac_objext
10180 deplibs=
10181 wl=$lt_prog_compiler_wl
10182 pic_flag=$lt_prog_compiler_pic
10183 compiler_flags=-v
10184 linker_flags=-v
10185 verstring=
10186 output_objdir=.
10187 libname=conftest
10188 lt_save_allow_undefined_flag=$allow_undefined_flag
10189 allow_undefined_flag=
10190 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10191 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10192 ac_status=$?
10193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10194 test $ac_status = 0; }
10195 then
10196 lt_cv_archive_cmds_need_lc=no
10197 else
10198 lt_cv_archive_cmds_need_lc=yes
10200 allow_undefined_flag=$lt_save_allow_undefined_flag
10201 else
10202 cat conftest.err 1>&5
10204 $RM conftest*
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10208 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10209 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10211 esac
10214 esac
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10373 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10375 if test "$GCC" = yes; then
10376 case $host_os in
10377 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10378 *) lt_awk_arg="/^libraries:/" ;;
10379 esac
10380 case $host_os in
10381 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10382 *) lt_sed_strip_eq="s,=/,/,g" ;;
10383 esac
10384 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10385 case $lt_search_path_spec in
10386 *\;*)
10387 # if the path contains ";" then we assume it to be the separator
10388 # otherwise default to the standard path separator (i.e. ":") - it is
10389 # assumed that no part of a normal pathname contains ";" but that should
10390 # okay in the real world where ";" in dirpaths is itself problematic.
10391 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10394 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10396 esac
10397 # Ok, now we have the path, separated by spaces, we can step through it
10398 # and add multilib dir if necessary.
10399 lt_tmp_lt_search_path_spec=
10400 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10401 for lt_sys_path in $lt_search_path_spec; do
10402 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10403 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10404 else
10405 test -d "$lt_sys_path" && \
10406 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10408 done
10409 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10410 BEGIN {RS=" "; FS="/|\n";} {
10411 lt_foo="";
10412 lt_count=0;
10413 for (lt_i = NF; lt_i > 0; lt_i--) {
10414 if ($lt_i != "" && $lt_i != ".") {
10415 if ($lt_i == "..") {
10416 lt_count++;
10417 } else {
10418 if (lt_count == 0) {
10419 lt_foo="/" $lt_i lt_foo;
10420 } else {
10421 lt_count--;
10426 if (lt_foo != "") { lt_freq[lt_foo]++; }
10427 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10429 # AWK program above erroneously prepends '/' to C:/dos/paths
10430 # for these hosts.
10431 case $host_os in
10432 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10433 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10434 esac
10435 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10436 else
10437 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10439 library_names_spec=
10440 libname_spec='lib$name'
10441 soname_spec=
10442 shrext_cmds=".so"
10443 postinstall_cmds=
10444 postuninstall_cmds=
10445 finish_cmds=
10446 finish_eval=
10447 shlibpath_var=
10448 shlibpath_overrides_runpath=unknown
10449 version_type=none
10450 dynamic_linker="$host_os ld.so"
10451 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10452 need_lib_prefix=unknown
10453 hardcode_into_libs=no
10455 # when you set need_version to no, make sure it does not cause -set_version
10456 # flags to be left without arguments
10457 need_version=unknown
10459 case $host_os in
10460 aix3*)
10461 version_type=linux
10462 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10463 shlibpath_var=LIBPATH
10465 # AIX 3 has no versioning support, so we append a major version to the name.
10466 soname_spec='${libname}${release}${shared_ext}$major'
10469 aix[4-9]*)
10470 version_type=linux
10471 need_lib_prefix=no
10472 need_version=no
10473 hardcode_into_libs=yes
10474 if test "$host_cpu" = ia64; then
10475 # AIX 5 supports IA64
10476 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10477 shlibpath_var=LD_LIBRARY_PATH
10478 else
10479 # With GCC up to 2.95.x, collect2 would create an import file
10480 # for dependence libraries. The import file would start with
10481 # the line `#! .'. This would cause the generated library to
10482 # depend on `.', always an invalid library. This was fixed in
10483 # development snapshots of GCC prior to 3.0.
10484 case $host_os in
10485 aix4 | aix4.[01] | aix4.[01].*)
10486 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10487 echo ' yes '
10488 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10490 else
10491 can_build_shared=no
10494 esac
10495 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10496 # soname into executable. Probably we can add versioning support to
10497 # collect2, so additional links can be useful in future.
10498 if test "$aix_use_runtimelinking" = yes; then
10499 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10500 # instead of lib<name>.a to let people know that these are not
10501 # typical AIX shared libraries.
10502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10503 else
10504 # We preserve .a as extension for shared libraries through AIX4.2
10505 # and later when we are not doing run time linking.
10506 library_names_spec='${libname}${release}.a $libname.a'
10507 soname_spec='${libname}${release}${shared_ext}$major'
10509 shlibpath_var=LIBPATH
10513 amigaos*)
10514 case $host_cpu in
10515 powerpc)
10516 # Since July 2007 AmigaOS4 officially supports .so libraries.
10517 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10520 m68k)
10521 library_names_spec='$libname.ixlibrary $libname.a'
10522 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10523 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'
10525 esac
10528 beos*)
10529 library_names_spec='${libname}${shared_ext}'
10530 dynamic_linker="$host_os ld.so"
10531 shlibpath_var=LIBRARY_PATH
10534 bsdi[45]*)
10535 version_type=linux
10536 need_version=no
10537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10538 soname_spec='${libname}${release}${shared_ext}$major'
10539 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10540 shlibpath_var=LD_LIBRARY_PATH
10541 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10542 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10543 # the default ld.so.conf also contains /usr/contrib/lib and
10544 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10545 # libtool to hard-code these into programs
10548 cygwin* | mingw* | pw32* | cegcc*)
10549 version_type=windows
10550 shrext_cmds=".dll"
10551 need_version=no
10552 need_lib_prefix=no
10554 case $GCC,$host_os in
10555 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10556 library_names_spec='$libname.dll.a'
10557 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10558 postinstall_cmds='base_file=`basename \${file}`~
10559 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10560 dldir=$destdir/`dirname \$dlpath`~
10561 test -d \$dldir || mkdir -p \$dldir~
10562 $install_prog $dir/$dlname \$dldir/$dlname~
10563 chmod a+x \$dldir/$dlname~
10564 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10565 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10567 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10568 dlpath=$dir/\$dldll~
10569 $RM \$dlpath'
10570 shlibpath_overrides_runpath=yes
10572 case $host_os in
10573 cygwin*)
10574 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10575 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10577 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10579 mingw* | cegcc*)
10580 # MinGW DLLs use traditional 'lib' prefix
10581 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10583 pw32*)
10584 # pw32 DLLs use 'pw' prefix rather than 'lib'
10585 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10587 esac
10591 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10593 esac
10594 dynamic_linker='Win32 ld.exe'
10595 # FIXME: first we should search . and the directory the executable is in
10596 shlibpath_var=PATH
10599 darwin* | rhapsody*)
10600 dynamic_linker="$host_os dyld"
10601 version_type=darwin
10602 need_lib_prefix=no
10603 need_version=no
10604 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10605 soname_spec='${libname}${release}${major}$shared_ext'
10606 shlibpath_overrides_runpath=yes
10607 shlibpath_var=DYLD_LIBRARY_PATH
10608 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10610 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10611 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10614 dgux*)
10615 version_type=linux
10616 need_lib_prefix=no
10617 need_version=no
10618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10619 soname_spec='${libname}${release}${shared_ext}$major'
10620 shlibpath_var=LD_LIBRARY_PATH
10623 freebsd* | dragonfly*)
10624 # DragonFly does not have aout. When/if they implement a new
10625 # versioning mechanism, adjust this.
10626 if test -x /usr/bin/objformat; then
10627 objformat=`/usr/bin/objformat`
10628 else
10629 case $host_os in
10630 freebsd[23].*) objformat=aout ;;
10631 *) objformat=elf ;;
10632 esac
10634 version_type=freebsd-$objformat
10635 case $version_type in
10636 freebsd-elf*)
10637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10638 need_version=no
10639 need_lib_prefix=no
10641 freebsd-*)
10642 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10643 need_version=yes
10645 esac
10646 shlibpath_var=LD_LIBRARY_PATH
10647 case $host_os in
10648 freebsd2.*)
10649 shlibpath_overrides_runpath=yes
10651 freebsd3.[01]* | freebsdelf3.[01]*)
10652 shlibpath_overrides_runpath=yes
10653 hardcode_into_libs=yes
10655 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10656 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10657 shlibpath_overrides_runpath=no
10658 hardcode_into_libs=yes
10660 *) # from 4.6 on, and DragonFly
10661 shlibpath_overrides_runpath=yes
10662 hardcode_into_libs=yes
10664 esac
10667 gnu*)
10668 version_type=linux
10669 need_lib_prefix=no
10670 need_version=no
10671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10672 soname_spec='${libname}${release}${shared_ext}$major'
10673 shlibpath_var=LD_LIBRARY_PATH
10674 hardcode_into_libs=yes
10677 haiku*)
10678 version_type=linux
10679 need_lib_prefix=no
10680 need_version=no
10681 dynamic_linker="$host_os runtime_loader"
10682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10683 soname_spec='${libname}${release}${shared_ext}$major'
10684 shlibpath_var=LIBRARY_PATH
10685 shlibpath_overrides_runpath=yes
10686 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10687 hardcode_into_libs=yes
10690 hpux9* | hpux10* | hpux11*)
10691 # Give a soname corresponding to the major version so that dld.sl refuses to
10692 # link against other versions.
10693 version_type=sunos
10694 need_lib_prefix=no
10695 need_version=no
10696 case $host_cpu in
10697 ia64*)
10698 shrext_cmds='.so'
10699 hardcode_into_libs=yes
10700 dynamic_linker="$host_os dld.so"
10701 shlibpath_var=LD_LIBRARY_PATH
10702 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10704 soname_spec='${libname}${release}${shared_ext}$major'
10705 if test "X$HPUX_IA64_MODE" = X32; then
10706 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10707 else
10708 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10710 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10712 hppa*64*)
10713 shrext_cmds='.sl'
10714 hardcode_into_libs=yes
10715 dynamic_linker="$host_os dld.sl"
10716 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10717 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10719 soname_spec='${libname}${release}${shared_ext}$major'
10720 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10721 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10724 shrext_cmds='.sl'
10725 dynamic_linker="$host_os dld.sl"
10726 shlibpath_var=SHLIB_PATH
10727 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10729 soname_spec='${libname}${release}${shared_ext}$major'
10731 esac
10732 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10733 postinstall_cmds='chmod 555 $lib'
10734 # or fails outright, so override atomically:
10735 install_override_mode=555
10738 interix[3-9]*)
10739 version_type=linux
10740 need_lib_prefix=no
10741 need_version=no
10742 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10743 soname_spec='${libname}${release}${shared_ext}$major'
10744 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10745 shlibpath_var=LD_LIBRARY_PATH
10746 shlibpath_overrides_runpath=no
10747 hardcode_into_libs=yes
10750 irix5* | irix6* | nonstopux*)
10751 case $host_os in
10752 nonstopux*) version_type=nonstopux ;;
10754 if test "$lt_cv_prog_gnu_ld" = yes; then
10755 version_type=linux
10756 else
10757 version_type=irix
10758 fi ;;
10759 esac
10760 need_lib_prefix=no
10761 need_version=no
10762 soname_spec='${libname}${release}${shared_ext}$major'
10763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10764 case $host_os in
10765 irix5* | nonstopux*)
10766 libsuff= shlibsuff=
10769 case $LD in # libtool.m4 will add one of these switches to LD
10770 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10771 libsuff= shlibsuff= libmagic=32-bit;;
10772 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10773 libsuff=32 shlibsuff=N32 libmagic=N32;;
10774 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10775 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10776 *) libsuff= shlibsuff= libmagic=never-match;;
10777 esac
10779 esac
10780 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10781 shlibpath_overrides_runpath=no
10782 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10783 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10784 hardcode_into_libs=yes
10787 # No shared lib support for Linux oldld, aout, or coff.
10788 linux*oldld* | linux*aout* | linux*coff*)
10789 dynamic_linker=no
10792 # This must be Linux ELF.
10793 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10794 version_type=linux
10795 need_lib_prefix=no
10796 need_version=no
10797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10798 soname_spec='${libname}${release}${shared_ext}$major'
10799 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10800 shlibpath_var=LD_LIBRARY_PATH
10801 shlibpath_overrides_runpath=no
10803 # Some binutils ld are patched to set DT_RUNPATH
10804 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10805 $as_echo_n "(cached) " >&6
10806 else
10807 lt_cv_shlibpath_overrides_runpath=no
10808 save_LDFLAGS=$LDFLAGS
10809 save_libdir=$libdir
10810 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10811 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10812 if test x$gcc_no_link = xyes; then
10813 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10816 /* end confdefs.h. */
10819 main ()
10823 return 0;
10825 _ACEOF
10826 if ac_fn_c_try_link "$LINENO"; then :
10827 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10828 lt_cv_shlibpath_overrides_runpath=yes
10831 rm -f core conftest.err conftest.$ac_objext \
10832 conftest$ac_exeext conftest.$ac_ext
10833 LDFLAGS=$save_LDFLAGS
10834 libdir=$save_libdir
10838 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10840 # This implies no fast_install, which is unacceptable.
10841 # Some rework will be needed to allow for fast_install
10842 # before this can be enabled.
10843 hardcode_into_libs=yes
10845 # Append ld.so.conf contents to the search path
10846 if test -f /etc/ld.so.conf; then
10847 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' ' '`
10848 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10851 # We used to test for /lib/ld.so.1 and disable shared libraries on
10852 # powerpc, because MkLinux only supported shared libraries with the
10853 # GNU dynamic linker. Since this was broken with cross compilers,
10854 # most powerpc-linux boxes support dynamic linking these days and
10855 # people can always --disable-shared, the test was removed, and we
10856 # assume the GNU/Linux dynamic linker is in use.
10857 dynamic_linker='GNU/Linux ld.so'
10860 netbsd*)
10861 version_type=sunos
10862 need_lib_prefix=no
10863 need_version=no
10864 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10866 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10867 dynamic_linker='NetBSD (a.out) ld.so'
10868 else
10869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10870 soname_spec='${libname}${release}${shared_ext}$major'
10871 dynamic_linker='NetBSD ld.elf_so'
10873 shlibpath_var=LD_LIBRARY_PATH
10874 shlibpath_overrides_runpath=yes
10875 hardcode_into_libs=yes
10878 newsos6)
10879 version_type=linux
10880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10881 shlibpath_var=LD_LIBRARY_PATH
10882 shlibpath_overrides_runpath=yes
10885 *nto* | *qnx*)
10886 version_type=qnx
10887 need_lib_prefix=no
10888 need_version=no
10889 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10890 soname_spec='${libname}${release}${shared_ext}$major'
10891 shlibpath_var=LD_LIBRARY_PATH
10892 shlibpath_overrides_runpath=no
10893 hardcode_into_libs=yes
10894 dynamic_linker='ldqnx.so'
10897 openbsd*)
10898 version_type=sunos
10899 sys_lib_dlsearch_path_spec="/usr/lib"
10900 need_lib_prefix=no
10901 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10902 case $host_os in
10903 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10904 *) need_version=no ;;
10905 esac
10906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10907 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10908 shlibpath_var=LD_LIBRARY_PATH
10909 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10910 case $host_os in
10911 openbsd2.[89] | openbsd2.[89].*)
10912 shlibpath_overrides_runpath=no
10915 shlibpath_overrides_runpath=yes
10917 esac
10918 else
10919 shlibpath_overrides_runpath=yes
10923 os2*)
10924 libname_spec='$name'
10925 shrext_cmds=".dll"
10926 need_lib_prefix=no
10927 library_names_spec='$libname${shared_ext} $libname.a'
10928 dynamic_linker='OS/2 ld.exe'
10929 shlibpath_var=LIBPATH
10932 osf3* | osf4* | osf5*)
10933 version_type=osf
10934 need_lib_prefix=no
10935 need_version=no
10936 soname_spec='${libname}${release}${shared_ext}$major'
10937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10938 shlibpath_var=LD_LIBRARY_PATH
10939 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10940 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10943 rdos*)
10944 dynamic_linker=no
10947 solaris*)
10948 version_type=linux
10949 need_lib_prefix=no
10950 need_version=no
10951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10952 soname_spec='${libname}${release}${shared_ext}$major'
10953 shlibpath_var=LD_LIBRARY_PATH
10954 shlibpath_overrides_runpath=yes
10955 hardcode_into_libs=yes
10956 # ldd complains unless libraries are executable
10957 postinstall_cmds='chmod +x $lib'
10960 sunos4*)
10961 version_type=sunos
10962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10963 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10964 shlibpath_var=LD_LIBRARY_PATH
10965 shlibpath_overrides_runpath=yes
10966 if test "$with_gnu_ld" = yes; then
10967 need_lib_prefix=no
10969 need_version=yes
10972 sysv4 | sysv4.3*)
10973 version_type=linux
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 case $host_vendor in
10978 sni)
10979 shlibpath_overrides_runpath=no
10980 need_lib_prefix=no
10981 runpath_var=LD_RUN_PATH
10983 siemens)
10984 need_lib_prefix=no
10986 motorola)
10987 need_lib_prefix=no
10988 need_version=no
10989 shlibpath_overrides_runpath=no
10990 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10992 esac
10995 sysv4*MP*)
10996 if test -d /usr/nec ;then
10997 version_type=linux
10998 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10999 soname_spec='$libname${shared_ext}.$major'
11000 shlibpath_var=LD_LIBRARY_PATH
11004 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11005 version_type=freebsd-elf
11006 need_lib_prefix=no
11007 need_version=no
11008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11009 soname_spec='${libname}${release}${shared_ext}$major'
11010 shlibpath_var=LD_LIBRARY_PATH
11011 shlibpath_overrides_runpath=yes
11012 hardcode_into_libs=yes
11013 if test "$with_gnu_ld" = yes; then
11014 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11015 else
11016 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11017 case $host_os in
11018 sco3.2v5*)
11019 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11021 esac
11023 sys_lib_dlsearch_path_spec='/usr/lib'
11026 tpf*)
11027 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11028 version_type=linux
11029 need_lib_prefix=no
11030 need_version=no
11031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11032 shlibpath_var=LD_LIBRARY_PATH
11033 shlibpath_overrides_runpath=no
11034 hardcode_into_libs=yes
11037 uts4*)
11038 version_type=linux
11039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11040 soname_spec='${libname}${release}${shared_ext}$major'
11041 shlibpath_var=LD_LIBRARY_PATH
11045 dynamic_linker=no
11047 esac
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11049 $as_echo "$dynamic_linker" >&6; }
11050 test "$dynamic_linker" = no && can_build_shared=no
11052 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11053 if test "$GCC" = yes; then
11054 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11057 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11058 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11060 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11061 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11156 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11157 hardcode_action=
11158 if test -n "$hardcode_libdir_flag_spec" ||
11159 test -n "$runpath_var" ||
11160 test "X$hardcode_automatic" = "Xyes" ; then
11162 # We can hardcode non-existent directories.
11163 if test "$hardcode_direct" != no &&
11164 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11165 # have to relink, otherwise we might link with an installed library
11166 # when we should be linking with a yet-to-be-installed one
11167 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11168 test "$hardcode_minus_L" != no; then
11169 # Linking always hardcodes the temporary library directory.
11170 hardcode_action=relink
11171 else
11172 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11173 hardcode_action=immediate
11175 else
11176 # We cannot hardcode anything, or else we can only hardcode existing
11177 # directories.
11178 hardcode_action=unsupported
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11181 $as_echo "$hardcode_action" >&6; }
11183 if test "$hardcode_action" = relink ||
11184 test "$inherit_rpath" = yes; then
11185 # Fast installation is not supported
11186 enable_fast_install=no
11187 elif test "$shlibpath_overrides_runpath" = yes ||
11188 test "$enable_shared" = no; then
11189 # Fast installation is not necessary
11190 enable_fast_install=needless
11198 if test "x$enable_dlopen" != xyes; then
11199 enable_dlopen=unknown
11200 enable_dlopen_self=unknown
11201 enable_dlopen_self_static=unknown
11202 else
11203 lt_cv_dlopen=no
11204 lt_cv_dlopen_libs=
11206 case $host_os in
11207 beos*)
11208 lt_cv_dlopen="load_add_on"
11209 lt_cv_dlopen_libs=
11210 lt_cv_dlopen_self=yes
11213 mingw* | pw32* | cegcc*)
11214 lt_cv_dlopen="LoadLibrary"
11215 lt_cv_dlopen_libs=
11218 cygwin*)
11219 lt_cv_dlopen="dlopen"
11220 lt_cv_dlopen_libs=
11223 darwin*)
11224 # if libdl is installed we need to link against it
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11226 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11227 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11228 $as_echo_n "(cached) " >&6
11229 else
11230 ac_check_lib_save_LIBS=$LIBS
11231 LIBS="-ldl $LIBS"
11232 if test x$gcc_no_link = xyes; then
11233 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11236 /* end confdefs.h. */
11238 /* Override any GCC internal prototype to avoid an error.
11239 Use char because int might match the return type of a GCC
11240 builtin and then its argument prototype would still apply. */
11241 #ifdef __cplusplus
11242 extern "C"
11243 #endif
11244 char dlopen ();
11246 main ()
11248 return dlopen ();
11250 return 0;
11252 _ACEOF
11253 if ac_fn_c_try_link "$LINENO"; then :
11254 ac_cv_lib_dl_dlopen=yes
11255 else
11256 ac_cv_lib_dl_dlopen=no
11258 rm -f core conftest.err conftest.$ac_objext \
11259 conftest$ac_exeext conftest.$ac_ext
11260 LIBS=$ac_check_lib_save_LIBS
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11263 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11264 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11265 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11266 else
11268 lt_cv_dlopen="dyld"
11269 lt_cv_dlopen_libs=
11270 lt_cv_dlopen_self=yes
11277 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11278 if test "x$ac_cv_func_shl_load" = x""yes; then :
11279 lt_cv_dlopen="shl_load"
11280 else
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11282 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11283 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11284 $as_echo_n "(cached) " >&6
11285 else
11286 ac_check_lib_save_LIBS=$LIBS
11287 LIBS="-ldld $LIBS"
11288 if test x$gcc_no_link = xyes; then
11289 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11292 /* end confdefs.h. */
11294 /* Override any GCC internal prototype to avoid an error.
11295 Use char because int might match the return type of a GCC
11296 builtin and then its argument prototype would still apply. */
11297 #ifdef __cplusplus
11298 extern "C"
11299 #endif
11300 char shl_load ();
11302 main ()
11304 return shl_load ();
11306 return 0;
11308 _ACEOF
11309 if ac_fn_c_try_link "$LINENO"; then :
11310 ac_cv_lib_dld_shl_load=yes
11311 else
11312 ac_cv_lib_dld_shl_load=no
11314 rm -f core conftest.err conftest.$ac_objext \
11315 conftest$ac_exeext conftest.$ac_ext
11316 LIBS=$ac_check_lib_save_LIBS
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11319 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11320 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11321 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11322 else
11323 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11324 if test "x$ac_cv_func_dlopen" = x""yes; then :
11325 lt_cv_dlopen="dlopen"
11326 else
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11328 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11329 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11330 $as_echo_n "(cached) " >&6
11331 else
11332 ac_check_lib_save_LIBS=$LIBS
11333 LIBS="-ldl $LIBS"
11334 if test x$gcc_no_link = xyes; then
11335 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11338 /* end confdefs.h. */
11340 /* Override any GCC internal prototype to avoid an error.
11341 Use char because int might match the return type of a GCC
11342 builtin and then its argument prototype would still apply. */
11343 #ifdef __cplusplus
11344 extern "C"
11345 #endif
11346 char dlopen ();
11348 main ()
11350 return dlopen ();
11352 return 0;
11354 _ACEOF
11355 if ac_fn_c_try_link "$LINENO"; then :
11356 ac_cv_lib_dl_dlopen=yes
11357 else
11358 ac_cv_lib_dl_dlopen=no
11360 rm -f core conftest.err conftest.$ac_objext \
11361 conftest$ac_exeext conftest.$ac_ext
11362 LIBS=$ac_check_lib_save_LIBS
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11365 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11366 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11367 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11368 else
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11370 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11371 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11372 $as_echo_n "(cached) " >&6
11373 else
11374 ac_check_lib_save_LIBS=$LIBS
11375 LIBS="-lsvld $LIBS"
11376 if test x$gcc_no_link = xyes; then
11377 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11380 /* end confdefs.h. */
11382 /* Override any GCC internal prototype to avoid an error.
11383 Use char because int might match the return type of a GCC
11384 builtin and then its argument prototype would still apply. */
11385 #ifdef __cplusplus
11386 extern "C"
11387 #endif
11388 char dlopen ();
11390 main ()
11392 return dlopen ();
11394 return 0;
11396 _ACEOF
11397 if ac_fn_c_try_link "$LINENO"; then :
11398 ac_cv_lib_svld_dlopen=yes
11399 else
11400 ac_cv_lib_svld_dlopen=no
11402 rm -f core conftest.err conftest.$ac_objext \
11403 conftest$ac_exeext conftest.$ac_ext
11404 LIBS=$ac_check_lib_save_LIBS
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11407 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11408 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11409 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11410 else
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11412 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11413 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11414 $as_echo_n "(cached) " >&6
11415 else
11416 ac_check_lib_save_LIBS=$LIBS
11417 LIBS="-ldld $LIBS"
11418 if test x$gcc_no_link = xyes; then
11419 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11422 /* end confdefs.h. */
11424 /* Override any GCC internal prototype to avoid an error.
11425 Use char because int might match the return type of a GCC
11426 builtin and then its argument prototype would still apply. */
11427 #ifdef __cplusplus
11428 extern "C"
11429 #endif
11430 char dld_link ();
11432 main ()
11434 return dld_link ();
11436 return 0;
11438 _ACEOF
11439 if ac_fn_c_try_link "$LINENO"; then :
11440 ac_cv_lib_dld_dld_link=yes
11441 else
11442 ac_cv_lib_dld_dld_link=no
11444 rm -f core conftest.err conftest.$ac_objext \
11445 conftest$ac_exeext conftest.$ac_ext
11446 LIBS=$ac_check_lib_save_LIBS
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11449 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11450 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11451 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11470 esac
11472 if test "x$lt_cv_dlopen" != xno; then
11473 enable_dlopen=yes
11474 else
11475 enable_dlopen=no
11478 case $lt_cv_dlopen in
11479 dlopen)
11480 save_CPPFLAGS="$CPPFLAGS"
11481 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11483 save_LDFLAGS="$LDFLAGS"
11484 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11486 save_LIBS="$LIBS"
11487 LIBS="$lt_cv_dlopen_libs $LIBS"
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11490 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11491 if test "${lt_cv_dlopen_self+set}" = set; then :
11492 $as_echo_n "(cached) " >&6
11493 else
11494 if test "$cross_compiling" = yes; then :
11495 lt_cv_dlopen_self=cross
11496 else
11497 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11498 lt_status=$lt_dlunknown
11499 cat > conftest.$ac_ext <<_LT_EOF
11500 #line 11500 "configure"
11501 #include "confdefs.h"
11503 #if HAVE_DLFCN_H
11504 #include <dlfcn.h>
11505 #endif
11507 #include <stdio.h>
11509 #ifdef RTLD_GLOBAL
11510 # define LT_DLGLOBAL RTLD_GLOBAL
11511 #else
11512 # ifdef DL_GLOBAL
11513 # define LT_DLGLOBAL DL_GLOBAL
11514 # else
11515 # define LT_DLGLOBAL 0
11516 # endif
11517 #endif
11519 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11520 find out it does not work in some platform. */
11521 #ifndef LT_DLLAZY_OR_NOW
11522 # ifdef RTLD_LAZY
11523 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11524 # else
11525 # ifdef DL_LAZY
11526 # define LT_DLLAZY_OR_NOW DL_LAZY
11527 # else
11528 # ifdef RTLD_NOW
11529 # define LT_DLLAZY_OR_NOW RTLD_NOW
11530 # else
11531 # ifdef DL_NOW
11532 # define LT_DLLAZY_OR_NOW DL_NOW
11533 # else
11534 # define LT_DLLAZY_OR_NOW 0
11535 # endif
11536 # endif
11537 # endif
11538 # endif
11539 #endif
11541 /* When -fvisbility=hidden is used, assume the code has been annotated
11542 correspondingly for the symbols needed. */
11543 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11544 void fnord () __attribute__((visibility("default")));
11545 #endif
11547 void fnord () { int i=42; }
11548 int main ()
11550 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11551 int status = $lt_dlunknown;
11553 if (self)
11555 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11556 else
11558 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11559 else puts (dlerror ());
11561 /* dlclose (self); */
11563 else
11564 puts (dlerror ());
11566 return status;
11568 _LT_EOF
11569 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11570 (eval $ac_link) 2>&5
11571 ac_status=$?
11572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11573 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11574 (./conftest; exit; ) >&5 2>/dev/null
11575 lt_status=$?
11576 case x$lt_status in
11577 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11578 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11579 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11580 esac
11581 else :
11582 # compilation failed
11583 lt_cv_dlopen_self=no
11586 rm -fr conftest*
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11591 $as_echo "$lt_cv_dlopen_self" >&6; }
11593 if test "x$lt_cv_dlopen_self" = xyes; then
11594 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11596 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11597 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11598 $as_echo_n "(cached) " >&6
11599 else
11600 if test "$cross_compiling" = yes; then :
11601 lt_cv_dlopen_self_static=cross
11602 else
11603 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11604 lt_status=$lt_dlunknown
11605 cat > conftest.$ac_ext <<_LT_EOF
11606 #line 11606 "configure"
11607 #include "confdefs.h"
11609 #if HAVE_DLFCN_H
11610 #include <dlfcn.h>
11611 #endif
11613 #include <stdio.h>
11615 #ifdef RTLD_GLOBAL
11616 # define LT_DLGLOBAL RTLD_GLOBAL
11617 #else
11618 # ifdef DL_GLOBAL
11619 # define LT_DLGLOBAL DL_GLOBAL
11620 # else
11621 # define LT_DLGLOBAL 0
11622 # endif
11623 #endif
11625 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11626 find out it does not work in some platform. */
11627 #ifndef LT_DLLAZY_OR_NOW
11628 # ifdef RTLD_LAZY
11629 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11630 # else
11631 # ifdef DL_LAZY
11632 # define LT_DLLAZY_OR_NOW DL_LAZY
11633 # else
11634 # ifdef RTLD_NOW
11635 # define LT_DLLAZY_OR_NOW RTLD_NOW
11636 # else
11637 # ifdef DL_NOW
11638 # define LT_DLLAZY_OR_NOW DL_NOW
11639 # else
11640 # define LT_DLLAZY_OR_NOW 0
11641 # endif
11642 # endif
11643 # endif
11644 # endif
11645 #endif
11647 /* When -fvisbility=hidden is used, assume the code has been annotated
11648 correspondingly for the symbols needed. */
11649 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11650 void fnord () __attribute__((visibility("default")));
11651 #endif
11653 void fnord () { int i=42; }
11654 int main ()
11656 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11657 int status = $lt_dlunknown;
11659 if (self)
11661 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11662 else
11664 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11665 else puts (dlerror ());
11667 /* dlclose (self); */
11669 else
11670 puts (dlerror ());
11672 return status;
11674 _LT_EOF
11675 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11676 (eval $ac_link) 2>&5
11677 ac_status=$?
11678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11679 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11680 (./conftest; exit; ) >&5 2>/dev/null
11681 lt_status=$?
11682 case x$lt_status in
11683 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11684 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11685 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11686 esac
11687 else :
11688 # compilation failed
11689 lt_cv_dlopen_self_static=no
11692 rm -fr conftest*
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11697 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11700 CPPFLAGS="$save_CPPFLAGS"
11701 LDFLAGS="$save_LDFLAGS"
11702 LIBS="$save_LIBS"
11704 esac
11706 case $lt_cv_dlopen_self in
11707 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11708 *) enable_dlopen_self=unknown ;;
11709 esac
11711 case $lt_cv_dlopen_self_static in
11712 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11713 *) enable_dlopen_self_static=unknown ;;
11714 esac
11733 striplib=
11734 old_striplib=
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11736 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11737 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11738 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11739 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11741 $as_echo "yes" >&6; }
11742 else
11743 # FIXME - insert some real tests, host_os isn't really good enough
11744 case $host_os in
11745 darwin*)
11746 if test -n "$STRIP" ; then
11747 striplib="$STRIP -x"
11748 old_striplib="$STRIP -S"
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11750 $as_echo "yes" >&6; }
11751 else
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11753 $as_echo "no" >&6; }
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11758 $as_echo "no" >&6; }
11760 esac
11774 # Report which library types will actually be built
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11776 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11778 $as_echo "$can_build_shared" >&6; }
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11781 $as_echo_n "checking whether to build shared libraries... " >&6; }
11782 test "$can_build_shared" = "no" && enable_shared=no
11784 # On AIX, shared libraries and static libraries use the same namespace, and
11785 # are all built from PIC.
11786 case $host_os in
11787 aix3*)
11788 test "$enable_shared" = yes && enable_static=no
11789 if test -n "$RANLIB"; then
11790 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11791 postinstall_cmds='$RANLIB $lib'
11795 aix[4-9]*)
11796 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11797 test "$enable_shared" = yes && enable_static=no
11800 esac
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11802 $as_echo "$enable_shared" >&6; }
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11805 $as_echo_n "checking whether to build static libraries... " >&6; }
11806 # Make sure either enable_shared or enable_static is yes.
11807 test "$enable_shared" = yes || enable_static=yes
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11809 $as_echo "$enable_static" >&6; }
11815 ac_ext=c
11816 ac_cpp='$CPP $CPPFLAGS'
11817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11821 CC="$lt_save_CC"
11823 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11824 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11825 (test "X$CXX" != "Xg++"))) ; then
11826 ac_ext=cpp
11827 ac_cpp='$CXXCPP $CPPFLAGS'
11828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11832 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11833 if test -z "$CXXCPP"; then
11834 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11835 $as_echo_n "(cached) " >&6
11836 else
11837 # Double quotes because CXXCPP needs to be expanded
11838 for CXXCPP in "$CXX -E" "/lib/cpp"
11840 ac_preproc_ok=false
11841 for ac_cxx_preproc_warn_flag in '' yes
11843 # Use a header file that comes with gcc, so configuring glibc
11844 # with a fresh cross-compiler works.
11845 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11846 # <limits.h> exists even on freestanding compilers.
11847 # On the NeXT, cc -E runs the code through the compiler's parser,
11848 # not just through cpp. "Syntax error" is here to catch this case.
11849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11850 /* end confdefs.h. */
11851 #ifdef __STDC__
11852 # include <limits.h>
11853 #else
11854 # include <assert.h>
11855 #endif
11856 Syntax error
11857 _ACEOF
11858 if ac_fn_cxx_try_cpp "$LINENO"; then :
11860 else
11861 # Broken: fails on valid input.
11862 continue
11864 rm -f conftest.err conftest.$ac_ext
11866 # OK, works on sane cases. Now check whether nonexistent headers
11867 # can be detected and how.
11868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11869 /* end confdefs.h. */
11870 #include <ac_nonexistent.h>
11871 _ACEOF
11872 if ac_fn_cxx_try_cpp "$LINENO"; then :
11873 # Broken: success on invalid input.
11874 continue
11875 else
11876 # Passes both tests.
11877 ac_preproc_ok=:
11878 break
11880 rm -f conftest.err conftest.$ac_ext
11882 done
11883 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11884 rm -f conftest.err conftest.$ac_ext
11885 if $ac_preproc_ok; then :
11886 break
11889 done
11890 ac_cv_prog_CXXCPP=$CXXCPP
11893 CXXCPP=$ac_cv_prog_CXXCPP
11894 else
11895 ac_cv_prog_CXXCPP=$CXXCPP
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11898 $as_echo "$CXXCPP" >&6; }
11899 ac_preproc_ok=false
11900 for ac_cxx_preproc_warn_flag in '' yes
11902 # Use a header file that comes with gcc, so configuring glibc
11903 # with a fresh cross-compiler works.
11904 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11905 # <limits.h> exists even on freestanding compilers.
11906 # On the NeXT, cc -E runs the code through the compiler's parser,
11907 # not just through cpp. "Syntax error" is here to catch this case.
11908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11909 /* end confdefs.h. */
11910 #ifdef __STDC__
11911 # include <limits.h>
11912 #else
11913 # include <assert.h>
11914 #endif
11915 Syntax error
11916 _ACEOF
11917 if ac_fn_cxx_try_cpp "$LINENO"; then :
11919 else
11920 # Broken: fails on valid input.
11921 continue
11923 rm -f conftest.err conftest.$ac_ext
11925 # OK, works on sane cases. Now check whether nonexistent headers
11926 # can be detected and how.
11927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h. */
11929 #include <ac_nonexistent.h>
11930 _ACEOF
11931 if ac_fn_cxx_try_cpp "$LINENO"; then :
11932 # Broken: success on invalid input.
11933 continue
11934 else
11935 # Passes both tests.
11936 ac_preproc_ok=:
11937 break
11939 rm -f conftest.err conftest.$ac_ext
11941 done
11942 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11943 rm -f conftest.err conftest.$ac_ext
11944 if $ac_preproc_ok; then :
11946 else
11947 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11949 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11950 See \`config.log' for more details." "$LINENO" 5; }
11953 ac_ext=c
11954 ac_cpp='$CPP $CPPFLAGS'
11955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11959 else
11960 _lt_caught_CXX_error=yes
11963 ac_ext=cpp
11964 ac_cpp='$CXXCPP $CPPFLAGS'
11965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11969 archive_cmds_need_lc_CXX=no
11970 allow_undefined_flag_CXX=
11971 always_export_symbols_CXX=no
11972 archive_expsym_cmds_CXX=
11973 compiler_needs_object_CXX=no
11974 export_dynamic_flag_spec_CXX=
11975 hardcode_direct_CXX=no
11976 hardcode_direct_absolute_CXX=no
11977 hardcode_libdir_flag_spec_CXX=
11978 hardcode_libdir_flag_spec_ld_CXX=
11979 hardcode_libdir_separator_CXX=
11980 hardcode_minus_L_CXX=no
11981 hardcode_shlibpath_var_CXX=unsupported
11982 hardcode_automatic_CXX=no
11983 inherit_rpath_CXX=no
11984 module_cmds_CXX=
11985 module_expsym_cmds_CXX=
11986 link_all_deplibs_CXX=unknown
11987 old_archive_cmds_CXX=$old_archive_cmds
11988 reload_flag_CXX=$reload_flag
11989 reload_cmds_CXX=$reload_cmds
11990 no_undefined_flag_CXX=
11991 whole_archive_flag_spec_CXX=
11992 enable_shared_with_static_runtimes_CXX=no
11994 # Source file extension for C++ test sources.
11995 ac_ext=cpp
11997 # Object file extension for compiled C++ test sources.
11998 objext=o
11999 objext_CXX=$objext
12001 # No sense in running all these tests if we already determined that
12002 # the CXX compiler isn't working. Some variables (like enable_shared)
12003 # are currently assumed to apply to all compilers on this platform,
12004 # and will be corrupted by setting them based on a non-working compiler.
12005 if test "$_lt_caught_CXX_error" != yes; then
12006 # Code to be used in simple compile tests
12007 lt_simple_compile_test_code="int some_variable = 0;"
12009 # Code to be used in simple link tests
12010 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12012 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12019 # If no C compiler was specified, use CC.
12020 LTCC=${LTCC-"$CC"}
12022 # If no C compiler flags were specified, use CFLAGS.
12023 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12025 # Allow CC to be a program name with arguments.
12026 compiler=$CC
12029 # save warnings/boilerplate of simple test code
12030 ac_outfile=conftest.$ac_objext
12031 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12032 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12033 _lt_compiler_boilerplate=`cat conftest.err`
12034 $RM conftest*
12036 ac_outfile=conftest.$ac_objext
12037 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12038 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12039 _lt_linker_boilerplate=`cat conftest.err`
12040 $RM -r conftest*
12043 # Allow CC to be a program name with arguments.
12044 lt_save_CC=$CC
12045 lt_save_LD=$LD
12046 lt_save_GCC=$GCC
12047 GCC=$GXX
12048 lt_save_with_gnu_ld=$with_gnu_ld
12049 lt_save_path_LD=$lt_cv_path_LD
12050 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12051 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12052 else
12053 $as_unset lt_cv_prog_gnu_ld
12055 if test -n "${lt_cv_path_LDCXX+set}"; then
12056 lt_cv_path_LD=$lt_cv_path_LDCXX
12057 else
12058 $as_unset lt_cv_path_LD
12060 test -z "${LDCXX+set}" || LD=$LDCXX
12061 CC=${CXX-"c++"}
12062 compiler=$CC
12063 compiler_CXX=$CC
12064 for cc_temp in $compiler""; do
12065 case $cc_temp in
12066 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12067 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12068 \-*) ;;
12069 *) break;;
12070 esac
12071 done
12072 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12075 if test -n "$compiler"; then
12076 # We don't want -fno-exception when compiling C++ code, so set the
12077 # no_builtin_flag separately
12078 if test "$GXX" = yes; then
12079 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12080 else
12081 lt_prog_compiler_no_builtin_flag_CXX=
12084 if test "$GXX" = yes; then
12085 # Set up default GNU C++ configuration
12089 # Check whether --with-gnu-ld was given.
12090 if test "${with_gnu_ld+set}" = set; then :
12091 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12092 else
12093 with_gnu_ld=no
12096 ac_prog=ld
12097 if test "$GCC" = yes; then
12098 # Check if gcc -print-prog-name=ld gives a path.
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12100 $as_echo_n "checking for ld used by $CC... " >&6; }
12101 case $host in
12102 *-*-mingw*)
12103 # gcc leaves a trailing carriage return which upsets mingw
12104 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12106 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12107 esac
12108 case $ac_prog in
12109 # Accept absolute paths.
12110 [\\/]* | ?:[\\/]*)
12111 re_direlt='/[^/][^/]*/\.\./'
12112 # Canonicalize the pathname of ld
12113 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12114 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12115 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12116 done
12117 test -z "$LD" && LD="$ac_prog"
12120 # If it fails, then pretend we aren't using GCC.
12121 ac_prog=ld
12124 # If it is relative, then search for the first ld in PATH.
12125 with_gnu_ld=unknown
12127 esac
12128 elif test "$with_gnu_ld" = yes; then
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12130 $as_echo_n "checking for GNU ld... " >&6; }
12131 else
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12133 $as_echo_n "checking for non-GNU ld... " >&6; }
12135 if test "${lt_cv_path_LD+set}" = set; then :
12136 $as_echo_n "(cached) " >&6
12137 else
12138 if test -z "$LD"; then
12139 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12140 for ac_dir in $PATH; do
12141 IFS="$lt_save_ifs"
12142 test -z "$ac_dir" && ac_dir=.
12143 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12144 lt_cv_path_LD="$ac_dir/$ac_prog"
12145 # Check to see if the program is GNU ld. I'd rather use --version,
12146 # but apparently some variants of GNU ld only accept -v.
12147 # Break only if it was the GNU/non-GNU ld that we prefer.
12148 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12149 *GNU* | *'with BFD'*)
12150 test "$with_gnu_ld" != no && break
12153 test "$with_gnu_ld" != yes && break
12155 esac
12157 done
12158 IFS="$lt_save_ifs"
12159 else
12160 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12164 LD="$lt_cv_path_LD"
12165 if test -n "$LD"; then
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12167 $as_echo "$LD" >&6; }
12168 else
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12170 $as_echo "no" >&6; }
12172 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12174 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12175 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12176 $as_echo_n "(cached) " >&6
12177 else
12178 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12179 case `$LD -v 2>&1 </dev/null` in
12180 *GNU* | *'with BFD'*)
12181 lt_cv_prog_gnu_ld=yes
12184 lt_cv_prog_gnu_ld=no
12186 esac
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12189 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12190 with_gnu_ld=$lt_cv_prog_gnu_ld
12198 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12199 # archiving commands below assume that GNU ld is being used.
12200 if test "$with_gnu_ld" = yes; then
12201 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12202 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'
12204 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12205 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12207 # If archive_cmds runs LD, not CC, wlarc should be empty
12208 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12209 # investigate it a little bit more. (MM)
12210 wlarc='${wl}'
12212 # ancient GNU ld didn't support --whole-archive et. al.
12213 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12214 $GREP 'no-whole-archive' > /dev/null; then
12215 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12216 else
12217 whole_archive_flag_spec_CXX=
12219 else
12220 with_gnu_ld=no
12221 wlarc=
12223 # A generic and very simple default shared library creation
12224 # command for GNU C++ for the case where it uses the native
12225 # linker, instead of GNU ld. If possible, this setting should
12226 # overridden to take advantage of the native linker features on
12227 # the platform it is being used on.
12228 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12231 # Commands to make compiler produce verbose output that lists
12232 # what "hidden" libraries, object files and flags are used when
12233 # linking a shared library.
12234 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12236 else
12237 GXX=no
12238 with_gnu_ld=no
12239 wlarc=
12242 # PORTME: fill in a description of your system's C++ link characteristics
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12244 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12245 ld_shlibs_CXX=yes
12246 case $host_os in
12247 aix3*)
12248 # FIXME: insert proper C++ library support
12249 ld_shlibs_CXX=no
12251 aix[4-9]*)
12252 if test "$host_cpu" = ia64; then
12253 # On IA64, the linker does run time linking by default, so we don't
12254 # have to do anything special.
12255 aix_use_runtimelinking=no
12256 exp_sym_flag='-Bexport'
12257 no_entry_flag=""
12258 else
12259 aix_use_runtimelinking=no
12261 # Test if we are trying to use run time linking or normal
12262 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12263 # need to do runtime linking.
12264 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12265 for ld_flag in $LDFLAGS; do
12266 case $ld_flag in
12267 *-brtl*)
12268 aix_use_runtimelinking=yes
12269 break
12271 esac
12272 done
12274 esac
12276 exp_sym_flag='-bexport'
12277 no_entry_flag='-bnoentry'
12280 # When large executables or shared objects are built, AIX ld can
12281 # have problems creating the table of contents. If linking a library
12282 # or program results in "error TOC overflow" add -mminimal-toc to
12283 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12284 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12286 archive_cmds_CXX=''
12287 hardcode_direct_CXX=yes
12288 hardcode_direct_absolute_CXX=yes
12289 hardcode_libdir_separator_CXX=':'
12290 link_all_deplibs_CXX=yes
12291 file_list_spec_CXX='${wl}-f,'
12293 if test "$GXX" = yes; then
12294 case $host_os in aix4.[012]|aix4.[012].*)
12295 # We only want to do this on AIX 4.2 and lower, the check
12296 # below for broken collect2 doesn't work under 4.3+
12297 collect2name=`${CC} -print-prog-name=collect2`
12298 if test -f "$collect2name" &&
12299 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12300 then
12301 # We have reworked collect2
12303 else
12304 # We have old collect2
12305 hardcode_direct_CXX=unsupported
12306 # It fails to find uninstalled libraries when the uninstalled
12307 # path is not listed in the libpath. Setting hardcode_minus_L
12308 # to unsupported forces relinking
12309 hardcode_minus_L_CXX=yes
12310 hardcode_libdir_flag_spec_CXX='-L$libdir'
12311 hardcode_libdir_separator_CXX=
12313 esac
12314 shared_flag='-shared'
12315 if test "$aix_use_runtimelinking" = yes; then
12316 shared_flag="$shared_flag "'${wl}-G'
12318 else
12319 # not using gcc
12320 if test "$host_cpu" = ia64; then
12321 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12322 # chokes on -Wl,-G. The following line is correct:
12323 shared_flag='-G'
12324 else
12325 if test "$aix_use_runtimelinking" = yes; then
12326 shared_flag='${wl}-G'
12327 else
12328 shared_flag='${wl}-bM:SRE'
12333 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12334 # It seems that -bexpall does not export symbols beginning with
12335 # underscore (_), so it is better to generate a list of symbols to
12336 # export.
12337 always_export_symbols_CXX=yes
12338 if test "$aix_use_runtimelinking" = yes; then
12339 # Warning - without using the other runtime loading flags (-brtl),
12340 # -berok will link without error, but may produce a broken library.
12341 allow_undefined_flag_CXX='-berok'
12342 # Determine the default libpath from the value encoded in an empty
12343 # executable.
12344 if test x$gcc_no_link = xyes; then
12345 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12348 /* end confdefs.h. */
12351 main ()
12355 return 0;
12357 _ACEOF
12358 if ac_fn_cxx_try_link "$LINENO"; then :
12360 lt_aix_libpath_sed='
12361 /Import File Strings/,/^$/ {
12362 /^0/ {
12363 s/^0 *\(.*\)$/\1/
12367 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12368 # Check for a 64-bit object if we didn't find anything.
12369 if test -z "$aix_libpath"; then
12370 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12373 rm -f core conftest.err conftest.$ac_objext \
12374 conftest$ac_exeext conftest.$ac_ext
12375 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12377 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12379 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"
12380 else
12381 if test "$host_cpu" = ia64; then
12382 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12383 allow_undefined_flag_CXX="-z nodefs"
12384 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"
12385 else
12386 # Determine the default libpath from the value encoded in an
12387 # empty executable.
12388 if test x$gcc_no_link = xyes; then
12389 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12392 /* end confdefs.h. */
12395 main ()
12399 return 0;
12401 _ACEOF
12402 if ac_fn_cxx_try_link "$LINENO"; then :
12404 lt_aix_libpath_sed='
12405 /Import File Strings/,/^$/ {
12406 /^0/ {
12407 s/^0 *\(.*\)$/\1/
12411 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12412 # Check for a 64-bit object if we didn't find anything.
12413 if test -z "$aix_libpath"; then
12414 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12417 rm -f core conftest.err conftest.$ac_objext \
12418 conftest$ac_exeext conftest.$ac_ext
12419 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12421 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12422 # Warning - without using the other run time loading flags,
12423 # -berok will link without error, but may produce a broken library.
12424 no_undefined_flag_CXX=' ${wl}-bernotok'
12425 allow_undefined_flag_CXX=' ${wl}-berok'
12426 if test "$with_gnu_ld" = yes; then
12427 # We only use this code for GNU lds that support --whole-archive.
12428 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12429 else
12430 # Exported symbols can be pulled into shared objects from archives
12431 whole_archive_flag_spec_CXX='$convenience'
12433 archive_cmds_need_lc_CXX=yes
12434 # This is similar to how AIX traditionally builds its shared
12435 # libraries.
12436 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'
12441 beos*)
12442 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12443 allow_undefined_flag_CXX=unsupported
12444 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12445 # support --undefined. This deserves some investigation. FIXME
12446 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12447 else
12448 ld_shlibs_CXX=no
12452 chorus*)
12453 case $cc_basename in
12455 # FIXME: insert proper C++ library support
12456 ld_shlibs_CXX=no
12458 esac
12461 cygwin* | mingw* | pw32* | cegcc*)
12462 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12463 # as there is no search path for DLLs.
12464 hardcode_libdir_flag_spec_CXX='-L$libdir'
12465 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12466 allow_undefined_flag_CXX=unsupported
12467 always_export_symbols_CXX=no
12468 enable_shared_with_static_runtimes_CXX=yes
12470 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12471 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'
12472 # If the export-symbols file already is a .def file (1st line
12473 # is EXPORTS), use it as is; otherwise, prepend...
12474 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12475 cp $export_symbols $output_objdir/$soname.def;
12476 else
12477 echo EXPORTS > $output_objdir/$soname.def;
12478 cat $export_symbols >> $output_objdir/$soname.def;
12480 $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'
12481 else
12482 ld_shlibs_CXX=no
12485 darwin* | rhapsody*)
12488 archive_cmds_need_lc_CXX=no
12489 hardcode_direct_CXX=no
12490 hardcode_automatic_CXX=yes
12491 hardcode_shlibpath_var_CXX=unsupported
12492 if test "$lt_cv_ld_force_load" = "yes"; then
12493 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\"`'
12494 else
12495 whole_archive_flag_spec_CXX=''
12497 link_all_deplibs_CXX=yes
12498 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12499 case $cc_basename in
12500 ifort*) _lt_dar_can_shared=yes ;;
12501 *) _lt_dar_can_shared=$GCC ;;
12502 esac
12503 if test "$_lt_dar_can_shared" = "yes"; then
12504 output_verbose_link_cmd=func_echo_all
12505 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}"
12506 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12507 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}"
12508 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}"
12509 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12510 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}"
12511 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}"
12514 else
12515 ld_shlibs_CXX=no
12520 dgux*)
12521 case $cc_basename in
12522 ec++*)
12523 # FIXME: insert proper C++ library support
12524 ld_shlibs_CXX=no
12526 ghcx*)
12527 # Green Hills C++ Compiler
12528 # FIXME: insert proper C++ library support
12529 ld_shlibs_CXX=no
12532 # FIXME: insert proper C++ library support
12533 ld_shlibs_CXX=no
12535 esac
12538 freebsd2.*)
12539 # C++ shared libraries reported to be fairly broken before
12540 # switch to ELF
12541 ld_shlibs_CXX=no
12544 freebsd-elf*)
12545 archive_cmds_need_lc_CXX=no
12548 freebsd* | dragonfly*)
12549 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12550 # conventions
12551 ld_shlibs_CXX=yes
12554 gnu*)
12557 haiku*)
12558 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12559 link_all_deplibs_CXX=yes
12562 hpux9*)
12563 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12564 hardcode_libdir_separator_CXX=:
12565 export_dynamic_flag_spec_CXX='${wl}-E'
12566 hardcode_direct_CXX=yes
12567 hardcode_minus_L_CXX=yes # Not in the search PATH,
12568 # but as the default
12569 # location of the library.
12571 case $cc_basename in
12572 CC*)
12573 # FIXME: insert proper C++ library support
12574 ld_shlibs_CXX=no
12576 aCC*)
12577 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'
12578 # Commands to make compiler produce verbose output that lists
12579 # what "hidden" libraries, object files and flags are used when
12580 # linking a shared library.
12582 # There doesn't appear to be a way to prevent this compiler from
12583 # explicitly linking system object files so we need to strip them
12584 # from the output so that they don't get included in the library
12585 # dependencies.
12586 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"'
12589 if test "$GXX" = yes; then
12590 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'
12591 else
12592 # FIXME: insert proper C++ library support
12593 ld_shlibs_CXX=no
12596 esac
12599 hpux10*|hpux11*)
12600 if test $with_gnu_ld = no; then
12601 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12602 hardcode_libdir_separator_CXX=:
12604 case $host_cpu in
12605 hppa*64*|ia64*)
12608 export_dynamic_flag_spec_CXX='${wl}-E'
12610 esac
12612 case $host_cpu in
12613 hppa*64*|ia64*)
12614 hardcode_direct_CXX=no
12615 hardcode_shlibpath_var_CXX=no
12618 hardcode_direct_CXX=yes
12619 hardcode_direct_absolute_CXX=yes
12620 hardcode_minus_L_CXX=yes # Not in the search PATH,
12621 # but as the default
12622 # location of the library.
12624 esac
12626 case $cc_basename in
12627 CC*)
12628 # FIXME: insert proper C++ library support
12629 ld_shlibs_CXX=no
12631 aCC*)
12632 case $host_cpu in
12633 hppa*64*)
12634 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12636 ia64*)
12637 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12640 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12642 esac
12643 # Commands to make compiler produce verbose output that lists
12644 # what "hidden" libraries, object files and flags are used when
12645 # linking a shared library.
12647 # There doesn't appear to be a way to prevent this compiler from
12648 # explicitly linking system object files so we need to strip them
12649 # from the output so that they don't get included in the library
12650 # dependencies.
12651 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"'
12654 if test "$GXX" = yes; then
12655 if test $with_gnu_ld = no; then
12656 case $host_cpu in
12657 hppa*64*)
12658 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12660 ia64*)
12661 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12664 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'
12666 esac
12668 else
12669 # FIXME: insert proper C++ library support
12670 ld_shlibs_CXX=no
12673 esac
12676 interix[3-9]*)
12677 hardcode_direct_CXX=no
12678 hardcode_shlibpath_var_CXX=no
12679 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12680 export_dynamic_flag_spec_CXX='${wl}-E'
12681 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12682 # Instead, shared libraries are loaded at an image base (0x10000000 by
12683 # default) and relocated if they conflict, which is a slow very memory
12684 # consuming and fragmenting process. To avoid this, we pick a random,
12685 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12686 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12687 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'
12688 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'
12690 irix5* | irix6*)
12691 case $cc_basename in
12692 CC*)
12693 # SGI C++
12694 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'
12696 # Archives containing C++ object files must be created using
12697 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12698 # necessary to make sure instantiated templates are included
12699 # in the archive.
12700 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12703 if test "$GXX" = yes; then
12704 if test "$with_gnu_ld" = no; then
12705 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'
12706 else
12707 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'
12710 link_all_deplibs_CXX=yes
12712 esac
12713 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12714 hardcode_libdir_separator_CXX=:
12715 inherit_rpath_CXX=yes
12718 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12719 case $cc_basename in
12720 KCC*)
12721 # Kuck and Associates, Inc. (KAI) C++ Compiler
12723 # KCC will only create a shared library if the output file
12724 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12725 # to its proper name (with version) after linking.
12726 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'
12727 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'
12728 # Commands to make compiler produce verbose output that lists
12729 # what "hidden" libraries, object files and flags are used when
12730 # linking a shared library.
12732 # There doesn't appear to be a way to prevent this compiler from
12733 # explicitly linking system object files so we need to strip them
12734 # from the output so that they don't get included in the library
12735 # dependencies.
12736 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"'
12738 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12739 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12741 # Archives containing C++ object files must be created using
12742 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12743 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12745 icpc* | ecpc* )
12746 # Intel C++
12747 with_gnu_ld=yes
12748 # version 8.0 and above of icpc choke on multiply defined symbols
12749 # if we add $predep_objects and $postdep_objects, however 7.1 and
12750 # earlier do not add the objects themselves.
12751 case `$CC -V 2>&1` in
12752 *"Version 7."*)
12753 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12754 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'
12756 *) # Version 8.0 or newer
12757 tmp_idyn=
12758 case $host_cpu in
12759 ia64*) tmp_idyn=' -i_dynamic';;
12760 esac
12761 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12762 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'
12764 esac
12765 archive_cmds_need_lc_CXX=no
12766 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12767 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12768 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12770 pgCC* | pgcpp*)
12771 # Portland Group C++ compiler
12772 case `$CC -V` in
12773 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12774 prelink_cmds_CXX='tpldir=Template.dir~
12775 rm -rf $tpldir~
12776 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12777 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12778 old_archive_cmds_CXX='tpldir=Template.dir~
12779 rm -rf $tpldir~
12780 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12781 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12782 $RANLIB $oldlib'
12783 archive_cmds_CXX='tpldir=Template.dir~
12784 rm -rf $tpldir~
12785 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12786 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12787 archive_expsym_cmds_CXX='tpldir=Template.dir~
12788 rm -rf $tpldir~
12789 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12790 $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'
12792 *) # Version 6 and above use weak symbols
12793 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12794 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'
12796 esac
12798 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12799 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12800 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'
12802 cxx*)
12803 # Compaq C++
12804 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12805 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'
12807 runpath_var=LD_RUN_PATH
12808 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12809 hardcode_libdir_separator_CXX=:
12811 # Commands to make compiler produce verbose output that lists
12812 # what "hidden" libraries, object files and flags are used when
12813 # linking a shared library.
12815 # There doesn't appear to be a way to prevent this compiler from
12816 # explicitly linking system object files so we need to strip them
12817 # from the output so that they don't get included in the library
12818 # dependencies.
12819 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'
12821 xl* | mpixl* | bgxl*)
12822 # IBM XL 8.0 on PPC, with GNU ld
12823 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12824 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12825 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12826 if test "x$supports_anon_versioning" = xyes; then
12827 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12828 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12829 echo "local: *; };" >> $output_objdir/$libname.ver~
12830 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12834 case `$CC -V 2>&1 | sed 5q` in
12835 *Sun\ C*)
12836 # Sun C++ 5.9
12837 no_undefined_flag_CXX=' -zdefs'
12838 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12839 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'
12840 hardcode_libdir_flag_spec_CXX='-R$libdir'
12841 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'
12842 compiler_needs_object_CXX=yes
12844 # Not sure whether something based on
12845 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12846 # would be better.
12847 output_verbose_link_cmd='func_echo_all'
12849 # Archives containing C++ object files must be created using
12850 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12851 # necessary to make sure instantiated templates are included
12852 # in the archive.
12853 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12855 esac
12857 esac
12860 lynxos*)
12861 # FIXME: insert proper C++ library support
12862 ld_shlibs_CXX=no
12865 m88k*)
12866 # FIXME: insert proper C++ library support
12867 ld_shlibs_CXX=no
12870 mvs*)
12871 case $cc_basename in
12872 cxx*)
12873 # FIXME: insert proper C++ library support
12874 ld_shlibs_CXX=no
12877 # FIXME: insert proper C++ library support
12878 ld_shlibs_CXX=no
12880 esac
12883 netbsd*)
12884 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12885 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12886 wlarc=
12887 hardcode_libdir_flag_spec_CXX='-R$libdir'
12888 hardcode_direct_CXX=yes
12889 hardcode_shlibpath_var_CXX=no
12891 # Workaround some broken pre-1.5 toolchains
12892 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12895 *nto* | *qnx*)
12896 ld_shlibs_CXX=yes
12899 openbsd2*)
12900 # C++ shared libraries are fairly broken
12901 ld_shlibs_CXX=no
12904 openbsd*)
12905 if test -f /usr/libexec/ld.so; then
12906 hardcode_direct_CXX=yes
12907 hardcode_shlibpath_var_CXX=no
12908 hardcode_direct_absolute_CXX=yes
12909 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12910 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12911 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12912 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12913 export_dynamic_flag_spec_CXX='${wl}-E'
12914 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12916 output_verbose_link_cmd=func_echo_all
12917 else
12918 ld_shlibs_CXX=no
12922 osf3* | osf4* | osf5*)
12923 case $cc_basename in
12924 KCC*)
12925 # Kuck and Associates, Inc. (KAI) C++ Compiler
12927 # KCC will only create a shared library if the output file
12928 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12929 # to its proper name (with version) after linking.
12930 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'
12932 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12933 hardcode_libdir_separator_CXX=:
12935 # Archives containing C++ object files must be created using
12936 # the KAI C++ compiler.
12937 case $host in
12938 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12939 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12940 esac
12942 RCC*)
12943 # Rational C++ 2.4.1
12944 # FIXME: insert proper C++ library support
12945 ld_shlibs_CXX=no
12947 cxx*)
12948 case $host in
12949 osf3*)
12950 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12951 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'
12952 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12955 allow_undefined_flag_CXX=' -expect_unresolved \*'
12956 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'
12957 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12958 echo "-hidden">> $lib.exp~
12959 $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~
12960 $RM $lib.exp'
12961 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12963 esac
12965 hardcode_libdir_separator_CXX=:
12967 # Commands to make compiler produce verbose output that lists
12968 # what "hidden" libraries, object files and flags are used when
12969 # linking a shared library.
12971 # There doesn't appear to be a way to prevent this compiler from
12972 # explicitly linking system object files so we need to strip them
12973 # from the output so that they don't get included in the library
12974 # dependencies.
12975 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"'
12978 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12979 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12980 case $host in
12981 osf3*)
12982 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'
12985 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'
12987 esac
12989 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12990 hardcode_libdir_separator_CXX=:
12992 # Commands to make compiler produce verbose output that lists
12993 # what "hidden" libraries, object files and flags are used when
12994 # linking a shared library.
12995 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12997 else
12998 # FIXME: insert proper C++ library support
12999 ld_shlibs_CXX=no
13002 esac
13005 psos*)
13006 # FIXME: insert proper C++ library support
13007 ld_shlibs_CXX=no
13010 sunos4*)
13011 case $cc_basename in
13012 CC*)
13013 # Sun C++ 4.x
13014 # FIXME: insert proper C++ library support
13015 ld_shlibs_CXX=no
13017 lcc*)
13018 # Lucid
13019 # FIXME: insert proper C++ library support
13020 ld_shlibs_CXX=no
13023 # FIXME: insert proper C++ library support
13024 ld_shlibs_CXX=no
13026 esac
13029 solaris*)
13030 case $cc_basename in
13031 CC*)
13032 # Sun C++ 4.2, 5.x and Centerline C++
13033 archive_cmds_need_lc_CXX=yes
13034 no_undefined_flag_CXX=' -zdefs'
13035 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13036 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13037 $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'
13039 hardcode_libdir_flag_spec_CXX='-R$libdir'
13040 hardcode_shlibpath_var_CXX=no
13041 case $host_os in
13042 solaris2.[0-5] | solaris2.[0-5].*) ;;
13044 # The compiler driver will combine and reorder linker options,
13045 # but understands `-z linker_flag'.
13046 # Supported since Solaris 2.6 (maybe 2.5.1?)
13047 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13049 esac
13050 link_all_deplibs_CXX=yes
13052 output_verbose_link_cmd='func_echo_all'
13054 # Archives containing C++ object files must be created using
13055 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13056 # necessary to make sure instantiated templates are included
13057 # in the archive.
13058 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13060 gcx*)
13061 # Green Hills C++ Compiler
13062 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13064 # The C++ compiler must be used to create the archive.
13065 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13068 # GNU C++ compiler with Solaris linker
13069 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13070 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13071 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13072 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13073 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13074 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13076 # Commands to make compiler produce verbose output that lists
13077 # what "hidden" libraries, object files and flags are used when
13078 # linking a shared library.
13079 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13080 else
13081 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13082 # platform.
13083 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13084 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13085 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13087 # Commands to make compiler produce verbose output that lists
13088 # what "hidden" libraries, object files and flags are used when
13089 # linking a shared library.
13090 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13093 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13094 case $host_os in
13095 solaris2.[0-5] | solaris2.[0-5].*) ;;
13097 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13099 esac
13102 esac
13105 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13106 no_undefined_flag_CXX='${wl}-z,text'
13107 archive_cmds_need_lc_CXX=no
13108 hardcode_shlibpath_var_CXX=no
13109 runpath_var='LD_RUN_PATH'
13111 case $cc_basename in
13112 CC*)
13113 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13114 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13117 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13118 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13120 esac
13123 sysv5* | sco3.2v5* | sco5v6*)
13124 # Note: We can NOT use -z defs as we might desire, because we do not
13125 # link with -lc, and that would cause any symbols used from libc to
13126 # always be unresolved, which means just about no library would
13127 # ever link correctly. If we're not using GNU ld we use -z text
13128 # though, which does catch some bad symbols but isn't as heavy-handed
13129 # as -z defs.
13130 no_undefined_flag_CXX='${wl}-z,text'
13131 allow_undefined_flag_CXX='${wl}-z,nodefs'
13132 archive_cmds_need_lc_CXX=no
13133 hardcode_shlibpath_var_CXX=no
13134 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13135 hardcode_libdir_separator_CXX=':'
13136 link_all_deplibs_CXX=yes
13137 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13138 runpath_var='LD_RUN_PATH'
13140 case $cc_basename in
13141 CC*)
13142 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13143 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13144 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13145 '"$old_archive_cmds_CXX"
13146 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13147 '"$reload_cmds_CXX"
13150 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13151 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13153 esac
13156 tandem*)
13157 case $cc_basename in
13158 NCC*)
13159 # NonStop-UX NCC 3.20
13160 # FIXME: insert proper C++ library support
13161 ld_shlibs_CXX=no
13164 # FIXME: insert proper C++ library support
13165 ld_shlibs_CXX=no
13167 esac
13170 vxworks*)
13171 # FIXME: insert proper C++ library support
13172 ld_shlibs_CXX=no
13176 # FIXME: insert proper C++ library support
13177 ld_shlibs_CXX=no
13179 esac
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13182 $as_echo "$ld_shlibs_CXX" >&6; }
13183 test "$ld_shlibs_CXX" = no && can_build_shared=no
13185 GCC_CXX="$GXX"
13186 LD_CXX="$LD"
13188 ## CAVEAT EMPTOR:
13189 ## There is no encapsulation within the following macros, do not change
13190 ## the running order or otherwise move them around unless you know exactly
13191 ## what you are doing...
13192 # Dependencies to place before and after the object being linked:
13193 predep_objects_CXX=
13194 postdep_objects_CXX=
13195 predeps_CXX=
13196 postdeps_CXX=
13197 compiler_lib_search_path_CXX=
13199 cat > conftest.$ac_ext <<_LT_EOF
13200 class Foo
13202 public:
13203 Foo (void) { a = 0; }
13204 private:
13205 int a;
13207 _LT_EOF
13209 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13210 (eval $ac_compile) 2>&5
13211 ac_status=$?
13212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13213 test $ac_status = 0; }; then
13214 # Parse the compiler output and extract the necessary
13215 # objects, libraries and library flags.
13217 # Sentinel used to keep track of whether or not we are before
13218 # the conftest object file.
13219 pre_test_object_deps_done=no
13221 for p in `eval "$output_verbose_link_cmd"`; do
13222 case $p in
13224 -L* | -R* | -l*)
13225 # Some compilers place space between "-{L,R}" and the path.
13226 # Remove the space.
13227 if test $p = "-L" ||
13228 test $p = "-R"; then
13229 prev=$p
13230 continue
13231 else
13232 prev=
13235 if test "$pre_test_object_deps_done" = no; then
13236 case $p in
13237 -L* | -R*)
13238 # Internal compiler library paths should come after those
13239 # provided the user. The postdeps already come after the
13240 # user supplied libs so there is no need to process them.
13241 if test -z "$compiler_lib_search_path_CXX"; then
13242 compiler_lib_search_path_CXX="${prev}${p}"
13243 else
13244 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13247 # The "-l" case would never come before the object being
13248 # linked, so don't bother handling this case.
13249 esac
13250 else
13251 if test -z "$postdeps_CXX"; then
13252 postdeps_CXX="${prev}${p}"
13253 else
13254 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13259 *.$objext)
13260 # This assumes that the test object file only shows up
13261 # once in the compiler output.
13262 if test "$p" = "conftest.$objext"; then
13263 pre_test_object_deps_done=yes
13264 continue
13267 if test "$pre_test_object_deps_done" = no; then
13268 if test -z "$predep_objects_CXX"; then
13269 predep_objects_CXX="$p"
13270 else
13271 predep_objects_CXX="$predep_objects_CXX $p"
13273 else
13274 if test -z "$postdep_objects_CXX"; then
13275 postdep_objects_CXX="$p"
13276 else
13277 postdep_objects_CXX="$postdep_objects_CXX $p"
13282 *) ;; # Ignore the rest.
13284 esac
13285 done
13287 # Clean up.
13288 rm -f a.out a.exe
13289 else
13290 echo "libtool.m4: error: problem compiling CXX test program"
13293 $RM -f confest.$objext
13295 # PORTME: override above test on systems where it is broken
13296 case $host_os in
13297 interix[3-9]*)
13298 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13299 # hack all around it, let's just trust "g++" to DTRT.
13300 predep_objects_CXX=
13301 postdep_objects_CXX=
13302 postdeps_CXX=
13305 linux*)
13306 case `$CC -V 2>&1 | sed 5q` in
13307 *Sun\ C*)
13308 # Sun C++ 5.9
13310 # The more standards-conforming stlport4 library is
13311 # incompatible with the Cstd library. Avoid specifying
13312 # it if it's in CXXFLAGS. Ignore libCrun as
13313 # -library=stlport4 depends on it.
13314 case " $CXX $CXXFLAGS " in
13315 *" -library=stlport4 "*)
13316 solaris_use_stlport4=yes
13318 esac
13320 if test "$solaris_use_stlport4" != yes; then
13321 postdeps_CXX='-library=Cstd -library=Crun'
13324 esac
13327 solaris*)
13328 case $cc_basename in
13329 CC*)
13330 # The more standards-conforming stlport4 library is
13331 # incompatible with the Cstd library. Avoid specifying
13332 # it if it's in CXXFLAGS. Ignore libCrun as
13333 # -library=stlport4 depends on it.
13334 case " $CXX $CXXFLAGS " in
13335 *" -library=stlport4 "*)
13336 solaris_use_stlport4=yes
13338 esac
13340 # Adding this requires a known-good setup of shared libraries for
13341 # Sun compiler versions before 5.6, else PIC objects from an old
13342 # archive will be linked into the output, leading to subtle bugs.
13343 if test "$solaris_use_stlport4" != yes; then
13344 postdeps_CXX='-library=Cstd -library=Crun'
13347 esac
13349 esac
13352 case " $postdeps_CXX " in
13353 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13354 esac
13355 compiler_lib_search_dirs_CXX=
13356 if test -n "${compiler_lib_search_path_CXX}"; then
13357 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13390 lt_prog_compiler_wl_CXX=
13391 lt_prog_compiler_pic_CXX=
13392 lt_prog_compiler_static_CXX=
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13395 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13397 # C++ specific cases for pic, static, wl, etc.
13398 if test "$GXX" = yes; then
13399 lt_prog_compiler_wl_CXX='-Wl,'
13400 lt_prog_compiler_static_CXX='-static'
13402 case $host_os in
13403 aix*)
13404 # All AIX code is PIC.
13405 if test "$host_cpu" = ia64; then
13406 # AIX 5 now supports IA64 processor
13407 lt_prog_compiler_static_CXX='-Bstatic'
13411 amigaos*)
13412 case $host_cpu in
13413 powerpc)
13414 # see comment about AmigaOS4 .so support
13415 lt_prog_compiler_pic_CXX='-fPIC'
13417 m68k)
13418 # FIXME: we need at least 68020 code to build shared libraries, but
13419 # adding the `-m68020' flag to GCC prevents building anything better,
13420 # like `-m68040'.
13421 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13423 esac
13426 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13427 # PIC is the default for these OSes.
13429 mingw* | cygwin* | os2* | pw32* | cegcc*)
13430 # This hack is so that the source file can tell whether it is being
13431 # built for inclusion in a dll (and should export symbols for example).
13432 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13433 # (--disable-auto-import) libraries
13434 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13436 darwin* | rhapsody*)
13437 # PIC is the default on this platform
13438 # Common symbols not allowed in MH_DYLIB files
13439 lt_prog_compiler_pic_CXX='-fno-common'
13441 *djgpp*)
13442 # DJGPP does not support shared libraries at all
13443 lt_prog_compiler_pic_CXX=
13445 haiku*)
13446 # PIC is the default for Haiku.
13447 # The "-static" flag exists, but is broken.
13448 lt_prog_compiler_static_CXX=
13450 interix[3-9]*)
13451 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13452 # Instead, we relocate shared libraries at runtime.
13454 sysv4*MP*)
13455 if test -d /usr/nec; then
13456 lt_prog_compiler_pic_CXX=-Kconform_pic
13459 hpux*)
13460 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13461 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13462 # sets the default TLS model and affects inlining.
13463 case $host_cpu in
13464 hppa*64*)
13467 lt_prog_compiler_pic_CXX='-fPIC'
13469 esac
13471 *qnx* | *nto*)
13472 # QNX uses GNU C++, but need to define -shared option too, otherwise
13473 # it will coredump.
13474 lt_prog_compiler_pic_CXX='-fPIC -shared'
13477 lt_prog_compiler_pic_CXX='-fPIC'
13479 esac
13480 else
13481 case $host_os in
13482 aix[4-9]*)
13483 # All AIX code is PIC.
13484 if test "$host_cpu" = ia64; then
13485 # AIX 5 now supports IA64 processor
13486 lt_prog_compiler_static_CXX='-Bstatic'
13487 else
13488 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13491 chorus*)
13492 case $cc_basename in
13493 cxch68*)
13494 # Green Hills C++ Compiler
13495 # _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"
13497 esac
13499 dgux*)
13500 case $cc_basename in
13501 ec++*)
13502 lt_prog_compiler_pic_CXX='-KPIC'
13504 ghcx*)
13505 # Green Hills C++ Compiler
13506 lt_prog_compiler_pic_CXX='-pic'
13510 esac
13512 freebsd* | dragonfly*)
13513 # FreeBSD uses GNU C++
13515 hpux9* | hpux10* | hpux11*)
13516 case $cc_basename in
13517 CC*)
13518 lt_prog_compiler_wl_CXX='-Wl,'
13519 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13520 if test "$host_cpu" != ia64; then
13521 lt_prog_compiler_pic_CXX='+Z'
13524 aCC*)
13525 lt_prog_compiler_wl_CXX='-Wl,'
13526 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13527 case $host_cpu in
13528 hppa*64*|ia64*)
13529 # +Z the default
13532 lt_prog_compiler_pic_CXX='+Z'
13534 esac
13538 esac
13540 interix*)
13541 # This is c89, which is MS Visual C++ (no shared libs)
13542 # Anyone wants to do a port?
13544 irix5* | irix6* | nonstopux*)
13545 case $cc_basename in
13546 CC*)
13547 lt_prog_compiler_wl_CXX='-Wl,'
13548 lt_prog_compiler_static_CXX='-non_shared'
13549 # CC pic flag -KPIC is the default.
13553 esac
13555 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13556 case $cc_basename in
13557 KCC*)
13558 # KAI C++ Compiler
13559 lt_prog_compiler_wl_CXX='--backend -Wl,'
13560 lt_prog_compiler_pic_CXX='-fPIC'
13562 ecpc* )
13563 # old Intel C++ for x86_64 which still supported -KPIC.
13564 lt_prog_compiler_wl_CXX='-Wl,'
13565 lt_prog_compiler_pic_CXX='-KPIC'
13566 lt_prog_compiler_static_CXX='-static'
13568 icpc* )
13569 # Intel C++, used to be incompatible with GCC.
13570 # ICC 10 doesn't accept -KPIC any more.
13571 lt_prog_compiler_wl_CXX='-Wl,'
13572 lt_prog_compiler_pic_CXX='-fPIC'
13573 lt_prog_compiler_static_CXX='-static'
13575 pgCC* | pgcpp*)
13576 # Portland Group C++ compiler
13577 lt_prog_compiler_wl_CXX='-Wl,'
13578 lt_prog_compiler_pic_CXX='-fpic'
13579 lt_prog_compiler_static_CXX='-Bstatic'
13581 cxx*)
13582 # Compaq C++
13583 # Make sure the PIC flag is empty. It appears that all Alpha
13584 # Linux and Compaq Tru64 Unix objects are PIC.
13585 lt_prog_compiler_pic_CXX=
13586 lt_prog_compiler_static_CXX='-non_shared'
13588 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13589 # IBM XL 8.0, 9.0 on PPC and BlueGene
13590 lt_prog_compiler_wl_CXX='-Wl,'
13591 lt_prog_compiler_pic_CXX='-qpic'
13592 lt_prog_compiler_static_CXX='-qstaticlink'
13595 case `$CC -V 2>&1 | sed 5q` in
13596 *Sun\ C*)
13597 # Sun C++ 5.9
13598 lt_prog_compiler_pic_CXX='-KPIC'
13599 lt_prog_compiler_static_CXX='-Bstatic'
13600 lt_prog_compiler_wl_CXX='-Qoption ld '
13602 esac
13604 esac
13606 lynxos*)
13608 m88k*)
13610 mvs*)
13611 case $cc_basename in
13612 cxx*)
13613 lt_prog_compiler_pic_CXX='-W c,exportall'
13617 esac
13619 netbsd*)
13621 *qnx* | *nto*)
13622 # QNX uses GNU C++, but need to define -shared option too, otherwise
13623 # it will coredump.
13624 lt_prog_compiler_pic_CXX='-fPIC -shared'
13626 osf3* | osf4* | osf5*)
13627 case $cc_basename in
13628 KCC*)
13629 lt_prog_compiler_wl_CXX='--backend -Wl,'
13631 RCC*)
13632 # Rational C++ 2.4.1
13633 lt_prog_compiler_pic_CXX='-pic'
13635 cxx*)
13636 # Digital/Compaq C++
13637 lt_prog_compiler_wl_CXX='-Wl,'
13638 # Make sure the PIC flag is empty. It appears that all Alpha
13639 # Linux and Compaq Tru64 Unix objects are PIC.
13640 lt_prog_compiler_pic_CXX=
13641 lt_prog_compiler_static_CXX='-non_shared'
13645 esac
13647 psos*)
13649 solaris*)
13650 case $cc_basename in
13651 CC*)
13652 # Sun C++ 4.2, 5.x and Centerline C++
13653 lt_prog_compiler_pic_CXX='-KPIC'
13654 lt_prog_compiler_static_CXX='-Bstatic'
13655 lt_prog_compiler_wl_CXX='-Qoption ld '
13657 gcx*)
13658 # Green Hills C++ Compiler
13659 lt_prog_compiler_pic_CXX='-PIC'
13663 esac
13665 sunos4*)
13666 case $cc_basename in
13667 CC*)
13668 # Sun C++ 4.x
13669 lt_prog_compiler_pic_CXX='-pic'
13670 lt_prog_compiler_static_CXX='-Bstatic'
13672 lcc*)
13673 # Lucid
13674 lt_prog_compiler_pic_CXX='-pic'
13678 esac
13680 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13681 case $cc_basename in
13682 CC*)
13683 lt_prog_compiler_wl_CXX='-Wl,'
13684 lt_prog_compiler_pic_CXX='-KPIC'
13685 lt_prog_compiler_static_CXX='-Bstatic'
13687 esac
13689 tandem*)
13690 case $cc_basename in
13691 NCC*)
13692 # NonStop-UX NCC 3.20
13693 lt_prog_compiler_pic_CXX='-KPIC'
13697 esac
13699 vxworks*)
13702 lt_prog_compiler_can_build_shared_CXX=no
13704 esac
13707 case $host_os in
13708 # For platforms which do not support PIC, -DPIC is meaningless:
13709 *djgpp*)
13710 lt_prog_compiler_pic_CXX=
13713 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13715 esac
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13717 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13722 # Check to make sure the PIC flag actually works.
13724 if test -n "$lt_prog_compiler_pic_CXX"; then
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13726 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13727 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13728 $as_echo_n "(cached) " >&6
13729 else
13730 lt_cv_prog_compiler_pic_works_CXX=no
13731 ac_outfile=conftest.$ac_objext
13732 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13733 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13734 # Insert the option either (1) after the last *FLAGS variable, or
13735 # (2) before a word containing "conftest.", or (3) at the end.
13736 # Note that $ac_compile itself does not contain backslashes and begins
13737 # with a dollar sign (not a hyphen), so the echo should work correctly.
13738 # The option is referenced via a variable to avoid confusing sed.
13739 lt_compile=`echo "$ac_compile" | $SED \
13740 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13741 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13742 -e 's:$: $lt_compiler_flag:'`
13743 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13744 (eval "$lt_compile" 2>conftest.err)
13745 ac_status=$?
13746 cat conftest.err >&5
13747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13748 if (exit $ac_status) && test -s "$ac_outfile"; then
13749 # The compiler can only warn and ignore the option if not recognized
13750 # So say no if there are warnings other than the usual output.
13751 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13752 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13753 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13754 lt_cv_prog_compiler_pic_works_CXX=yes
13757 $RM conftest*
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13761 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13763 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13764 case $lt_prog_compiler_pic_CXX in
13765 "" | " "*) ;;
13766 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13767 esac
13768 else
13769 lt_prog_compiler_pic_CXX=
13770 lt_prog_compiler_can_build_shared_CXX=no
13778 # Check to make sure the static flag actually works.
13780 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13782 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13783 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13784 $as_echo_n "(cached) " >&6
13785 else
13786 lt_cv_prog_compiler_static_works_CXX=no
13787 save_LDFLAGS="$LDFLAGS"
13788 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13789 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13790 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13791 # The linker can only warn and ignore the option if not recognized
13792 # So say no if there are warnings
13793 if test -s conftest.err; then
13794 # Append any errors to the config.log.
13795 cat conftest.err 1>&5
13796 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13797 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13798 if diff conftest.exp conftest.er2 >/dev/null; then
13799 lt_cv_prog_compiler_static_works_CXX=yes
13801 else
13802 lt_cv_prog_compiler_static_works_CXX=yes
13805 $RM -r conftest*
13806 LDFLAGS="$save_LDFLAGS"
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13810 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13812 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13814 else
13815 lt_prog_compiler_static_CXX=
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13822 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13823 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13824 $as_echo_n "(cached) " >&6
13825 else
13826 lt_cv_prog_compiler_c_o_CXX=no
13827 $RM -r conftest 2>/dev/null
13828 mkdir conftest
13829 cd conftest
13830 mkdir out
13831 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13833 lt_compiler_flag="-o out/conftest2.$ac_objext"
13834 # Insert the option either (1) after the last *FLAGS variable, or
13835 # (2) before a word containing "conftest.", or (3) at the end.
13836 # Note that $ac_compile itself does not contain backslashes and begins
13837 # with a dollar sign (not a hyphen), so the echo should work correctly.
13838 lt_compile=`echo "$ac_compile" | $SED \
13839 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13840 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13841 -e 's:$: $lt_compiler_flag:'`
13842 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13843 (eval "$lt_compile" 2>out/conftest.err)
13844 ac_status=$?
13845 cat out/conftest.err >&5
13846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13847 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13848 then
13849 # The compiler can only warn and ignore the option if not recognized
13850 # So say no if there are warnings
13851 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13852 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13853 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13854 lt_cv_prog_compiler_c_o_CXX=yes
13857 chmod u+w . 2>&5
13858 $RM conftest*
13859 # SGI C++ compiler will create directory out/ii_files/ for
13860 # template instantiation
13861 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13862 $RM out/* && rmdir out
13863 cd ..
13864 $RM -r conftest
13865 $RM conftest*
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13869 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13874 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13875 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13876 $as_echo_n "(cached) " >&6
13877 else
13878 lt_cv_prog_compiler_c_o_CXX=no
13879 $RM -r conftest 2>/dev/null
13880 mkdir conftest
13881 cd conftest
13882 mkdir out
13883 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13885 lt_compiler_flag="-o out/conftest2.$ac_objext"
13886 # Insert the option either (1) after the last *FLAGS variable, or
13887 # (2) before a word containing "conftest.", or (3) at the end.
13888 # Note that $ac_compile itself does not contain backslashes and begins
13889 # with a dollar sign (not a hyphen), so the echo should work correctly.
13890 lt_compile=`echo "$ac_compile" | $SED \
13891 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13892 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13893 -e 's:$: $lt_compiler_flag:'`
13894 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13895 (eval "$lt_compile" 2>out/conftest.err)
13896 ac_status=$?
13897 cat out/conftest.err >&5
13898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13899 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13900 then
13901 # The compiler can only warn and ignore the option if not recognized
13902 # So say no if there are warnings
13903 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13904 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13905 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13906 lt_cv_prog_compiler_c_o_CXX=yes
13909 chmod u+w . 2>&5
13910 $RM conftest*
13911 # SGI C++ compiler will create directory out/ii_files/ for
13912 # template instantiation
13913 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13914 $RM out/* && rmdir out
13915 cd ..
13916 $RM -r conftest
13917 $RM conftest*
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13921 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13926 hard_links="nottested"
13927 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13928 # do not overwrite the value of need_locks provided by the user
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13930 $as_echo_n "checking if we can lock with hard links... " >&6; }
13931 hard_links=yes
13932 $RM conftest*
13933 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13934 touch conftest.a
13935 ln conftest.a conftest.b 2>&5 || hard_links=no
13936 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13938 $as_echo "$hard_links" >&6; }
13939 if test "$hard_links" = no; then
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13941 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13942 need_locks=warn
13944 else
13945 need_locks=no
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13951 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13953 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13954 case $host_os in
13955 aix[4-9]*)
13956 # If we're using GNU nm, then we don't want the "-C" option.
13957 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13958 # Also, AIX nm treats weak defined symbols like other global defined
13959 # symbols, whereas GNU nm marks them as "W".
13960 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13961 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'
13962 else
13963 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'
13966 pw32*)
13967 export_symbols_cmds_CXX="$ltdll_cmds"
13969 cygwin* | mingw* | cegcc*)
13970 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'
13973 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13975 esac
13976 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13979 $as_echo "$ld_shlibs_CXX" >&6; }
13980 test "$ld_shlibs_CXX" = no && can_build_shared=no
13982 with_gnu_ld_CXX=$with_gnu_ld
13990 # Do we need to explicitly link libc?
13992 case "x$archive_cmds_need_lc_CXX" in
13993 x|xyes)
13994 # Assume -lc should be added
13995 archive_cmds_need_lc_CXX=yes
13997 if test "$enable_shared" = yes && test "$GCC" = yes; then
13998 case $archive_cmds_CXX in
13999 *'~'*)
14000 # FIXME: we may have to deal with multi-command sequences.
14002 '$CC '*)
14003 # Test whether the compiler implicitly links with -lc since on some
14004 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14005 # to ld, don't add -lc before -lgcc.
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14007 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14008 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14009 $as_echo_n "(cached) " >&6
14010 else
14011 $RM conftest*
14012 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14014 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14015 (eval $ac_compile) 2>&5
14016 ac_status=$?
14017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14018 test $ac_status = 0; } 2>conftest.err; then
14019 soname=conftest
14020 lib=conftest
14021 libobjs=conftest.$ac_objext
14022 deplibs=
14023 wl=$lt_prog_compiler_wl_CXX
14024 pic_flag=$lt_prog_compiler_pic_CXX
14025 compiler_flags=-v
14026 linker_flags=-v
14027 verstring=
14028 output_objdir=.
14029 libname=conftest
14030 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14031 allow_undefined_flag_CXX=
14032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14033 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14034 ac_status=$?
14035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14036 test $ac_status = 0; }
14037 then
14038 lt_cv_archive_cmds_need_lc_CXX=no
14039 else
14040 lt_cv_archive_cmds_need_lc_CXX=yes
14042 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14043 else
14044 cat conftest.err 1>&5
14046 $RM conftest*
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14050 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14051 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14053 esac
14056 esac
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14122 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14124 library_names_spec=
14125 libname_spec='lib$name'
14126 soname_spec=
14127 shrext_cmds=".so"
14128 postinstall_cmds=
14129 postuninstall_cmds=
14130 finish_cmds=
14131 finish_eval=
14132 shlibpath_var=
14133 shlibpath_overrides_runpath=unknown
14134 version_type=none
14135 dynamic_linker="$host_os ld.so"
14136 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14137 need_lib_prefix=unknown
14138 hardcode_into_libs=no
14140 # when you set need_version to no, make sure it does not cause -set_version
14141 # flags to be left without arguments
14142 need_version=unknown
14144 case $host_os in
14145 aix3*)
14146 version_type=linux
14147 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14148 shlibpath_var=LIBPATH
14150 # AIX 3 has no versioning support, so we append a major version to the name.
14151 soname_spec='${libname}${release}${shared_ext}$major'
14154 aix[4-9]*)
14155 version_type=linux
14156 need_lib_prefix=no
14157 need_version=no
14158 hardcode_into_libs=yes
14159 if test "$host_cpu" = ia64; then
14160 # AIX 5 supports IA64
14161 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14162 shlibpath_var=LD_LIBRARY_PATH
14163 else
14164 # With GCC up to 2.95.x, collect2 would create an import file
14165 # for dependence libraries. The import file would start with
14166 # the line `#! .'. This would cause the generated library to
14167 # depend on `.', always an invalid library. This was fixed in
14168 # development snapshots of GCC prior to 3.0.
14169 case $host_os in
14170 aix4 | aix4.[01] | aix4.[01].*)
14171 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14172 echo ' yes '
14173 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14175 else
14176 can_build_shared=no
14179 esac
14180 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14181 # soname into executable. Probably we can add versioning support to
14182 # collect2, so additional links can be useful in future.
14183 if test "$aix_use_runtimelinking" = yes; then
14184 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14185 # instead of lib<name>.a to let people know that these are not
14186 # typical AIX shared libraries.
14187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14188 else
14189 # We preserve .a as extension for shared libraries through AIX4.2
14190 # and later when we are not doing run time linking.
14191 library_names_spec='${libname}${release}.a $libname.a'
14192 soname_spec='${libname}${release}${shared_ext}$major'
14194 shlibpath_var=LIBPATH
14198 amigaos*)
14199 case $host_cpu in
14200 powerpc)
14201 # Since July 2007 AmigaOS4 officially supports .so libraries.
14202 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14205 m68k)
14206 library_names_spec='$libname.ixlibrary $libname.a'
14207 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14208 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'
14210 esac
14213 beos*)
14214 library_names_spec='${libname}${shared_ext}'
14215 dynamic_linker="$host_os ld.so"
14216 shlibpath_var=LIBRARY_PATH
14219 bsdi[45]*)
14220 version_type=linux
14221 need_version=no
14222 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14223 soname_spec='${libname}${release}${shared_ext}$major'
14224 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14225 shlibpath_var=LD_LIBRARY_PATH
14226 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14227 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14228 # the default ld.so.conf also contains /usr/contrib/lib and
14229 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14230 # libtool to hard-code these into programs
14233 cygwin* | mingw* | pw32* | cegcc*)
14234 version_type=windows
14235 shrext_cmds=".dll"
14236 need_version=no
14237 need_lib_prefix=no
14239 case $GCC,$host_os in
14240 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14241 library_names_spec='$libname.dll.a'
14242 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14243 postinstall_cmds='base_file=`basename \${file}`~
14244 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14245 dldir=$destdir/`dirname \$dlpath`~
14246 test -d \$dldir || mkdir -p \$dldir~
14247 $install_prog $dir/$dlname \$dldir/$dlname~
14248 chmod a+x \$dldir/$dlname~
14249 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14250 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14252 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14253 dlpath=$dir/\$dldll~
14254 $RM \$dlpath'
14255 shlibpath_overrides_runpath=yes
14257 case $host_os in
14258 cygwin*)
14259 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14260 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14263 mingw* | cegcc*)
14264 # MinGW DLLs use traditional 'lib' prefix
14265 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14267 pw32*)
14268 # pw32 DLLs use 'pw' prefix rather than 'lib'
14269 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14271 esac
14275 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14277 esac
14278 dynamic_linker='Win32 ld.exe'
14279 # FIXME: first we should search . and the directory the executable is in
14280 shlibpath_var=PATH
14283 darwin* | rhapsody*)
14284 dynamic_linker="$host_os dyld"
14285 version_type=darwin
14286 need_lib_prefix=no
14287 need_version=no
14288 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14289 soname_spec='${libname}${release}${major}$shared_ext'
14290 shlibpath_overrides_runpath=yes
14291 shlibpath_var=DYLD_LIBRARY_PATH
14292 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14294 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14297 dgux*)
14298 version_type=linux
14299 need_lib_prefix=no
14300 need_version=no
14301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14302 soname_spec='${libname}${release}${shared_ext}$major'
14303 shlibpath_var=LD_LIBRARY_PATH
14306 freebsd* | dragonfly*)
14307 # DragonFly does not have aout. When/if they implement a new
14308 # versioning mechanism, adjust this.
14309 if test -x /usr/bin/objformat; then
14310 objformat=`/usr/bin/objformat`
14311 else
14312 case $host_os in
14313 freebsd[23].*) objformat=aout ;;
14314 *) objformat=elf ;;
14315 esac
14317 version_type=freebsd-$objformat
14318 case $version_type in
14319 freebsd-elf*)
14320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14321 need_version=no
14322 need_lib_prefix=no
14324 freebsd-*)
14325 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14326 need_version=yes
14328 esac
14329 shlibpath_var=LD_LIBRARY_PATH
14330 case $host_os in
14331 freebsd2.*)
14332 shlibpath_overrides_runpath=yes
14334 freebsd3.[01]* | freebsdelf3.[01]*)
14335 shlibpath_overrides_runpath=yes
14336 hardcode_into_libs=yes
14338 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14339 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14340 shlibpath_overrides_runpath=no
14341 hardcode_into_libs=yes
14343 *) # from 4.6 on, and DragonFly
14344 shlibpath_overrides_runpath=yes
14345 hardcode_into_libs=yes
14347 esac
14350 gnu*)
14351 version_type=linux
14352 need_lib_prefix=no
14353 need_version=no
14354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14355 soname_spec='${libname}${release}${shared_ext}$major'
14356 shlibpath_var=LD_LIBRARY_PATH
14357 hardcode_into_libs=yes
14360 haiku*)
14361 version_type=linux
14362 need_lib_prefix=no
14363 need_version=no
14364 dynamic_linker="$host_os runtime_loader"
14365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14366 soname_spec='${libname}${release}${shared_ext}$major'
14367 shlibpath_var=LIBRARY_PATH
14368 shlibpath_overrides_runpath=yes
14369 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14370 hardcode_into_libs=yes
14373 hpux9* | hpux10* | hpux11*)
14374 # Give a soname corresponding to the major version so that dld.sl refuses to
14375 # link against other versions.
14376 version_type=sunos
14377 need_lib_prefix=no
14378 need_version=no
14379 case $host_cpu in
14380 ia64*)
14381 shrext_cmds='.so'
14382 hardcode_into_libs=yes
14383 dynamic_linker="$host_os dld.so"
14384 shlibpath_var=LD_LIBRARY_PATH
14385 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14387 soname_spec='${libname}${release}${shared_ext}$major'
14388 if test "X$HPUX_IA64_MODE" = X32; then
14389 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14390 else
14391 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14393 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14395 hppa*64*)
14396 shrext_cmds='.sl'
14397 hardcode_into_libs=yes
14398 dynamic_linker="$host_os dld.sl"
14399 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14400 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14402 soname_spec='${libname}${release}${shared_ext}$major'
14403 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14404 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14407 shrext_cmds='.sl'
14408 dynamic_linker="$host_os dld.sl"
14409 shlibpath_var=SHLIB_PATH
14410 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14411 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14412 soname_spec='${libname}${release}${shared_ext}$major'
14414 esac
14415 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14416 postinstall_cmds='chmod 555 $lib'
14417 # or fails outright, so override atomically:
14418 install_override_mode=555
14421 interix[3-9]*)
14422 version_type=linux
14423 need_lib_prefix=no
14424 need_version=no
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 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14428 shlibpath_var=LD_LIBRARY_PATH
14429 shlibpath_overrides_runpath=no
14430 hardcode_into_libs=yes
14433 irix5* | irix6* | nonstopux*)
14434 case $host_os in
14435 nonstopux*) version_type=nonstopux ;;
14437 if test "$lt_cv_prog_gnu_ld" = yes; then
14438 version_type=linux
14439 else
14440 version_type=irix
14441 fi ;;
14442 esac
14443 need_lib_prefix=no
14444 need_version=no
14445 soname_spec='${libname}${release}${shared_ext}$major'
14446 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14447 case $host_os in
14448 irix5* | nonstopux*)
14449 libsuff= shlibsuff=
14452 case $LD in # libtool.m4 will add one of these switches to LD
14453 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14454 libsuff= shlibsuff= libmagic=32-bit;;
14455 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14456 libsuff=32 shlibsuff=N32 libmagic=N32;;
14457 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14458 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14459 *) libsuff= shlibsuff= libmagic=never-match;;
14460 esac
14462 esac
14463 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14464 shlibpath_overrides_runpath=no
14465 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14466 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14467 hardcode_into_libs=yes
14470 # No shared lib support for Linux oldld, aout, or coff.
14471 linux*oldld* | linux*aout* | linux*coff*)
14472 dynamic_linker=no
14475 # This must be Linux ELF.
14476 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14477 version_type=linux
14478 need_lib_prefix=no
14479 need_version=no
14480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14481 soname_spec='${libname}${release}${shared_ext}$major'
14482 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14483 shlibpath_var=LD_LIBRARY_PATH
14484 shlibpath_overrides_runpath=no
14486 # Some binutils ld are patched to set DT_RUNPATH
14487 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14488 $as_echo_n "(cached) " >&6
14489 else
14490 lt_cv_shlibpath_overrides_runpath=no
14491 save_LDFLAGS=$LDFLAGS
14492 save_libdir=$libdir
14493 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14494 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14495 if test x$gcc_no_link = xyes; then
14496 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14499 /* end confdefs.h. */
14502 main ()
14506 return 0;
14508 _ACEOF
14509 if ac_fn_cxx_try_link "$LINENO"; then :
14510 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14511 lt_cv_shlibpath_overrides_runpath=yes
14514 rm -f core conftest.err conftest.$ac_objext \
14515 conftest$ac_exeext conftest.$ac_ext
14516 LDFLAGS=$save_LDFLAGS
14517 libdir=$save_libdir
14521 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14523 # This implies no fast_install, which is unacceptable.
14524 # Some rework will be needed to allow for fast_install
14525 # before this can be enabled.
14526 hardcode_into_libs=yes
14528 # Append ld.so.conf contents to the search path
14529 if test -f /etc/ld.so.conf; then
14530 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' ' '`
14531 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14534 # We used to test for /lib/ld.so.1 and disable shared libraries on
14535 # powerpc, because MkLinux only supported shared libraries with the
14536 # GNU dynamic linker. Since this was broken with cross compilers,
14537 # most powerpc-linux boxes support dynamic linking these days and
14538 # people can always --disable-shared, the test was removed, and we
14539 # assume the GNU/Linux dynamic linker is in use.
14540 dynamic_linker='GNU/Linux ld.so'
14543 netbsd*)
14544 version_type=sunos
14545 need_lib_prefix=no
14546 need_version=no
14547 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14549 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14550 dynamic_linker='NetBSD (a.out) ld.so'
14551 else
14552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14553 soname_spec='${libname}${release}${shared_ext}$major'
14554 dynamic_linker='NetBSD ld.elf_so'
14556 shlibpath_var=LD_LIBRARY_PATH
14557 shlibpath_overrides_runpath=yes
14558 hardcode_into_libs=yes
14561 newsos6)
14562 version_type=linux
14563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14564 shlibpath_var=LD_LIBRARY_PATH
14565 shlibpath_overrides_runpath=yes
14568 *nto* | *qnx*)
14569 version_type=qnx
14570 need_lib_prefix=no
14571 need_version=no
14572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14573 soname_spec='${libname}${release}${shared_ext}$major'
14574 shlibpath_var=LD_LIBRARY_PATH
14575 shlibpath_overrides_runpath=no
14576 hardcode_into_libs=yes
14577 dynamic_linker='ldqnx.so'
14580 openbsd*)
14581 version_type=sunos
14582 sys_lib_dlsearch_path_spec="/usr/lib"
14583 need_lib_prefix=no
14584 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14585 case $host_os in
14586 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14587 *) need_version=no ;;
14588 esac
14589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14590 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14591 shlibpath_var=LD_LIBRARY_PATH
14592 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14593 case $host_os in
14594 openbsd2.[89] | openbsd2.[89].*)
14595 shlibpath_overrides_runpath=no
14598 shlibpath_overrides_runpath=yes
14600 esac
14601 else
14602 shlibpath_overrides_runpath=yes
14606 os2*)
14607 libname_spec='$name'
14608 shrext_cmds=".dll"
14609 need_lib_prefix=no
14610 library_names_spec='$libname${shared_ext} $libname.a'
14611 dynamic_linker='OS/2 ld.exe'
14612 shlibpath_var=LIBPATH
14615 osf3* | osf4* | osf5*)
14616 version_type=osf
14617 need_lib_prefix=no
14618 need_version=no
14619 soname_spec='${libname}${release}${shared_ext}$major'
14620 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14621 shlibpath_var=LD_LIBRARY_PATH
14622 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14623 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14626 rdos*)
14627 dynamic_linker=no
14630 solaris*)
14631 version_type=linux
14632 need_lib_prefix=no
14633 need_version=no
14634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14635 soname_spec='${libname}${release}${shared_ext}$major'
14636 shlibpath_var=LD_LIBRARY_PATH
14637 shlibpath_overrides_runpath=yes
14638 hardcode_into_libs=yes
14639 # ldd complains unless libraries are executable
14640 postinstall_cmds='chmod +x $lib'
14643 sunos4*)
14644 version_type=sunos
14645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14646 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14647 shlibpath_var=LD_LIBRARY_PATH
14648 shlibpath_overrides_runpath=yes
14649 if test "$with_gnu_ld" = yes; then
14650 need_lib_prefix=no
14652 need_version=yes
14655 sysv4 | sysv4.3*)
14656 version_type=linux
14657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14658 soname_spec='${libname}${release}${shared_ext}$major'
14659 shlibpath_var=LD_LIBRARY_PATH
14660 case $host_vendor in
14661 sni)
14662 shlibpath_overrides_runpath=no
14663 need_lib_prefix=no
14664 runpath_var=LD_RUN_PATH
14666 siemens)
14667 need_lib_prefix=no
14669 motorola)
14670 need_lib_prefix=no
14671 need_version=no
14672 shlibpath_overrides_runpath=no
14673 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14675 esac
14678 sysv4*MP*)
14679 if test -d /usr/nec ;then
14680 version_type=linux
14681 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14682 soname_spec='$libname${shared_ext}.$major'
14683 shlibpath_var=LD_LIBRARY_PATH
14687 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14688 version_type=freebsd-elf
14689 need_lib_prefix=no
14690 need_version=no
14691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14692 soname_spec='${libname}${release}${shared_ext}$major'
14693 shlibpath_var=LD_LIBRARY_PATH
14694 shlibpath_overrides_runpath=yes
14695 hardcode_into_libs=yes
14696 if test "$with_gnu_ld" = yes; then
14697 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14698 else
14699 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14700 case $host_os in
14701 sco3.2v5*)
14702 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14704 esac
14706 sys_lib_dlsearch_path_spec='/usr/lib'
14709 tpf*)
14710 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14711 version_type=linux
14712 need_lib_prefix=no
14713 need_version=no
14714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14715 shlibpath_var=LD_LIBRARY_PATH
14716 shlibpath_overrides_runpath=no
14717 hardcode_into_libs=yes
14720 uts4*)
14721 version_type=linux
14722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14723 soname_spec='${libname}${release}${shared_ext}$major'
14724 shlibpath_var=LD_LIBRARY_PATH
14728 dynamic_linker=no
14730 esac
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14732 $as_echo "$dynamic_linker" >&6; }
14733 test "$dynamic_linker" = no && can_build_shared=no
14735 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14736 if test "$GCC" = yes; then
14737 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14740 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14741 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14743 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14744 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14785 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14786 hardcode_action_CXX=
14787 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14788 test -n "$runpath_var_CXX" ||
14789 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14791 # We can hardcode non-existent directories.
14792 if test "$hardcode_direct_CXX" != no &&
14793 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14794 # have to relink, otherwise we might link with an installed library
14795 # when we should be linking with a yet-to-be-installed one
14796 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14797 test "$hardcode_minus_L_CXX" != no; then
14798 # Linking always hardcodes the temporary library directory.
14799 hardcode_action_CXX=relink
14800 else
14801 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14802 hardcode_action_CXX=immediate
14804 else
14805 # We cannot hardcode anything, or else we can only hardcode existing
14806 # directories.
14807 hardcode_action_CXX=unsupported
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14810 $as_echo "$hardcode_action_CXX" >&6; }
14812 if test "$hardcode_action_CXX" = relink ||
14813 test "$inherit_rpath_CXX" = yes; then
14814 # Fast installation is not supported
14815 enable_fast_install=no
14816 elif test "$shlibpath_overrides_runpath" = yes ||
14817 test "$enable_shared" = no; then
14818 # Fast installation is not necessary
14819 enable_fast_install=needless
14828 fi # test -n "$compiler"
14830 CC=$lt_save_CC
14831 LDCXX=$LD
14832 LD=$lt_save_LD
14833 GCC=$lt_save_GCC
14834 with_gnu_ld=$lt_save_with_gnu_ld
14835 lt_cv_path_LDCXX=$lt_cv_path_LD
14836 lt_cv_path_LD=$lt_save_path_LD
14837 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14838 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14839 fi # test "$_lt_caught_CXX_error" != yes
14841 ac_ext=c
14842 ac_cpp='$CPP $CPPFLAGS'
14843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14859 ac_config_commands="$ac_config_commands libtool"
14864 # Only expand once:
14870 case $host in
14871 *-cygwin* | *-mingw*)
14872 # 'host' will be top-level target in the case of a target lib,
14873 # we must compare to with_cross_host to decide if this is a native
14874 # or cross-compiler and select where to install dlls appropriately.
14875 if test -n "$with_cross_host" &&
14876 test x"$with_cross_host" != x"no"; then
14877 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14878 else
14879 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14883 lt_host_flags=
14885 esac
14892 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14893 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14895 # Possibly disable most of the library.
14896 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14897 ## than just ignoring the results. Faster /and/ more correct, win win.
14899 # Check whether --enable-hosted-libstdcxx was given.
14900 if test "${enable_hosted_libstdcxx+set}" = set; then :
14901 enableval=$enable_hosted_libstdcxx;
14902 else
14903 case "$host" in
14904 arm*-*-symbianelf*)
14905 enable_hosted_libstdcxx=no
14908 enable_hosted_libstdcxx=yes
14910 esac
14913 if test "$enable_hosted_libstdcxx" = no; then
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14915 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14916 is_hosted=no
14917 hosted_define=0
14918 enable_abi_check=no
14919 enable_libstdcxx_pch=no
14920 else
14921 is_hosted=yes
14922 hosted_define=1
14926 cat >>confdefs.h <<_ACEOF
14927 #define _GLIBCXX_HOSTED $hosted_define
14928 _ACEOF
14932 # Enable compiler support that doesn't require linking.
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14935 $as_echo_n "checking for exception model to use... " >&6; }
14937 ac_ext=cpp
14938 ac_cpp='$CXXCPP $CPPFLAGS'
14939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14943 # Check whether --enable-sjlj-exceptions was given.
14944 if test "${enable_sjlj_exceptions+set}" = set; then :
14945 enableval=$enable_sjlj_exceptions;
14946 case "$enableval" in
14947 yes|no|auto) ;;
14948 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14949 esac
14951 else
14952 enable_sjlj_exceptions=auto
14957 if test $enable_sjlj_exceptions = auto; then
14958 # Botheration. Now we've got to detect the exception model. Link tests
14959 # against libgcc.a are problematic since we've not been given proper -L
14960 # bits for single-tree newlib and libgloss.
14962 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14963 cat > conftest.$ac_ext << EOF
14964 #line 14964 "configure"
14965 struct S { ~S(); };
14966 void bar();
14967 void foo()
14969 S s;
14970 bar();
14973 old_CXXFLAGS="$CXXFLAGS"
14974 CXXFLAGS=-S
14975 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14976 (eval $ac_compile) 2>&5
14977 ac_status=$?
14978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14979 test $ac_status = 0; }; then
14980 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14981 enable_sjlj_exceptions=yes
14982 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14983 enable_sjlj_exceptions=no
14984 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14985 enable_sjlj_exceptions=no
14988 CXXFLAGS="$old_CXXFLAGS"
14989 rm -f conftest*
14992 # This is a tad weird, for hysterical raisins. We have to map
14993 # enable/disable to two different models.
14994 case $enable_sjlj_exceptions in
14995 yes)
14997 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14999 ac_exception_model_name=sjlj
15002 ac_exception_model_name="call frame"
15005 as_fn_error "unable to detect exception model" "$LINENO" 5
15007 esac
15008 ac_ext=c
15009 ac_cpp='$CPP $CPPFLAGS'
15010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15015 $as_echo "$ac_exception_model_name" >&6; }
15018 # Check whether --enable-libstdcxx-pch was given.
15019 if test "${enable_libstdcxx_pch+set}" = set; then :
15020 enableval=$enable_libstdcxx_pch;
15021 case "$enableval" in
15022 yes|no) ;;
15023 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15024 esac
15026 else
15027 enable_libstdcxx_pch=$is_hosted
15031 if test $enable_libstdcxx_pch = yes; then
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15033 $as_echo_n "checking for compiler with PCH support... " >&6; }
15034 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15035 $as_echo_n "(cached) " >&6
15036 else
15037 ac_save_CXXFLAGS="$CXXFLAGS"
15038 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15040 ac_ext=cpp
15041 ac_cpp='$CXXCPP $CPPFLAGS'
15042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15046 echo '#include <math.h>' > conftest.h
15047 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15048 -o conftest.h.gch 1>&5 2>&1 &&
15049 echo '#error "pch failed"' > conftest.h &&
15050 echo '#include "conftest.h"' > conftest.cc &&
15051 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15052 then
15053 glibcxx_cv_prog_CXX_pch=yes
15054 else
15055 glibcxx_cv_prog_CXX_pch=no
15057 rm -f conftest*
15058 CXXFLAGS=$ac_save_CXXFLAGS
15059 ac_ext=c
15060 ac_cpp='$CPP $CPPFLAGS'
15061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15068 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15069 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15073 $as_echo_n "checking for enabled PCH... " >&6; }
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15075 $as_echo "$enable_libstdcxx_pch" >&6; }
15078 if test $enable_libstdcxx_pch = yes; then
15079 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15080 else
15081 glibcxx_PCHFLAGS=""
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15087 $as_echo_n "checking for thread model used by GCC... " >&6; }
15088 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15090 $as_echo "$target_thread_file" >&6; }
15094 ac_ext=cpp
15095 ac_cpp='$CXXCPP $CPPFLAGS'
15096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15100 old_CXXFLAGS="$CXXFLAGS"
15102 # Do link tests if possible, instead asm tests, limited to some platforms
15103 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15104 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15105 atomic_builtins_link_tests=no
15106 if test x$gcc_no_link != xyes; then
15107 # Can do link tests. Limit to some tested platforms
15108 case "$host" in
15109 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15110 atomic_builtins_link_tests=yes
15112 esac
15115 if test x$atomic_builtins_link_tests = xyes; then
15117 # Do link tests.
15119 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15122 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15123 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15124 $as_echo_n "(cached) " >&6
15125 else
15127 if test x$gcc_no_link = xyes; then
15128 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15131 /* end confdefs.h. */
15134 main ()
15136 typedef bool atomic_type;
15137 atomic_type c1;
15138 atomic_type c2;
15139 atomic_type c3(0);
15140 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15141 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15142 __ATOMIC_RELAXED);
15143 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15144 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15147 return 0;
15149 _ACEOF
15150 if ac_fn_cxx_try_link "$LINENO"; then :
15151 glibcxx_cv_atomic_bool=yes
15152 else
15153 glibcxx_cv_atomic_bool=no
15155 rm -f core conftest.err conftest.$ac_objext \
15156 conftest$ac_exeext conftest.$ac_ext
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15161 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15164 $as_echo_n "checking for atomic builtins for short... " >&6; }
15165 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15166 $as_echo_n "(cached) " >&6
15167 else
15169 if test x$gcc_no_link = xyes; then
15170 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15173 /* end confdefs.h. */
15176 main ()
15178 typedef short atomic_type;
15179 atomic_type c1;
15180 atomic_type c2;
15181 atomic_type c3(0);
15182 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15183 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15184 __ATOMIC_RELAXED);
15185 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15186 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15189 return 0;
15191 _ACEOF
15192 if ac_fn_cxx_try_link "$LINENO"; then :
15193 glibcxx_cv_atomic_short=yes
15194 else
15195 glibcxx_cv_atomic_short=no
15197 rm -f core conftest.err conftest.$ac_objext \
15198 conftest$ac_exeext conftest.$ac_ext
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15203 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15206 $as_echo_n "checking for atomic builtins for int... " >&6; }
15207 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15208 $as_echo_n "(cached) " >&6
15209 else
15211 if test x$gcc_no_link = xyes; then
15212 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15215 /* end confdefs.h. */
15218 main ()
15220 typedef int atomic_type;
15221 atomic_type c1;
15222 atomic_type c2;
15223 atomic_type c3(0);
15224 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15225 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15226 __ATOMIC_RELAXED);
15227 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15228 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15231 return 0;
15233 _ACEOF
15234 if ac_fn_cxx_try_link "$LINENO"; then :
15235 glibcxx_cv_atomic_int=yes
15236 else
15237 glibcxx_cv_atomic_int=no
15239 rm -f core conftest.err conftest.$ac_objext \
15240 conftest$ac_exeext conftest.$ac_ext
15244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15245 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15248 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15249 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15250 $as_echo_n "(cached) " >&6
15251 else
15253 if test x$gcc_no_link = xyes; then
15254 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15257 /* end confdefs.h. */
15260 main ()
15262 typedef long long atomic_type;
15263 atomic_type c1;
15264 atomic_type c2;
15265 atomic_type c3(0);
15266 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15267 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15268 __ATOMIC_RELAXED);
15269 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15270 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15273 return 0;
15275 _ACEOF
15276 if ac_fn_cxx_try_link "$LINENO"; then :
15277 glibcxx_cv_atomic_long_long=yes
15278 else
15279 glibcxx_cv_atomic_long_long=no
15281 rm -f core conftest.err conftest.$ac_objext \
15282 conftest$ac_exeext conftest.$ac_ext
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15287 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15289 else
15291 # Do asm tests.
15293 # Compile unoptimized.
15294 CXXFLAGS='-O0 -S'
15296 # Fake what AC_TRY_COMPILE does.
15298 cat > conftest.$ac_ext << EOF
15299 #line 15299 "configure"
15300 int main()
15302 typedef bool atomic_type;
15303 atomic_type c1;
15304 atomic_type c2;
15305 atomic_type c3(0);
15306 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15307 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15308 __ATOMIC_RELAXED);
15309 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15310 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15312 return 0;
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15317 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15318 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15319 (eval $ac_compile) 2>&5
15320 ac_status=$?
15321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15322 test $ac_status = 0; }; then
15323 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15324 glibcxx_cv_atomic_bool=no
15325 else
15326 glibcxx_cv_atomic_bool=yes
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15330 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15331 rm -f conftest*
15333 cat > conftest.$ac_ext << EOF
15334 #line 15334 "configure"
15335 int main()
15337 typedef short atomic_type;
15338 atomic_type c1;
15339 atomic_type c2;
15340 atomic_type c3(0);
15341 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15342 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15343 __ATOMIC_RELAXED);
15344 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15345 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15347 return 0;
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15352 $as_echo_n "checking for atomic builtins for short... " >&6; }
15353 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15354 (eval $ac_compile) 2>&5
15355 ac_status=$?
15356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15357 test $ac_status = 0; }; then
15358 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15359 glibcxx_cv_atomic_short=no
15360 else
15361 glibcxx_cv_atomic_short=yes
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15365 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15366 rm -f conftest*
15368 cat > conftest.$ac_ext << EOF
15369 #line 15369 "configure"
15370 int main()
15372 // NB: _Atomic_word not necessarily int.
15373 typedef int atomic_type;
15374 atomic_type c1;
15375 atomic_type c2;
15376 atomic_type c3(0);
15377 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15378 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15379 __ATOMIC_RELAXED);
15380 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15381 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15383 return 0;
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15388 $as_echo_n "checking for atomic builtins for int... " >&6; }
15389 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15390 (eval $ac_compile) 2>&5
15391 ac_status=$?
15392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15393 test $ac_status = 0; }; then
15394 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15395 glibcxx_cv_atomic_int=no
15396 else
15397 glibcxx_cv_atomic_int=yes
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15401 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15402 rm -f conftest*
15404 cat > conftest.$ac_ext << EOF
15405 #line 15405 "configure"
15406 int main()
15408 typedef long long atomic_type;
15409 atomic_type c1;
15410 atomic_type c2;
15411 atomic_type c3(0);
15412 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15413 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15414 __ATOMIC_RELAXED);
15415 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15416 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15418 return 0;
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15423 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15424 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15425 (eval $ac_compile) 2>&5
15426 ac_status=$?
15427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15428 test $ac_status = 0; }; then
15429 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15430 glibcxx_cv_atomic_long_long=no
15431 else
15432 glibcxx_cv_atomic_long_long=yes
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15436 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15437 rm -f conftest*
15441 CXXFLAGS="$old_CXXFLAGS"
15442 ac_ext=c
15443 ac_cpp='$CPP $CPPFLAGS'
15444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15449 # Set atomicity_dir to builtins if all but the long long test above passes.
15450 if test $glibcxx_cv_atomic_bool = yes \
15451 && test $glibcxx_cv_atomic_short = yes \
15452 && test $glibcxx_cv_atomic_int = yes; then
15454 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15456 atomicity_dir=cpu/generic/atomicity_builtins
15459 # If still generic, set to mutex.
15460 if test $atomicity_dir = "cpu/generic" ; then
15461 atomicity_dir=cpu/generic/atomicity_mutex
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15463 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15464 if test "x$target_thread_file" = xsingle; then
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15466 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15468 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15469 else
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15471 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15473 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15480 # Fake what AC_TRY_COMPILE does, without linking as this is
15481 # unnecessary for this test.
15483 cat > conftest.$ac_ext << EOF
15484 #line 15484 "configure"
15485 int main()
15487 _Decimal32 d1;
15488 _Decimal64 d2;
15489 _Decimal128 d3;
15490 return 0;
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15495 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15496 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15497 (eval $ac_compile) 2>&5
15498 ac_status=$?
15499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15500 test $ac_status = 0; }; then
15502 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15504 enable_dfp=yes
15505 else
15506 enable_dfp=no
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15509 $as_echo "$enable_dfp" >&6; }
15510 rm -f conftest*
15515 ac_ext=cpp
15516 ac_cpp='$CXXCPP $CPPFLAGS'
15517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15522 # Fake what AC_TRY_COMPILE does, without linking as this is
15523 # unnecessary for this test.
15525 cat > conftest.$ac_ext << EOF
15526 #line 15526 "configure"
15527 template<typename T1, typename T2>
15528 struct same
15529 { typedef T2 type; };
15531 template<typename T>
15532 struct same<T, T>;
15534 int main()
15536 typename same<long, __int128>::type i1;
15537 typename same<long long, __int128>::type i2;
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15542 $as_echo_n "checking for __int128... " >&6; }
15543 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15544 (eval $ac_compile) 2>&5
15545 ac_status=$?
15546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15547 test $ac_status = 0; }; then
15549 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15551 enable_int128=yes
15552 else
15553 enable_int128=no
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15556 $as_echo "$enable_int128" >&6; }
15557 rm -f conftest*
15559 cat > conftest.$ac_ext << EOF
15560 #line 15560 "configure"
15561 template<typename T1, typename T2>
15562 struct same
15563 { typedef T2 type; };
15565 template<typename T>
15566 struct same<T, T>;
15568 int main()
15570 typename same<double, __float128>::type f1;
15571 typename same<long double, __float128>::type f2;
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15576 $as_echo_n "checking for __float128... " >&6; }
15577 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15578 (eval $ac_compile) 2>&5
15579 ac_status=$?
15580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15581 test $ac_status = 0; }; then
15583 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15585 enable_float128=yes
15586 else
15587 enable_float128=no
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15590 $as_echo "$enable_float128" >&6; }
15591 rm -f conftest*
15593 ac_ext=c
15594 ac_cpp='$CPP $CPPFLAGS'
15595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15601 # Checks for compiler support that doesn't require linking.
15603 # All these tests are for C++; save the language and the compiler flags.
15604 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15605 # found in GLIBCXX_CONFIGURE.
15607 ac_ext=cpp
15608 ac_cpp='$CXXCPP $CPPFLAGS'
15609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15613 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15614 ac_save_CXXFLAGS="$CXXFLAGS"
15616 # Check for maintainer-mode bits.
15617 if test x"$USE_MAINTAINER_MODE" = xno; then
15618 WERROR=''
15619 else
15620 WERROR='-Werror'
15623 # Check for -ffunction-sections -fdata-sections
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15625 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15626 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15628 /* end confdefs.h. */
15629 int foo; void bar() { };
15631 main ()
15635 return 0;
15637 _ACEOF
15638 if ac_fn_cxx_try_compile "$LINENO"; then :
15639 ac_fdsections=yes
15640 else
15641 ac_fdsections=no
15643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15644 if test "$ac_test_CXXFLAGS" = set; then
15645 CXXFLAGS="$ac_save_CXXFLAGS"
15646 else
15647 # this is the suspicious part
15648 CXXFLAGS=''
15650 if test x"$ac_fdsections" = x"yes"; then
15651 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15654 $as_echo "$ac_fdsections" >&6; }
15656 ac_ext=c
15657 ac_cpp='$CPP $CPPFLAGS'
15658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15666 # Enable all the variable C++ runtime options that don't require linking.
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15669 $as_echo_n "checking for underlying I/O to use... " >&6; }
15670 # Check whether --enable-cstdio was given.
15671 if test "${enable_cstdio+set}" = set; then :
15672 enableval=$enable_cstdio;
15673 case "$enableval" in
15674 stdio) ;;
15675 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15676 esac
15678 else
15679 enable_cstdio=stdio
15684 # Now that libio has been removed, you can have any color you want as long
15685 # as it's black. This is one big no-op until other packages are added, but
15686 # showing the framework never hurts.
15687 case ${enable_cstdio} in
15688 stdio)
15689 CSTDIO_H=config/io/c_io_stdio.h
15690 BASIC_FILE_H=config/io/basic_file_stdio.h
15691 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15693 $as_echo "stdio" >&6; }
15695 esac
15702 # Check whether --enable-clocale was given.
15703 if test "${enable_clocale+set}" = set; then :
15704 enableval=$enable_clocale;
15705 case "$enableval" in
15706 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15707 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15708 esac
15710 else
15711 enable_clocale=auto
15716 # Deal with gettext issues. Default to not using it (=no) until we detect
15717 # support for it later. Let the user turn it off via --e/d, but let that
15718 # default to on for easier handling.
15719 USE_NLS=no
15720 # Check whether --enable-nls was given.
15721 if test "${enable_nls+set}" = set; then :
15722 enableval=$enable_nls;
15723 else
15724 enable_nls=yes
15728 # Either a known package, or "auto"
15729 if test $enable_clocale = no || test $enable_clocale = yes; then
15730 enable_clocale=auto
15732 enable_clocale_flag=$enable_clocale
15734 # Probe for locale model to use if none specified.
15735 # Default to "generic".
15736 if test $enable_clocale_flag = auto; then
15737 case ${target_os} in
15738 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15739 enable_clocale_flag=gnu
15741 darwin* | freebsd*)
15742 enable_clocale_flag=darwin
15745 if test x"$with_newlib" = x"yes"; then
15746 enable_clocale_flag=newlib
15747 else
15748 enable_clocale_flag=generic
15751 esac
15754 # Sanity check model, and test for special functionality.
15755 if test $enable_clocale_flag = gnu; then
15756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15757 /* end confdefs.h. */
15759 #include <features.h>
15760 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15761 _GLIBCXX_ok
15762 #endif
15764 _ACEOF
15765 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15766 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15767 enable_clocale_flag=gnu
15768 else
15769 enable_clocale_flag=generic
15771 rm -f conftest*
15774 # Set it to scream when it hurts.
15775 ac_save_CFLAGS="$CFLAGS"
15776 CFLAGS="-Wimplicit-function-declaration -Werror"
15778 # Use strxfrm_l if available.
15779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15780 /* end confdefs.h. */
15781 #define _GNU_SOURCE 1
15782 #include <string.h>
15783 #include <locale.h>
15785 main ()
15787 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15789 return 0;
15791 _ACEOF
15792 if ac_fn_c_try_compile "$LINENO"; then :
15794 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15799 # Use strerror_l if available.
15800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15801 /* end confdefs.h. */
15802 #define _GNU_SOURCE 1
15803 #include <string.h>
15804 #include <locale.h>
15806 main ()
15808 __locale_t loc; strerror_l(5, loc);
15810 return 0;
15812 _ACEOF
15813 if ac_fn_c_try_compile "$LINENO"; then :
15815 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15820 CFLAGS="$ac_save_CFLAGS"
15823 # Perhaps use strerror_r if available, and strerror_l isn't.
15824 ac_save_CFLAGS="$CFLAGS"
15825 CFLAGS="-Wimplicit-function-declaration -Werror"
15826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15827 /* end confdefs.h. */
15828 #define _GNU_SOURCE 1
15829 #include <string.h>
15830 #include <locale.h>
15832 main ()
15834 char s[128]; strerror_r(5, s, 128);
15836 return 0;
15838 _ACEOF
15839 if ac_fn_c_try_compile "$LINENO"; then :
15841 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15845 CFLAGS="$ac_save_CFLAGS"
15847 # Set configure bits for specified locale package
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15849 $as_echo_n "checking for C locale to use... " >&6; }
15850 case ${enable_clocale_flag} in
15851 generic)
15852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15853 $as_echo "generic" >&6; }
15855 CLOCALE_H=config/locale/generic/c_locale.h
15856 CLOCALE_CC=config/locale/generic/c_locale.cc
15857 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15858 CCOLLATE_CC=config/locale/generic/collate_members.cc
15859 CCTYPE_CC=config/locale/generic/ctype_members.cc
15860 CMESSAGES_H=config/locale/generic/messages_members.h
15861 CMESSAGES_CC=config/locale/generic/messages_members.cc
15862 CMONEY_CC=config/locale/generic/monetary_members.cc
15863 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15864 CTIME_H=config/locale/generic/time_members.h
15865 CTIME_CC=config/locale/generic/time_members.cc
15866 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15868 darwin)
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15870 $as_echo "darwin or freebsd" >&6; }
15872 CLOCALE_H=config/locale/generic/c_locale.h
15873 CLOCALE_CC=config/locale/generic/c_locale.cc
15874 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15875 CCOLLATE_CC=config/locale/generic/collate_members.cc
15876 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15877 CMESSAGES_H=config/locale/generic/messages_members.h
15878 CMESSAGES_CC=config/locale/generic/messages_members.cc
15879 CMONEY_CC=config/locale/generic/monetary_members.cc
15880 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15881 CTIME_H=config/locale/generic/time_members.h
15882 CTIME_CC=config/locale/generic/time_members.cc
15883 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15886 gnu)
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15888 $as_echo "gnu" >&6; }
15890 # Declare intention to use gettext, and add support for specific
15891 # languages.
15892 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15893 ALL_LINGUAS="de fr"
15895 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15896 # Extract the first word of "msgfmt", so it can be a program name with args.
15897 set dummy msgfmt; ac_word=$2
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15899 $as_echo_n "checking for $ac_word... " >&6; }
15900 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15901 $as_echo_n "(cached) " >&6
15902 else
15903 if test -n "$check_msgfmt"; then
15904 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15905 else
15906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15907 for as_dir in $PATH
15909 IFS=$as_save_IFS
15910 test -z "$as_dir" && as_dir=.
15911 for ac_exec_ext in '' $ac_executable_extensions; do
15912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15913 ac_cv_prog_check_msgfmt="yes"
15914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15915 break 2
15917 done
15918 done
15919 IFS=$as_save_IFS
15921 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15924 check_msgfmt=$ac_cv_prog_check_msgfmt
15925 if test -n "$check_msgfmt"; then
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15927 $as_echo "$check_msgfmt" >&6; }
15928 else
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15930 $as_echo "no" >&6; }
15934 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15935 USE_NLS=yes
15937 # Export the build objects.
15938 for ling in $ALL_LINGUAS; do \
15939 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15940 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15941 done
15945 CLOCALE_H=config/locale/gnu/c_locale.h
15946 CLOCALE_CC=config/locale/gnu/c_locale.cc
15947 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15948 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15949 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15950 CMESSAGES_H=config/locale/gnu/messages_members.h
15951 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15952 CMONEY_CC=config/locale/gnu/monetary_members.cc
15953 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15954 CTIME_H=config/locale/gnu/time_members.h
15955 CTIME_CC=config/locale/gnu/time_members.cc
15956 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15958 ieee_1003.1-2001)
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15960 $as_echo "IEEE 1003.1" >&6; }
15962 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15963 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15964 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15965 CCOLLATE_CC=config/locale/generic/collate_members.cc
15966 CCTYPE_CC=config/locale/generic/ctype_members.cc
15967 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15968 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15969 CMONEY_CC=config/locale/generic/monetary_members.cc
15970 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15971 CTIME_H=config/locale/generic/time_members.h
15972 CTIME_CC=config/locale/generic/time_members.cc
15973 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15975 newlib)
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
15977 $as_echo "newlib" >&6; }
15979 CLOCALE_H=config/locale/generic/c_locale.h
15980 CLOCALE_CC=config/locale/generic/c_locale.cc
15981 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15982 CCOLLATE_CC=config/locale/generic/collate_members.cc
15983 CCTYPE_CC=config/locale/newlib/ctype_members.cc
15984 CMESSAGES_H=config/locale/generic/messages_members.h
15985 CMESSAGES_CC=config/locale/generic/messages_members.cc
15986 CMONEY_CC=config/locale/generic/monetary_members.cc
15987 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15988 CTIME_H=config/locale/generic/time_members.h
15989 CTIME_CC=config/locale/generic/time_members.cc
15990 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15992 esac
15994 # This is where the testsuite looks for locale catalogs, using the
15995 # -DLOCALEDIR define during testsuite compilation.
15996 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15999 # A standalone libintl (e.g., GNU libintl) may be in use.
16000 if test $USE_NLS = yes; then
16001 for ac_header in libintl.h
16002 do :
16003 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16004 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16005 cat >>confdefs.h <<_ACEOF
16006 #define HAVE_LIBINTL_H 1
16007 _ACEOF
16009 else
16010 USE_NLS=no
16013 done
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16016 $as_echo_n "checking for library containing gettext... " >&6; }
16017 if test "${ac_cv_search_gettext+set}" = set; then :
16018 $as_echo_n "(cached) " >&6
16019 else
16020 ac_func_search_save_LIBS=$LIBS
16021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16022 /* end confdefs.h. */
16024 /* Override any GCC internal prototype to avoid an error.
16025 Use char because int might match the return type of a GCC
16026 builtin and then its argument prototype would still apply. */
16027 #ifdef __cplusplus
16028 extern "C"
16029 #endif
16030 char gettext ();
16032 main ()
16034 return gettext ();
16036 return 0;
16038 _ACEOF
16039 for ac_lib in '' intl; do
16040 if test -z "$ac_lib"; then
16041 ac_res="none required"
16042 else
16043 ac_res=-l$ac_lib
16044 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16046 if test x$gcc_no_link = xyes; then
16047 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16049 if ac_fn_c_try_link "$LINENO"; then :
16050 ac_cv_search_gettext=$ac_res
16052 rm -f core conftest.err conftest.$ac_objext \
16053 conftest$ac_exeext
16054 if test "${ac_cv_search_gettext+set}" = set; then :
16055 break
16057 done
16058 if test "${ac_cv_search_gettext+set}" = set; then :
16060 else
16061 ac_cv_search_gettext=no
16063 rm conftest.$ac_ext
16064 LIBS=$ac_func_search_save_LIBS
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16067 $as_echo "$ac_cv_search_gettext" >&6; }
16068 ac_res=$ac_cv_search_gettext
16069 if test "$ac_res" != no; then :
16070 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16072 else
16073 USE_NLS=no
16077 if test $USE_NLS = yes; then
16079 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16099 $as_echo_n "checking for std::allocator base class... " >&6; }
16100 # Check whether --enable-libstdcxx-allocator was given.
16101 if test "${enable_libstdcxx_allocator+set}" = set; then :
16102 enableval=$enable_libstdcxx_allocator;
16103 case "$enableval" in
16104 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16105 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16106 esac
16108 else
16109 enable_libstdcxx_allocator=auto
16114 # If they didn't use this option switch, or if they specified --enable
16115 # with no specific model, we'll have to look for one. If they
16116 # specified --disable (???), do likewise.
16117 if test $enable_libstdcxx_allocator = no ||
16118 test $enable_libstdcxx_allocator = yes;
16119 then
16120 enable_libstdcxx_allocator=auto
16123 # Either a known package, or "auto". Auto implies the default choice
16124 # for a particular platform.
16125 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16127 # Probe for host-specific support if no specific model is specified.
16128 # Default to "new".
16129 if test $enable_libstdcxx_allocator_flag = auto; then
16130 case ${target_os} in
16131 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16132 enable_libstdcxx_allocator_flag=new
16135 enable_libstdcxx_allocator_flag=new
16137 esac
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16140 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16143 # Set configure bits for specified locale package
16144 case ${enable_libstdcxx_allocator_flag} in
16145 bitmap)
16146 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16147 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16149 malloc)
16150 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16151 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16154 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16155 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16157 new)
16158 ALLOCATOR_H=config/allocator/new_allocator_base.h
16159 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16161 pool)
16162 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16163 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16165 esac
16171 # Check whether --enable-cheaders was given.
16172 if test "${enable_cheaders+set}" = set; then :
16173 enableval=$enable_cheaders;
16174 case "$enableval" in
16175 c|c_std|c_global) ;;
16176 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16177 esac
16179 else
16180 enable_cheaders=$c_model
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16185 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16187 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16189 # Allow overrides to configure.host here.
16190 if test $enable_cheaders = c_global; then
16191 c_compatibility=yes
16200 # Check whether --enable-long-long was given.
16201 if test "${enable_long_long+set}" = set; then :
16202 enableval=$enable_long_long;
16203 case "$enableval" in
16204 yes|no) ;;
16205 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16206 esac
16208 else
16209 enable_long_long=yes
16213 if test $enable_long_long = yes; then
16215 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16219 $as_echo_n "checking for enabled long long specializations... " >&6; }
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16221 $as_echo "$enable_long_long" >&6; }
16224 # Check whether --enable-wchar_t was given.
16225 if test "${enable_wchar_t+set}" = set; then :
16226 enableval=$enable_wchar_t;
16227 case "$enableval" in
16228 yes|no) ;;
16229 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16230 esac
16232 else
16233 enable_wchar_t=yes
16238 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16239 for ac_header in wchar.h
16240 do :
16241 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16242 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16243 cat >>confdefs.h <<_ACEOF
16244 #define HAVE_WCHAR_H 1
16245 _ACEOF
16246 ac_has_wchar_h=yes
16247 else
16248 ac_has_wchar_h=no
16251 done
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16254 $as_echo_n "checking for mbstate_t... " >&6; }
16255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16256 /* end confdefs.h. */
16257 #include <wchar.h>
16259 main ()
16261 mbstate_t teststate;
16263 return 0;
16265 _ACEOF
16266 if ac_fn_c_try_compile "$LINENO"; then :
16267 have_mbstate_t=yes
16268 else
16269 have_mbstate_t=no
16271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16273 $as_echo "$have_mbstate_t" >&6; }
16274 if test x"$have_mbstate_t" = xyes; then
16276 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16280 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16281 # ac_has_wchar_h.
16282 for ac_header in wctype.h
16283 do :
16284 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16285 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16286 cat >>confdefs.h <<_ACEOF
16287 #define HAVE_WCTYPE_H 1
16288 _ACEOF
16289 ac_has_wctype_h=yes
16290 else
16291 ac_has_wctype_h=no
16294 done
16297 if test x"$enable_wchar_t" = x"yes"; then
16300 ac_ext=cpp
16301 ac_cpp='$CXXCPP $CPPFLAGS'
16302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16307 if test x"$ac_has_wchar_h" = xyes &&
16308 test x"$ac_has_wctype_h" = xyes; then
16309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16310 /* end confdefs.h. */
16311 #include <wchar.h>
16312 #include <stddef.h>
16313 wint_t i;
16314 long l = WEOF;
16315 long j = WCHAR_MIN;
16316 long k = WCHAR_MAX;
16317 namespace test
16319 using ::btowc;
16320 using ::fgetwc;
16321 using ::fgetws;
16322 using ::fputwc;
16323 using ::fputws;
16324 using ::fwide;
16325 using ::fwprintf;
16326 using ::fwscanf;
16327 using ::getwc;
16328 using ::getwchar;
16329 using ::mbrlen;
16330 using ::mbrtowc;
16331 using ::mbsinit;
16332 using ::mbsrtowcs;
16333 using ::putwc;
16334 using ::putwchar;
16335 using ::swprintf;
16336 using ::swscanf;
16337 using ::ungetwc;
16338 using ::vfwprintf;
16339 using ::vswprintf;
16340 using ::vwprintf;
16341 using ::wcrtomb;
16342 using ::wcscat;
16343 using ::wcschr;
16344 using ::wcscmp;
16345 using ::wcscoll;
16346 using ::wcscpy;
16347 using ::wcscspn;
16348 using ::wcsftime;
16349 using ::wcslen;
16350 using ::wcsncat;
16351 using ::wcsncmp;
16352 using ::wcsncpy;
16353 using ::wcspbrk;
16354 using ::wcsrchr;
16355 using ::wcsrtombs;
16356 using ::wcsspn;
16357 using ::wcsstr;
16358 using ::wcstod;
16359 using ::wcstok;
16360 using ::wcstol;
16361 using ::wcstoul;
16362 using ::wcsxfrm;
16363 using ::wctob;
16364 using ::wmemchr;
16365 using ::wmemcmp;
16366 using ::wmemcpy;
16367 using ::wmemmove;
16368 using ::wmemset;
16369 using ::wprintf;
16370 using ::wscanf;
16374 main ()
16378 return 0;
16380 _ACEOF
16381 if ac_fn_cxx_try_compile "$LINENO"; then :
16383 else
16384 enable_wchar_t=no
16386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16387 else
16388 enable_wchar_t=no
16391 ac_ext=c
16392 ac_cpp='$CPP $CPPFLAGS'
16393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16399 if test x"$enable_wchar_t" = x"yes"; then
16401 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16406 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16408 $as_echo "$enable_wchar_t" >&6; }
16412 # Check whether --enable-c99 was given.
16413 if test "${enable_c99+set}" = set; then :
16414 enableval=$enable_c99;
16415 case "$enableval" in
16416 yes|no) ;;
16417 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16418 esac
16420 else
16421 enable_c99=yes
16426 if test x"$enable_c99" = x"yes"; then
16429 ac_ext=cpp
16430 ac_cpp='$CXXCPP $CPPFLAGS'
16431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16436 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16437 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16438 # spuriously enabled.
16439 # Long term, -std=c++0x could be even better, could manage to explicitely
16440 # request C99 facilities to the underlying C headers.
16441 ac_save_CXXFLAGS="$CXXFLAGS"
16442 CXXFLAGS="$CXXFLAGS -std=c++98"
16443 ac_save_LIBS="$LIBS"
16444 ac_save_gcc_no_link="$gcc_no_link"
16446 if test x$gcc_no_link != xyes; then
16447 # Use -fno-exceptions to that the C driver can link these tests without
16448 # hitting undefined references to personality routines.
16449 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16451 $as_echo_n "checking for sin in -lm... " >&6; }
16452 if test "${ac_cv_lib_m_sin+set}" = set; then :
16453 $as_echo_n "(cached) " >&6
16454 else
16455 ac_check_lib_save_LIBS=$LIBS
16456 LIBS="-lm $LIBS"
16457 if test x$gcc_no_link = xyes; then
16458 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16461 /* end confdefs.h. */
16463 /* Override any GCC internal prototype to avoid an error.
16464 Use char because int might match the return type of a GCC
16465 builtin and then its argument prototype would still apply. */
16466 #ifdef __cplusplus
16467 extern "C"
16468 #endif
16469 char sin ();
16471 main ()
16473 return sin ();
16475 return 0;
16477 _ACEOF
16478 if ac_fn_cxx_try_link "$LINENO"; then :
16479 ac_cv_lib_m_sin=yes
16480 else
16481 ac_cv_lib_m_sin=no
16483 rm -f core conftest.err conftest.$ac_objext \
16484 conftest$ac_exeext conftest.$ac_ext
16485 LIBS=$ac_check_lib_save_LIBS
16487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16488 $as_echo "$ac_cv_lib_m_sin" >&6; }
16489 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16491 LIBS="$LIBS -lm"
16493 else
16495 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16496 gcc_no_link=yes
16502 # Check for the existence of <math.h> functions used if C99 is enabled.
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16504 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16505 if test "${glibcxx_cv_c99_math+set}" = set; then :
16506 $as_echo_n "(cached) " >&6
16507 else
16509 if test x$gcc_no_link = xyes; then
16510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16511 /* end confdefs.h. */
16512 #include <math.h>
16513 volatile double d1, d2;
16514 volatile int i;
16516 main ()
16518 i = fpclassify(d1);
16519 i = isfinite(d1);
16520 i = isinf(d1);
16521 i = isnan(d1);
16522 i = isnormal(d1);
16523 i = signbit(d1);
16524 i = isgreater(d1, d2);
16525 i = isgreaterequal(d1, d2);
16526 i = isless(d1, d2);
16527 i = islessequal(d1, d2);
16528 i = islessgreater(d1, d2);
16529 i = islessgreater(d1, d2);
16530 i = isunordered(d1, d2);
16533 return 0;
16535 _ACEOF
16536 if ac_fn_cxx_try_compile "$LINENO"; then :
16537 glibcxx_cv_c99_math=yes
16538 else
16539 glibcxx_cv_c99_math=no
16541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16542 else
16543 if test x$gcc_no_link = xyes; then
16544 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16547 /* end confdefs.h. */
16548 #include <math.h>
16549 volatile double d1, d2;
16550 volatile int i;
16552 main ()
16554 i = fpclassify(d1);
16555 i = isfinite(d1);
16556 i = isinf(d1);
16557 i = isnan(d1);
16558 i = isnormal(d1);
16559 i = signbit(d1);
16560 i = isgreater(d1, d2);
16561 i = isgreaterequal(d1, d2);
16562 i = isless(d1, d2);
16563 i = islessequal(d1, d2);
16564 i = islessgreater(d1, d2);
16565 i = islessgreater(d1, d2);
16566 i = isunordered(d1, d2);
16569 return 0;
16571 _ACEOF
16572 if ac_fn_cxx_try_link "$LINENO"; then :
16573 glibcxx_cv_c99_math=yes
16574 else
16575 glibcxx_cv_c99_math=no
16577 rm -f core conftest.err conftest.$ac_objext \
16578 conftest$ac_exeext conftest.$ac_ext
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16584 $as_echo "$glibcxx_cv_c99_math" >&6; }
16585 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16587 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16591 # Check for the existence of <complex.h> complex math functions.
16592 # This is necessary even though libstdc++ uses the builtin versions
16593 # of these functions, because if the builtin cannot be used, a reference
16594 # to the library function is emitted.
16595 for ac_header in tgmath.h
16596 do :
16597 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16598 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16599 cat >>confdefs.h <<_ACEOF
16600 #define HAVE_TGMATH_H 1
16601 _ACEOF
16602 ac_has_tgmath_h=yes
16603 else
16604 ac_has_tgmath_h=no
16607 done
16609 for ac_header in complex.h
16610 do :
16611 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16612 if test "x$ac_cv_header_complex_h" = x""yes; then :
16613 cat >>confdefs.h <<_ACEOF
16614 #define HAVE_COMPLEX_H 1
16615 _ACEOF
16616 ac_has_complex_h=yes
16617 else
16618 ac_has_complex_h=no
16621 done
16623 glibcxx_cv_c99_complex=no;
16624 if test x"$ac_has_complex_h" = x"yes"; then
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16626 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16627 if test x$gcc_no_link = xyes; then
16628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16629 /* end confdefs.h. */
16630 #include <complex.h>
16631 typedef __complex__ float float_type;
16632 typedef __complex__ double double_type;
16633 typedef __complex__ long double ld_type;
16634 volatile float_type tmpf;
16635 volatile double_type tmpd;
16636 volatile ld_type tmpld;
16637 volatile float f;
16638 volatile double d;
16639 volatile long double ld;
16641 main ()
16643 f = cabsf(tmpf);
16644 f = cargf(tmpf);
16645 tmpf = ccosf(tmpf);
16646 tmpf = ccoshf(tmpf);
16647 tmpf = cexpf(tmpf);
16648 tmpf = clogf(tmpf);
16649 tmpf = csinf(tmpf);
16650 tmpf = csinhf(tmpf);
16651 tmpf = csqrtf(tmpf);
16652 tmpf = ctanf(tmpf);
16653 tmpf = ctanhf(tmpf);
16654 tmpf = cpowf(tmpf, tmpf);
16655 tmpf = cprojf(tmpf);
16656 d = cabs(tmpd);
16657 d = carg(tmpd);
16658 tmpd = ccos(tmpd);
16659 tmpd = ccosh(tmpd);
16660 tmpd = cexp(tmpd);
16661 tmpd = clog(tmpd);
16662 tmpd = csin(tmpd);
16663 tmpd = csinh(tmpd);
16664 tmpd = csqrt(tmpd);
16665 tmpd = ctan(tmpd);
16666 tmpd = ctanh(tmpd);
16667 tmpd = cpow(tmpd, tmpd);
16668 tmpd = cproj(tmpd);
16669 ld = cabsl(tmpld);
16670 ld = cargl(tmpld);
16671 tmpld = ccosl(tmpld);
16672 tmpld = ccoshl(tmpld);
16673 tmpld = cexpl(tmpld);
16674 tmpld = clogl(tmpld);
16675 tmpld = csinl(tmpld);
16676 tmpld = csinhl(tmpld);
16677 tmpld = csqrtl(tmpld);
16678 tmpld = ctanl(tmpld);
16679 tmpld = ctanhl(tmpld);
16680 tmpld = cpowl(tmpld, tmpld);
16681 tmpld = cprojl(tmpld);
16684 return 0;
16686 _ACEOF
16687 if ac_fn_cxx_try_compile "$LINENO"; then :
16688 glibcxx_cv_c99_complex=yes
16689 else
16690 glibcxx_cv_c99_complex=no
16692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16693 else
16694 if test x$gcc_no_link = xyes; then
16695 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16698 /* end confdefs.h. */
16699 #include <complex.h>
16700 typedef __complex__ float float_type;
16701 typedef __complex__ double double_type;
16702 typedef __complex__ long double ld_type;
16703 volatile float_type tmpf;
16704 volatile double_type tmpd;
16705 volatile ld_type tmpld;
16706 volatile float f;
16707 volatile double d;
16708 volatile long double ld;
16710 main ()
16712 f = cabsf(tmpf);
16713 f = cargf(tmpf);
16714 tmpf = ccosf(tmpf);
16715 tmpf = ccoshf(tmpf);
16716 tmpf = cexpf(tmpf);
16717 tmpf = clogf(tmpf);
16718 tmpf = csinf(tmpf);
16719 tmpf = csinhf(tmpf);
16720 tmpf = csqrtf(tmpf);
16721 tmpf = ctanf(tmpf);
16722 tmpf = ctanhf(tmpf);
16723 tmpf = cpowf(tmpf, tmpf);
16724 tmpf = cprojf(tmpf);
16725 d = cabs(tmpd);
16726 d = carg(tmpd);
16727 tmpd = ccos(tmpd);
16728 tmpd = ccosh(tmpd);
16729 tmpd = cexp(tmpd);
16730 tmpd = clog(tmpd);
16731 tmpd = csin(tmpd);
16732 tmpd = csinh(tmpd);
16733 tmpd = csqrt(tmpd);
16734 tmpd = ctan(tmpd);
16735 tmpd = ctanh(tmpd);
16736 tmpd = cpow(tmpd, tmpd);
16737 tmpd = cproj(tmpd);
16738 ld = cabsl(tmpld);
16739 ld = cargl(tmpld);
16740 tmpld = ccosl(tmpld);
16741 tmpld = ccoshl(tmpld);
16742 tmpld = cexpl(tmpld);
16743 tmpld = clogl(tmpld);
16744 tmpld = csinl(tmpld);
16745 tmpld = csinhl(tmpld);
16746 tmpld = csqrtl(tmpld);
16747 tmpld = ctanl(tmpld);
16748 tmpld = ctanhl(tmpld);
16749 tmpld = cpowl(tmpld, tmpld);
16750 tmpld = cprojl(tmpld);
16753 return 0;
16755 _ACEOF
16756 if ac_fn_cxx_try_link "$LINENO"; then :
16757 glibcxx_cv_c99_complex=yes
16758 else
16759 glibcxx_cv_c99_complex=no
16761 rm -f core conftest.err conftest.$ac_objext \
16762 conftest$ac_exeext conftest.$ac_ext
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16766 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16767 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16769 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16773 # Check for the existence in <stdio.h> of vscanf, et. al.
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16775 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16776 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16777 $as_echo_n "(cached) " >&6
16778 else
16780 if test x$gcc_no_link = xyes; then
16781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16782 /* end confdefs.h. */
16783 #include <stdio.h>
16784 #include <stdarg.h>
16785 void foo(char* fmt, ...)
16787 va_list args; va_start(args, fmt);
16788 vfscanf(stderr, "%i", args);
16789 vscanf("%i", args);
16790 vsnprintf(fmt, 0, "%i", args);
16791 vsscanf(fmt, "%i", args);
16794 main ()
16796 snprintf("12", 0, "%i");
16798 return 0;
16800 _ACEOF
16801 if ac_fn_cxx_try_compile "$LINENO"; then :
16802 glibcxx_cv_c99_stdio=yes
16803 else
16804 glibcxx_cv_c99_stdio=no
16806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16807 else
16808 if test x$gcc_no_link = xyes; then
16809 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16812 /* end confdefs.h. */
16813 #include <stdio.h>
16814 #include <stdarg.h>
16815 void foo(char* fmt, ...)
16817 va_list args; va_start(args, fmt);
16818 vfscanf(stderr, "%i", args);
16819 vscanf("%i", args);
16820 vsnprintf(fmt, 0, "%i", args);
16821 vsscanf(fmt, "%i", args);
16824 main ()
16826 snprintf("12", 0, "%i");
16828 return 0;
16830 _ACEOF
16831 if ac_fn_cxx_try_link "$LINENO"; then :
16832 glibcxx_cv_c99_stdio=yes
16833 else
16834 glibcxx_cv_c99_stdio=no
16836 rm -f core conftest.err conftest.$ac_objext \
16837 conftest$ac_exeext conftest.$ac_ext
16842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16843 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16845 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16847 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16848 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16849 $as_echo_n "(cached) " >&6
16850 else
16852 if test x$gcc_no_link = xyes; then
16853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16854 /* end confdefs.h. */
16855 #include <stdlib.h>
16856 volatile float f;
16857 volatile long double ld;
16858 volatile unsigned long long ll;
16859 lldiv_t mydivt;
16861 main ()
16863 char* tmp;
16864 f = strtof("gnu", &tmp);
16865 ld = strtold("gnu", &tmp);
16866 ll = strtoll("gnu", &tmp, 10);
16867 ll = strtoull("gnu", &tmp, 10);
16868 ll = llabs(10);
16869 mydivt = lldiv(10,1);
16870 ll = mydivt.quot;
16871 ll = mydivt.rem;
16872 ll = atoll("10");
16873 _Exit(0);
16876 return 0;
16878 _ACEOF
16879 if ac_fn_cxx_try_compile "$LINENO"; then :
16880 glibcxx_cv_c99_stdlib=yes
16881 else
16882 glibcxx_cv_c99_stdlib=no
16884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16885 else
16886 if test x$gcc_no_link = xyes; then
16887 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16890 /* end confdefs.h. */
16891 #include <stdlib.h>
16892 volatile float f;
16893 volatile long double ld;
16894 volatile unsigned long long ll;
16895 lldiv_t mydivt;
16897 main ()
16899 char* tmp;
16900 f = strtof("gnu", &tmp);
16901 ld = strtold("gnu", &tmp);
16902 ll = strtoll("gnu", &tmp, 10);
16903 ll = strtoull("gnu", &tmp, 10);
16904 ll = llabs(10);
16905 mydivt = lldiv(10,1);
16906 ll = mydivt.quot;
16907 ll = mydivt.rem;
16908 ll = atoll("10");
16909 _Exit(0);
16912 return 0;
16914 _ACEOF
16915 if ac_fn_cxx_try_link "$LINENO"; then :
16916 glibcxx_cv_c99_stdlib=yes
16917 else
16918 glibcxx_cv_c99_stdlib=no
16920 rm -f core conftest.err conftest.$ac_objext \
16921 conftest$ac_exeext conftest.$ac_ext
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16927 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16929 # Check for the existence in <wchar.h> of wcstold, etc.
16930 glibcxx_cv_c99_wchar=no;
16931 if test x"$ac_has_wchar_h" = xyes &&
16932 test x"$ac_has_wctype_h" = xyes; then
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16934 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16936 /* end confdefs.h. */
16937 #include <wchar.h>
16938 namespace test
16940 using ::wcstold;
16941 using ::wcstoll;
16942 using ::wcstoull;
16946 main ()
16950 return 0;
16952 _ACEOF
16953 if ac_fn_cxx_try_compile "$LINENO"; then :
16954 glibcxx_cv_c99_wchar=yes
16955 else
16956 glibcxx_cv_c99_wchar=no
16958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16960 # Checks for wide character functions that may not be present.
16961 # Injection of these is wrapped with guard macros.
16962 # NB: only put functions here, instead of immediately above, if
16963 # absolutely necessary.
16964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16965 /* end confdefs.h. */
16966 #include <wchar.h>
16967 namespace test { using ::vfwscanf; }
16969 main ()
16973 return 0;
16975 _ACEOF
16976 if ac_fn_cxx_try_compile "$LINENO"; then :
16978 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16984 /* end confdefs.h. */
16985 #include <wchar.h>
16986 namespace test { using ::vswscanf; }
16988 main ()
16992 return 0;
16994 _ACEOF
16995 if ac_fn_cxx_try_compile "$LINENO"; then :
16997 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17003 /* end confdefs.h. */
17004 #include <wchar.h>
17005 namespace test { using ::vwscanf; }
17007 main ()
17011 return 0;
17013 _ACEOF
17014 if ac_fn_cxx_try_compile "$LINENO"; then :
17016 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17022 /* end confdefs.h. */
17023 #include <wchar.h>
17024 namespace test { using ::wcstof; }
17026 main ()
17030 return 0;
17032 _ACEOF
17033 if ac_fn_cxx_try_compile "$LINENO"; then :
17035 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17041 /* end confdefs.h. */
17042 #include <wctype.h>
17044 main ()
17046 wint_t t; int i = iswblank(t);
17048 return 0;
17050 _ACEOF
17051 if ac_fn_cxx_try_compile "$LINENO"; then :
17053 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17059 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17062 # Option parsed, now set things appropriately.
17063 if test x"$glibcxx_cv_c99_math" = x"no" ||
17064 test x"$glibcxx_cv_c99_complex" = x"no" ||
17065 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17066 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17067 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17068 enable_c99=no;
17069 else
17071 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17075 gcc_no_link="$ac_save_gcc_no_link"
17076 LIBS="$ac_save_LIBS"
17077 CXXFLAGS="$ac_save_CXXFLAGS"
17078 ac_ext=c
17079 ac_cpp='$CPP $CPPFLAGS'
17080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17087 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17089 $as_echo "$enable_c99" >&6; }
17092 # Check whether --enable-concept-checks was given.
17093 if test "${enable_concept_checks+set}" = set; then :
17094 enableval=$enable_concept_checks;
17095 case "$enableval" in
17096 yes|no) ;;
17097 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17098 esac
17100 else
17101 enable_concept_checks=no
17105 if test $enable_concept_checks = yes; then
17107 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17112 # Check whether --enable-libstdcxx-debug-flags was given.
17113 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17114 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17115 xno | x) enable_libstdcxx_debug_flags= ;;
17116 x-*) ;;
17117 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17118 esac
17119 else
17120 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17125 # Option parsed, now set things appropriately
17126 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17130 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17134 $as_echo_n "checking for additional debug build... " >&6; }
17135 # Check whether --enable-libstdcxx-debug was given.
17136 if test "${enable_libstdcxx_debug+set}" = set; then :
17137 enableval=$enable_libstdcxx_debug;
17138 case "$enableval" in
17139 yes|no) ;;
17140 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17141 esac
17143 else
17144 enable_libstdcxx_debug=no
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17149 $as_echo "$enable_libstdcxx_debug" >&6; }
17154 enable_parallel=no;
17156 # See if configured libgomp/omp.h exists. (libgomp may be in
17157 # noconfigdirs but not explicitly disabled.)
17158 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17159 enable_parallel=yes;
17160 else
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17162 $as_echo "$as_me: target-libgomp not built" >&6;}
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17166 $as_echo_n "checking for parallel mode support... " >&6; }
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17168 $as_echo "$enable_parallel" >&6; }
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17172 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17173 # Check whether --enable-cxx-flags was given.
17174 if test "${enable_cxx_flags+set}" = set; then :
17175 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17176 xno | x) enable_cxx_flags= ;;
17177 x-*) ;;
17178 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17179 esac
17180 else
17181 enable_cxx_flags=
17186 # Run through flags (either default or command-line) and set anything
17187 # extra (e.g., #defines) that must accompany particular g++ options.
17188 if test -n "$enable_cxx_flags"; then
17189 for f in $enable_cxx_flags; do
17190 case "$f" in
17191 -fhonor-std) ;;
17192 -*) ;;
17193 *) # and we're trying to pass /what/ exactly?
17194 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17195 esac
17196 done
17199 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17201 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17205 # Check whether --enable-fully-dynamic-string was given.
17206 if test "${enable_fully_dynamic_string+set}" = set; then :
17207 enableval=$enable_fully_dynamic_string;
17208 case "$enableval" in
17209 yes|no) ;;
17210 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17211 esac
17213 else
17214 enable_fully_dynamic_string=no
17218 if test $enable_fully_dynamic_string = yes; then
17219 enable_fully_dynamic_string_def=1
17220 else
17221 enable_fully_dynamic_string_def=0
17224 cat >>confdefs.h <<_ACEOF
17225 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17226 _ACEOF
17231 # Check whether --enable-extern-template was given.
17232 if test "${enable_extern_template+set}" = set; then :
17233 enableval=$enable_extern_template;
17234 case "$enableval" in
17235 yes|no) ;;
17236 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17237 esac
17239 else
17240 enable_extern_template=yes
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17246 $as_echo_n "checking for extern template support... " >&6; }
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17248 $as_echo "$enable_extern_template" >&6; }
17254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17255 $as_echo_n "checking for custom python install directory... " >&6; }
17257 # Check whether --with-python-dir was given.
17258 if test "${with_python_dir+set}" = set; then :
17259 withval=$with_python_dir; with_python_dir=$withval
17260 else
17261 with_python_dir="no"
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17265 $as_echo "${with_python_dir}" >&6; }
17267 # Needed for installing Python modules during make install.
17268 python_mod_dir="${with_python_dir}"
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17274 $as_echo_n "checking for -Werror... " >&6; }
17275 # Check whether --enable-werror was given.
17276 if test "${enable_werror+set}" = set; then :
17277 enableval=$enable_werror;
17278 case "$enableval" in
17279 yes|no) ;;
17280 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17281 esac
17283 else
17284 enable_werror=yes
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17289 $as_echo "$enable_werror" >&6; }
17293 # Checks for operating systems support that doesn't require linking.
17297 ac_ext=cpp
17298 ac_cpp='$CXXCPP $CPPFLAGS'
17299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17305 $as_echo_n "checking for gets declaration... " >&6; }
17306 if test "${glibcxx_cv_gets+set}" = set; then :
17307 $as_echo_n "(cached) " >&6
17308 else
17310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17311 /* end confdefs.h. */
17312 #include <stdio.h>
17313 namespace test
17315 using ::gets;
17318 _ACEOF
17319 if ac_fn_cxx_try_compile "$LINENO"; then :
17320 glibcxx_cv_gets=yes
17321 else
17322 glibcxx_cv_gets=no
17325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17329 if test $glibcxx_cv_gets = yes; then
17331 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17335 $as_echo "$glibcxx_cv_gets" >&6; }
17337 ac_ext=c
17338 ac_cpp='$CPP $CPPFLAGS'
17339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17347 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17348 if test "${glibcxx_cv_system_error1+set}" = set; then :
17349 $as_echo_n "(cached) " >&6
17350 else
17352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17353 /* end confdefs.h. */
17354 #include <errno.h>
17356 main ()
17358 int i = EOWNERDEAD;
17360 return 0;
17362 _ACEOF
17363 if ac_fn_c_try_compile "$LINENO"; then :
17364 glibcxx_cv_system_error1=yes
17365 else
17366 glibcxx_cv_system_error1=no
17368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17373 $as_echo "$glibcxx_cv_system_error1" >&6; }
17374 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17376 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17380 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17381 if test "${glibcxx_cv_system_error2+set}" = set; then :
17382 $as_echo_n "(cached) " >&6
17383 else
17385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17386 /* end confdefs.h. */
17387 #include <errno.h>
17389 main ()
17391 int i = ENOTRECOVERABLE;
17393 return 0;
17395 _ACEOF
17396 if ac_fn_c_try_compile "$LINENO"; then :
17397 glibcxx_cv_system_error2=yes
17398 else
17399 glibcxx_cv_system_error2=no
17401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17406 $as_echo "$glibcxx_cv_system_error2" >&6; }
17407 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17409 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17413 $as_echo_n "checking for ENOLINK... " >&6; }
17414 if test "${glibcxx_cv_system_error3+set}" = set; then :
17415 $as_echo_n "(cached) " >&6
17416 else
17418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17419 /* end confdefs.h. */
17420 #include <errno.h>
17422 main ()
17424 int i = ENOLINK;
17426 return 0;
17428 _ACEOF
17429 if ac_fn_c_try_compile "$LINENO"; then :
17430 glibcxx_cv_system_error3=yes
17431 else
17432 glibcxx_cv_system_error3=no
17434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17439 $as_echo "$glibcxx_cv_system_error3" >&6; }
17440 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17442 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17446 $as_echo_n "checking for EPROTO... " >&6; }
17447 if test "${glibcxx_cv_system_error4+set}" = set; then :
17448 $as_echo_n "(cached) " >&6
17449 else
17451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17452 /* end confdefs.h. */
17453 #include <errno.h>
17455 main ()
17457 int i = EPROTO;
17459 return 0;
17461 _ACEOF
17462 if ac_fn_c_try_compile "$LINENO"; then :
17463 glibcxx_cv_system_error4=yes
17464 else
17465 glibcxx_cv_system_error4=no
17467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17472 $as_echo "$glibcxx_cv_system_error4" >&6; }
17473 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17475 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17479 $as_echo_n "checking for ENODATA... " >&6; }
17480 if test "${glibcxx_cv_system_error5+set}" = set; then :
17481 $as_echo_n "(cached) " >&6
17482 else
17484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17485 /* end confdefs.h. */
17486 #include <errno.h>
17488 main ()
17490 int i = ENODATA;
17492 return 0;
17494 _ACEOF
17495 if ac_fn_c_try_compile "$LINENO"; then :
17496 glibcxx_cv_system_error5=yes
17497 else
17498 glibcxx_cv_system_error5=no
17500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17505 $as_echo "$glibcxx_cv_system_error5" >&6; }
17506 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17508 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17512 $as_echo_n "checking for ENOSR... " >&6; }
17513 if test "${glibcxx_cv_system_error6+set}" = set; then :
17514 $as_echo_n "(cached) " >&6
17515 else
17517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17518 /* end confdefs.h. */
17519 #include <errno.h>
17521 main ()
17523 int i = ENOSR;
17525 return 0;
17527 _ACEOF
17528 if ac_fn_c_try_compile "$LINENO"; then :
17529 glibcxx_cv_system_error6=yes
17530 else
17531 glibcxx_cv_system_error6=no
17533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17538 $as_echo "$glibcxx_cv_system_error6" >&6; }
17539 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17541 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17545 $as_echo_n "checking for ENOSTR... " >&6; }
17546 if test "${glibcxx_cv_system_error7+set}" = set; then :
17547 $as_echo_n "(cached) " >&6
17548 else
17550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17551 /* end confdefs.h. */
17552 #include <errno.h>
17554 main ()
17556 int i = ENOSTR;
17558 return 0;
17560 _ACEOF
17561 if ac_fn_c_try_compile "$LINENO"; then :
17562 glibcxx_cv_system_error7=yes
17563 else
17564 glibcxx_cv_system_error7=no
17566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17571 $as_echo "$glibcxx_cv_system_error7" >&6; }
17572 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17574 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17578 $as_echo_n "checking for ETIME... " >&6; }
17579 if test "${glibcxx_cv_system_error8+set}" = set; then :
17580 $as_echo_n "(cached) " >&6
17581 else
17583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17584 /* end confdefs.h. */
17585 #include <errno.h>
17587 main ()
17589 int i = ETIME;
17591 return 0;
17593 _ACEOF
17594 if ac_fn_c_try_compile "$LINENO"; then :
17595 glibcxx_cv_system_error8=yes
17596 else
17597 glibcxx_cv_system_error8=no
17599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17604 $as_echo "$glibcxx_cv_system_error8" >&6; }
17605 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17607 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17611 $as_echo_n "checking for EBADMSG... " >&6; }
17612 if test "${glibcxx_cv_system_error9+set}" = set; then :
17613 $as_echo_n "(cached) " >&6
17614 else
17616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17617 /* end confdefs.h. */
17618 #include <errno.h>
17620 main ()
17622 int i = EBADMSG;
17624 return 0;
17626 _ACEOF
17627 if ac_fn_c_try_compile "$LINENO"; then :
17628 glibcxx_cv_system_error9=yes
17629 else
17630 glibcxx_cv_system_error9=no
17632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17637 $as_echo "$glibcxx_cv_system_error9" >&6; }
17638 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17640 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17644 $as_echo_n "checking for ECANCELED... " >&6; }
17645 if test "${glibcxx_cv_system_error10+set}" = set; then :
17646 $as_echo_n "(cached) " >&6
17647 else
17649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17650 /* end confdefs.h. */
17651 #include <errno.h>
17653 main ()
17655 int i = ECANCELED;
17657 return 0;
17659 _ACEOF
17660 if ac_fn_c_try_compile "$LINENO"; then :
17661 glibcxx_cv_system_error10=yes
17662 else
17663 glibcxx_cv_system_error10=no
17665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17670 $as_echo "$glibcxx_cv_system_error10" >&6; }
17671 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17673 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17677 $as_echo_n "checking for EOVERFLOW... " >&6; }
17678 if test "${glibcxx_cv_system_error11+set}" = set; then :
17679 $as_echo_n "(cached) " >&6
17680 else
17682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17683 /* end confdefs.h. */
17684 #include <errno.h>
17686 main ()
17688 int i = EOVERFLOW;
17690 return 0;
17692 _ACEOF
17693 if ac_fn_c_try_compile "$LINENO"; then :
17694 glibcxx_cv_system_error11=yes
17695 else
17696 glibcxx_cv_system_error11=no
17698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17703 $as_echo "$glibcxx_cv_system_error11" >&6; }
17704 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17706 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17710 $as_echo_n "checking for ENOTSUP... " >&6; }
17711 if test "${glibcxx_cv_system_error12+set}" = set; then :
17712 $as_echo_n "(cached) " >&6
17713 else
17715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17716 /* end confdefs.h. */
17717 #include <errno.h>
17719 main ()
17721 int i = ENOTSUP;
17723 return 0;
17725 _ACEOF
17726 if ac_fn_c_try_compile "$LINENO"; then :
17727 glibcxx_cv_system_error12=yes
17728 else
17729 glibcxx_cv_system_error12=no
17731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17736 $as_echo "$glibcxx_cv_system_error12" >&6; }
17737 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17739 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17743 $as_echo_n "checking for EIDRM... " >&6; }
17744 if test "${glibcxx_cv_system_error13+set}" = set; then :
17745 $as_echo_n "(cached) " >&6
17746 else
17748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17749 /* end confdefs.h. */
17750 #include <errno.h>
17752 main ()
17754 int i = EIDRM;
17756 return 0;
17758 _ACEOF
17759 if ac_fn_c_try_compile "$LINENO"; then :
17760 glibcxx_cv_system_error13=yes
17761 else
17762 glibcxx_cv_system_error13=no
17764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17769 $as_echo "$glibcxx_cv_system_error13" >&6; }
17770 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17772 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17776 $as_echo_n "checking for ETXTBSY... " >&6; }
17777 if test "${glibcxx_cv_system_error14+set}" = set; then :
17778 $as_echo_n "(cached) " >&6
17779 else
17781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17782 /* end confdefs.h. */
17783 #include <errno.h>
17785 main ()
17787 int i = ETXTBSY;
17789 return 0;
17791 _ACEOF
17792 if ac_fn_c_try_compile "$LINENO"; then :
17793 glibcxx_cv_system_error14=yes
17794 else
17795 glibcxx_cv_system_error14=no
17797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17802 $as_echo "$glibcxx_cv_system_error14" >&6; }
17803 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17805 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17809 $as_echo_n "checking for ECHILD... " >&6; }
17810 if test "${glibcxx_cv_system_error15+set}" = set; then :
17811 $as_echo_n "(cached) " >&6
17812 else
17814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17815 /* end confdefs.h. */
17816 #include <errno.h>
17818 main ()
17820 int i = ECHILD;
17822 return 0;
17824 _ACEOF
17825 if ac_fn_c_try_compile "$LINENO"; then :
17826 glibcxx_cv_system_error15=yes
17827 else
17828 glibcxx_cv_system_error15=no
17830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17835 $as_echo "$glibcxx_cv_system_error15" >&6; }
17836 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17838 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17842 $as_echo_n "checking for ENOSPC... " >&6; }
17843 if test "${glibcxx_cv_system_error16+set}" = set; then :
17844 $as_echo_n "(cached) " >&6
17845 else
17847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17848 /* end confdefs.h. */
17849 #include <errno.h>
17851 main ()
17853 int i = ENOSPC;
17855 return 0;
17857 _ACEOF
17858 if ac_fn_c_try_compile "$LINENO"; then :
17859 glibcxx_cv_system_error16=yes
17860 else
17861 glibcxx_cv_system_error16=no
17863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17868 $as_echo "$glibcxx_cv_system_error16" >&6; }
17869 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17871 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17875 $as_echo_n "checking for EPERM... " >&6; }
17876 if test "${glibcxx_cv_system_error17+set}" = set; then :
17877 $as_echo_n "(cached) " >&6
17878 else
17880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17881 /* end confdefs.h. */
17882 #include <errno.h>
17884 main ()
17886 int i = EPERM;
17888 return 0;
17890 _ACEOF
17891 if ac_fn_c_try_compile "$LINENO"; then :
17892 glibcxx_cv_system_error17=yes
17893 else
17894 glibcxx_cv_system_error17=no
17896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17901 $as_echo "$glibcxx_cv_system_error17" >&6; }
17902 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17904 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17908 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17909 if test "${glibcxx_cv_system_error18+set}" = set; then :
17910 $as_echo_n "(cached) " >&6
17911 else
17913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17914 /* end confdefs.h. */
17915 #include <errno.h>
17917 main ()
17919 int i = ETIMEDOUT;
17921 return 0;
17923 _ACEOF
17924 if ac_fn_c_try_compile "$LINENO"; then :
17925 glibcxx_cv_system_error18=yes
17926 else
17927 glibcxx_cv_system_error18=no
17929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
17934 $as_echo "$glibcxx_cv_system_error18" >&6; }
17935 if test x"$glibcxx_cv_system_error18" = x"yes"; then
17937 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
17940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
17941 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
17942 if test "${glibcxx_cv_system_error19+set}" = set; then :
17943 $as_echo_n "(cached) " >&6
17944 else
17946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17947 /* end confdefs.h. */
17948 #include <errno.h>
17950 main ()
17952 int i = EWOULDBLOCK;
17954 return 0;
17956 _ACEOF
17957 if ac_fn_c_try_compile "$LINENO"; then :
17958 glibcxx_cv_system_error19=yes
17959 else
17960 glibcxx_cv_system_error19=no
17962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
17967 $as_echo "$glibcxx_cv_system_error19" >&6; }
17968 if test x"$glibcxx_cv_system_error19" = x"yes"; then
17970 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
17976 # For the streamoff typedef.
17980 ac_ext=cpp
17981 ac_cpp='$CXXCPP $CPPFLAGS'
17982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17988 $as_echo_n "checking for int64_t... " >&6; }
17989 if test "${glibcxx_cv_INT64_T+set}" = set; then :
17990 $as_echo_n "(cached) " >&6
17991 else
17993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17994 /* end confdefs.h. */
17995 #include <stdint.h>
17997 main ()
17999 int64_t var;
18001 return 0;
18003 _ACEOF
18004 if ac_fn_cxx_try_compile "$LINENO"; then :
18005 glibcxx_cv_INT64_T=yes
18006 else
18007 glibcxx_cv_INT64_T=no
18009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18014 if test $glibcxx_cv_INT64_T = yes; then
18016 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18019 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18022 $as_echo_n "checking for int64_t as long... " >&6; }
18023 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18024 $as_echo_n "(cached) " >&6
18025 else
18027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18028 /* end confdefs.h. */
18029 #include <stdint.h>
18030 template<typename, typename> struct same { enum { value = -1 }; };
18031 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18032 int array[same<int64_t, long>::value];
18034 main ()
18038 return 0;
18040 _ACEOF
18041 if ac_fn_cxx_try_compile "$LINENO"; then :
18042 glibcxx_cv_int64_t_long=yes
18043 else
18044 glibcxx_cv_int64_t_long=no
18046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18051 if test $glibcxx_cv_int64_t_long = yes; then
18053 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18056 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18060 $as_echo_n "checking for int64_t as long long... " >&6; }
18061 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18062 $as_echo_n "(cached) " >&6
18063 else
18065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18066 /* end confdefs.h. */
18067 #include <stdint.h>
18068 template<typename, typename> struct same { enum { value = -1 }; };
18069 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18070 int array[same<int64_t, long long>::value];
18072 main ()
18076 return 0;
18078 _ACEOF
18079 if ac_fn_cxx_try_compile "$LINENO"; then :
18080 glibcxx_cv_int64_t_long_long=yes
18081 else
18082 glibcxx_cv_int64_t_long_long=no
18084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18089 if test $glibcxx_cv_int64_t_long_long = yes; then
18091 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18094 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18098 ac_ext=c
18099 ac_cpp='$CPP $CPPFLAGS'
18100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18106 # For LFS support.
18109 ac_ext=cpp
18110 ac_cpp='$CXXCPP $CPPFLAGS'
18111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18115 ac_save_CXXFLAGS="$CXXFLAGS"
18116 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18118 $as_echo_n "checking for LFS support... " >&6; }
18119 if test "${glibcxx_cv_LFS+set}" = set; then :
18120 $as_echo_n "(cached) " >&6
18121 else
18123 if test x$gcc_no_link = xyes; then
18124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18125 /* end confdefs.h. */
18126 #include <unistd.h>
18127 #include <stdio.h>
18128 #include <sys/stat.h>
18131 main ()
18133 FILE* fp;
18134 fopen64("t", "w");
18135 fseeko64(fp, 0, SEEK_CUR);
18136 ftello64(fp);
18137 lseek64(1, 0, SEEK_CUR);
18138 struct stat64 buf;
18139 fstat64(1, &buf);
18141 return 0;
18143 _ACEOF
18144 if ac_fn_cxx_try_compile "$LINENO"; then :
18145 glibcxx_cv_LFS=yes
18146 else
18147 glibcxx_cv_LFS=no
18149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18150 else
18151 if test x$gcc_no_link = xyes; then
18152 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18155 /* end confdefs.h. */
18156 #include <unistd.h>
18157 #include <stdio.h>
18158 #include <sys/stat.h>
18161 main ()
18163 FILE* fp;
18164 fopen64("t", "w");
18165 fseeko64(fp, 0, SEEK_CUR);
18166 ftello64(fp);
18167 lseek64(1, 0, SEEK_CUR);
18168 struct stat64 buf;
18169 fstat64(1, &buf);
18171 return 0;
18173 _ACEOF
18174 if ac_fn_cxx_try_link "$LINENO"; then :
18175 glibcxx_cv_LFS=yes
18176 else
18177 glibcxx_cv_LFS=no
18179 rm -f core conftest.err conftest.$ac_objext \
18180 conftest$ac_exeext conftest.$ac_ext
18185 if test $glibcxx_cv_LFS = yes; then
18187 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18191 $as_echo "$glibcxx_cv_LFS" >&6; }
18192 CXXFLAGS="$ac_save_CXXFLAGS"
18193 ac_ext=c
18194 ac_cpp='$CPP $CPPFLAGS'
18195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18201 # For showmanyc_helper().
18202 for ac_header in sys/ioctl.h sys/filio.h
18203 do :
18204 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18205 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18206 eval as_val=\$$as_ac_Header
18207 if test "x$as_val" = x""yes; then :
18208 cat >>confdefs.h <<_ACEOF
18209 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18210 _ACEOF
18214 done
18219 ac_ext=cpp
18220 ac_cpp='$CXXCPP $CPPFLAGS'
18221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18225 ac_save_CXXFLAGS="$CXXFLAGS"
18226 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18229 $as_echo_n "checking for poll... " >&6; }
18230 if test "${glibcxx_cv_POLL+set}" = set; then :
18231 $as_echo_n "(cached) " >&6
18232 else
18234 if test x$gcc_no_link = xyes; then
18235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18236 /* end confdefs.h. */
18237 #include <poll.h>
18239 main ()
18241 struct pollfd pfd[1];
18242 pfd[0].events = POLLIN;
18243 poll(pfd, 1, 0);
18245 return 0;
18247 _ACEOF
18248 if ac_fn_cxx_try_compile "$LINENO"; then :
18249 glibcxx_cv_POLL=yes
18250 else
18251 glibcxx_cv_POLL=no
18253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18254 else
18255 if test x$gcc_no_link = xyes; then
18256 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18259 /* end confdefs.h. */
18260 #include <poll.h>
18262 main ()
18264 struct pollfd pfd[1];
18265 pfd[0].events = POLLIN;
18266 poll(pfd, 1, 0);
18268 return 0;
18270 _ACEOF
18271 if ac_fn_cxx_try_link "$LINENO"; then :
18272 glibcxx_cv_POLL=yes
18273 else
18274 glibcxx_cv_POLL=no
18276 rm -f core conftest.err conftest.$ac_objext \
18277 conftest$ac_exeext conftest.$ac_ext
18282 if test $glibcxx_cv_POLL = yes; then
18284 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18288 $as_echo "$glibcxx_cv_POLL" >&6; }
18290 CXXFLAGS="$ac_save_CXXFLAGS"
18291 ac_ext=c
18292 ac_cpp='$CPP $CPPFLAGS'
18293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18301 ac_ext=cpp
18302 ac_cpp='$CXXCPP $CPPFLAGS'
18303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18307 ac_save_CXXFLAGS="$CXXFLAGS"
18308 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18311 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18312 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18313 $as_echo_n "(cached) " >&6
18314 else
18316 if test x$gcc_no_link = xyes; then
18317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18318 /* end confdefs.h. */
18319 #include <sys/stat.h>
18321 main ()
18323 struct stat buffer;
18324 fstat(0, &buffer);
18325 S_ISREG(buffer.st_mode);
18327 return 0;
18329 _ACEOF
18330 if ac_fn_cxx_try_compile "$LINENO"; then :
18331 glibcxx_cv_S_ISREG=yes
18332 else
18333 glibcxx_cv_S_ISREG=no
18335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18336 else
18337 if test x$gcc_no_link = xyes; then
18338 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18341 /* end confdefs.h. */
18342 #include <sys/stat.h>
18344 main ()
18346 struct stat buffer;
18347 fstat(0, &buffer);
18348 S_ISREG(buffer.st_mode);
18350 return 0;
18352 _ACEOF
18353 if ac_fn_cxx_try_link "$LINENO"; then :
18354 glibcxx_cv_S_ISREG=yes
18355 else
18356 glibcxx_cv_S_ISREG=no
18358 rm -f core conftest.err conftest.$ac_objext \
18359 conftest$ac_exeext conftest.$ac_ext
18364 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18365 $as_echo_n "(cached) " >&6
18366 else
18368 if test x$gcc_no_link = xyes; then
18369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18370 /* end confdefs.h. */
18371 #include <sys/stat.h>
18373 main ()
18375 struct stat buffer;
18376 fstat(0, &buffer);
18377 S_IFREG & buffer.st_mode;
18379 return 0;
18381 _ACEOF
18382 if ac_fn_cxx_try_compile "$LINENO"; then :
18383 glibcxx_cv_S_IFREG=yes
18384 else
18385 glibcxx_cv_S_IFREG=no
18387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18388 else
18389 if test x$gcc_no_link = xyes; then
18390 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18393 /* end confdefs.h. */
18394 #include <sys/stat.h>
18396 main ()
18398 struct stat buffer;
18399 fstat(0, &buffer);
18400 S_IFREG & buffer.st_mode;
18402 return 0;
18404 _ACEOF
18405 if ac_fn_cxx_try_link "$LINENO"; then :
18406 glibcxx_cv_S_IFREG=yes
18407 else
18408 glibcxx_cv_S_IFREG=no
18410 rm -f core conftest.err conftest.$ac_objext \
18411 conftest$ac_exeext conftest.$ac_ext
18416 res=no
18417 if test $glibcxx_cv_S_ISREG = yes; then
18419 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18421 res=S_ISREG
18422 elif test $glibcxx_cv_S_IFREG = yes; then
18424 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18426 res=S_IFREG
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18429 $as_echo "$res" >&6; }
18431 CXXFLAGS="$ac_save_CXXFLAGS"
18432 ac_ext=c
18433 ac_cpp='$CPP $CPPFLAGS'
18434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18440 # For xsputn_2().
18441 for ac_header in sys/uio.h
18442 do :
18443 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18444 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18445 cat >>confdefs.h <<_ACEOF
18446 #define HAVE_SYS_UIO_H 1
18447 _ACEOF
18451 done
18456 ac_ext=cpp
18457 ac_cpp='$CXXCPP $CPPFLAGS'
18458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18462 ac_save_CXXFLAGS="$CXXFLAGS"
18463 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18466 $as_echo_n "checking for writev... " >&6; }
18467 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18468 $as_echo_n "(cached) " >&6
18469 else
18471 if test x$gcc_no_link = xyes; then
18472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18473 /* end confdefs.h. */
18474 #include <sys/uio.h>
18476 main ()
18478 struct iovec iov[2];
18479 writev(0, iov, 0);
18481 return 0;
18483 _ACEOF
18484 if ac_fn_cxx_try_compile "$LINENO"; then :
18485 glibcxx_cv_WRITEV=yes
18486 else
18487 glibcxx_cv_WRITEV=no
18489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18490 else
18491 if test x$gcc_no_link = xyes; then
18492 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18495 /* end confdefs.h. */
18496 #include <sys/uio.h>
18498 main ()
18500 struct iovec iov[2];
18501 writev(0, iov, 0);
18503 return 0;
18505 _ACEOF
18506 if ac_fn_cxx_try_link "$LINENO"; then :
18507 glibcxx_cv_WRITEV=yes
18508 else
18509 glibcxx_cv_WRITEV=no
18511 rm -f core conftest.err conftest.$ac_objext \
18512 conftest$ac_exeext conftest.$ac_ext
18517 if test $glibcxx_cv_WRITEV = yes; then
18519 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18523 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18525 CXXFLAGS="$ac_save_CXXFLAGS"
18526 ac_ext=c
18527 ac_cpp='$CPP $CPPFLAGS'
18528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18534 # For C99 support to TR1.
18538 ac_ext=cpp
18539 ac_cpp='$CXXCPP $CPPFLAGS'
18540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18545 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18546 # undefined and fake C99 facilities may be spuriously enabled.
18547 ac_save_CXXFLAGS="$CXXFLAGS"
18548 CXXFLAGS="$CXXFLAGS -std=c++98"
18550 # Check for the existence of <complex.h> complex math functions used
18551 # by tr1/complex.
18552 for ac_header in complex.h
18553 do :
18554 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18555 if test "x$ac_cv_header_complex_h" = x""yes; then :
18556 cat >>confdefs.h <<_ACEOF
18557 #define HAVE_COMPLEX_H 1
18558 _ACEOF
18559 ac_has_complex_h=yes
18560 else
18561 ac_has_complex_h=no
18564 done
18566 ac_c99_complex_tr1=no;
18567 if test x"$ac_has_complex_h" = x"yes"; then
18568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18569 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18571 /* end confdefs.h. */
18572 #include <complex.h>
18574 main ()
18576 typedef __complex__ float float_type; float_type tmpf;
18577 cacosf(tmpf);
18578 casinf(tmpf);
18579 catanf(tmpf);
18580 cacoshf(tmpf);
18581 casinhf(tmpf);
18582 catanhf(tmpf);
18583 typedef __complex__ double double_type; double_type tmpd;
18584 cacos(tmpd);
18585 casin(tmpd);
18586 catan(tmpd);
18587 cacosh(tmpd);
18588 casinh(tmpd);
18589 catanh(tmpd);
18590 typedef __complex__ long double ld_type; ld_type tmpld;
18591 cacosl(tmpld);
18592 casinl(tmpld);
18593 catanl(tmpld);
18594 cacoshl(tmpld);
18595 casinhl(tmpld);
18596 catanhl(tmpld);
18599 return 0;
18601 _ACEOF
18602 if ac_fn_cxx_try_compile "$LINENO"; then :
18603 ac_c99_complex_tr1=yes
18604 else
18605 ac_c99_complex_tr1=no
18607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18610 $as_echo "$ac_c99_complex_tr1" >&6; }
18611 if test x"$ac_c99_complex_tr1" = x"yes"; then
18613 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18617 # Check for the existence of <ctype.h> functions.
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18619 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18620 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18621 $as_echo_n "(cached) " >&6
18622 else
18624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18625 /* end confdefs.h. */
18626 #include <ctype.h>
18628 main ()
18630 int ch;
18631 int ret;
18632 ret = isblank(ch);
18635 return 0;
18637 _ACEOF
18638 if ac_fn_cxx_try_compile "$LINENO"; then :
18639 glibcxx_cv_c99_ctype_tr1=yes
18640 else
18641 glibcxx_cv_c99_ctype_tr1=no
18643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18648 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18649 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18651 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18655 # Check for the existence of <fenv.h> functions.
18656 for ac_header in fenv.h
18657 do :
18658 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18659 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18660 cat >>confdefs.h <<_ACEOF
18661 #define HAVE_FENV_H 1
18662 _ACEOF
18663 ac_has_fenv_h=yes
18664 else
18665 ac_has_fenv_h=no
18668 done
18670 ac_c99_fenv_tr1=no;
18671 if test x"$ac_has_fenv_h" = x"yes"; then
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18673 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18675 /* end confdefs.h. */
18676 #include <fenv.h>
18678 main ()
18680 int except, mode;
18681 fexcept_t* pflag;
18682 fenv_t* penv;
18683 int ret;
18684 ret = feclearexcept(except);
18685 ret = fegetexceptflag(pflag, except);
18686 ret = feraiseexcept(except);
18687 ret = fesetexceptflag(pflag, except);
18688 ret = fetestexcept(except);
18689 ret = fegetround();
18690 ret = fesetround(mode);
18691 ret = fegetenv(penv);
18692 ret = feholdexcept(penv);
18693 ret = fesetenv(penv);
18694 ret = feupdateenv(penv);
18697 return 0;
18699 _ACEOF
18700 if ac_fn_cxx_try_compile "$LINENO"; then :
18701 ac_c99_fenv_tr1=yes
18702 else
18703 ac_c99_fenv_tr1=no
18705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18708 $as_echo "$ac_c99_fenv_tr1" >&6; }
18709 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18711 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18715 # Check for the existence of <stdint.h> types.
18716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18717 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18718 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18719 $as_echo_n "(cached) " >&6
18720 else
18722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18723 /* end confdefs.h. */
18724 #define __STDC_LIMIT_MACROS
18725 #define __STDC_CONSTANT_MACROS
18726 #include <stdint.h>
18728 main ()
18730 typedef int8_t my_int8_t;
18731 my_int8_t i8 = INT8_MIN;
18732 i8 = INT8_MAX;
18733 typedef int16_t my_int16_t;
18734 my_int16_t i16 = INT16_MIN;
18735 i16 = INT16_MAX;
18736 typedef int32_t my_int32_t;
18737 my_int32_t i32 = INT32_MIN;
18738 i32 = INT32_MAX;
18739 typedef int64_t my_int64_t;
18740 my_int64_t i64 = INT64_MIN;
18741 i64 = INT64_MAX;
18742 typedef int_fast8_t my_int_fast8_t;
18743 my_int_fast8_t if8 = INT_FAST8_MIN;
18744 if8 = INT_FAST8_MAX;
18745 typedef int_fast16_t my_int_fast16_t;
18746 my_int_fast16_t if16 = INT_FAST16_MIN;
18747 if16 = INT_FAST16_MAX;
18748 typedef int_fast32_t my_int_fast32_t;
18749 my_int_fast32_t if32 = INT_FAST32_MIN;
18750 if32 = INT_FAST32_MAX;
18751 typedef int_fast64_t my_int_fast64_t;
18752 my_int_fast64_t if64 = INT_FAST64_MIN;
18753 if64 = INT_FAST64_MAX;
18754 typedef int_least8_t my_int_least8_t;
18755 my_int_least8_t il8 = INT_LEAST8_MIN;
18756 il8 = INT_LEAST8_MAX;
18757 typedef int_least16_t my_int_least16_t;
18758 my_int_least16_t il16 = INT_LEAST16_MIN;
18759 il16 = INT_LEAST16_MAX;
18760 typedef int_least32_t my_int_least32_t;
18761 my_int_least32_t il32 = INT_LEAST32_MIN;
18762 il32 = INT_LEAST32_MAX;
18763 typedef int_least64_t my_int_least64_t;
18764 my_int_least64_t il64 = INT_LEAST64_MIN;
18765 il64 = INT_LEAST64_MAX;
18766 typedef intmax_t my_intmax_t;
18767 my_intmax_t im = INTMAX_MAX;
18768 im = INTMAX_MIN;
18769 typedef intptr_t my_intptr_t;
18770 my_intptr_t ip = INTPTR_MAX;
18771 ip = INTPTR_MIN;
18772 typedef uint8_t my_uint8_t;
18773 my_uint8_t ui8 = UINT8_MAX;
18774 ui8 = UINT8_MAX;
18775 typedef uint16_t my_uint16_t;
18776 my_uint16_t ui16 = UINT16_MAX;
18777 ui16 = UINT16_MAX;
18778 typedef uint32_t my_uint32_t;
18779 my_uint32_t ui32 = UINT32_MAX;
18780 ui32 = UINT32_MAX;
18781 typedef uint64_t my_uint64_t;
18782 my_uint64_t ui64 = UINT64_MAX;
18783 ui64 = UINT64_MAX;
18784 typedef uint_fast8_t my_uint_fast8_t;
18785 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18786 uif8 = UINT_FAST8_MAX;
18787 typedef uint_fast16_t my_uint_fast16_t;
18788 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18789 uif16 = UINT_FAST16_MAX;
18790 typedef uint_fast32_t my_uint_fast32_t;
18791 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18792 uif32 = UINT_FAST32_MAX;
18793 typedef uint_fast64_t my_uint_fast64_t;
18794 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18795 uif64 = UINT_FAST64_MAX;
18796 typedef uint_least8_t my_uint_least8_t;
18797 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18798 uil8 = UINT_LEAST8_MAX;
18799 typedef uint_least16_t my_uint_least16_t;
18800 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18801 uil16 = UINT_LEAST16_MAX;
18802 typedef uint_least32_t my_uint_least32_t;
18803 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18804 uil32 = UINT_LEAST32_MAX;
18805 typedef uint_least64_t my_uint_least64_t;
18806 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18807 uil64 = UINT_LEAST64_MAX;
18808 typedef uintmax_t my_uintmax_t;
18809 my_uintmax_t uim = UINTMAX_MAX;
18810 uim = UINTMAX_MAX;
18811 typedef uintptr_t my_uintptr_t;
18812 my_uintptr_t uip = UINTPTR_MAX;
18813 uip = UINTPTR_MAX;
18816 return 0;
18818 _ACEOF
18819 if ac_fn_cxx_try_compile "$LINENO"; then :
18820 glibcxx_cv_c99_stdint_tr1=yes
18821 else
18822 glibcxx_cv_c99_stdint_tr1=no
18824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18829 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18830 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18832 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18836 # Check for the existence of <math.h> functions.
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18838 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18839 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18840 $as_echo_n "(cached) " >&6
18841 else
18843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18844 /* end confdefs.h. */
18845 #include <math.h>
18847 main ()
18849 typedef double_t my_double_t;
18850 typedef float_t my_float_t;
18851 acosh(0.0);
18852 acoshf(0.0f);
18853 acoshl(0.0l);
18854 asinh(0.0);
18855 asinhf(0.0f);
18856 asinhl(0.0l);
18857 atanh(0.0);
18858 atanhf(0.0f);
18859 atanhl(0.0l);
18860 cbrt(0.0);
18861 cbrtf(0.0f);
18862 cbrtl(0.0l);
18863 copysign(0.0, 0.0);
18864 copysignf(0.0f, 0.0f);
18865 copysignl(0.0l, 0.0l);
18866 erf(0.0);
18867 erff(0.0f);
18868 erfl(0.0l);
18869 erfc(0.0);
18870 erfcf(0.0f);
18871 erfcl(0.0l);
18872 exp2(0.0);
18873 exp2f(0.0f);
18874 exp2l(0.0l);
18875 expm1(0.0);
18876 expm1f(0.0f);
18877 expm1l(0.0l);
18878 fdim(0.0, 0.0);
18879 fdimf(0.0f, 0.0f);
18880 fdiml(0.0l, 0.0l);
18881 fma(0.0, 0.0, 0.0);
18882 fmaf(0.0f, 0.0f, 0.0f);
18883 fmal(0.0l, 0.0l, 0.0l);
18884 fmax(0.0, 0.0);
18885 fmaxf(0.0f, 0.0f);
18886 fmaxl(0.0l, 0.0l);
18887 fmin(0.0, 0.0);
18888 fminf(0.0f, 0.0f);
18889 fminl(0.0l, 0.0l);
18890 hypot(0.0, 0.0);
18891 hypotf(0.0f, 0.0f);
18892 hypotl(0.0l, 0.0l);
18893 ilogb(0.0);
18894 ilogbf(0.0f);
18895 ilogbl(0.0l);
18896 lgamma(0.0);
18897 lgammaf(0.0f);
18898 lgammal(0.0l);
18899 llrint(0.0);
18900 llrintf(0.0f);
18901 llrintl(0.0l);
18902 llround(0.0);
18903 llroundf(0.0f);
18904 llroundl(0.0l);
18905 log1p(0.0);
18906 log1pf(0.0f);
18907 log1pl(0.0l);
18908 log2(0.0);
18909 log2f(0.0f);
18910 log2l(0.0l);
18911 logb(0.0);
18912 logbf(0.0f);
18913 logbl(0.0l);
18914 lrint(0.0);
18915 lrintf(0.0f);
18916 lrintl(0.0l);
18917 lround(0.0);
18918 lroundf(0.0f);
18919 lroundl(0.0l);
18920 nan(0);
18921 nanf(0);
18922 nanl(0);
18923 nearbyint(0.0);
18924 nearbyintf(0.0f);
18925 nearbyintl(0.0l);
18926 nextafter(0.0, 0.0);
18927 nextafterf(0.0f, 0.0f);
18928 nextafterl(0.0l, 0.0l);
18929 nexttoward(0.0, 0.0);
18930 nexttowardf(0.0f, 0.0f);
18931 nexttowardl(0.0l, 0.0l);
18932 remainder(0.0, 0.0);
18933 remainderf(0.0f, 0.0f);
18934 remainderl(0.0l, 0.0l);
18935 remquo(0.0, 0.0, 0);
18936 remquof(0.0f, 0.0f, 0);
18937 remquol(0.0l, 0.0l, 0);
18938 rint(0.0);
18939 rintf(0.0f);
18940 rintl(0.0l);
18941 round(0.0);
18942 roundf(0.0f);
18943 roundl(0.0l);
18944 scalbln(0.0, 0l);
18945 scalblnf(0.0f, 0l);
18946 scalblnl(0.0l, 0l);
18947 scalbn(0.0, 0);
18948 scalbnf(0.0f, 0);
18949 scalbnl(0.0l, 0);
18950 tgamma(0.0);
18951 tgammaf(0.0f);
18952 tgammal(0.0l);
18953 trunc(0.0);
18954 truncf(0.0f);
18955 truncl(0.0l);
18958 return 0;
18960 _ACEOF
18961 if ac_fn_cxx_try_compile "$LINENO"; then :
18962 glibcxx_cv_c99_math_tr1=yes
18963 else
18964 glibcxx_cv_c99_math_tr1=no
18966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18971 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18972 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18974 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18978 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18979 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18980 ac_c99_inttypes_tr1=no;
18981 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18983 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18985 /* end confdefs.h. */
18986 #include <inttypes.h>
18988 main ()
18990 intmax_t i, numer, denom, base;
18991 const char* s;
18992 char** endptr;
18993 intmax_t ret = imaxabs(i);
18994 imaxdiv_t dret = imaxdiv(numer, denom);
18995 ret = strtoimax(s, endptr, base);
18996 uintmax_t uret = strtoumax(s, endptr, base);
18999 return 0;
19001 _ACEOF
19002 if ac_fn_cxx_try_compile "$LINENO"; then :
19003 ac_c99_inttypes_tr1=yes
19004 else
19005 ac_c99_inttypes_tr1=no
19007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19010 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19011 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19013 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19017 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19018 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19019 ac_c99_inttypes_wchar_t_tr1=no;
19020 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19022 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19024 /* end confdefs.h. */
19025 #include <inttypes.h>
19027 main ()
19029 intmax_t base;
19030 const wchar_t* s;
19031 wchar_t** endptr;
19032 intmax_t ret = wcstoimax(s, endptr, base);
19033 uintmax_t uret = wcstoumax(s, endptr, base);
19036 return 0;
19038 _ACEOF
19039 if ac_fn_cxx_try_compile "$LINENO"; then :
19040 ac_c99_inttypes_wchar_t_tr1=yes
19041 else
19042 ac_c99_inttypes_wchar_t_tr1=no
19044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19047 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19048 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19050 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19054 # Check for the existence of the <stdbool.h> header.
19055 for ac_header in stdbool.h
19056 do :
19057 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19058 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19059 cat >>confdefs.h <<_ACEOF
19060 #define HAVE_STDBOOL_H 1
19061 _ACEOF
19065 done
19068 # Check for the existence of the <stdalign.h> header.
19069 for ac_header in stdalign.h
19070 do :
19071 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19072 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19073 cat >>confdefs.h <<_ACEOF
19074 #define HAVE_STDALIGN_H 1
19075 _ACEOF
19079 done
19082 CXXFLAGS="$ac_save_CXXFLAGS"
19083 ac_ext=c
19084 ac_cpp='$CPP $CPPFLAGS'
19085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19091 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19095 $as_echo_n "checking for the value of EOF... " >&6; }
19096 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19097 $as_echo_n "(cached) " >&6
19098 else
19100 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19102 else
19103 as_fn_error "computing EOF failed" "$LINENO" 5
19108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19109 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19111 cat >>confdefs.h <<_ACEOF
19112 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19113 _ACEOF
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19117 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19118 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19119 $as_echo_n "(cached) " >&6
19120 else
19122 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19124 else
19125 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19131 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19133 cat >>confdefs.h <<_ACEOF
19134 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19135 _ACEOF
19138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19139 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19140 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19141 $as_echo_n "(cached) " >&6
19142 else
19144 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19146 else
19147 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19153 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19155 cat >>confdefs.h <<_ACEOF
19156 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19157 _ACEOF
19161 # For gettimeofday support.
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19165 $as_echo_n "checking for gettimeofday... " >&6; }
19168 ac_ext=cpp
19169 ac_cpp='$CXXCPP $CPPFLAGS'
19170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19174 ac_save_CXXFLAGS="$CXXFLAGS"
19175 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19177 ac_has_gettimeofday=no;
19178 for ac_header in sys/time.h
19179 do :
19180 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19181 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19182 cat >>confdefs.h <<_ACEOF
19183 #define HAVE_SYS_TIME_H 1
19184 _ACEOF
19185 ac_has_sys_time_h=yes
19186 else
19187 ac_has_sys_time_h=no
19190 done
19192 if test x"$ac_has_sys_time_h" = x"yes"; then
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19194 $as_echo_n "checking for gettimeofday... " >&6; }
19195 if test x$gcc_no_link = xyes; then
19196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19197 /* end confdefs.h. */
19198 #include <sys/time.h>
19200 main ()
19202 timeval tv; gettimeofday(&tv, 0);
19204 return 0;
19206 _ACEOF
19207 if ac_fn_cxx_try_compile "$LINENO"; then :
19208 ac_has_gettimeofday=yes
19209 else
19210 ac_has_gettimeofday=no
19212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19213 else
19214 if test x$gcc_no_link = xyes; then
19215 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19218 /* end confdefs.h. */
19219 #include <sys/time.h>
19221 main ()
19223 timeval tv; gettimeofday(&tv, 0);
19225 return 0;
19227 _ACEOF
19228 if ac_fn_cxx_try_link "$LINENO"; then :
19229 ac_has_gettimeofday=yes
19230 else
19231 ac_has_gettimeofday=no
19233 rm -f core conftest.err conftest.$ac_objext \
19234 conftest$ac_exeext conftest.$ac_ext
19237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19238 $as_echo "$ac_has_gettimeofday" >&6; }
19241 if test x"$ac_has_gettimeofday" = x"yes"; then
19243 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19247 CXXFLAGS="$ac_save_CXXFLAGS"
19248 ac_ext=c
19249 ac_cpp='$CPP $CPPFLAGS'
19250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19256 # For clock_gettime, nanosleep and sched_yield support.
19257 # NB: The default is [no], because otherwise it requires linking.
19260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19261 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19262 # Check whether --enable-libstdcxx-time was given.
19263 if test "${enable_libstdcxx_time+set}" = set; then :
19264 enableval=$enable_libstdcxx_time;
19265 case "$enableval" in
19266 yes|no|rt) ;;
19267 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19268 esac
19270 else
19271 enable_libstdcxx_time=no
19277 ac_ext=cpp
19278 ac_cpp='$CXXCPP $CPPFLAGS'
19279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19283 ac_save_CXXFLAGS="$CXXFLAGS"
19284 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19285 ac_save_LIBS="$LIBS"
19287 ac_has_clock_monotonic=no
19288 ac_has_clock_realtime=no
19289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19290 $as_echo "$enable_libstdcxx_time" >&6; }
19292 if test x"$enable_libstdcxx_time" != x"no"; then
19294 if test x"$enable_libstdcxx_time" = x"rt"; then
19295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19296 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19297 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19298 $as_echo_n "(cached) " >&6
19299 else
19300 ac_func_search_save_LIBS=$LIBS
19301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19302 /* end confdefs.h. */
19304 /* Override any GCC internal prototype to avoid an error.
19305 Use char because int might match the return type of a GCC
19306 builtin and then its argument prototype would still apply. */
19307 #ifdef __cplusplus
19308 extern "C"
19309 #endif
19310 char clock_gettime ();
19312 main ()
19314 return clock_gettime ();
19316 return 0;
19318 _ACEOF
19319 for ac_lib in '' rt posix4; do
19320 if test -z "$ac_lib"; then
19321 ac_res="none required"
19322 else
19323 ac_res=-l$ac_lib
19324 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19326 if test x$gcc_no_link = xyes; then
19327 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19329 if ac_fn_cxx_try_link "$LINENO"; then :
19330 ac_cv_search_clock_gettime=$ac_res
19332 rm -f core conftest.err conftest.$ac_objext \
19333 conftest$ac_exeext
19334 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19335 break
19337 done
19338 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19340 else
19341 ac_cv_search_clock_gettime=no
19343 rm conftest.$ac_ext
19344 LIBS=$ac_func_search_save_LIBS
19346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19347 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19348 ac_res=$ac_cv_search_clock_gettime
19349 if test "$ac_res" != no; then :
19350 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19355 $as_echo_n "checking for library containing nanosleep... " >&6; }
19356 if test "${ac_cv_search_nanosleep+set}" = set; then :
19357 $as_echo_n "(cached) " >&6
19358 else
19359 ac_func_search_save_LIBS=$LIBS
19360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19361 /* end confdefs.h. */
19363 /* Override any GCC internal prototype to avoid an error.
19364 Use char because int might match the return type of a GCC
19365 builtin and then its argument prototype would still apply. */
19366 #ifdef __cplusplus
19367 extern "C"
19368 #endif
19369 char nanosleep ();
19371 main ()
19373 return nanosleep ();
19375 return 0;
19377 _ACEOF
19378 for ac_lib in '' rt posix4; do
19379 if test -z "$ac_lib"; then
19380 ac_res="none required"
19381 else
19382 ac_res=-l$ac_lib
19383 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19385 if test x$gcc_no_link = xyes; then
19386 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19388 if ac_fn_cxx_try_link "$LINENO"; then :
19389 ac_cv_search_nanosleep=$ac_res
19391 rm -f core conftest.err conftest.$ac_objext \
19392 conftest$ac_exeext
19393 if test "${ac_cv_search_nanosleep+set}" = set; then :
19394 break
19396 done
19397 if test "${ac_cv_search_nanosleep+set}" = set; then :
19399 else
19400 ac_cv_search_nanosleep=no
19402 rm conftest.$ac_ext
19403 LIBS=$ac_func_search_save_LIBS
19405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19406 $as_echo "$ac_cv_search_nanosleep" >&6; }
19407 ac_res=$ac_cv_search_nanosleep
19408 if test "$ac_res" != no; then :
19409 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19413 else
19414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19415 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19416 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19417 $as_echo_n "(cached) " >&6
19418 else
19419 ac_func_search_save_LIBS=$LIBS
19420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19421 /* end confdefs.h. */
19423 /* Override any GCC internal prototype to avoid an error.
19424 Use char because int might match the return type of a GCC
19425 builtin and then its argument prototype would still apply. */
19426 #ifdef __cplusplus
19427 extern "C"
19428 #endif
19429 char clock_gettime ();
19431 main ()
19433 return clock_gettime ();
19435 return 0;
19437 _ACEOF
19438 for ac_lib in '' posix4; do
19439 if test -z "$ac_lib"; then
19440 ac_res="none required"
19441 else
19442 ac_res=-l$ac_lib
19443 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19445 if test x$gcc_no_link = xyes; then
19446 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19448 if ac_fn_cxx_try_link "$LINENO"; then :
19449 ac_cv_search_clock_gettime=$ac_res
19451 rm -f core conftest.err conftest.$ac_objext \
19452 conftest$ac_exeext
19453 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19454 break
19456 done
19457 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19459 else
19460 ac_cv_search_clock_gettime=no
19462 rm conftest.$ac_ext
19463 LIBS=$ac_func_search_save_LIBS
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19466 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19467 ac_res=$ac_cv_search_clock_gettime
19468 if test "$ac_res" != no; then :
19469 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19474 $as_echo_n "checking for library containing nanosleep... " >&6; }
19475 if test "${ac_cv_search_nanosleep+set}" = set; then :
19476 $as_echo_n "(cached) " >&6
19477 else
19478 ac_func_search_save_LIBS=$LIBS
19479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19480 /* end confdefs.h. */
19482 /* Override any GCC internal prototype to avoid an error.
19483 Use char because int might match the return type of a GCC
19484 builtin and then its argument prototype would still apply. */
19485 #ifdef __cplusplus
19486 extern "C"
19487 #endif
19488 char nanosleep ();
19490 main ()
19492 return nanosleep ();
19494 return 0;
19496 _ACEOF
19497 for ac_lib in '' posix4; do
19498 if test -z "$ac_lib"; then
19499 ac_res="none required"
19500 else
19501 ac_res=-l$ac_lib
19502 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19504 if test x$gcc_no_link = xyes; then
19505 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19507 if ac_fn_cxx_try_link "$LINENO"; then :
19508 ac_cv_search_nanosleep=$ac_res
19510 rm -f core conftest.err conftest.$ac_objext \
19511 conftest$ac_exeext
19512 if test "${ac_cv_search_nanosleep+set}" = set; then :
19513 break
19515 done
19516 if test "${ac_cv_search_nanosleep+set}" = set; then :
19518 else
19519 ac_cv_search_nanosleep=no
19521 rm conftest.$ac_ext
19522 LIBS=$ac_func_search_save_LIBS
19524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19525 $as_echo "$ac_cv_search_nanosleep" >&6; }
19526 ac_res=$ac_cv_search_nanosleep
19527 if test "$ac_res" != no; then :
19528 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19534 case "$ac_cv_search_clock_gettime" in
19535 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19537 esac
19538 case "$ac_cv_search_nanosleep" in
19539 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19541 esac
19543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19544 $as_echo_n "checking for library containing sched_yield... " >&6; }
19545 if test "${ac_cv_search_sched_yield+set}" = set; then :
19546 $as_echo_n "(cached) " >&6
19547 else
19548 ac_func_search_save_LIBS=$LIBS
19549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19550 /* end confdefs.h. */
19552 /* Override any GCC internal prototype to avoid an error.
19553 Use char because int might match the return type of a GCC
19554 builtin and then its argument prototype would still apply. */
19555 #ifdef __cplusplus
19556 extern "C"
19557 #endif
19558 char sched_yield ();
19560 main ()
19562 return sched_yield ();
19564 return 0;
19566 _ACEOF
19567 for ac_lib in '' rt posix4; do
19568 if test -z "$ac_lib"; then
19569 ac_res="none required"
19570 else
19571 ac_res=-l$ac_lib
19572 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19574 if test x$gcc_no_link = xyes; then
19575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19577 if ac_fn_cxx_try_link "$LINENO"; then :
19578 ac_cv_search_sched_yield=$ac_res
19580 rm -f core conftest.err conftest.$ac_objext \
19581 conftest$ac_exeext
19582 if test "${ac_cv_search_sched_yield+set}" = set; then :
19583 break
19585 done
19586 if test "${ac_cv_search_sched_yield+set}" = set; then :
19588 else
19589 ac_cv_search_sched_yield=no
19591 rm conftest.$ac_ext
19592 LIBS=$ac_func_search_save_LIBS
19594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19595 $as_echo "$ac_cv_search_sched_yield" >&6; }
19596 ac_res=$ac_cv_search_sched_yield
19597 if test "$ac_res" != no; then :
19598 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19603 case "$ac_cv_search_sched_yield" in
19604 -lposix4*)
19605 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19607 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19610 -lrt*)
19611 if test x"$enable_libstdcxx_time" = x"rt"; then
19612 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19614 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19620 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19623 esac
19625 for ac_header in unistd.h
19626 do :
19627 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19628 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19629 cat >>confdefs.h <<_ACEOF
19630 #define HAVE_UNISTD_H 1
19631 _ACEOF
19632 ac_has_unistd_h=yes
19633 else
19634 ac_has_unistd_h=no
19637 done
19640 if test x"$ac_has_unistd_h" = x"yes"; then
19641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19642 $as_echo_n "checking for monotonic clock... " >&6; }
19643 if test x$gcc_no_link = xyes; then
19644 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19647 /* end confdefs.h. */
19648 #include <unistd.h>
19649 #include <time.h>
19652 main ()
19654 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19655 timespec tp;
19656 #endif
19657 clock_gettime(CLOCK_MONOTONIC, &tp);
19660 return 0;
19662 _ACEOF
19663 if ac_fn_cxx_try_link "$LINENO"; then :
19664 ac_has_clock_monotonic=yes
19665 else
19666 ac_has_clock_monotonic=no
19668 rm -f core conftest.err conftest.$ac_objext \
19669 conftest$ac_exeext conftest.$ac_ext
19671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19672 $as_echo "$ac_has_clock_monotonic" >&6; }
19674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19675 $as_echo_n "checking for realtime clock... " >&6; }
19676 if test x$gcc_no_link = xyes; then
19677 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19680 /* end confdefs.h. */
19681 #include <unistd.h>
19682 #include <time.h>
19685 main ()
19687 #if _POSIX_TIMERS > 0
19688 timespec tp;
19689 #endif
19690 clock_gettime(CLOCK_REALTIME, &tp);
19693 return 0;
19695 _ACEOF
19696 if ac_fn_cxx_try_link "$LINENO"; then :
19697 ac_has_clock_realtime=yes
19698 else
19699 ac_has_clock_realtime=no
19701 rm -f core conftest.err conftest.$ac_objext \
19702 conftest$ac_exeext conftest.$ac_ext
19704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19705 $as_echo "$ac_has_clock_realtime" >&6; }
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19708 $as_echo_n "checking for nanosleep... " >&6; }
19709 if test x$gcc_no_link = xyes; then
19710 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19713 /* end confdefs.h. */
19714 #include <unistd.h>
19715 #include <time.h>
19718 main ()
19720 #if _POSIX_TIMERS > 0
19721 timespec tp;
19722 #endif
19723 nanosleep(&tp, 0);
19726 return 0;
19728 _ACEOF
19729 if ac_fn_cxx_try_link "$LINENO"; then :
19730 ac_has_nanosleep=yes
19731 else
19732 ac_has_nanosleep=no
19734 rm -f core conftest.err conftest.$ac_objext \
19735 conftest$ac_exeext conftest.$ac_ext
19737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19738 $as_echo "$ac_has_nanosleep" >&6; }
19742 if test x"$ac_has_clock_monotonic" = x"yes"; then
19744 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19748 if test x"$ac_has_clock_realtime" = x"yes"; then
19750 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19754 if test x"$ac_has_nanosleep" = x"yes"; then
19756 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19762 CXXFLAGS="$ac_save_CXXFLAGS"
19763 LIBS="$ac_save_LIBS"
19764 ac_ext=c
19765 ac_cpp='$CPP $CPPFLAGS'
19766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19773 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19774 if test "x$ac_cv_header_locale_h" = x""yes; then :
19776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19777 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19778 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19779 $as_echo_n "(cached) " >&6
19780 else
19781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19782 /* end confdefs.h. */
19783 #include <locale.h>
19785 main ()
19787 return LC_MESSAGES
19789 return 0;
19791 _ACEOF
19792 if ac_fn_c_try_compile "$LINENO"; then :
19793 ac_cv_val_LC_MESSAGES=yes
19794 else
19795 ac_cv_val_LC_MESSAGES=no
19797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19800 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19801 if test $ac_cv_val_LC_MESSAGES = yes; then
19803 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19812 # For hardware_concurrency
19813 for ac_header in sys/sysinfo.h
19814 do :
19815 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19816 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19817 cat >>confdefs.h <<_ACEOF
19818 #define HAVE_SYS_SYSINFO_H 1
19819 _ACEOF
19823 done
19828 ac_ext=cpp
19829 ac_cpp='$CXXCPP $CPPFLAGS'
19830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19834 ac_save_CXXFLAGS="$CXXFLAGS"
19835 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19838 $as_echo_n "checking for get_nprocs... " >&6; }
19839 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19840 $as_echo_n "(cached) " >&6
19841 else
19843 if test x$gcc_no_link = xyes; then
19844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19845 /* end confdefs.h. */
19846 #include <sys/sysinfo.h>
19848 main ()
19850 int n = get_nprocs();
19852 return 0;
19854 _ACEOF
19855 if ac_fn_cxx_try_compile "$LINENO"; then :
19856 glibcxx_cv_GET_NPROCS=yes
19857 else
19858 glibcxx_cv_GET_NPROCS=no
19860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19861 else
19862 if test x$gcc_no_link = xyes; then
19863 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19866 /* end confdefs.h. */
19867 #include <sys/sysinfo.h>
19869 main ()
19871 int n = get_nprocs();
19873 return 0;
19875 _ACEOF
19876 if ac_fn_cxx_try_link "$LINENO"; then :
19877 glibcxx_cv_GET_NPROCS=yes
19878 else
19879 glibcxx_cv_GET_NPROCS=no
19881 rm -f core conftest.err conftest.$ac_objext \
19882 conftest$ac_exeext conftest.$ac_ext
19887 if test $glibcxx_cv_GET_NPROCS = yes; then
19889 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
19892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
19893 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
19895 CXXFLAGS="$ac_save_CXXFLAGS"
19896 ac_ext=c
19897 ac_cpp='$CPP $CPPFLAGS'
19898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19903 for ac_header in unistd.h
19904 do :
19905 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19906 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19907 cat >>confdefs.h <<_ACEOF
19908 #define HAVE_UNISTD_H 1
19909 _ACEOF
19913 done
19918 ac_ext=cpp
19919 ac_cpp='$CXXCPP $CPPFLAGS'
19920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19924 ac_save_CXXFLAGS="$CXXFLAGS"
19925 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
19928 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
19929 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
19930 $as_echo_n "(cached) " >&6
19931 else
19933 if test x$gcc_no_link = xyes; then
19934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19935 /* end confdefs.h. */
19936 #include <unistd.h>
19938 main ()
19940 int n = sysconf(_SC_NPROCESSORS_ONLN);
19942 return 0;
19944 _ACEOF
19945 if ac_fn_cxx_try_compile "$LINENO"; then :
19946 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
19947 else
19948 glibcxx_cv_SC_NPROCESSORS_ONLN=no
19950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19951 else
19952 if test x$gcc_no_link = xyes; then
19953 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19956 /* end confdefs.h. */
19957 #include <unistd.h>
19959 main ()
19961 int n = sysconf(_SC_NPROCESSORS_ONLN);
19963 return 0;
19965 _ACEOF
19966 if ac_fn_cxx_try_link "$LINENO"; then :
19967 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
19968 else
19969 glibcxx_cv_SC_NPROCESSORS_ONLN=no
19971 rm -f core conftest.err conftest.$ac_objext \
19972 conftest$ac_exeext conftest.$ac_ext
19977 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
19979 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
19982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
19983 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
19985 CXXFLAGS="$ac_save_CXXFLAGS"
19986 ac_ext=c
19987 ac_cpp='$CPP $CPPFLAGS'
19988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19996 ac_ext=cpp
19997 ac_cpp='$CXXCPP $CPPFLAGS'
19998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20002 ac_save_CXXFLAGS="$CXXFLAGS"
20003 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20006 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20007 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20008 $as_echo_n "(cached) " >&6
20009 else
20011 if test x$gcc_no_link = xyes; then
20012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20013 /* end confdefs.h. */
20014 #include <unistd.h>
20016 main ()
20018 int n = sysconf(_SC_NPROC_ONLN);
20020 return 0;
20022 _ACEOF
20023 if ac_fn_cxx_try_compile "$LINENO"; then :
20024 glibcxx_cv_SC_NPROC_ONLN=yes
20025 else
20026 glibcxx_cv_SC_NPROC_ONLN=no
20028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20029 else
20030 if test x$gcc_no_link = xyes; then
20031 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20034 /* end confdefs.h. */
20035 #include <unistd.h>
20037 main ()
20039 int n = sysconf(_SC_NPROC_ONLN);
20041 return 0;
20043 _ACEOF
20044 if ac_fn_cxx_try_link "$LINENO"; then :
20045 glibcxx_cv_SC_NPROC_ONLN=yes
20046 else
20047 glibcxx_cv_SC_NPROC_ONLN=no
20049 rm -f core conftest.err conftest.$ac_objext \
20050 conftest$ac_exeext conftest.$ac_ext
20055 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20057 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20061 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20063 CXXFLAGS="$ac_save_CXXFLAGS"
20064 ac_ext=c
20065 ac_cpp='$CPP $CPPFLAGS'
20066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20074 ac_ext=cpp
20075 ac_cpp='$CXXCPP $CPPFLAGS'
20076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20080 ac_save_CXXFLAGS="$CXXFLAGS"
20081 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20084 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20085 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20086 $as_echo_n "(cached) " >&6
20087 else
20089 if test x$gcc_no_link = xyes; then
20090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20091 /* end confdefs.h. */
20092 #include <pthread.h>
20094 main ()
20096 int n = pthread_num_processors_np();
20098 return 0;
20100 _ACEOF
20101 if ac_fn_cxx_try_compile "$LINENO"; then :
20102 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20103 else
20104 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20107 else
20108 if test x$gcc_no_link = xyes; then
20109 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20112 /* end confdefs.h. */
20113 #include <pthread.h>
20115 main ()
20117 int n = pthread_num_processors_np();
20119 return 0;
20121 _ACEOF
20122 if ac_fn_cxx_try_link "$LINENO"; then :
20123 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20124 else
20125 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20127 rm -f core conftest.err conftest.$ac_objext \
20128 conftest$ac_exeext conftest.$ac_ext
20133 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20135 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20139 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20141 CXXFLAGS="$ac_save_CXXFLAGS"
20142 ac_ext=c
20143 ac_cpp='$CPP $CPPFLAGS'
20144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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 hw.ncpu sysctl" >&5
20162 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20163 if test "${glibcxx_cv_SYSCTL_HW_NCPU+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. */
20171 #include <stddef.h>
20172 #include <sys/sysctl.h>
20175 main ()
20178 int count;
20179 size_t size = sizeof(count);
20180 int mib[] = { CTL_HW, HW_NCPU };
20181 sysctl(mib, 2, &count, &size, NULL, 0);
20184 return 0;
20186 _ACEOF
20187 if ac_fn_cxx_try_compile "$LINENO"; then :
20188 glibcxx_cv_SYSCTL_HW_NCPU=yes
20189 else
20190 glibcxx_cv_SYSCTL_HW_NCPU=no
20192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20193 else
20194 if test x$gcc_no_link = xyes; then
20195 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20198 /* end confdefs.h. */
20200 #include <stddef.h>
20201 #include <sys/sysctl.h>
20204 main ()
20207 int count;
20208 size_t size = sizeof(count);
20209 int mib[] = { CTL_HW, HW_NCPU };
20210 sysctl(mib, 2, &count, &size, NULL, 0);
20213 return 0;
20215 _ACEOF
20216 if ac_fn_cxx_try_link "$LINENO"; then :
20217 glibcxx_cv_SYSCTL_HW_NCPU=yes
20218 else
20219 glibcxx_cv_SYSCTL_HW_NCPU=no
20221 rm -f core conftest.err conftest.$ac_objext \
20222 conftest$ac_exeext conftest.$ac_ext
20227 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20229 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20233 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20235 CXXFLAGS="$ac_save_CXXFLAGS"
20236 ac_ext=c
20237 ac_cpp='$CPP $CPPFLAGS'
20238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20244 # Check for available headers.
20245 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20246 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20247 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20248 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20249 wchar.h wctype.h
20250 do :
20251 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20252 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20253 eval as_val=\$$as_ac_Header
20254 if test "x$as_val" = x""yes; then :
20255 cat >>confdefs.h <<_ACEOF
20256 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20257 _ACEOF
20261 done
20264 # Only do link tests if native. Else, hardcode.
20265 if $GLIBCXX_IS_NATIVE; then
20267 # We can do more elaborate tests that assume a working linker.
20268 CANADIAN=no
20272 # Check whether --with-gnu-ld was given.
20273 if test "${with_gnu_ld+set}" = set; then :
20274 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20275 else
20276 with_gnu_ld=no
20279 ac_prog=ld
20280 if test "$GCC" = yes; then
20281 # Check if gcc -print-prog-name=ld gives a path.
20282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20283 $as_echo_n "checking for ld used by $CC... " >&6; }
20284 case $host in
20285 *-*-mingw*)
20286 # gcc leaves a trailing carriage return which upsets mingw
20287 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20289 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20290 esac
20291 case $ac_prog in
20292 # Accept absolute paths.
20293 [\\/]* | ?:[\\/]*)
20294 re_direlt='/[^/][^/]*/\.\./'
20295 # Canonicalize the pathname of ld
20296 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20297 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20298 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20299 done
20300 test -z "$LD" && LD="$ac_prog"
20303 # If it fails, then pretend we aren't using GCC.
20304 ac_prog=ld
20307 # If it is relative, then search for the first ld in PATH.
20308 with_gnu_ld=unknown
20310 esac
20311 elif test "$with_gnu_ld" = yes; then
20312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20313 $as_echo_n "checking for GNU ld... " >&6; }
20314 else
20315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20316 $as_echo_n "checking for non-GNU ld... " >&6; }
20318 if test "${lt_cv_path_LD+set}" = set; then :
20319 $as_echo_n "(cached) " >&6
20320 else
20321 if test -z "$LD"; then
20322 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20323 for ac_dir in $PATH; do
20324 IFS="$lt_save_ifs"
20325 test -z "$ac_dir" && ac_dir=.
20326 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20327 lt_cv_path_LD="$ac_dir/$ac_prog"
20328 # Check to see if the program is GNU ld. I'd rather use --version,
20329 # but apparently some variants of GNU ld only accept -v.
20330 # Break only if it was the GNU/non-GNU ld that we prefer.
20331 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20332 *GNU* | *'with BFD'*)
20333 test "$with_gnu_ld" != no && break
20336 test "$with_gnu_ld" != yes && break
20338 esac
20340 done
20341 IFS="$lt_save_ifs"
20342 else
20343 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20347 LD="$lt_cv_path_LD"
20348 if test -n "$LD"; then
20349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20350 $as_echo "$LD" >&6; }
20351 else
20352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20353 $as_echo "no" >&6; }
20355 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20357 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20358 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20359 $as_echo_n "(cached) " >&6
20360 else
20361 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20362 case `$LD -v 2>&1 </dev/null` in
20363 *GNU* | *'with BFD'*)
20364 lt_cv_prog_gnu_ld=yes
20367 lt_cv_prog_gnu_ld=no
20369 esac
20371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20372 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20373 with_gnu_ld=$lt_cv_prog_gnu_ld
20381 # If we're not using GNU ld, then there's no point in even trying these
20382 # tests. Check for that first. We should have already tested for gld
20383 # by now (in libtool), but require it now just to be safe...
20384 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20385 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20389 # The name set by libtool depends on the version of libtool. Shame on us
20390 # for depending on an impl detail, but c'est la vie. Older versions used
20391 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20392 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20393 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20394 # set (hence we're using an older libtool), then set it.
20395 if test x${with_gnu_ld+set} != xset; then
20396 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20397 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20398 with_gnu_ld=no
20399 else
20400 with_gnu_ld=$ac_cv_prog_gnu_ld
20404 # Start by getting the version number. I think the libtool test already
20405 # does some of this, but throws away the result.
20406 glibcxx_ld_is_gold=no
20407 if test x"$with_gnu_ld" = x"yes"; then
20408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20409 $as_echo_n "checking for ld version... " >&6; }
20411 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20412 glibcxx_ld_is_gold=yes
20414 ldver=`$LD --version 2>/dev/null |
20415 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'`
20417 glibcxx_gnu_ld_version=`echo $ldver | \
20418 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20420 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20423 # Set --gc-sections.
20424 glibcxx_have_gc_sections=no
20425 if test "$glibcxx_ld_is_gold" = "yes"; then
20426 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20427 glibcxx_have_gc_sections=yes
20429 else
20430 glibcxx_gcsections_min_ld=21602
20431 if test x"$with_gnu_ld" = x"yes" &&
20432 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20433 glibcxx_have_gc_sections=yes
20436 if test "$glibcxx_have_gc_sections" = "yes"; then
20437 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20438 # NB: This flag only works reliably after 2.16.1. Configure tests
20439 # for this are difficult, so hard wire a value that should work.
20441 ac_test_CFLAGS="${CFLAGS+set}"
20442 ac_save_CFLAGS="$CFLAGS"
20443 CFLAGS='-Wl,--gc-sections'
20445 # Check for -Wl,--gc-sections
20446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20447 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20448 if test x$gcc_no_link = xyes; then
20449 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20452 /* end confdefs.h. */
20453 int one(void) { return 1; }
20454 int two(void) { return 2; }
20457 main ()
20459 two();
20461 return 0;
20463 _ACEOF
20464 if ac_fn_c_try_link "$LINENO"; then :
20465 ac_gcsections=yes
20466 else
20467 ac_gcsections=no
20469 rm -f core conftest.err conftest.$ac_objext \
20470 conftest$ac_exeext conftest.$ac_ext
20471 if test "$ac_gcsections" = "yes"; then
20472 rm -f conftest.c
20473 touch conftest.c
20474 if $CC -c conftest.c; then
20475 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20476 grep "Warning: gc-sections option ignored" > /dev/null; then
20477 ac_gcsections=no
20480 rm -f conftest.c conftest.o conftest
20482 if test "$ac_gcsections" = "yes"; then
20483 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20486 $as_echo "$ac_gcsections" >&6; }
20488 if test "$ac_test_CFLAGS" = set; then
20489 CFLAGS="$ac_save_CFLAGS"
20490 else
20491 # this is the suspicious part
20492 CFLAGS=''
20496 # Set -z,relro.
20497 # Note this is only for shared objects.
20498 ac_ld_relro=no
20499 if test x"$with_gnu_ld" = x"yes"; then
20500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20501 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20502 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20503 if test -n "$cxx_z_relo"; then
20504 OPT_LDFLAGS="-Wl,-z,relro"
20505 ac_ld_relro=yes
20507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20508 $as_echo "$ac_ld_relro" >&6; }
20511 # Set linker optimization flags.
20512 if test x"$with_gnu_ld" = x"yes"; then
20513 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20520 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20521 ac_save_CXXFLAGS="$CXXFLAGS"
20522 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20525 $as_echo_n "checking for sin in -lm... " >&6; }
20526 if test "${ac_cv_lib_m_sin+set}" = set; then :
20527 $as_echo_n "(cached) " >&6
20528 else
20529 ac_check_lib_save_LIBS=$LIBS
20530 LIBS="-lm $LIBS"
20531 if test x$gcc_no_link = xyes; then
20532 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20535 /* end confdefs.h. */
20537 /* Override any GCC internal prototype to avoid an error.
20538 Use char because int might match the return type of a GCC
20539 builtin and then its argument prototype would still apply. */
20540 #ifdef __cplusplus
20541 extern "C"
20542 #endif
20543 char sin ();
20545 main ()
20547 return sin ();
20549 return 0;
20551 _ACEOF
20552 if ac_fn_c_try_link "$LINENO"; then :
20553 ac_cv_lib_m_sin=yes
20554 else
20555 ac_cv_lib_m_sin=no
20557 rm -f core conftest.err conftest.$ac_objext \
20558 conftest$ac_exeext conftest.$ac_ext
20559 LIBS=$ac_check_lib_save_LIBS
20561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20562 $as_echo "$ac_cv_lib_m_sin" >&6; }
20563 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20564 libm="-lm"
20567 ac_save_LIBS="$LIBS"
20568 LIBS="$LIBS $libm"
20572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20573 $as_echo_n "checking for isinf declaration... " >&6; }
20574 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20575 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20576 $as_echo_n "(cached) " >&6
20577 else
20580 ac_ext=cpp
20581 ac_cpp='$CXXCPP $CPPFLAGS'
20582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20587 /* end confdefs.h. */
20588 #include <math.h>
20589 #ifdef HAVE_IEEEFP_H
20590 #include <ieeefp.h>
20591 #endif
20594 main ()
20596 isinf(0);
20598 return 0;
20600 _ACEOF
20601 if ac_fn_cxx_try_compile "$LINENO"; then :
20602 glibcxx_cv_func_isinf_use=yes
20603 else
20604 glibcxx_cv_func_isinf_use=no
20606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
20617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20618 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20620 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20621 for ac_func in isinf
20622 do :
20623 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20624 if test "x$ac_cv_func_isinf" = x""yes; then :
20625 cat >>confdefs.h <<_ACEOF
20626 #define HAVE_ISINF 1
20627 _ACEOF
20630 done
20632 else
20634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20635 $as_echo_n "checking for _isinf declaration... " >&6; }
20636 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20637 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20638 $as_echo_n "(cached) " >&6
20639 else
20642 ac_ext=cpp
20643 ac_cpp='$CXXCPP $CPPFLAGS'
20644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20649 /* end confdefs.h. */
20650 #include <math.h>
20651 #ifdef HAVE_IEEEFP_H
20652 #include <ieeefp.h>
20653 #endif
20656 main ()
20658 _isinf(0);
20660 return 0;
20662 _ACEOF
20663 if ac_fn_cxx_try_compile "$LINENO"; then :
20664 glibcxx_cv_func__isinf_use=yes
20665 else
20666 glibcxx_cv_func__isinf_use=no
20668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20669 ac_ext=c
20670 ac_cpp='$CPP $CPPFLAGS'
20671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20680 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20682 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20683 for ac_func in _isinf
20684 do :
20685 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20686 if test "x$ac_cv_func__isinf" = x""yes; then :
20687 cat >>confdefs.h <<_ACEOF
20688 #define HAVE__ISINF 1
20689 _ACEOF
20692 done
20701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20702 $as_echo_n "checking for isnan declaration... " >&6; }
20703 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20704 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20705 $as_echo_n "(cached) " >&6
20706 else
20709 ac_ext=cpp
20710 ac_cpp='$CXXCPP $CPPFLAGS'
20711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20716 /* end confdefs.h. */
20717 #include <math.h>
20718 #ifdef HAVE_IEEEFP_H
20719 #include <ieeefp.h>
20720 #endif
20723 main ()
20725 isnan(0);
20727 return 0;
20729 _ACEOF
20730 if ac_fn_cxx_try_compile "$LINENO"; then :
20731 glibcxx_cv_func_isnan_use=yes
20732 else
20733 glibcxx_cv_func_isnan_use=no
20735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20736 ac_ext=c
20737 ac_cpp='$CPP $CPPFLAGS'
20738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20747 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20749 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20750 for ac_func in isnan
20751 do :
20752 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20753 if test "x$ac_cv_func_isnan" = x""yes; then :
20754 cat >>confdefs.h <<_ACEOF
20755 #define HAVE_ISNAN 1
20756 _ACEOF
20759 done
20761 else
20763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20764 $as_echo_n "checking for _isnan declaration... " >&6; }
20765 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20766 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20767 $as_echo_n "(cached) " >&6
20768 else
20771 ac_ext=cpp
20772 ac_cpp='$CXXCPP $CPPFLAGS'
20773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20778 /* end confdefs.h. */
20779 #include <math.h>
20780 #ifdef HAVE_IEEEFP_H
20781 #include <ieeefp.h>
20782 #endif
20785 main ()
20787 _isnan(0);
20789 return 0;
20791 _ACEOF
20792 if ac_fn_cxx_try_compile "$LINENO"; then :
20793 glibcxx_cv_func__isnan_use=yes
20794 else
20795 glibcxx_cv_func__isnan_use=no
20797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20798 ac_ext=c
20799 ac_cpp='$CPP $CPPFLAGS'
20800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20809 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20811 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20812 for ac_func in _isnan
20813 do :
20814 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20815 if test "x$ac_cv_func__isnan" = x""yes; then :
20816 cat >>confdefs.h <<_ACEOF
20817 #define HAVE__ISNAN 1
20818 _ACEOF
20821 done
20830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20831 $as_echo_n "checking for finite declaration... " >&6; }
20832 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20833 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20834 $as_echo_n "(cached) " >&6
20835 else
20838 ac_ext=cpp
20839 ac_cpp='$CXXCPP $CPPFLAGS'
20840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20845 /* end confdefs.h. */
20846 #include <math.h>
20847 #ifdef HAVE_IEEEFP_H
20848 #include <ieeefp.h>
20849 #endif
20852 main ()
20854 finite(0);
20856 return 0;
20858 _ACEOF
20859 if ac_fn_cxx_try_compile "$LINENO"; then :
20860 glibcxx_cv_func_finite_use=yes
20861 else
20862 glibcxx_cv_func_finite_use=no
20864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20865 ac_ext=c
20866 ac_cpp='$CPP $CPPFLAGS'
20867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20876 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20878 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20879 for ac_func in finite
20880 do :
20881 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20882 if test "x$ac_cv_func_finite" = x""yes; then :
20883 cat >>confdefs.h <<_ACEOF
20884 #define HAVE_FINITE 1
20885 _ACEOF
20888 done
20890 else
20892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20893 $as_echo_n "checking for _finite declaration... " >&6; }
20894 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20895 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20896 $as_echo_n "(cached) " >&6
20897 else
20900 ac_ext=cpp
20901 ac_cpp='$CXXCPP $CPPFLAGS'
20902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20907 /* end confdefs.h. */
20908 #include <math.h>
20909 #ifdef HAVE_IEEEFP_H
20910 #include <ieeefp.h>
20911 #endif
20914 main ()
20916 _finite(0);
20918 return 0;
20920 _ACEOF
20921 if ac_fn_cxx_try_compile "$LINENO"; then :
20922 glibcxx_cv_func__finite_use=yes
20923 else
20924 glibcxx_cv_func__finite_use=no
20926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20927 ac_ext=c
20928 ac_cpp='$CPP $CPPFLAGS'
20929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20938 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20940 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20941 for ac_func in _finite
20942 do :
20943 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20944 if test "x$ac_cv_func__finite" = x""yes; then :
20945 cat >>confdefs.h <<_ACEOF
20946 #define HAVE__FINITE 1
20947 _ACEOF
20950 done
20959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20960 $as_echo_n "checking for sincos declaration... " >&6; }
20961 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20962 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20963 $as_echo_n "(cached) " >&6
20964 else
20967 ac_ext=cpp
20968 ac_cpp='$CXXCPP $CPPFLAGS'
20969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20974 /* end confdefs.h. */
20975 #include <math.h>
20977 main ()
20979 sincos(0, 0, 0);
20981 return 0;
20983 _ACEOF
20984 if ac_fn_cxx_try_compile "$LINENO"; then :
20985 glibcxx_cv_func_sincos_use=yes
20986 else
20987 glibcxx_cv_func_sincos_use=no
20989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20990 ac_ext=c
20991 ac_cpp='$CPP $CPPFLAGS'
20992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21001 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21003 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21004 for ac_func in sincos
21005 do :
21006 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21007 if test "x$ac_cv_func_sincos" = x""yes; then :
21008 cat >>confdefs.h <<_ACEOF
21009 #define HAVE_SINCOS 1
21010 _ACEOF
21013 done
21015 else
21017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21018 $as_echo_n "checking for _sincos declaration... " >&6; }
21019 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21020 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21021 $as_echo_n "(cached) " >&6
21022 else
21025 ac_ext=cpp
21026 ac_cpp='$CXXCPP $CPPFLAGS'
21027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21032 /* end confdefs.h. */
21033 #include <math.h>
21035 main ()
21037 _sincos(0, 0, 0);
21039 return 0;
21041 _ACEOF
21042 if ac_fn_cxx_try_compile "$LINENO"; then :
21043 glibcxx_cv_func__sincos_use=yes
21044 else
21045 glibcxx_cv_func__sincos_use=no
21047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21048 ac_ext=c
21049 ac_cpp='$CPP $CPPFLAGS'
21050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21059 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21061 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21062 for ac_func in _sincos
21063 do :
21064 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21065 if test "x$ac_cv_func__sincos" = x""yes; then :
21066 cat >>confdefs.h <<_ACEOF
21067 #define HAVE__SINCOS 1
21068 _ACEOF
21071 done
21080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21081 $as_echo_n "checking for fpclass declaration... " >&6; }
21082 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21083 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21084 $as_echo_n "(cached) " >&6
21085 else
21088 ac_ext=cpp
21089 ac_cpp='$CXXCPP $CPPFLAGS'
21090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21095 /* end confdefs.h. */
21096 #include <math.h>
21097 #ifdef HAVE_IEEEFP_H
21098 #include <ieeefp.h>
21099 #endif
21102 main ()
21104 fpclass(0);
21106 return 0;
21108 _ACEOF
21109 if ac_fn_cxx_try_compile "$LINENO"; then :
21110 glibcxx_cv_func_fpclass_use=yes
21111 else
21112 glibcxx_cv_func_fpclass_use=no
21114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21115 ac_ext=c
21116 ac_cpp='$CPP $CPPFLAGS'
21117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21126 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21128 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21129 for ac_func in fpclass
21130 do :
21131 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21132 if test "x$ac_cv_func_fpclass" = x""yes; then :
21133 cat >>confdefs.h <<_ACEOF
21134 #define HAVE_FPCLASS 1
21135 _ACEOF
21138 done
21140 else
21142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21143 $as_echo_n "checking for _fpclass declaration... " >&6; }
21144 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21145 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21146 $as_echo_n "(cached) " >&6
21147 else
21150 ac_ext=cpp
21151 ac_cpp='$CXXCPP $CPPFLAGS'
21152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21157 /* end confdefs.h. */
21158 #include <math.h>
21159 #ifdef HAVE_IEEEFP_H
21160 #include <ieeefp.h>
21161 #endif
21164 main ()
21166 _fpclass(0);
21168 return 0;
21170 _ACEOF
21171 if ac_fn_cxx_try_compile "$LINENO"; then :
21172 glibcxx_cv_func__fpclass_use=yes
21173 else
21174 glibcxx_cv_func__fpclass_use=no
21176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21177 ac_ext=c
21178 ac_cpp='$CPP $CPPFLAGS'
21179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21188 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21190 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21191 for ac_func in _fpclass
21192 do :
21193 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21194 if test "x$ac_cv_func__fpclass" = x""yes; then :
21195 cat >>confdefs.h <<_ACEOF
21196 #define HAVE__FPCLASS 1
21197 _ACEOF
21200 done
21209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21210 $as_echo_n "checking for qfpclass declaration... " >&6; }
21211 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21212 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21213 $as_echo_n "(cached) " >&6
21214 else
21217 ac_ext=cpp
21218 ac_cpp='$CXXCPP $CPPFLAGS'
21219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21224 /* end confdefs.h. */
21225 #include <math.h>
21226 #ifdef HAVE_IEEEFP_H
21227 #include <ieeefp.h>
21228 #endif
21231 main ()
21233 qfpclass(0);
21235 return 0;
21237 _ACEOF
21238 if ac_fn_cxx_try_compile "$LINENO"; then :
21239 glibcxx_cv_func_qfpclass_use=yes
21240 else
21241 glibcxx_cv_func_qfpclass_use=no
21243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21244 ac_ext=c
21245 ac_cpp='$CPP $CPPFLAGS'
21246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21255 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21257 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21258 for ac_func in qfpclass
21259 do :
21260 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21261 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21262 cat >>confdefs.h <<_ACEOF
21263 #define HAVE_QFPCLASS 1
21264 _ACEOF
21267 done
21269 else
21271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21272 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21273 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21274 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21275 $as_echo_n "(cached) " >&6
21276 else
21279 ac_ext=cpp
21280 ac_cpp='$CXXCPP $CPPFLAGS'
21281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21286 /* end confdefs.h. */
21287 #include <math.h>
21288 #ifdef HAVE_IEEEFP_H
21289 #include <ieeefp.h>
21290 #endif
21293 main ()
21295 _qfpclass(0);
21297 return 0;
21299 _ACEOF
21300 if ac_fn_cxx_try_compile "$LINENO"; then :
21301 glibcxx_cv_func__qfpclass_use=yes
21302 else
21303 glibcxx_cv_func__qfpclass_use=no
21305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21306 ac_ext=c
21307 ac_cpp='$CPP $CPPFLAGS'
21308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21317 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21319 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21320 for ac_func in _qfpclass
21321 do :
21322 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21323 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21324 cat >>confdefs.h <<_ACEOF
21325 #define HAVE__QFPCLASS 1
21326 _ACEOF
21329 done
21338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21339 $as_echo_n "checking for hypot declaration... " >&6; }
21340 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21341 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21342 $as_echo_n "(cached) " >&6
21343 else
21346 ac_ext=cpp
21347 ac_cpp='$CXXCPP $CPPFLAGS'
21348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21353 /* end confdefs.h. */
21354 #include <math.h>
21356 main ()
21358 hypot(0, 0);
21360 return 0;
21362 _ACEOF
21363 if ac_fn_cxx_try_compile "$LINENO"; then :
21364 glibcxx_cv_func_hypot_use=yes
21365 else
21366 glibcxx_cv_func_hypot_use=no
21368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21369 ac_ext=c
21370 ac_cpp='$CPP $CPPFLAGS'
21371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21380 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21382 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21383 for ac_func in hypot
21384 do :
21385 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21386 if test "x$ac_cv_func_hypot" = x""yes; then :
21387 cat >>confdefs.h <<_ACEOF
21388 #define HAVE_HYPOT 1
21389 _ACEOF
21392 done
21394 else
21396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21397 $as_echo_n "checking for _hypot declaration... " >&6; }
21398 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21399 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21400 $as_echo_n "(cached) " >&6
21401 else
21404 ac_ext=cpp
21405 ac_cpp='$CXXCPP $CPPFLAGS'
21406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21411 /* end confdefs.h. */
21412 #include <math.h>
21414 main ()
21416 _hypot(0, 0);
21418 return 0;
21420 _ACEOF
21421 if ac_fn_cxx_try_compile "$LINENO"; then :
21422 glibcxx_cv_func__hypot_use=yes
21423 else
21424 glibcxx_cv_func__hypot_use=no
21426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21427 ac_ext=c
21428 ac_cpp='$CPP $CPPFLAGS'
21429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21438 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21440 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21441 for ac_func in _hypot
21442 do :
21443 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21444 if test "x$ac_cv_func__hypot" = x""yes; then :
21445 cat >>confdefs.h <<_ACEOF
21446 #define HAVE__HYPOT 1
21447 _ACEOF
21450 done
21459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21460 $as_echo_n "checking for float trig functions... " >&6; }
21461 if test "${glibcxx_cv_func_float_trig_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>
21476 main ()
21478 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21480 return 0;
21482 _ACEOF
21483 if ac_fn_cxx_try_compile "$LINENO"; then :
21484 glibcxx_cv_func_float_trig_use=yes
21485 else
21486 glibcxx_cv_func_float_trig_use=no
21488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21489 ac_ext=c
21490 ac_cpp='$CPP $CPPFLAGS'
21491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21498 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21499 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21500 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21501 do :
21502 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21503 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21504 eval as_val=\$$as_ac_var
21505 if test "x$as_val" = x""yes; then :
21506 cat >>confdefs.h <<_ACEOF
21507 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21508 _ACEOF
21511 done
21513 else
21514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21515 $as_echo_n "checking for _float trig functions... " >&6; }
21516 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21517 $as_echo_n "(cached) " >&6
21518 else
21521 ac_ext=cpp
21522 ac_cpp='$CXXCPP $CPPFLAGS'
21523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21528 /* end confdefs.h. */
21529 #include <math.h>
21531 main ()
21533 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21535 return 0;
21537 _ACEOF
21538 if ac_fn_cxx_try_compile "$LINENO"; then :
21539 glibcxx_cv_func__float_trig_use=yes
21540 else
21541 glibcxx_cv_func__float_trig_use=no
21543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21544 ac_ext=c
21545 ac_cpp='$CPP $CPPFLAGS'
21546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21553 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21554 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21555 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21556 do :
21557 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21558 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21559 eval as_val=\$$as_ac_var
21560 if test "x$as_val" = x""yes; then :
21561 cat >>confdefs.h <<_ACEOF
21562 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21563 _ACEOF
21566 done
21575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21576 $as_echo_n "checking for float round functions... " >&6; }
21577 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21578 $as_echo_n "(cached) " >&6
21579 else
21582 ac_ext=cpp
21583 ac_cpp='$CXXCPP $CPPFLAGS'
21584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21589 /* end confdefs.h. */
21590 #include <math.h>
21592 main ()
21594 ceilf (0); floorf (0);
21596 return 0;
21598 _ACEOF
21599 if ac_fn_cxx_try_compile "$LINENO"; then :
21600 glibcxx_cv_func_float_round_use=yes
21601 else
21602 glibcxx_cv_func_float_round_use=no
21604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21605 ac_ext=c
21606 ac_cpp='$CPP $CPPFLAGS'
21607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21614 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21615 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21616 for ac_func in ceilf floorf
21617 do :
21618 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21619 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21620 eval as_val=\$$as_ac_var
21621 if test "x$as_val" = x""yes; then :
21622 cat >>confdefs.h <<_ACEOF
21623 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21624 _ACEOF
21627 done
21629 else
21630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21631 $as_echo_n "checking for _float round functions... " >&6; }
21632 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21633 $as_echo_n "(cached) " >&6
21634 else
21637 ac_ext=cpp
21638 ac_cpp='$CXXCPP $CPPFLAGS'
21639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21644 /* end confdefs.h. */
21645 #include <math.h>
21647 main ()
21649 _ceilf (0); _floorf (0);
21651 return 0;
21653 _ACEOF
21654 if ac_fn_cxx_try_compile "$LINENO"; then :
21655 glibcxx_cv_func__float_round_use=yes
21656 else
21657 glibcxx_cv_func__float_round_use=no
21659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21660 ac_ext=c
21661 ac_cpp='$CPP $CPPFLAGS'
21662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21669 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21670 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21671 for ac_func in _ceilf _floorf
21672 do :
21673 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21674 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21675 eval as_val=\$$as_ac_var
21676 if test "x$as_val" = x""yes; then :
21677 cat >>confdefs.h <<_ACEOF
21678 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21679 _ACEOF
21682 done
21692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21693 $as_echo_n "checking for expf declaration... " >&6; }
21694 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21695 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21696 $as_echo_n "(cached) " >&6
21697 else
21700 ac_ext=cpp
21701 ac_cpp='$CXXCPP $CPPFLAGS'
21702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21707 /* end confdefs.h. */
21708 #include <math.h>
21709 #ifdef HAVE_IEEEFP_H
21710 #include <ieeefp.h>
21711 #endif
21714 main ()
21716 expf(0);
21718 return 0;
21720 _ACEOF
21721 if ac_fn_cxx_try_compile "$LINENO"; then :
21722 glibcxx_cv_func_expf_use=yes
21723 else
21724 glibcxx_cv_func_expf_use=no
21726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21727 ac_ext=c
21728 ac_cpp='$CPP $CPPFLAGS'
21729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21738 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21740 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21741 for ac_func in expf
21742 do :
21743 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21744 if test "x$ac_cv_func_expf" = x""yes; then :
21745 cat >>confdefs.h <<_ACEOF
21746 #define HAVE_EXPF 1
21747 _ACEOF
21750 done
21752 else
21754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21755 $as_echo_n "checking for _expf declaration... " >&6; }
21756 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21757 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21758 $as_echo_n "(cached) " >&6
21759 else
21762 ac_ext=cpp
21763 ac_cpp='$CXXCPP $CPPFLAGS'
21764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21769 /* end confdefs.h. */
21770 #include <math.h>
21771 #ifdef HAVE_IEEEFP_H
21772 #include <ieeefp.h>
21773 #endif
21776 main ()
21778 _expf(0);
21780 return 0;
21782 _ACEOF
21783 if ac_fn_cxx_try_compile "$LINENO"; then :
21784 glibcxx_cv_func__expf_use=yes
21785 else
21786 glibcxx_cv_func__expf_use=no
21788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21789 ac_ext=c
21790 ac_cpp='$CPP $CPPFLAGS'
21791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21800 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21802 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21803 for ac_func in _expf
21804 do :
21805 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21806 if test "x$ac_cv_func__expf" = x""yes; then :
21807 cat >>confdefs.h <<_ACEOF
21808 #define HAVE__EXPF 1
21809 _ACEOF
21812 done
21821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21822 $as_echo_n "checking for isnanf declaration... " >&6; }
21823 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21824 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21825 $as_echo_n "(cached) " >&6
21826 else
21829 ac_ext=cpp
21830 ac_cpp='$CXXCPP $CPPFLAGS'
21831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21836 /* end confdefs.h. */
21837 #include <math.h>
21838 #ifdef HAVE_IEEEFP_H
21839 #include <ieeefp.h>
21840 #endif
21843 main ()
21845 isnanf(0);
21847 return 0;
21849 _ACEOF
21850 if ac_fn_cxx_try_compile "$LINENO"; then :
21851 glibcxx_cv_func_isnanf_use=yes
21852 else
21853 glibcxx_cv_func_isnanf_use=no
21855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21856 ac_ext=c
21857 ac_cpp='$CPP $CPPFLAGS'
21858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21867 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21869 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21870 for ac_func in isnanf
21871 do :
21872 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21873 if test "x$ac_cv_func_isnanf" = x""yes; then :
21874 cat >>confdefs.h <<_ACEOF
21875 #define HAVE_ISNANF 1
21876 _ACEOF
21879 done
21881 else
21883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21884 $as_echo_n "checking for _isnanf declaration... " >&6; }
21885 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21886 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21887 $as_echo_n "(cached) " >&6
21888 else
21891 ac_ext=cpp
21892 ac_cpp='$CXXCPP $CPPFLAGS'
21893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21898 /* end confdefs.h. */
21899 #include <math.h>
21900 #ifdef HAVE_IEEEFP_H
21901 #include <ieeefp.h>
21902 #endif
21905 main ()
21907 _isnanf(0);
21909 return 0;
21911 _ACEOF
21912 if ac_fn_cxx_try_compile "$LINENO"; then :
21913 glibcxx_cv_func__isnanf_use=yes
21914 else
21915 glibcxx_cv_func__isnanf_use=no
21917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21918 ac_ext=c
21919 ac_cpp='$CPP $CPPFLAGS'
21920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21929 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21931 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21932 for ac_func in _isnanf
21933 do :
21934 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21935 if test "x$ac_cv_func__isnanf" = x""yes; then :
21936 cat >>confdefs.h <<_ACEOF
21937 #define HAVE__ISNANF 1
21938 _ACEOF
21941 done
21950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21951 $as_echo_n "checking for isinff declaration... " >&6; }
21952 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21953 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21954 $as_echo_n "(cached) " >&6
21955 else
21958 ac_ext=cpp
21959 ac_cpp='$CXXCPP $CPPFLAGS'
21960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21965 /* end confdefs.h. */
21966 #include <math.h>
21967 #ifdef HAVE_IEEEFP_H
21968 #include <ieeefp.h>
21969 #endif
21972 main ()
21974 isinff(0);
21976 return 0;
21978 _ACEOF
21979 if ac_fn_cxx_try_compile "$LINENO"; then :
21980 glibcxx_cv_func_isinff_use=yes
21981 else
21982 glibcxx_cv_func_isinff_use=no
21984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21985 ac_ext=c
21986 ac_cpp='$CPP $CPPFLAGS'
21987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21996 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21998 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21999 for ac_func in isinff
22000 do :
22001 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22002 if test "x$ac_cv_func_isinff" = x""yes; then :
22003 cat >>confdefs.h <<_ACEOF
22004 #define HAVE_ISINFF 1
22005 _ACEOF
22008 done
22010 else
22012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22013 $as_echo_n "checking for _isinff declaration... " >&6; }
22014 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22015 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22016 $as_echo_n "(cached) " >&6
22017 else
22020 ac_ext=cpp
22021 ac_cpp='$CXXCPP $CPPFLAGS'
22022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22027 /* end confdefs.h. */
22028 #include <math.h>
22029 #ifdef HAVE_IEEEFP_H
22030 #include <ieeefp.h>
22031 #endif
22034 main ()
22036 _isinff(0);
22038 return 0;
22040 _ACEOF
22041 if ac_fn_cxx_try_compile "$LINENO"; then :
22042 glibcxx_cv_func__isinff_use=yes
22043 else
22044 glibcxx_cv_func__isinff_use=no
22046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22047 ac_ext=c
22048 ac_cpp='$CPP $CPPFLAGS'
22049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22058 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22060 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22061 for ac_func in _isinff
22062 do :
22063 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22064 if test "x$ac_cv_func__isinff" = x""yes; then :
22065 cat >>confdefs.h <<_ACEOF
22066 #define HAVE__ISINFF 1
22067 _ACEOF
22070 done
22079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22080 $as_echo_n "checking for atan2f declaration... " >&6; }
22081 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22082 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22083 $as_echo_n "(cached) " >&6
22084 else
22087 ac_ext=cpp
22088 ac_cpp='$CXXCPP $CPPFLAGS'
22089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22094 /* end confdefs.h. */
22095 #include <math.h>
22097 main ()
22099 atan2f(0, 0);
22101 return 0;
22103 _ACEOF
22104 if ac_fn_cxx_try_compile "$LINENO"; then :
22105 glibcxx_cv_func_atan2f_use=yes
22106 else
22107 glibcxx_cv_func_atan2f_use=no
22109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22110 ac_ext=c
22111 ac_cpp='$CPP $CPPFLAGS'
22112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22121 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22123 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22124 for ac_func in atan2f
22125 do :
22126 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22127 if test "x$ac_cv_func_atan2f" = x""yes; then :
22128 cat >>confdefs.h <<_ACEOF
22129 #define HAVE_ATAN2F 1
22130 _ACEOF
22133 done
22135 else
22137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22138 $as_echo_n "checking for _atan2f declaration... " >&6; }
22139 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22140 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22141 $as_echo_n "(cached) " >&6
22142 else
22145 ac_ext=cpp
22146 ac_cpp='$CXXCPP $CPPFLAGS'
22147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22152 /* end confdefs.h. */
22153 #include <math.h>
22155 main ()
22157 _atan2f(0, 0);
22159 return 0;
22161 _ACEOF
22162 if ac_fn_cxx_try_compile "$LINENO"; then :
22163 glibcxx_cv_func__atan2f_use=yes
22164 else
22165 glibcxx_cv_func__atan2f_use=no
22167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22168 ac_ext=c
22169 ac_cpp='$CPP $CPPFLAGS'
22170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22179 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22181 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22182 for ac_func in _atan2f
22183 do :
22184 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22185 if test "x$ac_cv_func__atan2f" = x""yes; then :
22186 cat >>confdefs.h <<_ACEOF
22187 #define HAVE__ATAN2F 1
22188 _ACEOF
22191 done
22200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22201 $as_echo_n "checking for fabsf declaration... " >&6; }
22202 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22203 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22204 $as_echo_n "(cached) " >&6
22205 else
22208 ac_ext=cpp
22209 ac_cpp='$CXXCPP $CPPFLAGS'
22210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22215 /* end confdefs.h. */
22216 #include <math.h>
22217 #ifdef HAVE_IEEEFP_H
22218 #include <ieeefp.h>
22219 #endif
22222 main ()
22224 fabsf(0);
22226 return 0;
22228 _ACEOF
22229 if ac_fn_cxx_try_compile "$LINENO"; then :
22230 glibcxx_cv_func_fabsf_use=yes
22231 else
22232 glibcxx_cv_func_fabsf_use=no
22234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22235 ac_ext=c
22236 ac_cpp='$CPP $CPPFLAGS'
22237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22246 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22248 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22249 for ac_func in fabsf
22250 do :
22251 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22252 if test "x$ac_cv_func_fabsf" = x""yes; then :
22253 cat >>confdefs.h <<_ACEOF
22254 #define HAVE_FABSF 1
22255 _ACEOF
22258 done
22260 else
22262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22263 $as_echo_n "checking for _fabsf declaration... " >&6; }
22264 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22265 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22266 $as_echo_n "(cached) " >&6
22267 else
22270 ac_ext=cpp
22271 ac_cpp='$CXXCPP $CPPFLAGS'
22272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22277 /* end confdefs.h. */
22278 #include <math.h>
22279 #ifdef HAVE_IEEEFP_H
22280 #include <ieeefp.h>
22281 #endif
22284 main ()
22286 _fabsf(0);
22288 return 0;
22290 _ACEOF
22291 if ac_fn_cxx_try_compile "$LINENO"; then :
22292 glibcxx_cv_func__fabsf_use=yes
22293 else
22294 glibcxx_cv_func__fabsf_use=no
22296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22297 ac_ext=c
22298 ac_cpp='$CPP $CPPFLAGS'
22299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22308 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22310 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22311 for ac_func in _fabsf
22312 do :
22313 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22314 if test "x$ac_cv_func__fabsf" = x""yes; then :
22315 cat >>confdefs.h <<_ACEOF
22316 #define HAVE__FABSF 1
22317 _ACEOF
22320 done
22329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22330 $as_echo_n "checking for fmodf declaration... " >&6; }
22331 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22332 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22333 $as_echo_n "(cached) " >&6
22334 else
22337 ac_ext=cpp
22338 ac_cpp='$CXXCPP $CPPFLAGS'
22339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22344 /* end confdefs.h. */
22345 #include <math.h>
22347 main ()
22349 fmodf(0, 0);
22351 return 0;
22353 _ACEOF
22354 if ac_fn_cxx_try_compile "$LINENO"; then :
22355 glibcxx_cv_func_fmodf_use=yes
22356 else
22357 glibcxx_cv_func_fmodf_use=no
22359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22360 ac_ext=c
22361 ac_cpp='$CPP $CPPFLAGS'
22362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22371 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22373 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22374 for ac_func in fmodf
22375 do :
22376 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22377 if test "x$ac_cv_func_fmodf" = x""yes; then :
22378 cat >>confdefs.h <<_ACEOF
22379 #define HAVE_FMODF 1
22380 _ACEOF
22383 done
22385 else
22387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22388 $as_echo_n "checking for _fmodf declaration... " >&6; }
22389 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22390 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22391 $as_echo_n "(cached) " >&6
22392 else
22395 ac_ext=cpp
22396 ac_cpp='$CXXCPP $CPPFLAGS'
22397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22402 /* end confdefs.h. */
22403 #include <math.h>
22405 main ()
22407 _fmodf(0, 0);
22409 return 0;
22411 _ACEOF
22412 if ac_fn_cxx_try_compile "$LINENO"; then :
22413 glibcxx_cv_func__fmodf_use=yes
22414 else
22415 glibcxx_cv_func__fmodf_use=no
22417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22418 ac_ext=c
22419 ac_cpp='$CPP $CPPFLAGS'
22420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22429 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22431 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22432 for ac_func in _fmodf
22433 do :
22434 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22435 if test "x$ac_cv_func__fmodf" = x""yes; then :
22436 cat >>confdefs.h <<_ACEOF
22437 #define HAVE__FMODF 1
22438 _ACEOF
22441 done
22450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22451 $as_echo_n "checking for frexpf declaration... " >&6; }
22452 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22453 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22454 $as_echo_n "(cached) " >&6
22455 else
22458 ac_ext=cpp
22459 ac_cpp='$CXXCPP $CPPFLAGS'
22460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22465 /* end confdefs.h. */
22466 #include <math.h>
22468 main ()
22470 frexpf(0, 0);
22472 return 0;
22474 _ACEOF
22475 if ac_fn_cxx_try_compile "$LINENO"; then :
22476 glibcxx_cv_func_frexpf_use=yes
22477 else
22478 glibcxx_cv_func_frexpf_use=no
22480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22481 ac_ext=c
22482 ac_cpp='$CPP $CPPFLAGS'
22483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22492 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22494 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22495 for ac_func in frexpf
22496 do :
22497 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22498 if test "x$ac_cv_func_frexpf" = x""yes; then :
22499 cat >>confdefs.h <<_ACEOF
22500 #define HAVE_FREXPF 1
22501 _ACEOF
22504 done
22506 else
22508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22509 $as_echo_n "checking for _frexpf declaration... " >&6; }
22510 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22511 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22512 $as_echo_n "(cached) " >&6
22513 else
22516 ac_ext=cpp
22517 ac_cpp='$CXXCPP $CPPFLAGS'
22518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22523 /* end confdefs.h. */
22524 #include <math.h>
22526 main ()
22528 _frexpf(0, 0);
22530 return 0;
22532 _ACEOF
22533 if ac_fn_cxx_try_compile "$LINENO"; then :
22534 glibcxx_cv_func__frexpf_use=yes
22535 else
22536 glibcxx_cv_func__frexpf_use=no
22538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22539 ac_ext=c
22540 ac_cpp='$CPP $CPPFLAGS'
22541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22550 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22552 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22553 for ac_func in _frexpf
22554 do :
22555 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22556 if test "x$ac_cv_func__frexpf" = x""yes; then :
22557 cat >>confdefs.h <<_ACEOF
22558 #define HAVE__FREXPF 1
22559 _ACEOF
22562 done
22571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22572 $as_echo_n "checking for hypotf declaration... " >&6; }
22573 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22574 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22575 $as_echo_n "(cached) " >&6
22576 else
22579 ac_ext=cpp
22580 ac_cpp='$CXXCPP $CPPFLAGS'
22581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22586 /* end confdefs.h. */
22587 #include <math.h>
22589 main ()
22591 hypotf(0, 0);
22593 return 0;
22595 _ACEOF
22596 if ac_fn_cxx_try_compile "$LINENO"; then :
22597 glibcxx_cv_func_hypotf_use=yes
22598 else
22599 glibcxx_cv_func_hypotf_use=no
22601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22602 ac_ext=c
22603 ac_cpp='$CPP $CPPFLAGS'
22604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22613 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22615 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22616 for ac_func in hypotf
22617 do :
22618 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22619 if test "x$ac_cv_func_hypotf" = x""yes; then :
22620 cat >>confdefs.h <<_ACEOF
22621 #define HAVE_HYPOTF 1
22622 _ACEOF
22625 done
22627 else
22629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22630 $as_echo_n "checking for _hypotf declaration... " >&6; }
22631 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22632 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22633 $as_echo_n "(cached) " >&6
22634 else
22637 ac_ext=cpp
22638 ac_cpp='$CXXCPP $CPPFLAGS'
22639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22644 /* end confdefs.h. */
22645 #include <math.h>
22647 main ()
22649 _hypotf(0, 0);
22651 return 0;
22653 _ACEOF
22654 if ac_fn_cxx_try_compile "$LINENO"; then :
22655 glibcxx_cv_func__hypotf_use=yes
22656 else
22657 glibcxx_cv_func__hypotf_use=no
22659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22660 ac_ext=c
22661 ac_cpp='$CPP $CPPFLAGS'
22662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22671 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22673 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22674 for ac_func in _hypotf
22675 do :
22676 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22677 if test "x$ac_cv_func__hypotf" = x""yes; then :
22678 cat >>confdefs.h <<_ACEOF
22679 #define HAVE__HYPOTF 1
22680 _ACEOF
22683 done
22692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22693 $as_echo_n "checking for ldexpf declaration... " >&6; }
22694 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22695 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22696 $as_echo_n "(cached) " >&6
22697 else
22700 ac_ext=cpp
22701 ac_cpp='$CXXCPP $CPPFLAGS'
22702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22707 /* end confdefs.h. */
22708 #include <math.h>
22710 main ()
22712 ldexpf(0, 0);
22714 return 0;
22716 _ACEOF
22717 if ac_fn_cxx_try_compile "$LINENO"; then :
22718 glibcxx_cv_func_ldexpf_use=yes
22719 else
22720 glibcxx_cv_func_ldexpf_use=no
22722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22723 ac_ext=c
22724 ac_cpp='$CPP $CPPFLAGS'
22725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22734 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22736 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22737 for ac_func in ldexpf
22738 do :
22739 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22740 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22741 cat >>confdefs.h <<_ACEOF
22742 #define HAVE_LDEXPF 1
22743 _ACEOF
22746 done
22748 else
22750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22751 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22752 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22753 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22754 $as_echo_n "(cached) " >&6
22755 else
22758 ac_ext=cpp
22759 ac_cpp='$CXXCPP $CPPFLAGS'
22760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22765 /* end confdefs.h. */
22766 #include <math.h>
22768 main ()
22770 _ldexpf(0, 0);
22772 return 0;
22774 _ACEOF
22775 if ac_fn_cxx_try_compile "$LINENO"; then :
22776 glibcxx_cv_func__ldexpf_use=yes
22777 else
22778 glibcxx_cv_func__ldexpf_use=no
22780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22781 ac_ext=c
22782 ac_cpp='$CPP $CPPFLAGS'
22783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22792 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22794 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22795 for ac_func in _ldexpf
22796 do :
22797 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22798 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22799 cat >>confdefs.h <<_ACEOF
22800 #define HAVE__LDEXPF 1
22801 _ACEOF
22804 done
22813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22814 $as_echo_n "checking for logf declaration... " >&6; }
22815 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22816 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22817 $as_echo_n "(cached) " >&6
22818 else
22821 ac_ext=cpp
22822 ac_cpp='$CXXCPP $CPPFLAGS'
22823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22828 /* end confdefs.h. */
22829 #include <math.h>
22830 #ifdef HAVE_IEEEFP_H
22831 #include <ieeefp.h>
22832 #endif
22835 main ()
22837 logf(0);
22839 return 0;
22841 _ACEOF
22842 if ac_fn_cxx_try_compile "$LINENO"; then :
22843 glibcxx_cv_func_logf_use=yes
22844 else
22845 glibcxx_cv_func_logf_use=no
22847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22848 ac_ext=c
22849 ac_cpp='$CPP $CPPFLAGS'
22850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22859 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22861 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22862 for ac_func in logf
22863 do :
22864 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22865 if test "x$ac_cv_func_logf" = x""yes; then :
22866 cat >>confdefs.h <<_ACEOF
22867 #define HAVE_LOGF 1
22868 _ACEOF
22871 done
22873 else
22875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22876 $as_echo_n "checking for _logf declaration... " >&6; }
22877 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22878 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22879 $as_echo_n "(cached) " >&6
22880 else
22883 ac_ext=cpp
22884 ac_cpp='$CXXCPP $CPPFLAGS'
22885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22890 /* end confdefs.h. */
22891 #include <math.h>
22892 #ifdef HAVE_IEEEFP_H
22893 #include <ieeefp.h>
22894 #endif
22897 main ()
22899 _logf(0);
22901 return 0;
22903 _ACEOF
22904 if ac_fn_cxx_try_compile "$LINENO"; then :
22905 glibcxx_cv_func__logf_use=yes
22906 else
22907 glibcxx_cv_func__logf_use=no
22909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22910 ac_ext=c
22911 ac_cpp='$CPP $CPPFLAGS'
22912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22921 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22923 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22924 for ac_func in _logf
22925 do :
22926 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22927 if test "x$ac_cv_func__logf" = x""yes; then :
22928 cat >>confdefs.h <<_ACEOF
22929 #define HAVE__LOGF 1
22930 _ACEOF
22933 done
22942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22943 $as_echo_n "checking for log10f declaration... " >&6; }
22944 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22945 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22946 $as_echo_n "(cached) " >&6
22947 else
22950 ac_ext=cpp
22951 ac_cpp='$CXXCPP $CPPFLAGS'
22952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22957 /* end confdefs.h. */
22958 #include <math.h>
22959 #ifdef HAVE_IEEEFP_H
22960 #include <ieeefp.h>
22961 #endif
22964 main ()
22966 log10f(0);
22968 return 0;
22970 _ACEOF
22971 if ac_fn_cxx_try_compile "$LINENO"; then :
22972 glibcxx_cv_func_log10f_use=yes
22973 else
22974 glibcxx_cv_func_log10f_use=no
22976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22977 ac_ext=c
22978 ac_cpp='$CPP $CPPFLAGS'
22979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22988 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22990 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22991 for ac_func in log10f
22992 do :
22993 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22994 if test "x$ac_cv_func_log10f" = x""yes; then :
22995 cat >>confdefs.h <<_ACEOF
22996 #define HAVE_LOG10F 1
22997 _ACEOF
23000 done
23002 else
23004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23005 $as_echo_n "checking for _log10f declaration... " >&6; }
23006 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23007 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23008 $as_echo_n "(cached) " >&6
23009 else
23012 ac_ext=cpp
23013 ac_cpp='$CXXCPP $CPPFLAGS'
23014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23019 /* end confdefs.h. */
23020 #include <math.h>
23021 #ifdef HAVE_IEEEFP_H
23022 #include <ieeefp.h>
23023 #endif
23026 main ()
23028 _log10f(0);
23030 return 0;
23032 _ACEOF
23033 if ac_fn_cxx_try_compile "$LINENO"; then :
23034 glibcxx_cv_func__log10f_use=yes
23035 else
23036 glibcxx_cv_func__log10f_use=no
23038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23039 ac_ext=c
23040 ac_cpp='$CPP $CPPFLAGS'
23041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23050 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23052 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23053 for ac_func in _log10f
23054 do :
23055 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23056 if test "x$ac_cv_func__log10f" = x""yes; then :
23057 cat >>confdefs.h <<_ACEOF
23058 #define HAVE__LOG10F 1
23059 _ACEOF
23062 done
23071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23072 $as_echo_n "checking for modff declaration... " >&6; }
23073 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23074 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23075 $as_echo_n "(cached) " >&6
23076 else
23079 ac_ext=cpp
23080 ac_cpp='$CXXCPP $CPPFLAGS'
23081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23086 /* end confdefs.h. */
23087 #include <math.h>
23089 main ()
23091 modff(0, 0);
23093 return 0;
23095 _ACEOF
23096 if ac_fn_cxx_try_compile "$LINENO"; then :
23097 glibcxx_cv_func_modff_use=yes
23098 else
23099 glibcxx_cv_func_modff_use=no
23101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23102 ac_ext=c
23103 ac_cpp='$CPP $CPPFLAGS'
23104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23113 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23115 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23116 for ac_func in modff
23117 do :
23118 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23119 if test "x$ac_cv_func_modff" = x""yes; then :
23120 cat >>confdefs.h <<_ACEOF
23121 #define HAVE_MODFF 1
23122 _ACEOF
23125 done
23127 else
23129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23130 $as_echo_n "checking for _modff declaration... " >&6; }
23131 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23132 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23133 $as_echo_n "(cached) " >&6
23134 else
23137 ac_ext=cpp
23138 ac_cpp='$CXXCPP $CPPFLAGS'
23139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23144 /* end confdefs.h. */
23145 #include <math.h>
23147 main ()
23149 _modff(0, 0);
23151 return 0;
23153 _ACEOF
23154 if ac_fn_cxx_try_compile "$LINENO"; then :
23155 glibcxx_cv_func__modff_use=yes
23156 else
23157 glibcxx_cv_func__modff_use=no
23159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23160 ac_ext=c
23161 ac_cpp='$CPP $CPPFLAGS'
23162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23171 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23173 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23174 for ac_func in _modff
23175 do :
23176 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23177 if test "x$ac_cv_func__modff" = x""yes; then :
23178 cat >>confdefs.h <<_ACEOF
23179 #define HAVE__MODFF 1
23180 _ACEOF
23183 done
23192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23193 $as_echo_n "checking for modf declaration... " >&6; }
23194 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23195 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23196 $as_echo_n "(cached) " >&6
23197 else
23200 ac_ext=cpp
23201 ac_cpp='$CXXCPP $CPPFLAGS'
23202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23207 /* end confdefs.h. */
23208 #include <math.h>
23210 main ()
23212 modf(0, 0);
23214 return 0;
23216 _ACEOF
23217 if ac_fn_cxx_try_compile "$LINENO"; then :
23218 glibcxx_cv_func_modf_use=yes
23219 else
23220 glibcxx_cv_func_modf_use=no
23222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23223 ac_ext=c
23224 ac_cpp='$CPP $CPPFLAGS'
23225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23234 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23236 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23237 for ac_func in modf
23238 do :
23239 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23240 if test "x$ac_cv_func_modf" = x""yes; then :
23241 cat >>confdefs.h <<_ACEOF
23242 #define HAVE_MODF 1
23243 _ACEOF
23246 done
23248 else
23250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23251 $as_echo_n "checking for _modf declaration... " >&6; }
23252 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23253 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23254 $as_echo_n "(cached) " >&6
23255 else
23258 ac_ext=cpp
23259 ac_cpp='$CXXCPP $CPPFLAGS'
23260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23265 /* end confdefs.h. */
23266 #include <math.h>
23268 main ()
23270 _modf(0, 0);
23272 return 0;
23274 _ACEOF
23275 if ac_fn_cxx_try_compile "$LINENO"; then :
23276 glibcxx_cv_func__modf_use=yes
23277 else
23278 glibcxx_cv_func__modf_use=no
23280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23281 ac_ext=c
23282 ac_cpp='$CPP $CPPFLAGS'
23283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23292 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23294 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23295 for ac_func in _modf
23296 do :
23297 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23298 if test "x$ac_cv_func__modf" = x""yes; then :
23299 cat >>confdefs.h <<_ACEOF
23300 #define HAVE__MODF 1
23301 _ACEOF
23304 done
23313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23314 $as_echo_n "checking for powf declaration... " >&6; }
23315 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23316 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23317 $as_echo_n "(cached) " >&6
23318 else
23321 ac_ext=cpp
23322 ac_cpp='$CXXCPP $CPPFLAGS'
23323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23328 /* end confdefs.h. */
23329 #include <math.h>
23331 main ()
23333 powf(0, 0);
23335 return 0;
23337 _ACEOF
23338 if ac_fn_cxx_try_compile "$LINENO"; then :
23339 glibcxx_cv_func_powf_use=yes
23340 else
23341 glibcxx_cv_func_powf_use=no
23343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23344 ac_ext=c
23345 ac_cpp='$CPP $CPPFLAGS'
23346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23355 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23357 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23358 for ac_func in powf
23359 do :
23360 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23361 if test "x$ac_cv_func_powf" = x""yes; then :
23362 cat >>confdefs.h <<_ACEOF
23363 #define HAVE_POWF 1
23364 _ACEOF
23367 done
23369 else
23371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23372 $as_echo_n "checking for _powf declaration... " >&6; }
23373 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23374 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23375 $as_echo_n "(cached) " >&6
23376 else
23379 ac_ext=cpp
23380 ac_cpp='$CXXCPP $CPPFLAGS'
23381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23386 /* end confdefs.h. */
23387 #include <math.h>
23389 main ()
23391 _powf(0, 0);
23393 return 0;
23395 _ACEOF
23396 if ac_fn_cxx_try_compile "$LINENO"; then :
23397 glibcxx_cv_func__powf_use=yes
23398 else
23399 glibcxx_cv_func__powf_use=no
23401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23402 ac_ext=c
23403 ac_cpp='$CPP $CPPFLAGS'
23404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23413 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23415 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23416 for ac_func in _powf
23417 do :
23418 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23419 if test "x$ac_cv_func__powf" = x""yes; then :
23420 cat >>confdefs.h <<_ACEOF
23421 #define HAVE__POWF 1
23422 _ACEOF
23425 done
23434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23435 $as_echo_n "checking for sqrtf declaration... " >&6; }
23436 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23437 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23438 $as_echo_n "(cached) " >&6
23439 else
23442 ac_ext=cpp
23443 ac_cpp='$CXXCPP $CPPFLAGS'
23444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23449 /* end confdefs.h. */
23450 #include <math.h>
23451 #ifdef HAVE_IEEEFP_H
23452 #include <ieeefp.h>
23453 #endif
23456 main ()
23458 sqrtf(0);
23460 return 0;
23462 _ACEOF
23463 if ac_fn_cxx_try_compile "$LINENO"; then :
23464 glibcxx_cv_func_sqrtf_use=yes
23465 else
23466 glibcxx_cv_func_sqrtf_use=no
23468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23469 ac_ext=c
23470 ac_cpp='$CPP $CPPFLAGS'
23471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23480 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23482 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23483 for ac_func in sqrtf
23484 do :
23485 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23486 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23487 cat >>confdefs.h <<_ACEOF
23488 #define HAVE_SQRTF 1
23489 _ACEOF
23492 done
23494 else
23496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23497 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23498 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23499 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23500 $as_echo_n "(cached) " >&6
23501 else
23504 ac_ext=cpp
23505 ac_cpp='$CXXCPP $CPPFLAGS'
23506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23511 /* end confdefs.h. */
23512 #include <math.h>
23513 #ifdef HAVE_IEEEFP_H
23514 #include <ieeefp.h>
23515 #endif
23518 main ()
23520 _sqrtf(0);
23522 return 0;
23524 _ACEOF
23525 if ac_fn_cxx_try_compile "$LINENO"; then :
23526 glibcxx_cv_func__sqrtf_use=yes
23527 else
23528 glibcxx_cv_func__sqrtf_use=no
23530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23531 ac_ext=c
23532 ac_cpp='$CPP $CPPFLAGS'
23533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23542 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23544 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23545 for ac_func in _sqrtf
23546 do :
23547 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23548 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23549 cat >>confdefs.h <<_ACEOF
23550 #define HAVE__SQRTF 1
23551 _ACEOF
23554 done
23563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23564 $as_echo_n "checking for sincosf declaration... " >&6; }
23565 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23566 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23567 $as_echo_n "(cached) " >&6
23568 else
23571 ac_ext=cpp
23572 ac_cpp='$CXXCPP $CPPFLAGS'
23573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23578 /* end confdefs.h. */
23579 #include <math.h>
23581 main ()
23583 sincosf(0, 0, 0);
23585 return 0;
23587 _ACEOF
23588 if ac_fn_cxx_try_compile "$LINENO"; then :
23589 glibcxx_cv_func_sincosf_use=yes
23590 else
23591 glibcxx_cv_func_sincosf_use=no
23593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23594 ac_ext=c
23595 ac_cpp='$CPP $CPPFLAGS'
23596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23605 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23607 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23608 for ac_func in sincosf
23609 do :
23610 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23611 if test "x$ac_cv_func_sincosf" = x""yes; then :
23612 cat >>confdefs.h <<_ACEOF
23613 #define HAVE_SINCOSF 1
23614 _ACEOF
23617 done
23619 else
23621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23622 $as_echo_n "checking for _sincosf declaration... " >&6; }
23623 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23624 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23625 $as_echo_n "(cached) " >&6
23626 else
23629 ac_ext=cpp
23630 ac_cpp='$CXXCPP $CPPFLAGS'
23631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23636 /* end confdefs.h. */
23637 #include <math.h>
23639 main ()
23641 _sincosf(0, 0, 0);
23643 return 0;
23645 _ACEOF
23646 if ac_fn_cxx_try_compile "$LINENO"; then :
23647 glibcxx_cv_func__sincosf_use=yes
23648 else
23649 glibcxx_cv_func__sincosf_use=no
23651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23652 ac_ext=c
23653 ac_cpp='$CPP $CPPFLAGS'
23654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23663 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23665 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23666 for ac_func in _sincosf
23667 do :
23668 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23669 if test "x$ac_cv_func__sincosf" = x""yes; then :
23670 cat >>confdefs.h <<_ACEOF
23671 #define HAVE__SINCOSF 1
23672 _ACEOF
23675 done
23684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23685 $as_echo_n "checking for finitef declaration... " >&6; }
23686 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23687 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23688 $as_echo_n "(cached) " >&6
23689 else
23692 ac_ext=cpp
23693 ac_cpp='$CXXCPP $CPPFLAGS'
23694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23699 /* end confdefs.h. */
23700 #include <math.h>
23701 #ifdef HAVE_IEEEFP_H
23702 #include <ieeefp.h>
23703 #endif
23706 main ()
23708 finitef(0);
23710 return 0;
23712 _ACEOF
23713 if ac_fn_cxx_try_compile "$LINENO"; then :
23714 glibcxx_cv_func_finitef_use=yes
23715 else
23716 glibcxx_cv_func_finitef_use=no
23718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23719 ac_ext=c
23720 ac_cpp='$CPP $CPPFLAGS'
23721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23730 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23732 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23733 for ac_func in finitef
23734 do :
23735 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23736 if test "x$ac_cv_func_finitef" = x""yes; then :
23737 cat >>confdefs.h <<_ACEOF
23738 #define HAVE_FINITEF 1
23739 _ACEOF
23742 done
23744 else
23746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23747 $as_echo_n "checking for _finitef declaration... " >&6; }
23748 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23749 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23750 $as_echo_n "(cached) " >&6
23751 else
23754 ac_ext=cpp
23755 ac_cpp='$CXXCPP $CPPFLAGS'
23756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23761 /* end confdefs.h. */
23762 #include <math.h>
23763 #ifdef HAVE_IEEEFP_H
23764 #include <ieeefp.h>
23765 #endif
23768 main ()
23770 _finitef(0);
23772 return 0;
23774 _ACEOF
23775 if ac_fn_cxx_try_compile "$LINENO"; then :
23776 glibcxx_cv_func__finitef_use=yes
23777 else
23778 glibcxx_cv_func__finitef_use=no
23780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23781 ac_ext=c
23782 ac_cpp='$CPP $CPPFLAGS'
23783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23792 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23794 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23795 for ac_func in _finitef
23796 do :
23797 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23798 if test "x$ac_cv_func__finitef" = x""yes; then :
23799 cat >>confdefs.h <<_ACEOF
23800 #define HAVE__FINITEF 1
23801 _ACEOF
23804 done
23813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23814 $as_echo_n "checking for long double trig functions... " >&6; }
23815 if test "${glibcxx_cv_func_long_double_trig_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>
23830 main ()
23832 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23834 return 0;
23836 _ACEOF
23837 if ac_fn_cxx_try_compile "$LINENO"; then :
23838 glibcxx_cv_func_long_double_trig_use=yes
23839 else
23840 glibcxx_cv_func_long_double_trig_use=no
23842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23843 ac_ext=c
23844 ac_cpp='$CPP $CPPFLAGS'
23845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23852 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23853 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23854 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23855 do :
23856 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23857 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23858 eval as_val=\$$as_ac_var
23859 if test "x$as_val" = x""yes; then :
23860 cat >>confdefs.h <<_ACEOF
23861 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23862 _ACEOF
23865 done
23867 else
23868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23869 $as_echo_n "checking for _long double trig functions... " >&6; }
23870 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23871 $as_echo_n "(cached) " >&6
23872 else
23875 ac_ext=cpp
23876 ac_cpp='$CXXCPP $CPPFLAGS'
23877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23882 /* end confdefs.h. */
23883 #include <math.h>
23885 main ()
23887 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23889 return 0;
23891 _ACEOF
23892 if ac_fn_cxx_try_compile "$LINENO"; then :
23893 glibcxx_cv_func__long_double_trig_use=yes
23894 else
23895 glibcxx_cv_func__long_double_trig_use=no
23897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23898 ac_ext=c
23899 ac_cpp='$CPP $CPPFLAGS'
23900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23907 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23908 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23909 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23910 do :
23911 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23912 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23913 eval as_val=\$$as_ac_var
23914 if test "x$as_val" = x""yes; then :
23915 cat >>confdefs.h <<_ACEOF
23916 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23917 _ACEOF
23920 done
23929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23930 $as_echo_n "checking for long double round functions... " >&6; }
23931 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23932 $as_echo_n "(cached) " >&6
23933 else
23936 ac_ext=cpp
23937 ac_cpp='$CXXCPP $CPPFLAGS'
23938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23943 /* end confdefs.h. */
23944 #include <math.h>
23946 main ()
23948 ceill (0); floorl (0);
23950 return 0;
23952 _ACEOF
23953 if ac_fn_cxx_try_compile "$LINENO"; then :
23954 glibcxx_cv_func_long_double_round_use=yes
23955 else
23956 glibcxx_cv_func_long_double_round_use=no
23958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23959 ac_ext=c
23960 ac_cpp='$CPP $CPPFLAGS'
23961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23968 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23969 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23970 for ac_func in ceill floorl
23971 do :
23972 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23973 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23974 eval as_val=\$$as_ac_var
23975 if test "x$as_val" = x""yes; then :
23976 cat >>confdefs.h <<_ACEOF
23977 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23978 _ACEOF
23981 done
23983 else
23984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23985 $as_echo_n "checking for _long double round functions... " >&6; }
23986 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23987 $as_echo_n "(cached) " >&6
23988 else
23991 ac_ext=cpp
23992 ac_cpp='$CXXCPP $CPPFLAGS'
23993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23998 /* end confdefs.h. */
23999 #include <math.h>
24001 main ()
24003 _ceill (0); _floorl (0);
24005 return 0;
24007 _ACEOF
24008 if ac_fn_cxx_try_compile "$LINENO"; then :
24009 glibcxx_cv_func__long_double_round_use=yes
24010 else
24011 glibcxx_cv_func__long_double_round_use=no
24013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24014 ac_ext=c
24015 ac_cpp='$CPP $CPPFLAGS'
24016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24023 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24024 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24025 for ac_func in _ceill _floorl
24026 do :
24027 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24028 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24029 eval as_val=\$$as_ac_var
24030 if test "x$as_val" = x""yes; then :
24031 cat >>confdefs.h <<_ACEOF
24032 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24033 _ACEOF
24036 done
24046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24047 $as_echo_n "checking for isnanl declaration... " >&6; }
24048 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24049 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24050 $as_echo_n "(cached) " >&6
24051 else
24054 ac_ext=cpp
24055 ac_cpp='$CXXCPP $CPPFLAGS'
24056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24061 /* end confdefs.h. */
24062 #include <math.h>
24063 #ifdef HAVE_IEEEFP_H
24064 #include <ieeefp.h>
24065 #endif
24068 main ()
24070 isnanl(0);
24072 return 0;
24074 _ACEOF
24075 if ac_fn_cxx_try_compile "$LINENO"; then :
24076 glibcxx_cv_func_isnanl_use=yes
24077 else
24078 glibcxx_cv_func_isnanl_use=no
24080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24081 ac_ext=c
24082 ac_cpp='$CPP $CPPFLAGS'
24083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24092 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24094 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24095 for ac_func in isnanl
24096 do :
24097 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24098 if test "x$ac_cv_func_isnanl" = x""yes; then :
24099 cat >>confdefs.h <<_ACEOF
24100 #define HAVE_ISNANL 1
24101 _ACEOF
24104 done
24106 else
24108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24109 $as_echo_n "checking for _isnanl declaration... " >&6; }
24110 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24111 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24112 $as_echo_n "(cached) " >&6
24113 else
24116 ac_ext=cpp
24117 ac_cpp='$CXXCPP $CPPFLAGS'
24118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24123 /* end confdefs.h. */
24124 #include <math.h>
24125 #ifdef HAVE_IEEEFP_H
24126 #include <ieeefp.h>
24127 #endif
24130 main ()
24132 _isnanl(0);
24134 return 0;
24136 _ACEOF
24137 if ac_fn_cxx_try_compile "$LINENO"; then :
24138 glibcxx_cv_func__isnanl_use=yes
24139 else
24140 glibcxx_cv_func__isnanl_use=no
24142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24143 ac_ext=c
24144 ac_cpp='$CPP $CPPFLAGS'
24145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24154 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24156 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24157 for ac_func in _isnanl
24158 do :
24159 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24160 if test "x$ac_cv_func__isnanl" = x""yes; then :
24161 cat >>confdefs.h <<_ACEOF
24162 #define HAVE__ISNANL 1
24163 _ACEOF
24166 done
24175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24176 $as_echo_n "checking for isinfl declaration... " >&6; }
24177 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24178 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24179 $as_echo_n "(cached) " >&6
24180 else
24183 ac_ext=cpp
24184 ac_cpp='$CXXCPP $CPPFLAGS'
24185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24190 /* end confdefs.h. */
24191 #include <math.h>
24192 #ifdef HAVE_IEEEFP_H
24193 #include <ieeefp.h>
24194 #endif
24197 main ()
24199 isinfl(0);
24201 return 0;
24203 _ACEOF
24204 if ac_fn_cxx_try_compile "$LINENO"; then :
24205 glibcxx_cv_func_isinfl_use=yes
24206 else
24207 glibcxx_cv_func_isinfl_use=no
24209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24210 ac_ext=c
24211 ac_cpp='$CPP $CPPFLAGS'
24212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24221 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24223 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24224 for ac_func in isinfl
24225 do :
24226 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24227 if test "x$ac_cv_func_isinfl" = x""yes; then :
24228 cat >>confdefs.h <<_ACEOF
24229 #define HAVE_ISINFL 1
24230 _ACEOF
24233 done
24235 else
24237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24238 $as_echo_n "checking for _isinfl declaration... " >&6; }
24239 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24240 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24241 $as_echo_n "(cached) " >&6
24242 else
24245 ac_ext=cpp
24246 ac_cpp='$CXXCPP $CPPFLAGS'
24247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24252 /* end confdefs.h. */
24253 #include <math.h>
24254 #ifdef HAVE_IEEEFP_H
24255 #include <ieeefp.h>
24256 #endif
24259 main ()
24261 _isinfl(0);
24263 return 0;
24265 _ACEOF
24266 if ac_fn_cxx_try_compile "$LINENO"; then :
24267 glibcxx_cv_func__isinfl_use=yes
24268 else
24269 glibcxx_cv_func__isinfl_use=no
24271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24272 ac_ext=c
24273 ac_cpp='$CPP $CPPFLAGS'
24274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24283 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24285 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24286 for ac_func in _isinfl
24287 do :
24288 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24289 if test "x$ac_cv_func__isinfl" = x""yes; then :
24290 cat >>confdefs.h <<_ACEOF
24291 #define HAVE__ISINFL 1
24292 _ACEOF
24295 done
24304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24305 $as_echo_n "checking for atan2l declaration... " >&6; }
24306 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24307 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24308 $as_echo_n "(cached) " >&6
24309 else
24312 ac_ext=cpp
24313 ac_cpp='$CXXCPP $CPPFLAGS'
24314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24319 /* end confdefs.h. */
24320 #include <math.h>
24322 main ()
24324 atan2l(0, 0);
24326 return 0;
24328 _ACEOF
24329 if ac_fn_cxx_try_compile "$LINENO"; then :
24330 glibcxx_cv_func_atan2l_use=yes
24331 else
24332 glibcxx_cv_func_atan2l_use=no
24334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24335 ac_ext=c
24336 ac_cpp='$CPP $CPPFLAGS'
24337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24346 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24348 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24349 for ac_func in atan2l
24350 do :
24351 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24352 if test "x$ac_cv_func_atan2l" = x""yes; then :
24353 cat >>confdefs.h <<_ACEOF
24354 #define HAVE_ATAN2L 1
24355 _ACEOF
24358 done
24360 else
24362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24363 $as_echo_n "checking for _atan2l declaration... " >&6; }
24364 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24365 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24366 $as_echo_n "(cached) " >&6
24367 else
24370 ac_ext=cpp
24371 ac_cpp='$CXXCPP $CPPFLAGS'
24372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24377 /* end confdefs.h. */
24378 #include <math.h>
24380 main ()
24382 _atan2l(0, 0);
24384 return 0;
24386 _ACEOF
24387 if ac_fn_cxx_try_compile "$LINENO"; then :
24388 glibcxx_cv_func__atan2l_use=yes
24389 else
24390 glibcxx_cv_func__atan2l_use=no
24392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24393 ac_ext=c
24394 ac_cpp='$CPP $CPPFLAGS'
24395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24404 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24406 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24407 for ac_func in _atan2l
24408 do :
24409 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24410 if test "x$ac_cv_func__atan2l" = x""yes; then :
24411 cat >>confdefs.h <<_ACEOF
24412 #define HAVE__ATAN2L 1
24413 _ACEOF
24416 done
24425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24426 $as_echo_n "checking for expl declaration... " >&6; }
24427 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24428 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24429 $as_echo_n "(cached) " >&6
24430 else
24433 ac_ext=cpp
24434 ac_cpp='$CXXCPP $CPPFLAGS'
24435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24440 /* end confdefs.h. */
24441 #include <math.h>
24442 #ifdef HAVE_IEEEFP_H
24443 #include <ieeefp.h>
24444 #endif
24447 main ()
24449 expl(0);
24451 return 0;
24453 _ACEOF
24454 if ac_fn_cxx_try_compile "$LINENO"; then :
24455 glibcxx_cv_func_expl_use=yes
24456 else
24457 glibcxx_cv_func_expl_use=no
24459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24460 ac_ext=c
24461 ac_cpp='$CPP $CPPFLAGS'
24462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24471 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24473 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24474 for ac_func in expl
24475 do :
24476 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24477 if test "x$ac_cv_func_expl" = x""yes; then :
24478 cat >>confdefs.h <<_ACEOF
24479 #define HAVE_EXPL 1
24480 _ACEOF
24483 done
24485 else
24487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24488 $as_echo_n "checking for _expl declaration... " >&6; }
24489 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24490 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24491 $as_echo_n "(cached) " >&6
24492 else
24495 ac_ext=cpp
24496 ac_cpp='$CXXCPP $CPPFLAGS'
24497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24502 /* end confdefs.h. */
24503 #include <math.h>
24504 #ifdef HAVE_IEEEFP_H
24505 #include <ieeefp.h>
24506 #endif
24509 main ()
24511 _expl(0);
24513 return 0;
24515 _ACEOF
24516 if ac_fn_cxx_try_compile "$LINENO"; then :
24517 glibcxx_cv_func__expl_use=yes
24518 else
24519 glibcxx_cv_func__expl_use=no
24521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24522 ac_ext=c
24523 ac_cpp='$CPP $CPPFLAGS'
24524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24533 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24535 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24536 for ac_func in _expl
24537 do :
24538 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24539 if test "x$ac_cv_func__expl" = x""yes; then :
24540 cat >>confdefs.h <<_ACEOF
24541 #define HAVE__EXPL 1
24542 _ACEOF
24545 done
24554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24555 $as_echo_n "checking for fabsl declaration... " >&6; }
24556 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24557 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24558 $as_echo_n "(cached) " >&6
24559 else
24562 ac_ext=cpp
24563 ac_cpp='$CXXCPP $CPPFLAGS'
24564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24569 /* end confdefs.h. */
24570 #include <math.h>
24571 #ifdef HAVE_IEEEFP_H
24572 #include <ieeefp.h>
24573 #endif
24576 main ()
24578 fabsl(0);
24580 return 0;
24582 _ACEOF
24583 if ac_fn_cxx_try_compile "$LINENO"; then :
24584 glibcxx_cv_func_fabsl_use=yes
24585 else
24586 glibcxx_cv_func_fabsl_use=no
24588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24589 ac_ext=c
24590 ac_cpp='$CPP $CPPFLAGS'
24591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24600 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24602 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24603 for ac_func in fabsl
24604 do :
24605 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24606 if test "x$ac_cv_func_fabsl" = x""yes; then :
24607 cat >>confdefs.h <<_ACEOF
24608 #define HAVE_FABSL 1
24609 _ACEOF
24612 done
24614 else
24616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24617 $as_echo_n "checking for _fabsl declaration... " >&6; }
24618 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24619 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24620 $as_echo_n "(cached) " >&6
24621 else
24624 ac_ext=cpp
24625 ac_cpp='$CXXCPP $CPPFLAGS'
24626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24631 /* end confdefs.h. */
24632 #include <math.h>
24633 #ifdef HAVE_IEEEFP_H
24634 #include <ieeefp.h>
24635 #endif
24638 main ()
24640 _fabsl(0);
24642 return 0;
24644 _ACEOF
24645 if ac_fn_cxx_try_compile "$LINENO"; then :
24646 glibcxx_cv_func__fabsl_use=yes
24647 else
24648 glibcxx_cv_func__fabsl_use=no
24650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24651 ac_ext=c
24652 ac_cpp='$CPP $CPPFLAGS'
24653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24662 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24664 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24665 for ac_func in _fabsl
24666 do :
24667 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24668 if test "x$ac_cv_func__fabsl" = x""yes; then :
24669 cat >>confdefs.h <<_ACEOF
24670 #define HAVE__FABSL 1
24671 _ACEOF
24674 done
24683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24684 $as_echo_n "checking for fmodl declaration... " >&6; }
24685 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24686 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24687 $as_echo_n "(cached) " >&6
24688 else
24691 ac_ext=cpp
24692 ac_cpp='$CXXCPP $CPPFLAGS'
24693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24698 /* end confdefs.h. */
24699 #include <math.h>
24701 main ()
24703 fmodl(0, 0);
24705 return 0;
24707 _ACEOF
24708 if ac_fn_cxx_try_compile "$LINENO"; then :
24709 glibcxx_cv_func_fmodl_use=yes
24710 else
24711 glibcxx_cv_func_fmodl_use=no
24713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24714 ac_ext=c
24715 ac_cpp='$CPP $CPPFLAGS'
24716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24725 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24727 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24728 for ac_func in fmodl
24729 do :
24730 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24731 if test "x$ac_cv_func_fmodl" = x""yes; then :
24732 cat >>confdefs.h <<_ACEOF
24733 #define HAVE_FMODL 1
24734 _ACEOF
24737 done
24739 else
24741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24742 $as_echo_n "checking for _fmodl declaration... " >&6; }
24743 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24744 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24745 $as_echo_n "(cached) " >&6
24746 else
24749 ac_ext=cpp
24750 ac_cpp='$CXXCPP $CPPFLAGS'
24751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24756 /* end confdefs.h. */
24757 #include <math.h>
24759 main ()
24761 _fmodl(0, 0);
24763 return 0;
24765 _ACEOF
24766 if ac_fn_cxx_try_compile "$LINENO"; then :
24767 glibcxx_cv_func__fmodl_use=yes
24768 else
24769 glibcxx_cv_func__fmodl_use=no
24771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24772 ac_ext=c
24773 ac_cpp='$CPP $CPPFLAGS'
24774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24783 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24785 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24786 for ac_func in _fmodl
24787 do :
24788 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24789 if test "x$ac_cv_func__fmodl" = x""yes; then :
24790 cat >>confdefs.h <<_ACEOF
24791 #define HAVE__FMODL 1
24792 _ACEOF
24795 done
24804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24805 $as_echo_n "checking for frexpl declaration... " >&6; }
24806 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24807 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24808 $as_echo_n "(cached) " >&6
24809 else
24812 ac_ext=cpp
24813 ac_cpp='$CXXCPP $CPPFLAGS'
24814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24819 /* end confdefs.h. */
24820 #include <math.h>
24822 main ()
24824 frexpl(0, 0);
24826 return 0;
24828 _ACEOF
24829 if ac_fn_cxx_try_compile "$LINENO"; then :
24830 glibcxx_cv_func_frexpl_use=yes
24831 else
24832 glibcxx_cv_func_frexpl_use=no
24834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24835 ac_ext=c
24836 ac_cpp='$CPP $CPPFLAGS'
24837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24846 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24848 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24849 for ac_func in frexpl
24850 do :
24851 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24852 if test "x$ac_cv_func_frexpl" = x""yes; then :
24853 cat >>confdefs.h <<_ACEOF
24854 #define HAVE_FREXPL 1
24855 _ACEOF
24858 done
24860 else
24862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24863 $as_echo_n "checking for _frexpl declaration... " >&6; }
24864 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24865 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24866 $as_echo_n "(cached) " >&6
24867 else
24870 ac_ext=cpp
24871 ac_cpp='$CXXCPP $CPPFLAGS'
24872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24877 /* end confdefs.h. */
24878 #include <math.h>
24880 main ()
24882 _frexpl(0, 0);
24884 return 0;
24886 _ACEOF
24887 if ac_fn_cxx_try_compile "$LINENO"; then :
24888 glibcxx_cv_func__frexpl_use=yes
24889 else
24890 glibcxx_cv_func__frexpl_use=no
24892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24893 ac_ext=c
24894 ac_cpp='$CPP $CPPFLAGS'
24895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24904 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24906 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24907 for ac_func in _frexpl
24908 do :
24909 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24910 if test "x$ac_cv_func__frexpl" = x""yes; then :
24911 cat >>confdefs.h <<_ACEOF
24912 #define HAVE__FREXPL 1
24913 _ACEOF
24916 done
24925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24926 $as_echo_n "checking for hypotl declaration... " >&6; }
24927 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24928 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24929 $as_echo_n "(cached) " >&6
24930 else
24933 ac_ext=cpp
24934 ac_cpp='$CXXCPP $CPPFLAGS'
24935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24940 /* end confdefs.h. */
24941 #include <math.h>
24943 main ()
24945 hypotl(0, 0);
24947 return 0;
24949 _ACEOF
24950 if ac_fn_cxx_try_compile "$LINENO"; then :
24951 glibcxx_cv_func_hypotl_use=yes
24952 else
24953 glibcxx_cv_func_hypotl_use=no
24955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24956 ac_ext=c
24957 ac_cpp='$CPP $CPPFLAGS'
24958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24967 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24969 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24970 for ac_func in hypotl
24971 do :
24972 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24973 if test "x$ac_cv_func_hypotl" = x""yes; then :
24974 cat >>confdefs.h <<_ACEOF
24975 #define HAVE_HYPOTL 1
24976 _ACEOF
24979 done
24981 else
24983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24984 $as_echo_n "checking for _hypotl declaration... " >&6; }
24985 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24986 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24987 $as_echo_n "(cached) " >&6
24988 else
24991 ac_ext=cpp
24992 ac_cpp='$CXXCPP $CPPFLAGS'
24993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24998 /* end confdefs.h. */
24999 #include <math.h>
25001 main ()
25003 _hypotl(0, 0);
25005 return 0;
25007 _ACEOF
25008 if ac_fn_cxx_try_compile "$LINENO"; then :
25009 glibcxx_cv_func__hypotl_use=yes
25010 else
25011 glibcxx_cv_func__hypotl_use=no
25013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25014 ac_ext=c
25015 ac_cpp='$CPP $CPPFLAGS'
25016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25025 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25027 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25028 for ac_func in _hypotl
25029 do :
25030 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25031 if test "x$ac_cv_func__hypotl" = x""yes; then :
25032 cat >>confdefs.h <<_ACEOF
25033 #define HAVE__HYPOTL 1
25034 _ACEOF
25037 done
25046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25047 $as_echo_n "checking for ldexpl declaration... " >&6; }
25048 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25049 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25050 $as_echo_n "(cached) " >&6
25051 else
25054 ac_ext=cpp
25055 ac_cpp='$CXXCPP $CPPFLAGS'
25056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25061 /* end confdefs.h. */
25062 #include <math.h>
25064 main ()
25066 ldexpl(0, 0);
25068 return 0;
25070 _ACEOF
25071 if ac_fn_cxx_try_compile "$LINENO"; then :
25072 glibcxx_cv_func_ldexpl_use=yes
25073 else
25074 glibcxx_cv_func_ldexpl_use=no
25076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25077 ac_ext=c
25078 ac_cpp='$CPP $CPPFLAGS'
25079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25088 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25090 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25091 for ac_func in ldexpl
25092 do :
25093 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25094 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25095 cat >>confdefs.h <<_ACEOF
25096 #define HAVE_LDEXPL 1
25097 _ACEOF
25100 done
25102 else
25104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25105 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25106 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25107 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25108 $as_echo_n "(cached) " >&6
25109 else
25112 ac_ext=cpp
25113 ac_cpp='$CXXCPP $CPPFLAGS'
25114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25119 /* end confdefs.h. */
25120 #include <math.h>
25122 main ()
25124 _ldexpl(0, 0);
25126 return 0;
25128 _ACEOF
25129 if ac_fn_cxx_try_compile "$LINENO"; then :
25130 glibcxx_cv_func__ldexpl_use=yes
25131 else
25132 glibcxx_cv_func__ldexpl_use=no
25134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25135 ac_ext=c
25136 ac_cpp='$CPP $CPPFLAGS'
25137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25146 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25148 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25149 for ac_func in _ldexpl
25150 do :
25151 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25152 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25153 cat >>confdefs.h <<_ACEOF
25154 #define HAVE__LDEXPL 1
25155 _ACEOF
25158 done
25167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25168 $as_echo_n "checking for logl declaration... " >&6; }
25169 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25170 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25171 $as_echo_n "(cached) " >&6
25172 else
25175 ac_ext=cpp
25176 ac_cpp='$CXXCPP $CPPFLAGS'
25177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25182 /* end confdefs.h. */
25183 #include <math.h>
25184 #ifdef HAVE_IEEEFP_H
25185 #include <ieeefp.h>
25186 #endif
25189 main ()
25191 logl(0);
25193 return 0;
25195 _ACEOF
25196 if ac_fn_cxx_try_compile "$LINENO"; then :
25197 glibcxx_cv_func_logl_use=yes
25198 else
25199 glibcxx_cv_func_logl_use=no
25201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25202 ac_ext=c
25203 ac_cpp='$CPP $CPPFLAGS'
25204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25213 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25215 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25216 for ac_func in logl
25217 do :
25218 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25219 if test "x$ac_cv_func_logl" = x""yes; then :
25220 cat >>confdefs.h <<_ACEOF
25221 #define HAVE_LOGL 1
25222 _ACEOF
25225 done
25227 else
25229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25230 $as_echo_n "checking for _logl declaration... " >&6; }
25231 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25232 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25233 $as_echo_n "(cached) " >&6
25234 else
25237 ac_ext=cpp
25238 ac_cpp='$CXXCPP $CPPFLAGS'
25239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25244 /* end confdefs.h. */
25245 #include <math.h>
25246 #ifdef HAVE_IEEEFP_H
25247 #include <ieeefp.h>
25248 #endif
25251 main ()
25253 _logl(0);
25255 return 0;
25257 _ACEOF
25258 if ac_fn_cxx_try_compile "$LINENO"; then :
25259 glibcxx_cv_func__logl_use=yes
25260 else
25261 glibcxx_cv_func__logl_use=no
25263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25264 ac_ext=c
25265 ac_cpp='$CPP $CPPFLAGS'
25266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25275 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25277 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25278 for ac_func in _logl
25279 do :
25280 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25281 if test "x$ac_cv_func__logl" = x""yes; then :
25282 cat >>confdefs.h <<_ACEOF
25283 #define HAVE__LOGL 1
25284 _ACEOF
25287 done
25296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25297 $as_echo_n "checking for log10l declaration... " >&6; }
25298 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25299 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25300 $as_echo_n "(cached) " >&6
25301 else
25304 ac_ext=cpp
25305 ac_cpp='$CXXCPP $CPPFLAGS'
25306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25311 /* end confdefs.h. */
25312 #include <math.h>
25313 #ifdef HAVE_IEEEFP_H
25314 #include <ieeefp.h>
25315 #endif
25318 main ()
25320 log10l(0);
25322 return 0;
25324 _ACEOF
25325 if ac_fn_cxx_try_compile "$LINENO"; then :
25326 glibcxx_cv_func_log10l_use=yes
25327 else
25328 glibcxx_cv_func_log10l_use=no
25330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25331 ac_ext=c
25332 ac_cpp='$CPP $CPPFLAGS'
25333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25342 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25344 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25345 for ac_func in log10l
25346 do :
25347 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25348 if test "x$ac_cv_func_log10l" = x""yes; then :
25349 cat >>confdefs.h <<_ACEOF
25350 #define HAVE_LOG10L 1
25351 _ACEOF
25354 done
25356 else
25358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25359 $as_echo_n "checking for _log10l declaration... " >&6; }
25360 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25361 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25362 $as_echo_n "(cached) " >&6
25363 else
25366 ac_ext=cpp
25367 ac_cpp='$CXXCPP $CPPFLAGS'
25368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25373 /* end confdefs.h. */
25374 #include <math.h>
25375 #ifdef HAVE_IEEEFP_H
25376 #include <ieeefp.h>
25377 #endif
25380 main ()
25382 _log10l(0);
25384 return 0;
25386 _ACEOF
25387 if ac_fn_cxx_try_compile "$LINENO"; then :
25388 glibcxx_cv_func__log10l_use=yes
25389 else
25390 glibcxx_cv_func__log10l_use=no
25392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25393 ac_ext=c
25394 ac_cpp='$CPP $CPPFLAGS'
25395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25404 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25406 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25407 for ac_func in _log10l
25408 do :
25409 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25410 if test "x$ac_cv_func__log10l" = x""yes; then :
25411 cat >>confdefs.h <<_ACEOF
25412 #define HAVE__LOG10L 1
25413 _ACEOF
25416 done
25425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25426 $as_echo_n "checking for modfl declaration... " >&6; }
25427 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25428 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25429 $as_echo_n "(cached) " >&6
25430 else
25433 ac_ext=cpp
25434 ac_cpp='$CXXCPP $CPPFLAGS'
25435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25440 /* end confdefs.h. */
25441 #include <math.h>
25443 main ()
25445 modfl(0, 0);
25447 return 0;
25449 _ACEOF
25450 if ac_fn_cxx_try_compile "$LINENO"; then :
25451 glibcxx_cv_func_modfl_use=yes
25452 else
25453 glibcxx_cv_func_modfl_use=no
25455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25456 ac_ext=c
25457 ac_cpp='$CPP $CPPFLAGS'
25458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25467 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25469 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25470 for ac_func in modfl
25471 do :
25472 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25473 if test "x$ac_cv_func_modfl" = x""yes; then :
25474 cat >>confdefs.h <<_ACEOF
25475 #define HAVE_MODFL 1
25476 _ACEOF
25479 done
25481 else
25483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25484 $as_echo_n "checking for _modfl declaration... " >&6; }
25485 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25486 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25487 $as_echo_n "(cached) " >&6
25488 else
25491 ac_ext=cpp
25492 ac_cpp='$CXXCPP $CPPFLAGS'
25493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25498 /* end confdefs.h. */
25499 #include <math.h>
25501 main ()
25503 _modfl(0, 0);
25505 return 0;
25507 _ACEOF
25508 if ac_fn_cxx_try_compile "$LINENO"; then :
25509 glibcxx_cv_func__modfl_use=yes
25510 else
25511 glibcxx_cv_func__modfl_use=no
25513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25514 ac_ext=c
25515 ac_cpp='$CPP $CPPFLAGS'
25516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25525 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25527 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25528 for ac_func in _modfl
25529 do :
25530 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25531 if test "x$ac_cv_func__modfl" = x""yes; then :
25532 cat >>confdefs.h <<_ACEOF
25533 #define HAVE__MODFL 1
25534 _ACEOF
25537 done
25546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25547 $as_echo_n "checking for powl declaration... " >&6; }
25548 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25549 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25550 $as_echo_n "(cached) " >&6
25551 else
25554 ac_ext=cpp
25555 ac_cpp='$CXXCPP $CPPFLAGS'
25556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25561 /* end confdefs.h. */
25562 #include <math.h>
25564 main ()
25566 powl(0, 0);
25568 return 0;
25570 _ACEOF
25571 if ac_fn_cxx_try_compile "$LINENO"; then :
25572 glibcxx_cv_func_powl_use=yes
25573 else
25574 glibcxx_cv_func_powl_use=no
25576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25577 ac_ext=c
25578 ac_cpp='$CPP $CPPFLAGS'
25579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25588 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25590 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25591 for ac_func in powl
25592 do :
25593 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25594 if test "x$ac_cv_func_powl" = x""yes; then :
25595 cat >>confdefs.h <<_ACEOF
25596 #define HAVE_POWL 1
25597 _ACEOF
25600 done
25602 else
25604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25605 $as_echo_n "checking for _powl declaration... " >&6; }
25606 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25607 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25608 $as_echo_n "(cached) " >&6
25609 else
25612 ac_ext=cpp
25613 ac_cpp='$CXXCPP $CPPFLAGS'
25614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25619 /* end confdefs.h. */
25620 #include <math.h>
25622 main ()
25624 _powl(0, 0);
25626 return 0;
25628 _ACEOF
25629 if ac_fn_cxx_try_compile "$LINENO"; then :
25630 glibcxx_cv_func__powl_use=yes
25631 else
25632 glibcxx_cv_func__powl_use=no
25634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25635 ac_ext=c
25636 ac_cpp='$CPP $CPPFLAGS'
25637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25646 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25648 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25649 for ac_func in _powl
25650 do :
25651 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25652 if test "x$ac_cv_func__powl" = x""yes; then :
25653 cat >>confdefs.h <<_ACEOF
25654 #define HAVE__POWL 1
25655 _ACEOF
25658 done
25667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25668 $as_echo_n "checking for sqrtl declaration... " >&6; }
25669 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25670 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25671 $as_echo_n "(cached) " >&6
25672 else
25675 ac_ext=cpp
25676 ac_cpp='$CXXCPP $CPPFLAGS'
25677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25682 /* end confdefs.h. */
25683 #include <math.h>
25684 #ifdef HAVE_IEEEFP_H
25685 #include <ieeefp.h>
25686 #endif
25689 main ()
25691 sqrtl(0);
25693 return 0;
25695 _ACEOF
25696 if ac_fn_cxx_try_compile "$LINENO"; then :
25697 glibcxx_cv_func_sqrtl_use=yes
25698 else
25699 glibcxx_cv_func_sqrtl_use=no
25701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25702 ac_ext=c
25703 ac_cpp='$CPP $CPPFLAGS'
25704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25713 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25715 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25716 for ac_func in sqrtl
25717 do :
25718 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25719 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25720 cat >>confdefs.h <<_ACEOF
25721 #define HAVE_SQRTL 1
25722 _ACEOF
25725 done
25727 else
25729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25730 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25731 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25732 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25733 $as_echo_n "(cached) " >&6
25734 else
25737 ac_ext=cpp
25738 ac_cpp='$CXXCPP $CPPFLAGS'
25739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25744 /* end confdefs.h. */
25745 #include <math.h>
25746 #ifdef HAVE_IEEEFP_H
25747 #include <ieeefp.h>
25748 #endif
25751 main ()
25753 _sqrtl(0);
25755 return 0;
25757 _ACEOF
25758 if ac_fn_cxx_try_compile "$LINENO"; then :
25759 glibcxx_cv_func__sqrtl_use=yes
25760 else
25761 glibcxx_cv_func__sqrtl_use=no
25763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25764 ac_ext=c
25765 ac_cpp='$CPP $CPPFLAGS'
25766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25775 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25777 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25778 for ac_func in _sqrtl
25779 do :
25780 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25781 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25782 cat >>confdefs.h <<_ACEOF
25783 #define HAVE__SQRTL 1
25784 _ACEOF
25787 done
25796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25797 $as_echo_n "checking for sincosl declaration... " >&6; }
25798 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25799 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25800 $as_echo_n "(cached) " >&6
25801 else
25804 ac_ext=cpp
25805 ac_cpp='$CXXCPP $CPPFLAGS'
25806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25811 /* end confdefs.h. */
25812 #include <math.h>
25814 main ()
25816 sincosl(0, 0, 0);
25818 return 0;
25820 _ACEOF
25821 if ac_fn_cxx_try_compile "$LINENO"; then :
25822 glibcxx_cv_func_sincosl_use=yes
25823 else
25824 glibcxx_cv_func_sincosl_use=no
25826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25827 ac_ext=c
25828 ac_cpp='$CPP $CPPFLAGS'
25829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25838 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25840 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25841 for ac_func in sincosl
25842 do :
25843 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25844 if test "x$ac_cv_func_sincosl" = x""yes; then :
25845 cat >>confdefs.h <<_ACEOF
25846 #define HAVE_SINCOSL 1
25847 _ACEOF
25850 done
25852 else
25854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25855 $as_echo_n "checking for _sincosl declaration... " >&6; }
25856 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25857 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25858 $as_echo_n "(cached) " >&6
25859 else
25862 ac_ext=cpp
25863 ac_cpp='$CXXCPP $CPPFLAGS'
25864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25869 /* end confdefs.h. */
25870 #include <math.h>
25872 main ()
25874 _sincosl(0, 0, 0);
25876 return 0;
25878 _ACEOF
25879 if ac_fn_cxx_try_compile "$LINENO"; then :
25880 glibcxx_cv_func__sincosl_use=yes
25881 else
25882 glibcxx_cv_func__sincosl_use=no
25884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25885 ac_ext=c
25886 ac_cpp='$CPP $CPPFLAGS'
25887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25896 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25898 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25899 for ac_func in _sincosl
25900 do :
25901 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25902 if test "x$ac_cv_func__sincosl" = x""yes; then :
25903 cat >>confdefs.h <<_ACEOF
25904 #define HAVE__SINCOSL 1
25905 _ACEOF
25908 done
25917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25918 $as_echo_n "checking for finitel declaration... " >&6; }
25919 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25920 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25921 $as_echo_n "(cached) " >&6
25922 else
25925 ac_ext=cpp
25926 ac_cpp='$CXXCPP $CPPFLAGS'
25927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25932 /* end confdefs.h. */
25933 #include <math.h>
25934 #ifdef HAVE_IEEEFP_H
25935 #include <ieeefp.h>
25936 #endif
25939 main ()
25941 finitel(0);
25943 return 0;
25945 _ACEOF
25946 if ac_fn_cxx_try_compile "$LINENO"; then :
25947 glibcxx_cv_func_finitel_use=yes
25948 else
25949 glibcxx_cv_func_finitel_use=no
25951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25952 ac_ext=c
25953 ac_cpp='$CPP $CPPFLAGS'
25954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25963 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25965 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25966 for ac_func in finitel
25967 do :
25968 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25969 if test "x$ac_cv_func_finitel" = x""yes; then :
25970 cat >>confdefs.h <<_ACEOF
25971 #define HAVE_FINITEL 1
25972 _ACEOF
25975 done
25977 else
25979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25980 $as_echo_n "checking for _finitel declaration... " >&6; }
25981 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25982 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25983 $as_echo_n "(cached) " >&6
25984 else
25987 ac_ext=cpp
25988 ac_cpp='$CXXCPP $CPPFLAGS'
25989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25994 /* end confdefs.h. */
25995 #include <math.h>
25996 #ifdef HAVE_IEEEFP_H
25997 #include <ieeefp.h>
25998 #endif
26001 main ()
26003 _finitel(0);
26005 return 0;
26007 _ACEOF
26008 if ac_fn_cxx_try_compile "$LINENO"; then :
26009 glibcxx_cv_func__finitel_use=yes
26010 else
26011 glibcxx_cv_func__finitel_use=no
26013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26014 ac_ext=c
26015 ac_cpp='$CPP $CPPFLAGS'
26016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26025 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26027 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26028 for ac_func in _finitel
26029 do :
26030 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26031 if test "x$ac_cv_func__finitel" = x""yes; then :
26032 cat >>confdefs.h <<_ACEOF
26033 #define HAVE__FINITEL 1
26034 _ACEOF
26037 done
26045 LIBS="$ac_save_LIBS"
26046 CXXFLAGS="$ac_save_CXXFLAGS"
26049 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26050 ac_save_CXXFLAGS="$CXXFLAGS"
26051 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26055 $as_echo_n "checking for strtold declaration... " >&6; }
26056 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26057 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26058 $as_echo_n "(cached) " >&6
26059 else
26062 ac_ext=cpp
26063 ac_cpp='$CXXCPP $CPPFLAGS'
26064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26069 /* end confdefs.h. */
26070 #include <stdlib.h>
26072 main ()
26074 strtold(0, 0);
26076 return 0;
26078 _ACEOF
26079 if ac_fn_cxx_try_compile "$LINENO"; then :
26080 glibcxx_cv_func_strtold_use=yes
26081 else
26082 glibcxx_cv_func_strtold_use=no
26084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26085 ac_ext=c
26086 ac_cpp='$CPP $CPPFLAGS'
26087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26096 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26097 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26098 for ac_func in strtold
26099 do :
26100 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26101 if test "x$ac_cv_func_strtold" = x""yes; then :
26102 cat >>confdefs.h <<_ACEOF
26103 #define HAVE_STRTOLD 1
26104 _ACEOF
26107 done
26114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26115 $as_echo_n "checking for strtof declaration... " >&6; }
26116 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26117 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26118 $as_echo_n "(cached) " >&6
26119 else
26122 ac_ext=cpp
26123 ac_cpp='$CXXCPP $CPPFLAGS'
26124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26129 /* end confdefs.h. */
26130 #include <stdlib.h>
26132 main ()
26134 strtof(0, 0);
26136 return 0;
26138 _ACEOF
26139 if ac_fn_cxx_try_compile "$LINENO"; then :
26140 glibcxx_cv_func_strtof_use=yes
26141 else
26142 glibcxx_cv_func_strtof_use=no
26144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26145 ac_ext=c
26146 ac_cpp='$CPP $CPPFLAGS'
26147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26156 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26157 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26158 for ac_func in strtof
26159 do :
26160 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26161 if test "x$ac_cv_func_strtof" = x""yes; then :
26162 cat >>confdefs.h <<_ACEOF
26163 #define HAVE_STRTOF 1
26164 _ACEOF
26167 done
26174 CXXFLAGS="$ac_save_CXXFLAGS"
26177 # For /dev/random and /dev/urandom for TR1.
26180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26181 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26182 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26183 $as_echo_n "(cached) " >&6
26184 else
26186 if test -r /dev/random && test -r /dev/urandom; then
26187 glibcxx_cv_random_tr1=yes;
26188 else
26189 glibcxx_cv_random_tr1=no;
26194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26195 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26197 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26199 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26205 # For TLS support.
26208 # Check whether --enable-tls was given.
26209 if test "${enable_tls+set}" = set; then :
26210 enableval=$enable_tls;
26211 case "$enableval" in
26212 yes|no) ;;
26213 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26214 esac
26216 else
26217 enable_tls=yes
26221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26222 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26223 if test "${gcc_cv_have_tls+set}" = set; then :
26224 $as_echo_n "(cached) " >&6
26225 else
26227 if test "$cross_compiling" = yes; then :
26228 if test x$gcc_no_link = xyes; then
26229 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26232 /* end confdefs.h. */
26233 __thread int a; int b; int main() { return a = b; }
26234 _ACEOF
26235 if ac_fn_c_try_link "$LINENO"; then :
26236 chktls_save_LDFLAGS="$LDFLAGS"
26237 case $host in
26238 *-*-linux*)
26239 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26241 esac
26242 chktls_save_CFLAGS="$CFLAGS"
26243 CFLAGS="-fPIC $CFLAGS"
26244 if test x$gcc_no_link = xyes; then
26245 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26248 /* end confdefs.h. */
26249 int f() { return 0; }
26250 _ACEOF
26251 if ac_fn_c_try_link "$LINENO"; then :
26252 if test x$gcc_no_link = xyes; then
26253 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26256 /* end confdefs.h. */
26257 __thread int a; int b; int f() { return a = b; }
26258 _ACEOF
26259 if ac_fn_c_try_link "$LINENO"; then :
26260 gcc_cv_have_tls=yes
26261 else
26262 gcc_cv_have_tls=no
26264 rm -f core conftest.err conftest.$ac_objext \
26265 conftest$ac_exeext conftest.$ac_ext
26266 else
26267 gcc_cv_have_tls=yes
26269 rm -f core conftest.err conftest.$ac_objext \
26270 conftest$ac_exeext conftest.$ac_ext
26271 CFLAGS="$chktls_save_CFLAGS"
26272 LDFLAGS="$chktls_save_LDFLAGS"
26273 else
26274 gcc_cv_have_tls=no
26276 rm -f core conftest.err conftest.$ac_objext \
26277 conftest$ac_exeext conftest.$ac_ext
26280 else
26281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26282 /* end confdefs.h. */
26283 __thread int a; int b; int main() { return a = b; }
26284 _ACEOF
26285 if ac_fn_c_try_run "$LINENO"; then :
26286 chktls_save_LDFLAGS="$LDFLAGS"
26287 LDFLAGS="-static $LDFLAGS"
26288 if test x$gcc_no_link = xyes; then
26289 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26292 /* end confdefs.h. */
26293 int main() { return 0; }
26294 _ACEOF
26295 if ac_fn_c_try_link "$LINENO"; then :
26296 if test "$cross_compiling" = yes; then :
26297 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26299 as_fn_error "cannot run test program while cross compiling
26300 See \`config.log' for more details." "$LINENO" 5; }
26301 else
26302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26303 /* end confdefs.h. */
26304 __thread int a; int b; int main() { return a = b; }
26305 _ACEOF
26306 if ac_fn_c_try_run "$LINENO"; then :
26307 gcc_cv_have_tls=yes
26308 else
26309 gcc_cv_have_tls=no
26311 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26312 conftest.$ac_objext conftest.beam conftest.$ac_ext
26315 else
26316 gcc_cv_have_tls=yes
26318 rm -f core conftest.err conftest.$ac_objext \
26319 conftest$ac_exeext conftest.$ac_ext
26320 LDFLAGS="$chktls_save_LDFLAGS"
26321 if test $gcc_cv_have_tls = yes; then
26322 chktls_save_CFLAGS="$CFLAGS"
26323 thread_CFLAGS=failed
26324 for flag in '' '-pthread' '-lpthread'; do
26325 CFLAGS="$flag $chktls_save_CFLAGS"
26326 if test x$gcc_no_link = xyes; then
26327 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26330 /* end confdefs.h. */
26331 #include <pthread.h>
26332 void *g(void *d) { return NULL; }
26334 main ()
26336 pthread_t t; pthread_create(&t,NULL,g,NULL);
26338 return 0;
26340 _ACEOF
26341 if ac_fn_c_try_link "$LINENO"; then :
26342 thread_CFLAGS="$flag"
26344 rm -f core conftest.err conftest.$ac_objext \
26345 conftest$ac_exeext conftest.$ac_ext
26346 if test "X$thread_CFLAGS" != Xfailed; then
26347 break
26349 done
26350 CFLAGS="$chktls_save_CFLAGS"
26351 if test "X$thread_CFLAGS" != Xfailed; then
26352 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26353 if test "$cross_compiling" = yes; then :
26354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26356 as_fn_error "cannot run test program while cross compiling
26357 See \`config.log' for more details." "$LINENO" 5; }
26358 else
26359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26360 /* end confdefs.h. */
26361 #include <pthread.h>
26362 __thread int a;
26363 static int *volatile a_in_other_thread;
26364 static void *
26365 thread_func (void *arg)
26367 a_in_other_thread = &a;
26368 return (void *)0;
26371 main ()
26373 pthread_t thread;
26374 void *thread_retval;
26375 int *volatile a_in_main_thread;
26376 a_in_main_thread = &a;
26377 if (pthread_create (&thread, (pthread_attr_t *)0,
26378 thread_func, (void *)0))
26379 return 0;
26380 if (pthread_join (thread, &thread_retval))
26381 return 0;
26382 return (a_in_other_thread == a_in_main_thread);
26384 return 0;
26386 _ACEOF
26387 if ac_fn_c_try_run "$LINENO"; then :
26388 gcc_cv_have_tls=yes
26389 else
26390 gcc_cv_have_tls=no
26392 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26393 conftest.$ac_objext conftest.beam conftest.$ac_ext
26396 CFLAGS="$chktls_save_CFLAGS"
26399 else
26400 gcc_cv_have_tls=no
26402 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26403 conftest.$ac_objext conftest.beam conftest.$ac_ext
26407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26408 $as_echo "$gcc_cv_have_tls" >&6; }
26409 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26411 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26415 # For iconv support.
26417 if test "X$prefix" = "XNONE"; then
26418 acl_final_prefix="$ac_default_prefix"
26419 else
26420 acl_final_prefix="$prefix"
26422 if test "X$exec_prefix" = "XNONE"; then
26423 acl_final_exec_prefix='${prefix}'
26424 else
26425 acl_final_exec_prefix="$exec_prefix"
26427 acl_save_prefix="$prefix"
26428 prefix="$acl_final_prefix"
26429 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26430 prefix="$acl_save_prefix"
26433 # Check whether --with-gnu-ld was given.
26434 if test "${with_gnu_ld+set}" = set; then :
26435 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26436 else
26437 with_gnu_ld=no
26440 # Prepare PATH_SEPARATOR.
26441 # The user is always right.
26442 if test "${PATH_SEPARATOR+set}" != set; then
26443 echo "#! /bin/sh" >conf$$.sh
26444 echo "exit 0" >>conf$$.sh
26445 chmod +x conf$$.sh
26446 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26447 PATH_SEPARATOR=';'
26448 else
26449 PATH_SEPARATOR=:
26451 rm -f conf$$.sh
26453 ac_prog=ld
26454 if test "$GCC" = yes; then
26455 # Check if gcc -print-prog-name=ld gives a path.
26456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26457 $as_echo_n "checking for ld used by GCC... " >&6; }
26458 case $host in
26459 *-*-mingw*)
26460 # gcc leaves a trailing carriage return which upsets mingw
26461 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26463 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26464 esac
26465 case $ac_prog in
26466 # Accept absolute paths.
26467 [\\/]* | [A-Za-z]:[\\/]*)
26468 re_direlt='/[^/][^/]*/\.\./'
26469 # Canonicalize the path of ld
26470 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26471 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26472 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26473 done
26474 test -z "$LD" && LD="$ac_prog"
26477 # If it fails, then pretend we aren't using GCC.
26478 ac_prog=ld
26481 # If it is relative, then search for the first ld in PATH.
26482 with_gnu_ld=unknown
26484 esac
26485 elif test "$with_gnu_ld" = yes; then
26486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26487 $as_echo_n "checking for GNU ld... " >&6; }
26488 else
26489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26490 $as_echo_n "checking for non-GNU ld... " >&6; }
26492 if test "${acl_cv_path_LD+set}" = set; then :
26493 $as_echo_n "(cached) " >&6
26494 else
26495 if test -z "$LD"; then
26496 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26497 for ac_dir in $PATH; do
26498 test -z "$ac_dir" && ac_dir=.
26499 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26500 acl_cv_path_LD="$ac_dir/$ac_prog"
26501 # Check to see if the program is GNU ld. I'd rather use --version,
26502 # but apparently some GNU ld's only accept -v.
26503 # Break only if it was the GNU/non-GNU ld that we prefer.
26504 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26505 test "$with_gnu_ld" != no && break
26506 else
26507 test "$with_gnu_ld" != yes && break
26510 done
26511 IFS="$ac_save_ifs"
26512 else
26513 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26517 LD="$acl_cv_path_LD"
26518 if test -n "$LD"; then
26519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26520 $as_echo "$LD" >&6; }
26521 else
26522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26523 $as_echo "no" >&6; }
26525 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26527 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26528 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26529 $as_echo_n "(cached) " >&6
26530 else
26531 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26532 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26533 acl_cv_prog_gnu_ld=yes
26534 else
26535 acl_cv_prog_gnu_ld=no
26538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26539 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26540 with_gnu_ld=$acl_cv_prog_gnu_ld
26544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26545 $as_echo_n "checking for shared library run path origin... " >&6; }
26546 if test "${acl_cv_rpath+set}" = set; then :
26547 $as_echo_n "(cached) " >&6
26548 else
26550 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26551 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26552 . ./conftest.sh
26553 rm -f ./conftest.sh
26554 acl_cv_rpath=done
26557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26558 $as_echo "$acl_cv_rpath" >&6; }
26559 wl="$acl_cv_wl"
26560 libext="$acl_cv_libext"
26561 shlibext="$acl_cv_shlibext"
26562 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26563 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26564 hardcode_direct="$acl_cv_hardcode_direct"
26565 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26566 # Check whether --enable-rpath was given.
26567 if test "${enable_rpath+set}" = set; then :
26568 enableval=$enable_rpath; :
26569 else
26570 enable_rpath=yes
26580 use_additional=yes
26582 acl_save_prefix="$prefix"
26583 prefix="$acl_final_prefix"
26584 acl_save_exec_prefix="$exec_prefix"
26585 exec_prefix="$acl_final_exec_prefix"
26587 eval additional_includedir=\"$includedir\"
26588 eval additional_libdir=\"$libdir\"
26590 exec_prefix="$acl_save_exec_prefix"
26591 prefix="$acl_save_prefix"
26594 # Check whether --with-libiconv-prefix was given.
26595 if test "${with_libiconv_prefix+set}" = set; then :
26596 withval=$with_libiconv_prefix;
26597 if test "X$withval" = "Xno"; then
26598 use_additional=no
26599 else
26600 if test "X$withval" = "X"; then
26602 acl_save_prefix="$prefix"
26603 prefix="$acl_final_prefix"
26604 acl_save_exec_prefix="$exec_prefix"
26605 exec_prefix="$acl_final_exec_prefix"
26607 eval additional_includedir=\"$includedir\"
26608 eval additional_libdir=\"$libdir\"
26610 exec_prefix="$acl_save_exec_prefix"
26611 prefix="$acl_save_prefix"
26613 else
26614 additional_includedir="$withval/include"
26615 additional_libdir="$withval/lib"
26621 LIBICONV=
26622 LTLIBICONV=
26623 INCICONV=
26624 rpathdirs=
26625 ltrpathdirs=
26626 names_already_handled=
26627 names_next_round='iconv '
26628 while test -n "$names_next_round"; do
26629 names_this_round="$names_next_round"
26630 names_next_round=
26631 for name in $names_this_round; do
26632 already_handled=
26633 for n in $names_already_handled; do
26634 if test "$n" = "$name"; then
26635 already_handled=yes
26636 break
26638 done
26639 if test -z "$already_handled"; then
26640 names_already_handled="$names_already_handled $name"
26641 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26642 eval value=\"\$HAVE_LIB$uppername\"
26643 if test -n "$value"; then
26644 if test "$value" = yes; then
26645 eval value=\"\$LIB$uppername\"
26646 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26647 eval value=\"\$LTLIB$uppername\"
26648 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26649 else
26652 else
26653 found_dir=
26654 found_la=
26655 found_so=
26656 found_a=
26657 if test $use_additional = yes; then
26658 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26659 found_dir="$additional_libdir"
26660 found_so="$additional_libdir/lib$name.$shlibext"
26661 if test -f "$additional_libdir/lib$name.la"; then
26662 found_la="$additional_libdir/lib$name.la"
26664 else
26665 if test -f "$additional_libdir/lib$name.$libext"; then
26666 found_dir="$additional_libdir"
26667 found_a="$additional_libdir/lib$name.$libext"
26668 if test -f "$additional_libdir/lib$name.la"; then
26669 found_la="$additional_libdir/lib$name.la"
26674 if test "X$found_dir" = "X"; then
26675 for x in $LDFLAGS $LTLIBICONV; do
26677 acl_save_prefix="$prefix"
26678 prefix="$acl_final_prefix"
26679 acl_save_exec_prefix="$exec_prefix"
26680 exec_prefix="$acl_final_exec_prefix"
26681 eval x=\"$x\"
26682 exec_prefix="$acl_save_exec_prefix"
26683 prefix="$acl_save_prefix"
26685 case "$x" in
26686 -L*)
26687 dir=`echo "X$x" | sed -e 's/^X-L//'`
26688 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26689 found_dir="$dir"
26690 found_so="$dir/lib$name.$shlibext"
26691 if test -f "$dir/lib$name.la"; then
26692 found_la="$dir/lib$name.la"
26694 else
26695 if test -f "$dir/lib$name.$libext"; then
26696 found_dir="$dir"
26697 found_a="$dir/lib$name.$libext"
26698 if test -f "$dir/lib$name.la"; then
26699 found_la="$dir/lib$name.la"
26704 esac
26705 if test "X$found_dir" != "X"; then
26706 break
26708 done
26710 if test "X$found_dir" != "X"; then
26711 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26712 if test "X$found_so" != "X"; then
26713 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26714 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26715 else
26716 haveit=
26717 for x in $ltrpathdirs; do
26718 if test "X$x" = "X$found_dir"; then
26719 haveit=yes
26720 break
26722 done
26723 if test -z "$haveit"; then
26724 ltrpathdirs="$ltrpathdirs $found_dir"
26726 if test "$hardcode_direct" = yes; then
26727 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26728 else
26729 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26730 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26731 haveit=
26732 for x in $rpathdirs; do
26733 if test "X$x" = "X$found_dir"; then
26734 haveit=yes
26735 break
26737 done
26738 if test -z "$haveit"; then
26739 rpathdirs="$rpathdirs $found_dir"
26741 else
26742 haveit=
26743 for x in $LDFLAGS $LIBICONV; do
26745 acl_save_prefix="$prefix"
26746 prefix="$acl_final_prefix"
26747 acl_save_exec_prefix="$exec_prefix"
26748 exec_prefix="$acl_final_exec_prefix"
26749 eval x=\"$x\"
26750 exec_prefix="$acl_save_exec_prefix"
26751 prefix="$acl_save_prefix"
26753 if test "X$x" = "X-L$found_dir"; then
26754 haveit=yes
26755 break
26757 done
26758 if test -z "$haveit"; then
26759 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26761 if test "$hardcode_minus_L" != no; then
26762 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26763 else
26764 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26769 else
26770 if test "X$found_a" != "X"; then
26771 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26772 else
26773 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26776 additional_includedir=
26777 case "$found_dir" in
26778 */lib | */lib/)
26779 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26780 additional_includedir="$basedir/include"
26782 esac
26783 if test "X$additional_includedir" != "X"; then
26784 if test "X$additional_includedir" != "X/usr/include"; then
26785 haveit=
26786 if test "X$additional_includedir" = "X/usr/local/include"; then
26787 if test -n "$GCC"; then
26788 case $host_os in
26789 linux*) haveit=yes;;
26790 esac
26793 if test -z "$haveit"; then
26794 for x in $CPPFLAGS $INCICONV; do
26796 acl_save_prefix="$prefix"
26797 prefix="$acl_final_prefix"
26798 acl_save_exec_prefix="$exec_prefix"
26799 exec_prefix="$acl_final_exec_prefix"
26800 eval x=\"$x\"
26801 exec_prefix="$acl_save_exec_prefix"
26802 prefix="$acl_save_prefix"
26804 if test "X$x" = "X-I$additional_includedir"; then
26805 haveit=yes
26806 break
26808 done
26809 if test -z "$haveit"; then
26810 if test -d "$additional_includedir"; then
26811 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26817 if test -n "$found_la"; then
26818 save_libdir="$libdir"
26819 case "$found_la" in
26820 */* | *\\*) . "$found_la" ;;
26821 *) . "./$found_la" ;;
26822 esac
26823 libdir="$save_libdir"
26824 for dep in $dependency_libs; do
26825 case "$dep" in
26826 -L*)
26827 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26828 if test "X$additional_libdir" != "X/usr/lib"; then
26829 haveit=
26830 if test "X$additional_libdir" = "X/usr/local/lib"; then
26831 if test -n "$GCC"; then
26832 case $host_os in
26833 linux*) haveit=yes;;
26834 esac
26837 if test -z "$haveit"; then
26838 haveit=
26839 for x in $LDFLAGS $LIBICONV; do
26841 acl_save_prefix="$prefix"
26842 prefix="$acl_final_prefix"
26843 acl_save_exec_prefix="$exec_prefix"
26844 exec_prefix="$acl_final_exec_prefix"
26845 eval x=\"$x\"
26846 exec_prefix="$acl_save_exec_prefix"
26847 prefix="$acl_save_prefix"
26849 if test "X$x" = "X-L$additional_libdir"; then
26850 haveit=yes
26851 break
26853 done
26854 if test -z "$haveit"; then
26855 if test -d "$additional_libdir"; then
26856 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26859 haveit=
26860 for x in $LDFLAGS $LTLIBICONV; do
26862 acl_save_prefix="$prefix"
26863 prefix="$acl_final_prefix"
26864 acl_save_exec_prefix="$exec_prefix"
26865 exec_prefix="$acl_final_exec_prefix"
26866 eval x=\"$x\"
26867 exec_prefix="$acl_save_exec_prefix"
26868 prefix="$acl_save_prefix"
26870 if test "X$x" = "X-L$additional_libdir"; then
26871 haveit=yes
26872 break
26874 done
26875 if test -z "$haveit"; then
26876 if test -d "$additional_libdir"; then
26877 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26883 -R*)
26884 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26885 if test "$enable_rpath" != no; then
26886 haveit=
26887 for x in $rpathdirs; do
26888 if test "X$x" = "X$dir"; then
26889 haveit=yes
26890 break
26892 done
26893 if test -z "$haveit"; then
26894 rpathdirs="$rpathdirs $dir"
26896 haveit=
26897 for x in $ltrpathdirs; do
26898 if test "X$x" = "X$dir"; then
26899 haveit=yes
26900 break
26902 done
26903 if test -z "$haveit"; then
26904 ltrpathdirs="$ltrpathdirs $dir"
26908 -l*)
26909 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26911 *.la)
26912 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26915 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26916 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26918 esac
26919 done
26921 else
26922 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26923 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26927 done
26928 done
26929 if test "X$rpathdirs" != "X"; then
26930 if test -n "$hardcode_libdir_separator"; then
26931 alldirs=
26932 for found_dir in $rpathdirs; do
26933 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26934 done
26935 acl_save_libdir="$libdir"
26936 libdir="$alldirs"
26937 eval flag=\"$hardcode_libdir_flag_spec\"
26938 libdir="$acl_save_libdir"
26939 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26940 else
26941 for found_dir in $rpathdirs; do
26942 acl_save_libdir="$libdir"
26943 libdir="$found_dir"
26944 eval flag=\"$hardcode_libdir_flag_spec\"
26945 libdir="$acl_save_libdir"
26946 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26947 done
26950 if test "X$ltrpathdirs" != "X"; then
26951 for found_dir in $ltrpathdirs; do
26952 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26953 done
26962 am_save_CPPFLAGS="$CPPFLAGS"
26964 for element in $INCICONV; do
26965 haveit=
26966 for x in $CPPFLAGS; do
26968 acl_save_prefix="$prefix"
26969 prefix="$acl_final_prefix"
26970 acl_save_exec_prefix="$exec_prefix"
26971 exec_prefix="$acl_final_exec_prefix"
26972 eval x=\"$x\"
26973 exec_prefix="$acl_save_exec_prefix"
26974 prefix="$acl_save_prefix"
26976 if test "X$x" = "X$element"; then
26977 haveit=yes
26978 break
26980 done
26981 if test -z "$haveit"; then
26982 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26984 done
26987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26988 $as_echo_n "checking for iconv... " >&6; }
26989 if test "${am_cv_func_iconv+set}" = set; then :
26990 $as_echo_n "(cached) " >&6
26991 else
26993 am_cv_func_iconv="no, consider installing GNU libiconv"
26994 am_cv_lib_iconv=no
26995 if test x$gcc_no_link = xyes; then
26996 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26999 /* end confdefs.h. */
27000 #include <stdlib.h>
27001 #include <iconv.h>
27003 main ()
27005 iconv_t cd = iconv_open("","");
27006 iconv(cd,NULL,NULL,NULL,NULL);
27007 iconv_close(cd);
27009 return 0;
27011 _ACEOF
27012 if ac_fn_c_try_link "$LINENO"; then :
27013 am_cv_func_iconv=yes
27015 rm -f core conftest.err conftest.$ac_objext \
27016 conftest$ac_exeext conftest.$ac_ext
27017 if test "$am_cv_func_iconv" != yes; then
27018 am_save_LIBS="$LIBS"
27019 LIBS="$LIBS $LIBICONV"
27020 if test x$gcc_no_link = xyes; then
27021 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27024 /* end confdefs.h. */
27025 #include <stdlib.h>
27026 #include <iconv.h>
27028 main ()
27030 iconv_t cd = iconv_open("","");
27031 iconv(cd,NULL,NULL,NULL,NULL);
27032 iconv_close(cd);
27034 return 0;
27036 _ACEOF
27037 if ac_fn_c_try_link "$LINENO"; then :
27038 am_cv_lib_iconv=yes
27039 am_cv_func_iconv=yes
27041 rm -f core conftest.err conftest.$ac_objext \
27042 conftest$ac_exeext conftest.$ac_ext
27043 LIBS="$am_save_LIBS"
27047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27048 $as_echo "$am_cv_func_iconv" >&6; }
27049 if test "$am_cv_func_iconv" = yes; then
27051 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27054 if test "$am_cv_lib_iconv" = yes; then
27055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27056 $as_echo_n "checking how to link with libiconv... " >&6; }
27057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27058 $as_echo "$LIBICONV" >&6; }
27059 else
27060 CPPFLAGS="$am_save_CPPFLAGS"
27061 LIBICONV=
27062 LTLIBICONV=
27067 if test "$am_cv_func_iconv" = yes; then
27068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27069 $as_echo_n "checking for iconv declaration... " >&6; }
27070 if test "${am_cv_proto_iconv+set}" = set; then :
27071 $as_echo_n "(cached) " >&6
27072 else
27074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27075 /* end confdefs.h. */
27077 #include <stdlib.h>
27078 #include <iconv.h>
27079 extern
27080 #ifdef __cplusplus
27082 #endif
27083 #if defined(__STDC__) || defined(__cplusplus)
27084 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27085 #else
27086 size_t iconv();
27087 #endif
27090 main ()
27094 return 0;
27096 _ACEOF
27097 if ac_fn_c_try_compile "$LINENO"; then :
27098 am_cv_proto_iconv_arg1=""
27099 else
27100 am_cv_proto_iconv_arg1="const"
27102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27103 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);"
27106 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27108 }$am_cv_proto_iconv" >&5
27109 $as_echo "${ac_t:-
27110 }$am_cv_proto_iconv" >&6; }
27112 cat >>confdefs.h <<_ACEOF
27113 #define ICONV_CONST $am_cv_proto_iconv_arg1
27114 _ACEOF
27119 else
27121 # This lets us hard-code the functionality we know we'll have in the cross
27122 # target environment. "Let" is a sugar-coated word placed on an especially
27123 # dull and tedious hack, actually.
27125 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27126 # that involve linking, can't be used:
27127 # "cannot open sim-crt0.o"
27128 # "cannot open crt0.o"
27129 # etc. All this is because there currently exists no unified, consistent
27130 # way for top level CC information to be passed down to target directories:
27131 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27132 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27133 # crosses can be removed.
27135 # If Canadian cross, then don't pick up tools from the build directory.
27136 # Used only in GLIBCXX_EXPORT_INCLUDES.
27137 if test -n "$with_cross_host" &&
27138 test x"$build_alias" != x"$with_cross_host" &&
27139 test x"$build" != x"$target";
27140 then
27141 CANADIAN=yes
27142 else
27143 CANADIAN=no
27146 # Construct crosses by hand, eliminating bits that need ld...
27147 # GLIBCXX_CHECK_MATH_SUPPORT
27149 # First, test for "known" system libraries. We may be using newlib even
27150 # on a hosted environment.
27151 if test "x${with_newlib}" = "xyes"; then
27152 os_include_dir="os/newlib"
27153 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27156 # GLIBCXX_CHECK_STDLIB_SUPPORT
27157 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27160 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27162 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27164 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27166 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27168 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27170 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27172 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27174 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27176 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27178 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27180 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27182 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27184 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27186 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27188 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27190 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27192 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27194 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27196 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27198 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27200 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27202 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27205 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27207 else
27209 # Base decisions on target environment.
27210 case "${host}" in
27211 arm*-*-symbianelf*)
27212 # This is a freestanding configuration; there is nothing to do here.
27215 mips*-sde-elf*)
27216 # These definitions are for the SDE C library rather than newlib.
27217 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27220 # All these tests are for C++; save the language and the compiler flags.
27221 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27222 # found in GLIBCXX_CONFIGURE.
27224 ac_ext=cpp
27225 ac_cpp='$CXXCPP $CPPFLAGS'
27226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27230 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27231 ac_save_CXXFLAGS="$CXXFLAGS"
27233 # Check for maintainer-mode bits.
27234 if test x"$USE_MAINTAINER_MODE" = xno; then
27235 WERROR=''
27236 else
27237 WERROR='-Werror'
27240 # Check for -ffunction-sections -fdata-sections
27241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27242 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27243 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27245 /* end confdefs.h. */
27246 int foo; void bar() { };
27248 main ()
27252 return 0;
27254 _ACEOF
27255 if ac_fn_cxx_try_compile "$LINENO"; then :
27256 ac_fdsections=yes
27257 else
27258 ac_fdsections=no
27260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27261 if test "$ac_test_CXXFLAGS" = set; then
27262 CXXFLAGS="$ac_save_CXXFLAGS"
27263 else
27264 # this is the suspicious part
27265 CXXFLAGS=''
27267 if test x"$ac_fdsections" = x"yes"; then
27268 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27271 $as_echo "$ac_fdsections" >&6; }
27273 ac_ext=c
27274 ac_cpp='$CPP $CPPFLAGS'
27275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27283 # If we're not using GNU ld, then there's no point in even trying these
27284 # tests. Check for that first. We should have already tested for gld
27285 # by now (in libtool), but require it now just to be safe...
27286 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27287 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27291 # The name set by libtool depends on the version of libtool. Shame on us
27292 # for depending on an impl detail, but c'est la vie. Older versions used
27293 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27294 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27295 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27296 # set (hence we're using an older libtool), then set it.
27297 if test x${with_gnu_ld+set} != xset; then
27298 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27299 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27300 with_gnu_ld=no
27301 else
27302 with_gnu_ld=$ac_cv_prog_gnu_ld
27306 # Start by getting the version number. I think the libtool test already
27307 # does some of this, but throws away the result.
27308 glibcxx_ld_is_gold=no
27309 if test x"$with_gnu_ld" = x"yes"; then
27310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27311 $as_echo_n "checking for ld version... " >&6; }
27313 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27314 glibcxx_ld_is_gold=yes
27316 ldver=`$LD --version 2>/dev/null |
27317 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'`
27319 glibcxx_gnu_ld_version=`echo $ldver | \
27320 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27322 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27325 # Set --gc-sections.
27326 glibcxx_have_gc_sections=no
27327 if test "$glibcxx_ld_is_gold" = "yes"; then
27328 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27329 glibcxx_have_gc_sections=yes
27331 else
27332 glibcxx_gcsections_min_ld=21602
27333 if test x"$with_gnu_ld" = x"yes" &&
27334 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27335 glibcxx_have_gc_sections=yes
27338 if test "$glibcxx_have_gc_sections" = "yes"; then
27339 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27340 # NB: This flag only works reliably after 2.16.1. Configure tests
27341 # for this are difficult, so hard wire a value that should work.
27343 ac_test_CFLAGS="${CFLAGS+set}"
27344 ac_save_CFLAGS="$CFLAGS"
27345 CFLAGS='-Wl,--gc-sections'
27347 # Check for -Wl,--gc-sections
27348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27349 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27350 if test x$gcc_no_link = xyes; then
27351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27354 /* end confdefs.h. */
27355 int one(void) { return 1; }
27356 int two(void) { return 2; }
27359 main ()
27361 two();
27363 return 0;
27365 _ACEOF
27366 if ac_fn_c_try_link "$LINENO"; then :
27367 ac_gcsections=yes
27368 else
27369 ac_gcsections=no
27371 rm -f core conftest.err conftest.$ac_objext \
27372 conftest$ac_exeext conftest.$ac_ext
27373 if test "$ac_gcsections" = "yes"; then
27374 rm -f conftest.c
27375 touch conftest.c
27376 if $CC -c conftest.c; then
27377 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27378 grep "Warning: gc-sections option ignored" > /dev/null; then
27379 ac_gcsections=no
27382 rm -f conftest.c conftest.o conftest
27384 if test "$ac_gcsections" = "yes"; then
27385 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27388 $as_echo "$ac_gcsections" >&6; }
27390 if test "$ac_test_CFLAGS" = set; then
27391 CFLAGS="$ac_save_CFLAGS"
27392 else
27393 # this is the suspicious part
27394 CFLAGS=''
27398 # Set -z,relro.
27399 # Note this is only for shared objects.
27400 ac_ld_relro=no
27401 if test x"$with_gnu_ld" = x"yes"; then
27402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27403 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27404 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27405 if test -n "$cxx_z_relo"; then
27406 OPT_LDFLAGS="-Wl,-z,relro"
27407 ac_ld_relro=yes
27409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27410 $as_echo "$ac_ld_relro" >&6; }
27413 # Set linker optimization flags.
27414 if test x"$with_gnu_ld" = x"yes"; then
27415 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27422 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27423 ac_save_CXXFLAGS="$CXXFLAGS"
27424 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27427 $as_echo_n "checking for sin in -lm... " >&6; }
27428 if test "${ac_cv_lib_m_sin+set}" = set; then :
27429 $as_echo_n "(cached) " >&6
27430 else
27431 ac_check_lib_save_LIBS=$LIBS
27432 LIBS="-lm $LIBS"
27433 if test x$gcc_no_link = xyes; then
27434 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27437 /* end confdefs.h. */
27439 /* Override any GCC internal prototype to avoid an error.
27440 Use char because int might match the return type of a GCC
27441 builtin and then its argument prototype would still apply. */
27442 #ifdef __cplusplus
27443 extern "C"
27444 #endif
27445 char sin ();
27447 main ()
27449 return sin ();
27451 return 0;
27453 _ACEOF
27454 if ac_fn_c_try_link "$LINENO"; then :
27455 ac_cv_lib_m_sin=yes
27456 else
27457 ac_cv_lib_m_sin=no
27459 rm -f core conftest.err conftest.$ac_objext \
27460 conftest$ac_exeext conftest.$ac_ext
27461 LIBS=$ac_check_lib_save_LIBS
27463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27464 $as_echo "$ac_cv_lib_m_sin" >&6; }
27465 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27466 libm="-lm"
27469 ac_save_LIBS="$LIBS"
27470 LIBS="$LIBS $libm"
27474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27475 $as_echo_n "checking for isinf declaration... " >&6; }
27476 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27477 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27478 $as_echo_n "(cached) " >&6
27479 else
27482 ac_ext=cpp
27483 ac_cpp='$CXXCPP $CPPFLAGS'
27484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27489 /* end confdefs.h. */
27490 #include <math.h>
27491 #ifdef HAVE_IEEEFP_H
27492 #include <ieeefp.h>
27493 #endif
27496 main ()
27498 isinf(0);
27500 return 0;
27502 _ACEOF
27503 if ac_fn_cxx_try_compile "$LINENO"; then :
27504 glibcxx_cv_func_isinf_use=yes
27505 else
27506 glibcxx_cv_func_isinf_use=no
27508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27509 ac_ext=c
27510 ac_cpp='$CPP $CPPFLAGS'
27511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27520 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27522 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27523 for ac_func in isinf
27524 do :
27525 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27526 if test "x$ac_cv_func_isinf" = x""yes; then :
27527 cat >>confdefs.h <<_ACEOF
27528 #define HAVE_ISINF 1
27529 _ACEOF
27532 done
27534 else
27536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27537 $as_echo_n "checking for _isinf declaration... " >&6; }
27538 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27539 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27540 $as_echo_n "(cached) " >&6
27541 else
27544 ac_ext=cpp
27545 ac_cpp='$CXXCPP $CPPFLAGS'
27546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27551 /* end confdefs.h. */
27552 #include <math.h>
27553 #ifdef HAVE_IEEEFP_H
27554 #include <ieeefp.h>
27555 #endif
27558 main ()
27560 _isinf(0);
27562 return 0;
27564 _ACEOF
27565 if ac_fn_cxx_try_compile "$LINENO"; then :
27566 glibcxx_cv_func__isinf_use=yes
27567 else
27568 glibcxx_cv_func__isinf_use=no
27570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27571 ac_ext=c
27572 ac_cpp='$CPP $CPPFLAGS'
27573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27582 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27584 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27585 for ac_func in _isinf
27586 do :
27587 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27588 if test "x$ac_cv_func__isinf" = x""yes; then :
27589 cat >>confdefs.h <<_ACEOF
27590 #define HAVE__ISINF 1
27591 _ACEOF
27594 done
27603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27604 $as_echo_n "checking for isnan declaration... " >&6; }
27605 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27606 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27607 $as_echo_n "(cached) " >&6
27608 else
27611 ac_ext=cpp
27612 ac_cpp='$CXXCPP $CPPFLAGS'
27613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27618 /* end confdefs.h. */
27619 #include <math.h>
27620 #ifdef HAVE_IEEEFP_H
27621 #include <ieeefp.h>
27622 #endif
27625 main ()
27627 isnan(0);
27629 return 0;
27631 _ACEOF
27632 if ac_fn_cxx_try_compile "$LINENO"; then :
27633 glibcxx_cv_func_isnan_use=yes
27634 else
27635 glibcxx_cv_func_isnan_use=no
27637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27638 ac_ext=c
27639 ac_cpp='$CPP $CPPFLAGS'
27640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27649 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27651 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27652 for ac_func in isnan
27653 do :
27654 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27655 if test "x$ac_cv_func_isnan" = x""yes; then :
27656 cat >>confdefs.h <<_ACEOF
27657 #define HAVE_ISNAN 1
27658 _ACEOF
27661 done
27663 else
27665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27666 $as_echo_n "checking for _isnan declaration... " >&6; }
27667 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27668 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27669 $as_echo_n "(cached) " >&6
27670 else
27673 ac_ext=cpp
27674 ac_cpp='$CXXCPP $CPPFLAGS'
27675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27680 /* end confdefs.h. */
27681 #include <math.h>
27682 #ifdef HAVE_IEEEFP_H
27683 #include <ieeefp.h>
27684 #endif
27687 main ()
27689 _isnan(0);
27691 return 0;
27693 _ACEOF
27694 if ac_fn_cxx_try_compile "$LINENO"; then :
27695 glibcxx_cv_func__isnan_use=yes
27696 else
27697 glibcxx_cv_func__isnan_use=no
27699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27700 ac_ext=c
27701 ac_cpp='$CPP $CPPFLAGS'
27702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27711 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27713 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27714 for ac_func in _isnan
27715 do :
27716 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27717 if test "x$ac_cv_func__isnan" = x""yes; then :
27718 cat >>confdefs.h <<_ACEOF
27719 #define HAVE__ISNAN 1
27720 _ACEOF
27723 done
27732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27733 $as_echo_n "checking for finite declaration... " >&6; }
27734 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27735 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27736 $as_echo_n "(cached) " >&6
27737 else
27740 ac_ext=cpp
27741 ac_cpp='$CXXCPP $CPPFLAGS'
27742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27747 /* end confdefs.h. */
27748 #include <math.h>
27749 #ifdef HAVE_IEEEFP_H
27750 #include <ieeefp.h>
27751 #endif
27754 main ()
27756 finite(0);
27758 return 0;
27760 _ACEOF
27761 if ac_fn_cxx_try_compile "$LINENO"; then :
27762 glibcxx_cv_func_finite_use=yes
27763 else
27764 glibcxx_cv_func_finite_use=no
27766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27767 ac_ext=c
27768 ac_cpp='$CPP $CPPFLAGS'
27769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27778 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27780 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27781 for ac_func in finite
27782 do :
27783 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27784 if test "x$ac_cv_func_finite" = x""yes; then :
27785 cat >>confdefs.h <<_ACEOF
27786 #define HAVE_FINITE 1
27787 _ACEOF
27790 done
27792 else
27794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27795 $as_echo_n "checking for _finite declaration... " >&6; }
27796 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27797 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27798 $as_echo_n "(cached) " >&6
27799 else
27802 ac_ext=cpp
27803 ac_cpp='$CXXCPP $CPPFLAGS'
27804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27809 /* end confdefs.h. */
27810 #include <math.h>
27811 #ifdef HAVE_IEEEFP_H
27812 #include <ieeefp.h>
27813 #endif
27816 main ()
27818 _finite(0);
27820 return 0;
27822 _ACEOF
27823 if ac_fn_cxx_try_compile "$LINENO"; then :
27824 glibcxx_cv_func__finite_use=yes
27825 else
27826 glibcxx_cv_func__finite_use=no
27828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27829 ac_ext=c
27830 ac_cpp='$CPP $CPPFLAGS'
27831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27840 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27842 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27843 for ac_func in _finite
27844 do :
27845 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27846 if test "x$ac_cv_func__finite" = x""yes; then :
27847 cat >>confdefs.h <<_ACEOF
27848 #define HAVE__FINITE 1
27849 _ACEOF
27852 done
27861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27862 $as_echo_n "checking for sincos declaration... " >&6; }
27863 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27864 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27865 $as_echo_n "(cached) " >&6
27866 else
27869 ac_ext=cpp
27870 ac_cpp='$CXXCPP $CPPFLAGS'
27871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27876 /* end confdefs.h. */
27877 #include <math.h>
27879 main ()
27881 sincos(0, 0, 0);
27883 return 0;
27885 _ACEOF
27886 if ac_fn_cxx_try_compile "$LINENO"; then :
27887 glibcxx_cv_func_sincos_use=yes
27888 else
27889 glibcxx_cv_func_sincos_use=no
27891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27892 ac_ext=c
27893 ac_cpp='$CPP $CPPFLAGS'
27894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27903 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27905 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27906 for ac_func in sincos
27907 do :
27908 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27909 if test "x$ac_cv_func_sincos" = x""yes; then :
27910 cat >>confdefs.h <<_ACEOF
27911 #define HAVE_SINCOS 1
27912 _ACEOF
27915 done
27917 else
27919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27920 $as_echo_n "checking for _sincos declaration... " >&6; }
27921 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27922 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27923 $as_echo_n "(cached) " >&6
27924 else
27927 ac_ext=cpp
27928 ac_cpp='$CXXCPP $CPPFLAGS'
27929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27934 /* end confdefs.h. */
27935 #include <math.h>
27937 main ()
27939 _sincos(0, 0, 0);
27941 return 0;
27943 _ACEOF
27944 if ac_fn_cxx_try_compile "$LINENO"; then :
27945 glibcxx_cv_func__sincos_use=yes
27946 else
27947 glibcxx_cv_func__sincos_use=no
27949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27950 ac_ext=c
27951 ac_cpp='$CPP $CPPFLAGS'
27952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27961 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27963 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27964 for ac_func in _sincos
27965 do :
27966 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27967 if test "x$ac_cv_func__sincos" = x""yes; then :
27968 cat >>confdefs.h <<_ACEOF
27969 #define HAVE__SINCOS 1
27970 _ACEOF
27973 done
27982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27983 $as_echo_n "checking for fpclass declaration... " >&6; }
27984 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27985 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27986 $as_echo_n "(cached) " >&6
27987 else
27990 ac_ext=cpp
27991 ac_cpp='$CXXCPP $CPPFLAGS'
27992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27997 /* end confdefs.h. */
27998 #include <math.h>
27999 #ifdef HAVE_IEEEFP_H
28000 #include <ieeefp.h>
28001 #endif
28004 main ()
28006 fpclass(0);
28008 return 0;
28010 _ACEOF
28011 if ac_fn_cxx_try_compile "$LINENO"; then :
28012 glibcxx_cv_func_fpclass_use=yes
28013 else
28014 glibcxx_cv_func_fpclass_use=no
28016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28017 ac_ext=c
28018 ac_cpp='$CPP $CPPFLAGS'
28019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28028 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28030 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28031 for ac_func in fpclass
28032 do :
28033 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28034 if test "x$ac_cv_func_fpclass" = x""yes; then :
28035 cat >>confdefs.h <<_ACEOF
28036 #define HAVE_FPCLASS 1
28037 _ACEOF
28040 done
28042 else
28044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28045 $as_echo_n "checking for _fpclass declaration... " >&6; }
28046 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28047 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28048 $as_echo_n "(cached) " >&6
28049 else
28052 ac_ext=cpp
28053 ac_cpp='$CXXCPP $CPPFLAGS'
28054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28059 /* end confdefs.h. */
28060 #include <math.h>
28061 #ifdef HAVE_IEEEFP_H
28062 #include <ieeefp.h>
28063 #endif
28066 main ()
28068 _fpclass(0);
28070 return 0;
28072 _ACEOF
28073 if ac_fn_cxx_try_compile "$LINENO"; then :
28074 glibcxx_cv_func__fpclass_use=yes
28075 else
28076 glibcxx_cv_func__fpclass_use=no
28078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28079 ac_ext=c
28080 ac_cpp='$CPP $CPPFLAGS'
28081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28090 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28092 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28093 for ac_func in _fpclass
28094 do :
28095 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28096 if test "x$ac_cv_func__fpclass" = x""yes; then :
28097 cat >>confdefs.h <<_ACEOF
28098 #define HAVE__FPCLASS 1
28099 _ACEOF
28102 done
28111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28112 $as_echo_n "checking for qfpclass declaration... " >&6; }
28113 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28114 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28115 $as_echo_n "(cached) " >&6
28116 else
28119 ac_ext=cpp
28120 ac_cpp='$CXXCPP $CPPFLAGS'
28121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28126 /* end confdefs.h. */
28127 #include <math.h>
28128 #ifdef HAVE_IEEEFP_H
28129 #include <ieeefp.h>
28130 #endif
28133 main ()
28135 qfpclass(0);
28137 return 0;
28139 _ACEOF
28140 if ac_fn_cxx_try_compile "$LINENO"; then :
28141 glibcxx_cv_func_qfpclass_use=yes
28142 else
28143 glibcxx_cv_func_qfpclass_use=no
28145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28146 ac_ext=c
28147 ac_cpp='$CPP $CPPFLAGS'
28148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28157 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28159 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28160 for ac_func in qfpclass
28161 do :
28162 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28163 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28164 cat >>confdefs.h <<_ACEOF
28165 #define HAVE_QFPCLASS 1
28166 _ACEOF
28169 done
28171 else
28173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28174 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28175 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28176 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28177 $as_echo_n "(cached) " >&6
28178 else
28181 ac_ext=cpp
28182 ac_cpp='$CXXCPP $CPPFLAGS'
28183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28188 /* end confdefs.h. */
28189 #include <math.h>
28190 #ifdef HAVE_IEEEFP_H
28191 #include <ieeefp.h>
28192 #endif
28195 main ()
28197 _qfpclass(0);
28199 return 0;
28201 _ACEOF
28202 if ac_fn_cxx_try_compile "$LINENO"; then :
28203 glibcxx_cv_func__qfpclass_use=yes
28204 else
28205 glibcxx_cv_func__qfpclass_use=no
28207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28208 ac_ext=c
28209 ac_cpp='$CPP $CPPFLAGS'
28210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28219 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28221 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28222 for ac_func in _qfpclass
28223 do :
28224 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28225 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28226 cat >>confdefs.h <<_ACEOF
28227 #define HAVE__QFPCLASS 1
28228 _ACEOF
28231 done
28240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28241 $as_echo_n "checking for hypot declaration... " >&6; }
28242 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28243 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28244 $as_echo_n "(cached) " >&6
28245 else
28248 ac_ext=cpp
28249 ac_cpp='$CXXCPP $CPPFLAGS'
28250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28255 /* end confdefs.h. */
28256 #include <math.h>
28258 main ()
28260 hypot(0, 0);
28262 return 0;
28264 _ACEOF
28265 if ac_fn_cxx_try_compile "$LINENO"; then :
28266 glibcxx_cv_func_hypot_use=yes
28267 else
28268 glibcxx_cv_func_hypot_use=no
28270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28271 ac_ext=c
28272 ac_cpp='$CPP $CPPFLAGS'
28273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28282 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28284 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28285 for ac_func in hypot
28286 do :
28287 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28288 if test "x$ac_cv_func_hypot" = x""yes; then :
28289 cat >>confdefs.h <<_ACEOF
28290 #define HAVE_HYPOT 1
28291 _ACEOF
28294 done
28296 else
28298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28299 $as_echo_n "checking for _hypot declaration... " >&6; }
28300 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28301 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28302 $as_echo_n "(cached) " >&6
28303 else
28306 ac_ext=cpp
28307 ac_cpp='$CXXCPP $CPPFLAGS'
28308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28313 /* end confdefs.h. */
28314 #include <math.h>
28316 main ()
28318 _hypot(0, 0);
28320 return 0;
28322 _ACEOF
28323 if ac_fn_cxx_try_compile "$LINENO"; then :
28324 glibcxx_cv_func__hypot_use=yes
28325 else
28326 glibcxx_cv_func__hypot_use=no
28328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28329 ac_ext=c
28330 ac_cpp='$CPP $CPPFLAGS'
28331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28340 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28342 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28343 for ac_func in _hypot
28344 do :
28345 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28346 if test "x$ac_cv_func__hypot" = x""yes; then :
28347 cat >>confdefs.h <<_ACEOF
28348 #define HAVE__HYPOT 1
28349 _ACEOF
28352 done
28361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28362 $as_echo_n "checking for float trig functions... " >&6; }
28363 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28364 $as_echo_n "(cached) " >&6
28365 else
28368 ac_ext=cpp
28369 ac_cpp='$CXXCPP $CPPFLAGS'
28370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28375 /* end confdefs.h. */
28376 #include <math.h>
28378 main ()
28380 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28382 return 0;
28384 _ACEOF
28385 if ac_fn_cxx_try_compile "$LINENO"; then :
28386 glibcxx_cv_func_float_trig_use=yes
28387 else
28388 glibcxx_cv_func_float_trig_use=no
28390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28391 ac_ext=c
28392 ac_cpp='$CPP $CPPFLAGS'
28393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28400 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28401 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28402 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28403 do :
28404 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28405 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28406 eval as_val=\$$as_ac_var
28407 if test "x$as_val" = x""yes; then :
28408 cat >>confdefs.h <<_ACEOF
28409 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28410 _ACEOF
28413 done
28415 else
28416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28417 $as_echo_n "checking for _float trig functions... " >&6; }
28418 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28419 $as_echo_n "(cached) " >&6
28420 else
28423 ac_ext=cpp
28424 ac_cpp='$CXXCPP $CPPFLAGS'
28425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28430 /* end confdefs.h. */
28431 #include <math.h>
28433 main ()
28435 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28437 return 0;
28439 _ACEOF
28440 if ac_fn_cxx_try_compile "$LINENO"; then :
28441 glibcxx_cv_func__float_trig_use=yes
28442 else
28443 glibcxx_cv_func__float_trig_use=no
28445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28446 ac_ext=c
28447 ac_cpp='$CPP $CPPFLAGS'
28448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28455 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28456 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28457 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28458 do :
28459 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28460 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28461 eval as_val=\$$as_ac_var
28462 if test "x$as_val" = x""yes; then :
28463 cat >>confdefs.h <<_ACEOF
28464 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28465 _ACEOF
28468 done
28477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28478 $as_echo_n "checking for float round functions... " >&6; }
28479 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28480 $as_echo_n "(cached) " >&6
28481 else
28484 ac_ext=cpp
28485 ac_cpp='$CXXCPP $CPPFLAGS'
28486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28491 /* end confdefs.h. */
28492 #include <math.h>
28494 main ()
28496 ceilf (0); floorf (0);
28498 return 0;
28500 _ACEOF
28501 if ac_fn_cxx_try_compile "$LINENO"; then :
28502 glibcxx_cv_func_float_round_use=yes
28503 else
28504 glibcxx_cv_func_float_round_use=no
28506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28507 ac_ext=c
28508 ac_cpp='$CPP $CPPFLAGS'
28509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28516 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28517 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28518 for ac_func in ceilf floorf
28519 do :
28520 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28521 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28522 eval as_val=\$$as_ac_var
28523 if test "x$as_val" = x""yes; then :
28524 cat >>confdefs.h <<_ACEOF
28525 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28526 _ACEOF
28529 done
28531 else
28532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28533 $as_echo_n "checking for _float round functions... " >&6; }
28534 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28535 $as_echo_n "(cached) " >&6
28536 else
28539 ac_ext=cpp
28540 ac_cpp='$CXXCPP $CPPFLAGS'
28541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28546 /* end confdefs.h. */
28547 #include <math.h>
28549 main ()
28551 _ceilf (0); _floorf (0);
28553 return 0;
28555 _ACEOF
28556 if ac_fn_cxx_try_compile "$LINENO"; then :
28557 glibcxx_cv_func__float_round_use=yes
28558 else
28559 glibcxx_cv_func__float_round_use=no
28561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28562 ac_ext=c
28563 ac_cpp='$CPP $CPPFLAGS'
28564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28571 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28572 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28573 for ac_func in _ceilf _floorf
28574 do :
28575 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28576 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28577 eval as_val=\$$as_ac_var
28578 if test "x$as_val" = x""yes; then :
28579 cat >>confdefs.h <<_ACEOF
28580 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28581 _ACEOF
28584 done
28594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28595 $as_echo_n "checking for expf declaration... " >&6; }
28596 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28597 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28598 $as_echo_n "(cached) " >&6
28599 else
28602 ac_ext=cpp
28603 ac_cpp='$CXXCPP $CPPFLAGS'
28604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28609 /* end confdefs.h. */
28610 #include <math.h>
28611 #ifdef HAVE_IEEEFP_H
28612 #include <ieeefp.h>
28613 #endif
28616 main ()
28618 expf(0);
28620 return 0;
28622 _ACEOF
28623 if ac_fn_cxx_try_compile "$LINENO"; then :
28624 glibcxx_cv_func_expf_use=yes
28625 else
28626 glibcxx_cv_func_expf_use=no
28628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28629 ac_ext=c
28630 ac_cpp='$CPP $CPPFLAGS'
28631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28640 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28642 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28643 for ac_func in expf
28644 do :
28645 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28646 if test "x$ac_cv_func_expf" = x""yes; then :
28647 cat >>confdefs.h <<_ACEOF
28648 #define HAVE_EXPF 1
28649 _ACEOF
28652 done
28654 else
28656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28657 $as_echo_n "checking for _expf declaration... " >&6; }
28658 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28659 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28660 $as_echo_n "(cached) " >&6
28661 else
28664 ac_ext=cpp
28665 ac_cpp='$CXXCPP $CPPFLAGS'
28666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28671 /* end confdefs.h. */
28672 #include <math.h>
28673 #ifdef HAVE_IEEEFP_H
28674 #include <ieeefp.h>
28675 #endif
28678 main ()
28680 _expf(0);
28682 return 0;
28684 _ACEOF
28685 if ac_fn_cxx_try_compile "$LINENO"; then :
28686 glibcxx_cv_func__expf_use=yes
28687 else
28688 glibcxx_cv_func__expf_use=no
28690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28691 ac_ext=c
28692 ac_cpp='$CPP $CPPFLAGS'
28693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28702 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28704 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28705 for ac_func in _expf
28706 do :
28707 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28708 if test "x$ac_cv_func__expf" = x""yes; then :
28709 cat >>confdefs.h <<_ACEOF
28710 #define HAVE__EXPF 1
28711 _ACEOF
28714 done
28723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28724 $as_echo_n "checking for isnanf declaration... " >&6; }
28725 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28726 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28727 $as_echo_n "(cached) " >&6
28728 else
28731 ac_ext=cpp
28732 ac_cpp='$CXXCPP $CPPFLAGS'
28733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28738 /* end confdefs.h. */
28739 #include <math.h>
28740 #ifdef HAVE_IEEEFP_H
28741 #include <ieeefp.h>
28742 #endif
28745 main ()
28747 isnanf(0);
28749 return 0;
28751 _ACEOF
28752 if ac_fn_cxx_try_compile "$LINENO"; then :
28753 glibcxx_cv_func_isnanf_use=yes
28754 else
28755 glibcxx_cv_func_isnanf_use=no
28757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28758 ac_ext=c
28759 ac_cpp='$CPP $CPPFLAGS'
28760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28769 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28771 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28772 for ac_func in isnanf
28773 do :
28774 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28775 if test "x$ac_cv_func_isnanf" = x""yes; then :
28776 cat >>confdefs.h <<_ACEOF
28777 #define HAVE_ISNANF 1
28778 _ACEOF
28781 done
28783 else
28785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28786 $as_echo_n "checking for _isnanf declaration... " >&6; }
28787 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28788 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28789 $as_echo_n "(cached) " >&6
28790 else
28793 ac_ext=cpp
28794 ac_cpp='$CXXCPP $CPPFLAGS'
28795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28800 /* end confdefs.h. */
28801 #include <math.h>
28802 #ifdef HAVE_IEEEFP_H
28803 #include <ieeefp.h>
28804 #endif
28807 main ()
28809 _isnanf(0);
28811 return 0;
28813 _ACEOF
28814 if ac_fn_cxx_try_compile "$LINENO"; then :
28815 glibcxx_cv_func__isnanf_use=yes
28816 else
28817 glibcxx_cv_func__isnanf_use=no
28819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28820 ac_ext=c
28821 ac_cpp='$CPP $CPPFLAGS'
28822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28831 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28833 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28834 for ac_func in _isnanf
28835 do :
28836 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28837 if test "x$ac_cv_func__isnanf" = x""yes; then :
28838 cat >>confdefs.h <<_ACEOF
28839 #define HAVE__ISNANF 1
28840 _ACEOF
28843 done
28852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28853 $as_echo_n "checking for isinff declaration... " >&6; }
28854 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28855 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28856 $as_echo_n "(cached) " >&6
28857 else
28860 ac_ext=cpp
28861 ac_cpp='$CXXCPP $CPPFLAGS'
28862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28867 /* end confdefs.h. */
28868 #include <math.h>
28869 #ifdef HAVE_IEEEFP_H
28870 #include <ieeefp.h>
28871 #endif
28874 main ()
28876 isinff(0);
28878 return 0;
28880 _ACEOF
28881 if ac_fn_cxx_try_compile "$LINENO"; then :
28882 glibcxx_cv_func_isinff_use=yes
28883 else
28884 glibcxx_cv_func_isinff_use=no
28886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28887 ac_ext=c
28888 ac_cpp='$CPP $CPPFLAGS'
28889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28898 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28900 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28901 for ac_func in isinff
28902 do :
28903 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28904 if test "x$ac_cv_func_isinff" = x""yes; then :
28905 cat >>confdefs.h <<_ACEOF
28906 #define HAVE_ISINFF 1
28907 _ACEOF
28910 done
28912 else
28914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28915 $as_echo_n "checking for _isinff declaration... " >&6; }
28916 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28917 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28918 $as_echo_n "(cached) " >&6
28919 else
28922 ac_ext=cpp
28923 ac_cpp='$CXXCPP $CPPFLAGS'
28924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28929 /* end confdefs.h. */
28930 #include <math.h>
28931 #ifdef HAVE_IEEEFP_H
28932 #include <ieeefp.h>
28933 #endif
28936 main ()
28938 _isinff(0);
28940 return 0;
28942 _ACEOF
28943 if ac_fn_cxx_try_compile "$LINENO"; then :
28944 glibcxx_cv_func__isinff_use=yes
28945 else
28946 glibcxx_cv_func__isinff_use=no
28948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28949 ac_ext=c
28950 ac_cpp='$CPP $CPPFLAGS'
28951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28960 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28962 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28963 for ac_func in _isinff
28964 do :
28965 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28966 if test "x$ac_cv_func__isinff" = x""yes; then :
28967 cat >>confdefs.h <<_ACEOF
28968 #define HAVE__ISINFF 1
28969 _ACEOF
28972 done
28981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28982 $as_echo_n "checking for atan2f declaration... " >&6; }
28983 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28984 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28985 $as_echo_n "(cached) " >&6
28986 else
28989 ac_ext=cpp
28990 ac_cpp='$CXXCPP $CPPFLAGS'
28991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28996 /* end confdefs.h. */
28997 #include <math.h>
28999 main ()
29001 atan2f(0, 0);
29003 return 0;
29005 _ACEOF
29006 if ac_fn_cxx_try_compile "$LINENO"; then :
29007 glibcxx_cv_func_atan2f_use=yes
29008 else
29009 glibcxx_cv_func_atan2f_use=no
29011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29012 ac_ext=c
29013 ac_cpp='$CPP $CPPFLAGS'
29014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29023 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29025 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29026 for ac_func in atan2f
29027 do :
29028 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29029 if test "x$ac_cv_func_atan2f" = x""yes; then :
29030 cat >>confdefs.h <<_ACEOF
29031 #define HAVE_ATAN2F 1
29032 _ACEOF
29035 done
29037 else
29039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29040 $as_echo_n "checking for _atan2f declaration... " >&6; }
29041 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29042 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29043 $as_echo_n "(cached) " >&6
29044 else
29047 ac_ext=cpp
29048 ac_cpp='$CXXCPP $CPPFLAGS'
29049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29054 /* end confdefs.h. */
29055 #include <math.h>
29057 main ()
29059 _atan2f(0, 0);
29061 return 0;
29063 _ACEOF
29064 if ac_fn_cxx_try_compile "$LINENO"; then :
29065 glibcxx_cv_func__atan2f_use=yes
29066 else
29067 glibcxx_cv_func__atan2f_use=no
29069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29070 ac_ext=c
29071 ac_cpp='$CPP $CPPFLAGS'
29072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29081 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29083 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29084 for ac_func in _atan2f
29085 do :
29086 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29087 if test "x$ac_cv_func__atan2f" = x""yes; then :
29088 cat >>confdefs.h <<_ACEOF
29089 #define HAVE__ATAN2F 1
29090 _ACEOF
29093 done
29102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29103 $as_echo_n "checking for fabsf declaration... " >&6; }
29104 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29105 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29106 $as_echo_n "(cached) " >&6
29107 else
29110 ac_ext=cpp
29111 ac_cpp='$CXXCPP $CPPFLAGS'
29112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29117 /* end confdefs.h. */
29118 #include <math.h>
29119 #ifdef HAVE_IEEEFP_H
29120 #include <ieeefp.h>
29121 #endif
29124 main ()
29126 fabsf(0);
29128 return 0;
29130 _ACEOF
29131 if ac_fn_cxx_try_compile "$LINENO"; then :
29132 glibcxx_cv_func_fabsf_use=yes
29133 else
29134 glibcxx_cv_func_fabsf_use=no
29136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29137 ac_ext=c
29138 ac_cpp='$CPP $CPPFLAGS'
29139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29148 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29150 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29151 for ac_func in fabsf
29152 do :
29153 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29154 if test "x$ac_cv_func_fabsf" = x""yes; then :
29155 cat >>confdefs.h <<_ACEOF
29156 #define HAVE_FABSF 1
29157 _ACEOF
29160 done
29162 else
29164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29165 $as_echo_n "checking for _fabsf declaration... " >&6; }
29166 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29167 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29168 $as_echo_n "(cached) " >&6
29169 else
29172 ac_ext=cpp
29173 ac_cpp='$CXXCPP $CPPFLAGS'
29174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29179 /* end confdefs.h. */
29180 #include <math.h>
29181 #ifdef HAVE_IEEEFP_H
29182 #include <ieeefp.h>
29183 #endif
29186 main ()
29188 _fabsf(0);
29190 return 0;
29192 _ACEOF
29193 if ac_fn_cxx_try_compile "$LINENO"; then :
29194 glibcxx_cv_func__fabsf_use=yes
29195 else
29196 glibcxx_cv_func__fabsf_use=no
29198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29199 ac_ext=c
29200 ac_cpp='$CPP $CPPFLAGS'
29201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29210 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29212 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29213 for ac_func in _fabsf
29214 do :
29215 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29216 if test "x$ac_cv_func__fabsf" = x""yes; then :
29217 cat >>confdefs.h <<_ACEOF
29218 #define HAVE__FABSF 1
29219 _ACEOF
29222 done
29231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29232 $as_echo_n "checking for fmodf declaration... " >&6; }
29233 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29234 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29235 $as_echo_n "(cached) " >&6
29236 else
29239 ac_ext=cpp
29240 ac_cpp='$CXXCPP $CPPFLAGS'
29241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29246 /* end confdefs.h. */
29247 #include <math.h>
29249 main ()
29251 fmodf(0, 0);
29253 return 0;
29255 _ACEOF
29256 if ac_fn_cxx_try_compile "$LINENO"; then :
29257 glibcxx_cv_func_fmodf_use=yes
29258 else
29259 glibcxx_cv_func_fmodf_use=no
29261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29262 ac_ext=c
29263 ac_cpp='$CPP $CPPFLAGS'
29264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29273 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29275 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29276 for ac_func in fmodf
29277 do :
29278 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29279 if test "x$ac_cv_func_fmodf" = x""yes; then :
29280 cat >>confdefs.h <<_ACEOF
29281 #define HAVE_FMODF 1
29282 _ACEOF
29285 done
29287 else
29289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29290 $as_echo_n "checking for _fmodf declaration... " >&6; }
29291 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29292 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29293 $as_echo_n "(cached) " >&6
29294 else
29297 ac_ext=cpp
29298 ac_cpp='$CXXCPP $CPPFLAGS'
29299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29304 /* end confdefs.h. */
29305 #include <math.h>
29307 main ()
29309 _fmodf(0, 0);
29311 return 0;
29313 _ACEOF
29314 if ac_fn_cxx_try_compile "$LINENO"; then :
29315 glibcxx_cv_func__fmodf_use=yes
29316 else
29317 glibcxx_cv_func__fmodf_use=no
29319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29320 ac_ext=c
29321 ac_cpp='$CPP $CPPFLAGS'
29322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29331 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29333 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29334 for ac_func in _fmodf
29335 do :
29336 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29337 if test "x$ac_cv_func__fmodf" = x""yes; then :
29338 cat >>confdefs.h <<_ACEOF
29339 #define HAVE__FMODF 1
29340 _ACEOF
29343 done
29352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29353 $as_echo_n "checking for frexpf declaration... " >&6; }
29354 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29355 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29356 $as_echo_n "(cached) " >&6
29357 else
29360 ac_ext=cpp
29361 ac_cpp='$CXXCPP $CPPFLAGS'
29362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29367 /* end confdefs.h. */
29368 #include <math.h>
29370 main ()
29372 frexpf(0, 0);
29374 return 0;
29376 _ACEOF
29377 if ac_fn_cxx_try_compile "$LINENO"; then :
29378 glibcxx_cv_func_frexpf_use=yes
29379 else
29380 glibcxx_cv_func_frexpf_use=no
29382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29383 ac_ext=c
29384 ac_cpp='$CPP $CPPFLAGS'
29385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29394 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29396 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29397 for ac_func in frexpf
29398 do :
29399 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29400 if test "x$ac_cv_func_frexpf" = x""yes; then :
29401 cat >>confdefs.h <<_ACEOF
29402 #define HAVE_FREXPF 1
29403 _ACEOF
29406 done
29408 else
29410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29411 $as_echo_n "checking for _frexpf declaration... " >&6; }
29412 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29413 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29414 $as_echo_n "(cached) " >&6
29415 else
29418 ac_ext=cpp
29419 ac_cpp='$CXXCPP $CPPFLAGS'
29420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29425 /* end confdefs.h. */
29426 #include <math.h>
29428 main ()
29430 _frexpf(0, 0);
29432 return 0;
29434 _ACEOF
29435 if ac_fn_cxx_try_compile "$LINENO"; then :
29436 glibcxx_cv_func__frexpf_use=yes
29437 else
29438 glibcxx_cv_func__frexpf_use=no
29440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29441 ac_ext=c
29442 ac_cpp='$CPP $CPPFLAGS'
29443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29452 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29454 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29455 for ac_func in _frexpf
29456 do :
29457 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29458 if test "x$ac_cv_func__frexpf" = x""yes; then :
29459 cat >>confdefs.h <<_ACEOF
29460 #define HAVE__FREXPF 1
29461 _ACEOF
29464 done
29473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29474 $as_echo_n "checking for hypotf declaration... " >&6; }
29475 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29476 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29477 $as_echo_n "(cached) " >&6
29478 else
29481 ac_ext=cpp
29482 ac_cpp='$CXXCPP $CPPFLAGS'
29483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29488 /* end confdefs.h. */
29489 #include <math.h>
29491 main ()
29493 hypotf(0, 0);
29495 return 0;
29497 _ACEOF
29498 if ac_fn_cxx_try_compile "$LINENO"; then :
29499 glibcxx_cv_func_hypotf_use=yes
29500 else
29501 glibcxx_cv_func_hypotf_use=no
29503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29504 ac_ext=c
29505 ac_cpp='$CPP $CPPFLAGS'
29506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29515 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29517 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29518 for ac_func in hypotf
29519 do :
29520 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29521 if test "x$ac_cv_func_hypotf" = x""yes; then :
29522 cat >>confdefs.h <<_ACEOF
29523 #define HAVE_HYPOTF 1
29524 _ACEOF
29527 done
29529 else
29531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29532 $as_echo_n "checking for _hypotf declaration... " >&6; }
29533 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29534 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29535 $as_echo_n "(cached) " >&6
29536 else
29539 ac_ext=cpp
29540 ac_cpp='$CXXCPP $CPPFLAGS'
29541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29546 /* end confdefs.h. */
29547 #include <math.h>
29549 main ()
29551 _hypotf(0, 0);
29553 return 0;
29555 _ACEOF
29556 if ac_fn_cxx_try_compile "$LINENO"; then :
29557 glibcxx_cv_func__hypotf_use=yes
29558 else
29559 glibcxx_cv_func__hypotf_use=no
29561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29562 ac_ext=c
29563 ac_cpp='$CPP $CPPFLAGS'
29564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29573 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29575 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29576 for ac_func in _hypotf
29577 do :
29578 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29579 if test "x$ac_cv_func__hypotf" = x""yes; then :
29580 cat >>confdefs.h <<_ACEOF
29581 #define HAVE__HYPOTF 1
29582 _ACEOF
29585 done
29594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29595 $as_echo_n "checking for ldexpf declaration... " >&6; }
29596 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29597 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29598 $as_echo_n "(cached) " >&6
29599 else
29602 ac_ext=cpp
29603 ac_cpp='$CXXCPP $CPPFLAGS'
29604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29609 /* end confdefs.h. */
29610 #include <math.h>
29612 main ()
29614 ldexpf(0, 0);
29616 return 0;
29618 _ACEOF
29619 if ac_fn_cxx_try_compile "$LINENO"; then :
29620 glibcxx_cv_func_ldexpf_use=yes
29621 else
29622 glibcxx_cv_func_ldexpf_use=no
29624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29625 ac_ext=c
29626 ac_cpp='$CPP $CPPFLAGS'
29627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29636 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29638 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29639 for ac_func in ldexpf
29640 do :
29641 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29642 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29643 cat >>confdefs.h <<_ACEOF
29644 #define HAVE_LDEXPF 1
29645 _ACEOF
29648 done
29650 else
29652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29653 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29654 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29655 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29656 $as_echo_n "(cached) " >&6
29657 else
29660 ac_ext=cpp
29661 ac_cpp='$CXXCPP $CPPFLAGS'
29662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29667 /* end confdefs.h. */
29668 #include <math.h>
29670 main ()
29672 _ldexpf(0, 0);
29674 return 0;
29676 _ACEOF
29677 if ac_fn_cxx_try_compile "$LINENO"; then :
29678 glibcxx_cv_func__ldexpf_use=yes
29679 else
29680 glibcxx_cv_func__ldexpf_use=no
29682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29683 ac_ext=c
29684 ac_cpp='$CPP $CPPFLAGS'
29685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29694 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29696 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29697 for ac_func in _ldexpf
29698 do :
29699 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29700 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29701 cat >>confdefs.h <<_ACEOF
29702 #define HAVE__LDEXPF 1
29703 _ACEOF
29706 done
29715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29716 $as_echo_n "checking for logf declaration... " >&6; }
29717 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29718 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29719 $as_echo_n "(cached) " >&6
29720 else
29723 ac_ext=cpp
29724 ac_cpp='$CXXCPP $CPPFLAGS'
29725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29730 /* end confdefs.h. */
29731 #include <math.h>
29732 #ifdef HAVE_IEEEFP_H
29733 #include <ieeefp.h>
29734 #endif
29737 main ()
29739 logf(0);
29741 return 0;
29743 _ACEOF
29744 if ac_fn_cxx_try_compile "$LINENO"; then :
29745 glibcxx_cv_func_logf_use=yes
29746 else
29747 glibcxx_cv_func_logf_use=no
29749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29750 ac_ext=c
29751 ac_cpp='$CPP $CPPFLAGS'
29752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29761 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29763 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29764 for ac_func in logf
29765 do :
29766 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29767 if test "x$ac_cv_func_logf" = x""yes; then :
29768 cat >>confdefs.h <<_ACEOF
29769 #define HAVE_LOGF 1
29770 _ACEOF
29773 done
29775 else
29777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29778 $as_echo_n "checking for _logf declaration... " >&6; }
29779 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29780 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29781 $as_echo_n "(cached) " >&6
29782 else
29785 ac_ext=cpp
29786 ac_cpp='$CXXCPP $CPPFLAGS'
29787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29792 /* end confdefs.h. */
29793 #include <math.h>
29794 #ifdef HAVE_IEEEFP_H
29795 #include <ieeefp.h>
29796 #endif
29799 main ()
29801 _logf(0);
29803 return 0;
29805 _ACEOF
29806 if ac_fn_cxx_try_compile "$LINENO"; then :
29807 glibcxx_cv_func__logf_use=yes
29808 else
29809 glibcxx_cv_func__logf_use=no
29811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29812 ac_ext=c
29813 ac_cpp='$CPP $CPPFLAGS'
29814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29823 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29825 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29826 for ac_func in _logf
29827 do :
29828 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29829 if test "x$ac_cv_func__logf" = x""yes; then :
29830 cat >>confdefs.h <<_ACEOF
29831 #define HAVE__LOGF 1
29832 _ACEOF
29835 done
29844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29845 $as_echo_n "checking for log10f declaration... " >&6; }
29846 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29847 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29848 $as_echo_n "(cached) " >&6
29849 else
29852 ac_ext=cpp
29853 ac_cpp='$CXXCPP $CPPFLAGS'
29854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29859 /* end confdefs.h. */
29860 #include <math.h>
29861 #ifdef HAVE_IEEEFP_H
29862 #include <ieeefp.h>
29863 #endif
29866 main ()
29868 log10f(0);
29870 return 0;
29872 _ACEOF
29873 if ac_fn_cxx_try_compile "$LINENO"; then :
29874 glibcxx_cv_func_log10f_use=yes
29875 else
29876 glibcxx_cv_func_log10f_use=no
29878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29879 ac_ext=c
29880 ac_cpp='$CPP $CPPFLAGS'
29881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29890 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29892 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29893 for ac_func in log10f
29894 do :
29895 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29896 if test "x$ac_cv_func_log10f" = x""yes; then :
29897 cat >>confdefs.h <<_ACEOF
29898 #define HAVE_LOG10F 1
29899 _ACEOF
29902 done
29904 else
29906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29907 $as_echo_n "checking for _log10f declaration... " >&6; }
29908 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29909 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29910 $as_echo_n "(cached) " >&6
29911 else
29914 ac_ext=cpp
29915 ac_cpp='$CXXCPP $CPPFLAGS'
29916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29921 /* end confdefs.h. */
29922 #include <math.h>
29923 #ifdef HAVE_IEEEFP_H
29924 #include <ieeefp.h>
29925 #endif
29928 main ()
29930 _log10f(0);
29932 return 0;
29934 _ACEOF
29935 if ac_fn_cxx_try_compile "$LINENO"; then :
29936 glibcxx_cv_func__log10f_use=yes
29937 else
29938 glibcxx_cv_func__log10f_use=no
29940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29941 ac_ext=c
29942 ac_cpp='$CPP $CPPFLAGS'
29943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29952 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29954 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29955 for ac_func in _log10f
29956 do :
29957 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29958 if test "x$ac_cv_func__log10f" = x""yes; then :
29959 cat >>confdefs.h <<_ACEOF
29960 #define HAVE__LOG10F 1
29961 _ACEOF
29964 done
29973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29974 $as_echo_n "checking for modff declaration... " >&6; }
29975 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29976 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29977 $as_echo_n "(cached) " >&6
29978 else
29981 ac_ext=cpp
29982 ac_cpp='$CXXCPP $CPPFLAGS'
29983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29988 /* end confdefs.h. */
29989 #include <math.h>
29991 main ()
29993 modff(0, 0);
29995 return 0;
29997 _ACEOF
29998 if ac_fn_cxx_try_compile "$LINENO"; then :
29999 glibcxx_cv_func_modff_use=yes
30000 else
30001 glibcxx_cv_func_modff_use=no
30003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30004 ac_ext=c
30005 ac_cpp='$CPP $CPPFLAGS'
30006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30015 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30017 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30018 for ac_func in modff
30019 do :
30020 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30021 if test "x$ac_cv_func_modff" = x""yes; then :
30022 cat >>confdefs.h <<_ACEOF
30023 #define HAVE_MODFF 1
30024 _ACEOF
30027 done
30029 else
30031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30032 $as_echo_n "checking for _modff declaration... " >&6; }
30033 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30034 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30035 $as_echo_n "(cached) " >&6
30036 else
30039 ac_ext=cpp
30040 ac_cpp='$CXXCPP $CPPFLAGS'
30041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30046 /* end confdefs.h. */
30047 #include <math.h>
30049 main ()
30051 _modff(0, 0);
30053 return 0;
30055 _ACEOF
30056 if ac_fn_cxx_try_compile "$LINENO"; then :
30057 glibcxx_cv_func__modff_use=yes
30058 else
30059 glibcxx_cv_func__modff_use=no
30061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30062 ac_ext=c
30063 ac_cpp='$CPP $CPPFLAGS'
30064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30073 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30075 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30076 for ac_func in _modff
30077 do :
30078 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30079 if test "x$ac_cv_func__modff" = x""yes; then :
30080 cat >>confdefs.h <<_ACEOF
30081 #define HAVE__MODFF 1
30082 _ACEOF
30085 done
30094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30095 $as_echo_n "checking for modf declaration... " >&6; }
30096 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30097 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30098 $as_echo_n "(cached) " >&6
30099 else
30102 ac_ext=cpp
30103 ac_cpp='$CXXCPP $CPPFLAGS'
30104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30109 /* end confdefs.h. */
30110 #include <math.h>
30112 main ()
30114 modf(0, 0);
30116 return 0;
30118 _ACEOF
30119 if ac_fn_cxx_try_compile "$LINENO"; then :
30120 glibcxx_cv_func_modf_use=yes
30121 else
30122 glibcxx_cv_func_modf_use=no
30124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30125 ac_ext=c
30126 ac_cpp='$CPP $CPPFLAGS'
30127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30136 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30138 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30139 for ac_func in modf
30140 do :
30141 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30142 if test "x$ac_cv_func_modf" = x""yes; then :
30143 cat >>confdefs.h <<_ACEOF
30144 #define HAVE_MODF 1
30145 _ACEOF
30148 done
30150 else
30152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30153 $as_echo_n "checking for _modf declaration... " >&6; }
30154 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30155 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30156 $as_echo_n "(cached) " >&6
30157 else
30160 ac_ext=cpp
30161 ac_cpp='$CXXCPP $CPPFLAGS'
30162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30167 /* end confdefs.h. */
30168 #include <math.h>
30170 main ()
30172 _modf(0, 0);
30174 return 0;
30176 _ACEOF
30177 if ac_fn_cxx_try_compile "$LINENO"; then :
30178 glibcxx_cv_func__modf_use=yes
30179 else
30180 glibcxx_cv_func__modf_use=no
30182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30183 ac_ext=c
30184 ac_cpp='$CPP $CPPFLAGS'
30185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30194 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30196 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30197 for ac_func in _modf
30198 do :
30199 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30200 if test "x$ac_cv_func__modf" = x""yes; then :
30201 cat >>confdefs.h <<_ACEOF
30202 #define HAVE__MODF 1
30203 _ACEOF
30206 done
30215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30216 $as_echo_n "checking for powf declaration... " >&6; }
30217 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30218 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30219 $as_echo_n "(cached) " >&6
30220 else
30223 ac_ext=cpp
30224 ac_cpp='$CXXCPP $CPPFLAGS'
30225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30230 /* end confdefs.h. */
30231 #include <math.h>
30233 main ()
30235 powf(0, 0);
30237 return 0;
30239 _ACEOF
30240 if ac_fn_cxx_try_compile "$LINENO"; then :
30241 glibcxx_cv_func_powf_use=yes
30242 else
30243 glibcxx_cv_func_powf_use=no
30245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30246 ac_ext=c
30247 ac_cpp='$CPP $CPPFLAGS'
30248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30257 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30259 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30260 for ac_func in powf
30261 do :
30262 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30263 if test "x$ac_cv_func_powf" = x""yes; then :
30264 cat >>confdefs.h <<_ACEOF
30265 #define HAVE_POWF 1
30266 _ACEOF
30269 done
30271 else
30273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30274 $as_echo_n "checking for _powf declaration... " >&6; }
30275 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30276 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30277 $as_echo_n "(cached) " >&6
30278 else
30281 ac_ext=cpp
30282 ac_cpp='$CXXCPP $CPPFLAGS'
30283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30288 /* end confdefs.h. */
30289 #include <math.h>
30291 main ()
30293 _powf(0, 0);
30295 return 0;
30297 _ACEOF
30298 if ac_fn_cxx_try_compile "$LINENO"; then :
30299 glibcxx_cv_func__powf_use=yes
30300 else
30301 glibcxx_cv_func__powf_use=no
30303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30304 ac_ext=c
30305 ac_cpp='$CPP $CPPFLAGS'
30306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30315 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30317 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30318 for ac_func in _powf
30319 do :
30320 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30321 if test "x$ac_cv_func__powf" = x""yes; then :
30322 cat >>confdefs.h <<_ACEOF
30323 #define HAVE__POWF 1
30324 _ACEOF
30327 done
30336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30337 $as_echo_n "checking for sqrtf declaration... " >&6; }
30338 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30339 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30340 $as_echo_n "(cached) " >&6
30341 else
30344 ac_ext=cpp
30345 ac_cpp='$CXXCPP $CPPFLAGS'
30346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30351 /* end confdefs.h. */
30352 #include <math.h>
30353 #ifdef HAVE_IEEEFP_H
30354 #include <ieeefp.h>
30355 #endif
30358 main ()
30360 sqrtf(0);
30362 return 0;
30364 _ACEOF
30365 if ac_fn_cxx_try_compile "$LINENO"; then :
30366 glibcxx_cv_func_sqrtf_use=yes
30367 else
30368 glibcxx_cv_func_sqrtf_use=no
30370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30371 ac_ext=c
30372 ac_cpp='$CPP $CPPFLAGS'
30373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30382 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30384 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30385 for ac_func in sqrtf
30386 do :
30387 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30388 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30389 cat >>confdefs.h <<_ACEOF
30390 #define HAVE_SQRTF 1
30391 _ACEOF
30394 done
30396 else
30398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30399 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30400 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30401 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30402 $as_echo_n "(cached) " >&6
30403 else
30406 ac_ext=cpp
30407 ac_cpp='$CXXCPP $CPPFLAGS'
30408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30413 /* end confdefs.h. */
30414 #include <math.h>
30415 #ifdef HAVE_IEEEFP_H
30416 #include <ieeefp.h>
30417 #endif
30420 main ()
30422 _sqrtf(0);
30424 return 0;
30426 _ACEOF
30427 if ac_fn_cxx_try_compile "$LINENO"; then :
30428 glibcxx_cv_func__sqrtf_use=yes
30429 else
30430 glibcxx_cv_func__sqrtf_use=no
30432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30433 ac_ext=c
30434 ac_cpp='$CPP $CPPFLAGS'
30435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30444 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30446 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30447 for ac_func in _sqrtf
30448 do :
30449 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30450 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30451 cat >>confdefs.h <<_ACEOF
30452 #define HAVE__SQRTF 1
30453 _ACEOF
30456 done
30465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30466 $as_echo_n "checking for sincosf declaration... " >&6; }
30467 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30468 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30469 $as_echo_n "(cached) " >&6
30470 else
30473 ac_ext=cpp
30474 ac_cpp='$CXXCPP $CPPFLAGS'
30475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30480 /* end confdefs.h. */
30481 #include <math.h>
30483 main ()
30485 sincosf(0, 0, 0);
30487 return 0;
30489 _ACEOF
30490 if ac_fn_cxx_try_compile "$LINENO"; then :
30491 glibcxx_cv_func_sincosf_use=yes
30492 else
30493 glibcxx_cv_func_sincosf_use=no
30495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30496 ac_ext=c
30497 ac_cpp='$CPP $CPPFLAGS'
30498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30507 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30509 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30510 for ac_func in sincosf
30511 do :
30512 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30513 if test "x$ac_cv_func_sincosf" = x""yes; then :
30514 cat >>confdefs.h <<_ACEOF
30515 #define HAVE_SINCOSF 1
30516 _ACEOF
30519 done
30521 else
30523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30524 $as_echo_n "checking for _sincosf declaration... " >&6; }
30525 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30526 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30527 $as_echo_n "(cached) " >&6
30528 else
30531 ac_ext=cpp
30532 ac_cpp='$CXXCPP $CPPFLAGS'
30533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30538 /* end confdefs.h. */
30539 #include <math.h>
30541 main ()
30543 _sincosf(0, 0, 0);
30545 return 0;
30547 _ACEOF
30548 if ac_fn_cxx_try_compile "$LINENO"; then :
30549 glibcxx_cv_func__sincosf_use=yes
30550 else
30551 glibcxx_cv_func__sincosf_use=no
30553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30554 ac_ext=c
30555 ac_cpp='$CPP $CPPFLAGS'
30556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30565 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30567 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30568 for ac_func in _sincosf
30569 do :
30570 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30571 if test "x$ac_cv_func__sincosf" = x""yes; then :
30572 cat >>confdefs.h <<_ACEOF
30573 #define HAVE__SINCOSF 1
30574 _ACEOF
30577 done
30586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30587 $as_echo_n "checking for finitef declaration... " >&6; }
30588 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30589 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30590 $as_echo_n "(cached) " >&6
30591 else
30594 ac_ext=cpp
30595 ac_cpp='$CXXCPP $CPPFLAGS'
30596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30601 /* end confdefs.h. */
30602 #include <math.h>
30603 #ifdef HAVE_IEEEFP_H
30604 #include <ieeefp.h>
30605 #endif
30608 main ()
30610 finitef(0);
30612 return 0;
30614 _ACEOF
30615 if ac_fn_cxx_try_compile "$LINENO"; then :
30616 glibcxx_cv_func_finitef_use=yes
30617 else
30618 glibcxx_cv_func_finitef_use=no
30620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30621 ac_ext=c
30622 ac_cpp='$CPP $CPPFLAGS'
30623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30632 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30634 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30635 for ac_func in finitef
30636 do :
30637 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30638 if test "x$ac_cv_func_finitef" = x""yes; then :
30639 cat >>confdefs.h <<_ACEOF
30640 #define HAVE_FINITEF 1
30641 _ACEOF
30644 done
30646 else
30648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30649 $as_echo_n "checking for _finitef declaration... " >&6; }
30650 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30651 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30652 $as_echo_n "(cached) " >&6
30653 else
30656 ac_ext=cpp
30657 ac_cpp='$CXXCPP $CPPFLAGS'
30658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30663 /* end confdefs.h. */
30664 #include <math.h>
30665 #ifdef HAVE_IEEEFP_H
30666 #include <ieeefp.h>
30667 #endif
30670 main ()
30672 _finitef(0);
30674 return 0;
30676 _ACEOF
30677 if ac_fn_cxx_try_compile "$LINENO"; then :
30678 glibcxx_cv_func__finitef_use=yes
30679 else
30680 glibcxx_cv_func__finitef_use=no
30682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30683 ac_ext=c
30684 ac_cpp='$CPP $CPPFLAGS'
30685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30694 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30696 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30697 for ac_func in _finitef
30698 do :
30699 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30700 if test "x$ac_cv_func__finitef" = x""yes; then :
30701 cat >>confdefs.h <<_ACEOF
30702 #define HAVE__FINITEF 1
30703 _ACEOF
30706 done
30715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30716 $as_echo_n "checking for long double trig functions... " >&6; }
30717 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30718 $as_echo_n "(cached) " >&6
30719 else
30722 ac_ext=cpp
30723 ac_cpp='$CXXCPP $CPPFLAGS'
30724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30729 /* end confdefs.h. */
30730 #include <math.h>
30732 main ()
30734 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30736 return 0;
30738 _ACEOF
30739 if ac_fn_cxx_try_compile "$LINENO"; then :
30740 glibcxx_cv_func_long_double_trig_use=yes
30741 else
30742 glibcxx_cv_func_long_double_trig_use=no
30744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30745 ac_ext=c
30746 ac_cpp='$CPP $CPPFLAGS'
30747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30754 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30755 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30756 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30757 do :
30758 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30759 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30760 eval as_val=\$$as_ac_var
30761 if test "x$as_val" = x""yes; then :
30762 cat >>confdefs.h <<_ACEOF
30763 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30764 _ACEOF
30767 done
30769 else
30770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30771 $as_echo_n "checking for _long double trig functions... " >&6; }
30772 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30773 $as_echo_n "(cached) " >&6
30774 else
30777 ac_ext=cpp
30778 ac_cpp='$CXXCPP $CPPFLAGS'
30779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30784 /* end confdefs.h. */
30785 #include <math.h>
30787 main ()
30789 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30791 return 0;
30793 _ACEOF
30794 if ac_fn_cxx_try_compile "$LINENO"; then :
30795 glibcxx_cv_func__long_double_trig_use=yes
30796 else
30797 glibcxx_cv_func__long_double_trig_use=no
30799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30800 ac_ext=c
30801 ac_cpp='$CPP $CPPFLAGS'
30802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30809 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30810 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30811 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30812 do :
30813 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30814 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30815 eval as_val=\$$as_ac_var
30816 if test "x$as_val" = x""yes; then :
30817 cat >>confdefs.h <<_ACEOF
30818 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30819 _ACEOF
30822 done
30831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30832 $as_echo_n "checking for long double round functions... " >&6; }
30833 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30834 $as_echo_n "(cached) " >&6
30835 else
30838 ac_ext=cpp
30839 ac_cpp='$CXXCPP $CPPFLAGS'
30840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30845 /* end confdefs.h. */
30846 #include <math.h>
30848 main ()
30850 ceill (0); floorl (0);
30852 return 0;
30854 _ACEOF
30855 if ac_fn_cxx_try_compile "$LINENO"; then :
30856 glibcxx_cv_func_long_double_round_use=yes
30857 else
30858 glibcxx_cv_func_long_double_round_use=no
30860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30861 ac_ext=c
30862 ac_cpp='$CPP $CPPFLAGS'
30863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30870 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30871 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30872 for ac_func in ceill floorl
30873 do :
30874 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30875 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30876 eval as_val=\$$as_ac_var
30877 if test "x$as_val" = x""yes; then :
30878 cat >>confdefs.h <<_ACEOF
30879 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30880 _ACEOF
30883 done
30885 else
30886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30887 $as_echo_n "checking for _long double round functions... " >&6; }
30888 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30889 $as_echo_n "(cached) " >&6
30890 else
30893 ac_ext=cpp
30894 ac_cpp='$CXXCPP $CPPFLAGS'
30895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30900 /* end confdefs.h. */
30901 #include <math.h>
30903 main ()
30905 _ceill (0); _floorl (0);
30907 return 0;
30909 _ACEOF
30910 if ac_fn_cxx_try_compile "$LINENO"; then :
30911 glibcxx_cv_func__long_double_round_use=yes
30912 else
30913 glibcxx_cv_func__long_double_round_use=no
30915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30916 ac_ext=c
30917 ac_cpp='$CPP $CPPFLAGS'
30918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30925 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30926 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30927 for ac_func in _ceill _floorl
30928 do :
30929 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30930 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30931 eval as_val=\$$as_ac_var
30932 if test "x$as_val" = x""yes; then :
30933 cat >>confdefs.h <<_ACEOF
30934 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30935 _ACEOF
30938 done
30948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30949 $as_echo_n "checking for isnanl declaration... " >&6; }
30950 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30951 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30952 $as_echo_n "(cached) " >&6
30953 else
30956 ac_ext=cpp
30957 ac_cpp='$CXXCPP $CPPFLAGS'
30958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30963 /* end confdefs.h. */
30964 #include <math.h>
30965 #ifdef HAVE_IEEEFP_H
30966 #include <ieeefp.h>
30967 #endif
30970 main ()
30972 isnanl(0);
30974 return 0;
30976 _ACEOF
30977 if ac_fn_cxx_try_compile "$LINENO"; then :
30978 glibcxx_cv_func_isnanl_use=yes
30979 else
30980 glibcxx_cv_func_isnanl_use=no
30982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30983 ac_ext=c
30984 ac_cpp='$CPP $CPPFLAGS'
30985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30994 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30996 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30997 for ac_func in isnanl
30998 do :
30999 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31000 if test "x$ac_cv_func_isnanl" = x""yes; then :
31001 cat >>confdefs.h <<_ACEOF
31002 #define HAVE_ISNANL 1
31003 _ACEOF
31006 done
31008 else
31010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31011 $as_echo_n "checking for _isnanl declaration... " >&6; }
31012 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31013 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31014 $as_echo_n "(cached) " >&6
31015 else
31018 ac_ext=cpp
31019 ac_cpp='$CXXCPP $CPPFLAGS'
31020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31025 /* end confdefs.h. */
31026 #include <math.h>
31027 #ifdef HAVE_IEEEFP_H
31028 #include <ieeefp.h>
31029 #endif
31032 main ()
31034 _isnanl(0);
31036 return 0;
31038 _ACEOF
31039 if ac_fn_cxx_try_compile "$LINENO"; then :
31040 glibcxx_cv_func__isnanl_use=yes
31041 else
31042 glibcxx_cv_func__isnanl_use=no
31044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31045 ac_ext=c
31046 ac_cpp='$CPP $CPPFLAGS'
31047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31056 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31058 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31059 for ac_func in _isnanl
31060 do :
31061 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31062 if test "x$ac_cv_func__isnanl" = x""yes; then :
31063 cat >>confdefs.h <<_ACEOF
31064 #define HAVE__ISNANL 1
31065 _ACEOF
31068 done
31077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31078 $as_echo_n "checking for isinfl declaration... " >&6; }
31079 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31080 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31081 $as_echo_n "(cached) " >&6
31082 else
31085 ac_ext=cpp
31086 ac_cpp='$CXXCPP $CPPFLAGS'
31087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31092 /* end confdefs.h. */
31093 #include <math.h>
31094 #ifdef HAVE_IEEEFP_H
31095 #include <ieeefp.h>
31096 #endif
31099 main ()
31101 isinfl(0);
31103 return 0;
31105 _ACEOF
31106 if ac_fn_cxx_try_compile "$LINENO"; then :
31107 glibcxx_cv_func_isinfl_use=yes
31108 else
31109 glibcxx_cv_func_isinfl_use=no
31111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31112 ac_ext=c
31113 ac_cpp='$CPP $CPPFLAGS'
31114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31123 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31125 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31126 for ac_func in isinfl
31127 do :
31128 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31129 if test "x$ac_cv_func_isinfl" = x""yes; then :
31130 cat >>confdefs.h <<_ACEOF
31131 #define HAVE_ISINFL 1
31132 _ACEOF
31135 done
31137 else
31139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31140 $as_echo_n "checking for _isinfl declaration... " >&6; }
31141 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31142 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31143 $as_echo_n "(cached) " >&6
31144 else
31147 ac_ext=cpp
31148 ac_cpp='$CXXCPP $CPPFLAGS'
31149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31154 /* end confdefs.h. */
31155 #include <math.h>
31156 #ifdef HAVE_IEEEFP_H
31157 #include <ieeefp.h>
31158 #endif
31161 main ()
31163 _isinfl(0);
31165 return 0;
31167 _ACEOF
31168 if ac_fn_cxx_try_compile "$LINENO"; then :
31169 glibcxx_cv_func__isinfl_use=yes
31170 else
31171 glibcxx_cv_func__isinfl_use=no
31173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31174 ac_ext=c
31175 ac_cpp='$CPP $CPPFLAGS'
31176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31185 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31187 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31188 for ac_func in _isinfl
31189 do :
31190 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31191 if test "x$ac_cv_func__isinfl" = x""yes; then :
31192 cat >>confdefs.h <<_ACEOF
31193 #define HAVE__ISINFL 1
31194 _ACEOF
31197 done
31206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31207 $as_echo_n "checking for atan2l declaration... " >&6; }
31208 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31209 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31210 $as_echo_n "(cached) " >&6
31211 else
31214 ac_ext=cpp
31215 ac_cpp='$CXXCPP $CPPFLAGS'
31216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31221 /* end confdefs.h. */
31222 #include <math.h>
31224 main ()
31226 atan2l(0, 0);
31228 return 0;
31230 _ACEOF
31231 if ac_fn_cxx_try_compile "$LINENO"; then :
31232 glibcxx_cv_func_atan2l_use=yes
31233 else
31234 glibcxx_cv_func_atan2l_use=no
31236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31237 ac_ext=c
31238 ac_cpp='$CPP $CPPFLAGS'
31239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31248 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31250 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31251 for ac_func in atan2l
31252 do :
31253 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31254 if test "x$ac_cv_func_atan2l" = x""yes; then :
31255 cat >>confdefs.h <<_ACEOF
31256 #define HAVE_ATAN2L 1
31257 _ACEOF
31260 done
31262 else
31264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31265 $as_echo_n "checking for _atan2l declaration... " >&6; }
31266 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31267 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31268 $as_echo_n "(cached) " >&6
31269 else
31272 ac_ext=cpp
31273 ac_cpp='$CXXCPP $CPPFLAGS'
31274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31279 /* end confdefs.h. */
31280 #include <math.h>
31282 main ()
31284 _atan2l(0, 0);
31286 return 0;
31288 _ACEOF
31289 if ac_fn_cxx_try_compile "$LINENO"; then :
31290 glibcxx_cv_func__atan2l_use=yes
31291 else
31292 glibcxx_cv_func__atan2l_use=no
31294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31295 ac_ext=c
31296 ac_cpp='$CPP $CPPFLAGS'
31297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31306 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31308 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31309 for ac_func in _atan2l
31310 do :
31311 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31312 if test "x$ac_cv_func__atan2l" = x""yes; then :
31313 cat >>confdefs.h <<_ACEOF
31314 #define HAVE__ATAN2L 1
31315 _ACEOF
31318 done
31327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31328 $as_echo_n "checking for expl declaration... " >&6; }
31329 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31330 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31331 $as_echo_n "(cached) " >&6
31332 else
31335 ac_ext=cpp
31336 ac_cpp='$CXXCPP $CPPFLAGS'
31337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31342 /* end confdefs.h. */
31343 #include <math.h>
31344 #ifdef HAVE_IEEEFP_H
31345 #include <ieeefp.h>
31346 #endif
31349 main ()
31351 expl(0);
31353 return 0;
31355 _ACEOF
31356 if ac_fn_cxx_try_compile "$LINENO"; then :
31357 glibcxx_cv_func_expl_use=yes
31358 else
31359 glibcxx_cv_func_expl_use=no
31361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31362 ac_ext=c
31363 ac_cpp='$CPP $CPPFLAGS'
31364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31373 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31375 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31376 for ac_func in expl
31377 do :
31378 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31379 if test "x$ac_cv_func_expl" = x""yes; then :
31380 cat >>confdefs.h <<_ACEOF
31381 #define HAVE_EXPL 1
31382 _ACEOF
31385 done
31387 else
31389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31390 $as_echo_n "checking for _expl declaration... " >&6; }
31391 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31392 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31393 $as_echo_n "(cached) " >&6
31394 else
31397 ac_ext=cpp
31398 ac_cpp='$CXXCPP $CPPFLAGS'
31399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31404 /* end confdefs.h. */
31405 #include <math.h>
31406 #ifdef HAVE_IEEEFP_H
31407 #include <ieeefp.h>
31408 #endif
31411 main ()
31413 _expl(0);
31415 return 0;
31417 _ACEOF
31418 if ac_fn_cxx_try_compile "$LINENO"; then :
31419 glibcxx_cv_func__expl_use=yes
31420 else
31421 glibcxx_cv_func__expl_use=no
31423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31424 ac_ext=c
31425 ac_cpp='$CPP $CPPFLAGS'
31426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31435 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31437 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31438 for ac_func in _expl
31439 do :
31440 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31441 if test "x$ac_cv_func__expl" = x""yes; then :
31442 cat >>confdefs.h <<_ACEOF
31443 #define HAVE__EXPL 1
31444 _ACEOF
31447 done
31456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31457 $as_echo_n "checking for fabsl declaration... " >&6; }
31458 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31459 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31460 $as_echo_n "(cached) " >&6
31461 else
31464 ac_ext=cpp
31465 ac_cpp='$CXXCPP $CPPFLAGS'
31466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31471 /* end confdefs.h. */
31472 #include <math.h>
31473 #ifdef HAVE_IEEEFP_H
31474 #include <ieeefp.h>
31475 #endif
31478 main ()
31480 fabsl(0);
31482 return 0;
31484 _ACEOF
31485 if ac_fn_cxx_try_compile "$LINENO"; then :
31486 glibcxx_cv_func_fabsl_use=yes
31487 else
31488 glibcxx_cv_func_fabsl_use=no
31490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31491 ac_ext=c
31492 ac_cpp='$CPP $CPPFLAGS'
31493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31502 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31504 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31505 for ac_func in fabsl
31506 do :
31507 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31508 if test "x$ac_cv_func_fabsl" = x""yes; then :
31509 cat >>confdefs.h <<_ACEOF
31510 #define HAVE_FABSL 1
31511 _ACEOF
31514 done
31516 else
31518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31519 $as_echo_n "checking for _fabsl declaration... " >&6; }
31520 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31521 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31522 $as_echo_n "(cached) " >&6
31523 else
31526 ac_ext=cpp
31527 ac_cpp='$CXXCPP $CPPFLAGS'
31528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31533 /* end confdefs.h. */
31534 #include <math.h>
31535 #ifdef HAVE_IEEEFP_H
31536 #include <ieeefp.h>
31537 #endif
31540 main ()
31542 _fabsl(0);
31544 return 0;
31546 _ACEOF
31547 if ac_fn_cxx_try_compile "$LINENO"; then :
31548 glibcxx_cv_func__fabsl_use=yes
31549 else
31550 glibcxx_cv_func__fabsl_use=no
31552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31553 ac_ext=c
31554 ac_cpp='$CPP $CPPFLAGS'
31555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31564 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31566 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31567 for ac_func in _fabsl
31568 do :
31569 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31570 if test "x$ac_cv_func__fabsl" = x""yes; then :
31571 cat >>confdefs.h <<_ACEOF
31572 #define HAVE__FABSL 1
31573 _ACEOF
31576 done
31585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31586 $as_echo_n "checking for fmodl declaration... " >&6; }
31587 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31588 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31589 $as_echo_n "(cached) " >&6
31590 else
31593 ac_ext=cpp
31594 ac_cpp='$CXXCPP $CPPFLAGS'
31595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31600 /* end confdefs.h. */
31601 #include <math.h>
31603 main ()
31605 fmodl(0, 0);
31607 return 0;
31609 _ACEOF
31610 if ac_fn_cxx_try_compile "$LINENO"; then :
31611 glibcxx_cv_func_fmodl_use=yes
31612 else
31613 glibcxx_cv_func_fmodl_use=no
31615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31616 ac_ext=c
31617 ac_cpp='$CPP $CPPFLAGS'
31618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31627 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31629 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31630 for ac_func in fmodl
31631 do :
31632 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31633 if test "x$ac_cv_func_fmodl" = x""yes; then :
31634 cat >>confdefs.h <<_ACEOF
31635 #define HAVE_FMODL 1
31636 _ACEOF
31639 done
31641 else
31643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31644 $as_echo_n "checking for _fmodl declaration... " >&6; }
31645 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31646 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31647 $as_echo_n "(cached) " >&6
31648 else
31651 ac_ext=cpp
31652 ac_cpp='$CXXCPP $CPPFLAGS'
31653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31658 /* end confdefs.h. */
31659 #include <math.h>
31661 main ()
31663 _fmodl(0, 0);
31665 return 0;
31667 _ACEOF
31668 if ac_fn_cxx_try_compile "$LINENO"; then :
31669 glibcxx_cv_func__fmodl_use=yes
31670 else
31671 glibcxx_cv_func__fmodl_use=no
31673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31674 ac_ext=c
31675 ac_cpp='$CPP $CPPFLAGS'
31676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31685 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31687 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31688 for ac_func in _fmodl
31689 do :
31690 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31691 if test "x$ac_cv_func__fmodl" = x""yes; then :
31692 cat >>confdefs.h <<_ACEOF
31693 #define HAVE__FMODL 1
31694 _ACEOF
31697 done
31706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31707 $as_echo_n "checking for frexpl declaration... " >&6; }
31708 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31709 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31710 $as_echo_n "(cached) " >&6
31711 else
31714 ac_ext=cpp
31715 ac_cpp='$CXXCPP $CPPFLAGS'
31716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31721 /* end confdefs.h. */
31722 #include <math.h>
31724 main ()
31726 frexpl(0, 0);
31728 return 0;
31730 _ACEOF
31731 if ac_fn_cxx_try_compile "$LINENO"; then :
31732 glibcxx_cv_func_frexpl_use=yes
31733 else
31734 glibcxx_cv_func_frexpl_use=no
31736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31737 ac_ext=c
31738 ac_cpp='$CPP $CPPFLAGS'
31739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31748 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31750 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31751 for ac_func in frexpl
31752 do :
31753 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31754 if test "x$ac_cv_func_frexpl" = x""yes; then :
31755 cat >>confdefs.h <<_ACEOF
31756 #define HAVE_FREXPL 1
31757 _ACEOF
31760 done
31762 else
31764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31765 $as_echo_n "checking for _frexpl declaration... " >&6; }
31766 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31767 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31768 $as_echo_n "(cached) " >&6
31769 else
31772 ac_ext=cpp
31773 ac_cpp='$CXXCPP $CPPFLAGS'
31774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31779 /* end confdefs.h. */
31780 #include <math.h>
31782 main ()
31784 _frexpl(0, 0);
31786 return 0;
31788 _ACEOF
31789 if ac_fn_cxx_try_compile "$LINENO"; then :
31790 glibcxx_cv_func__frexpl_use=yes
31791 else
31792 glibcxx_cv_func__frexpl_use=no
31794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31795 ac_ext=c
31796 ac_cpp='$CPP $CPPFLAGS'
31797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31806 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31808 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31809 for ac_func in _frexpl
31810 do :
31811 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31812 if test "x$ac_cv_func__frexpl" = x""yes; then :
31813 cat >>confdefs.h <<_ACEOF
31814 #define HAVE__FREXPL 1
31815 _ACEOF
31818 done
31827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31828 $as_echo_n "checking for hypotl declaration... " >&6; }
31829 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31830 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31831 $as_echo_n "(cached) " >&6
31832 else
31835 ac_ext=cpp
31836 ac_cpp='$CXXCPP $CPPFLAGS'
31837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31842 /* end confdefs.h. */
31843 #include <math.h>
31845 main ()
31847 hypotl(0, 0);
31849 return 0;
31851 _ACEOF
31852 if ac_fn_cxx_try_compile "$LINENO"; then :
31853 glibcxx_cv_func_hypotl_use=yes
31854 else
31855 glibcxx_cv_func_hypotl_use=no
31857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31858 ac_ext=c
31859 ac_cpp='$CPP $CPPFLAGS'
31860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31869 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31871 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31872 for ac_func in hypotl
31873 do :
31874 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31875 if test "x$ac_cv_func_hypotl" = x""yes; then :
31876 cat >>confdefs.h <<_ACEOF
31877 #define HAVE_HYPOTL 1
31878 _ACEOF
31881 done
31883 else
31885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31886 $as_echo_n "checking for _hypotl declaration... " >&6; }
31887 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31888 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31889 $as_echo_n "(cached) " >&6
31890 else
31893 ac_ext=cpp
31894 ac_cpp='$CXXCPP $CPPFLAGS'
31895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31900 /* end confdefs.h. */
31901 #include <math.h>
31903 main ()
31905 _hypotl(0, 0);
31907 return 0;
31909 _ACEOF
31910 if ac_fn_cxx_try_compile "$LINENO"; then :
31911 glibcxx_cv_func__hypotl_use=yes
31912 else
31913 glibcxx_cv_func__hypotl_use=no
31915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31916 ac_ext=c
31917 ac_cpp='$CPP $CPPFLAGS'
31918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31927 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31929 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31930 for ac_func in _hypotl
31931 do :
31932 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31933 if test "x$ac_cv_func__hypotl" = x""yes; then :
31934 cat >>confdefs.h <<_ACEOF
31935 #define HAVE__HYPOTL 1
31936 _ACEOF
31939 done
31948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31949 $as_echo_n "checking for ldexpl declaration... " >&6; }
31950 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31951 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31952 $as_echo_n "(cached) " >&6
31953 else
31956 ac_ext=cpp
31957 ac_cpp='$CXXCPP $CPPFLAGS'
31958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31963 /* end confdefs.h. */
31964 #include <math.h>
31966 main ()
31968 ldexpl(0, 0);
31970 return 0;
31972 _ACEOF
31973 if ac_fn_cxx_try_compile "$LINENO"; then :
31974 glibcxx_cv_func_ldexpl_use=yes
31975 else
31976 glibcxx_cv_func_ldexpl_use=no
31978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31979 ac_ext=c
31980 ac_cpp='$CPP $CPPFLAGS'
31981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31990 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31992 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31993 for ac_func in ldexpl
31994 do :
31995 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31996 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31997 cat >>confdefs.h <<_ACEOF
31998 #define HAVE_LDEXPL 1
31999 _ACEOF
32002 done
32004 else
32006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32007 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32008 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32009 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32010 $as_echo_n "(cached) " >&6
32011 else
32014 ac_ext=cpp
32015 ac_cpp='$CXXCPP $CPPFLAGS'
32016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32021 /* end confdefs.h. */
32022 #include <math.h>
32024 main ()
32026 _ldexpl(0, 0);
32028 return 0;
32030 _ACEOF
32031 if ac_fn_cxx_try_compile "$LINENO"; then :
32032 glibcxx_cv_func__ldexpl_use=yes
32033 else
32034 glibcxx_cv_func__ldexpl_use=no
32036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32037 ac_ext=c
32038 ac_cpp='$CPP $CPPFLAGS'
32039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32048 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32050 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32051 for ac_func in _ldexpl
32052 do :
32053 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32054 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32055 cat >>confdefs.h <<_ACEOF
32056 #define HAVE__LDEXPL 1
32057 _ACEOF
32060 done
32069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32070 $as_echo_n "checking for logl declaration... " >&6; }
32071 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32072 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32073 $as_echo_n "(cached) " >&6
32074 else
32077 ac_ext=cpp
32078 ac_cpp='$CXXCPP $CPPFLAGS'
32079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32084 /* end confdefs.h. */
32085 #include <math.h>
32086 #ifdef HAVE_IEEEFP_H
32087 #include <ieeefp.h>
32088 #endif
32091 main ()
32093 logl(0);
32095 return 0;
32097 _ACEOF
32098 if ac_fn_cxx_try_compile "$LINENO"; then :
32099 glibcxx_cv_func_logl_use=yes
32100 else
32101 glibcxx_cv_func_logl_use=no
32103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32104 ac_ext=c
32105 ac_cpp='$CPP $CPPFLAGS'
32106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32115 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32117 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32118 for ac_func in logl
32119 do :
32120 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32121 if test "x$ac_cv_func_logl" = x""yes; then :
32122 cat >>confdefs.h <<_ACEOF
32123 #define HAVE_LOGL 1
32124 _ACEOF
32127 done
32129 else
32131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32132 $as_echo_n "checking for _logl declaration... " >&6; }
32133 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32134 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32135 $as_echo_n "(cached) " >&6
32136 else
32139 ac_ext=cpp
32140 ac_cpp='$CXXCPP $CPPFLAGS'
32141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32146 /* end confdefs.h. */
32147 #include <math.h>
32148 #ifdef HAVE_IEEEFP_H
32149 #include <ieeefp.h>
32150 #endif
32153 main ()
32155 _logl(0);
32157 return 0;
32159 _ACEOF
32160 if ac_fn_cxx_try_compile "$LINENO"; then :
32161 glibcxx_cv_func__logl_use=yes
32162 else
32163 glibcxx_cv_func__logl_use=no
32165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32166 ac_ext=c
32167 ac_cpp='$CPP $CPPFLAGS'
32168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32177 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32179 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32180 for ac_func in _logl
32181 do :
32182 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32183 if test "x$ac_cv_func__logl" = x""yes; then :
32184 cat >>confdefs.h <<_ACEOF
32185 #define HAVE__LOGL 1
32186 _ACEOF
32189 done
32198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32199 $as_echo_n "checking for log10l declaration... " >&6; }
32200 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32201 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32202 $as_echo_n "(cached) " >&6
32203 else
32206 ac_ext=cpp
32207 ac_cpp='$CXXCPP $CPPFLAGS'
32208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32213 /* end confdefs.h. */
32214 #include <math.h>
32215 #ifdef HAVE_IEEEFP_H
32216 #include <ieeefp.h>
32217 #endif
32220 main ()
32222 log10l(0);
32224 return 0;
32226 _ACEOF
32227 if ac_fn_cxx_try_compile "$LINENO"; then :
32228 glibcxx_cv_func_log10l_use=yes
32229 else
32230 glibcxx_cv_func_log10l_use=no
32232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32233 ac_ext=c
32234 ac_cpp='$CPP $CPPFLAGS'
32235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32244 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32246 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32247 for ac_func in log10l
32248 do :
32249 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32250 if test "x$ac_cv_func_log10l" = x""yes; then :
32251 cat >>confdefs.h <<_ACEOF
32252 #define HAVE_LOG10L 1
32253 _ACEOF
32256 done
32258 else
32260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32261 $as_echo_n "checking for _log10l declaration... " >&6; }
32262 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32263 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32264 $as_echo_n "(cached) " >&6
32265 else
32268 ac_ext=cpp
32269 ac_cpp='$CXXCPP $CPPFLAGS'
32270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32275 /* end confdefs.h. */
32276 #include <math.h>
32277 #ifdef HAVE_IEEEFP_H
32278 #include <ieeefp.h>
32279 #endif
32282 main ()
32284 _log10l(0);
32286 return 0;
32288 _ACEOF
32289 if ac_fn_cxx_try_compile "$LINENO"; then :
32290 glibcxx_cv_func__log10l_use=yes
32291 else
32292 glibcxx_cv_func__log10l_use=no
32294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32295 ac_ext=c
32296 ac_cpp='$CPP $CPPFLAGS'
32297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32306 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32308 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32309 for ac_func in _log10l
32310 do :
32311 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32312 if test "x$ac_cv_func__log10l" = x""yes; then :
32313 cat >>confdefs.h <<_ACEOF
32314 #define HAVE__LOG10L 1
32315 _ACEOF
32318 done
32327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32328 $as_echo_n "checking for modfl declaration... " >&6; }
32329 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32330 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32331 $as_echo_n "(cached) " >&6
32332 else
32335 ac_ext=cpp
32336 ac_cpp='$CXXCPP $CPPFLAGS'
32337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32342 /* end confdefs.h. */
32343 #include <math.h>
32345 main ()
32347 modfl(0, 0);
32349 return 0;
32351 _ACEOF
32352 if ac_fn_cxx_try_compile "$LINENO"; then :
32353 glibcxx_cv_func_modfl_use=yes
32354 else
32355 glibcxx_cv_func_modfl_use=no
32357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32358 ac_ext=c
32359 ac_cpp='$CPP $CPPFLAGS'
32360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32369 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32371 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32372 for ac_func in modfl
32373 do :
32374 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32375 if test "x$ac_cv_func_modfl" = x""yes; then :
32376 cat >>confdefs.h <<_ACEOF
32377 #define HAVE_MODFL 1
32378 _ACEOF
32381 done
32383 else
32385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32386 $as_echo_n "checking for _modfl declaration... " >&6; }
32387 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32388 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32389 $as_echo_n "(cached) " >&6
32390 else
32393 ac_ext=cpp
32394 ac_cpp='$CXXCPP $CPPFLAGS'
32395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32400 /* end confdefs.h. */
32401 #include <math.h>
32403 main ()
32405 _modfl(0, 0);
32407 return 0;
32409 _ACEOF
32410 if ac_fn_cxx_try_compile "$LINENO"; then :
32411 glibcxx_cv_func__modfl_use=yes
32412 else
32413 glibcxx_cv_func__modfl_use=no
32415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32416 ac_ext=c
32417 ac_cpp='$CPP $CPPFLAGS'
32418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32427 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32429 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32430 for ac_func in _modfl
32431 do :
32432 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32433 if test "x$ac_cv_func__modfl" = x""yes; then :
32434 cat >>confdefs.h <<_ACEOF
32435 #define HAVE__MODFL 1
32436 _ACEOF
32439 done
32448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32449 $as_echo_n "checking for powl declaration... " >&6; }
32450 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32451 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32452 $as_echo_n "(cached) " >&6
32453 else
32456 ac_ext=cpp
32457 ac_cpp='$CXXCPP $CPPFLAGS'
32458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32463 /* end confdefs.h. */
32464 #include <math.h>
32466 main ()
32468 powl(0, 0);
32470 return 0;
32472 _ACEOF
32473 if ac_fn_cxx_try_compile "$LINENO"; then :
32474 glibcxx_cv_func_powl_use=yes
32475 else
32476 glibcxx_cv_func_powl_use=no
32478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32479 ac_ext=c
32480 ac_cpp='$CPP $CPPFLAGS'
32481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32490 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32492 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32493 for ac_func in powl
32494 do :
32495 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32496 if test "x$ac_cv_func_powl" = x""yes; then :
32497 cat >>confdefs.h <<_ACEOF
32498 #define HAVE_POWL 1
32499 _ACEOF
32502 done
32504 else
32506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32507 $as_echo_n "checking for _powl declaration... " >&6; }
32508 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32509 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32510 $as_echo_n "(cached) " >&6
32511 else
32514 ac_ext=cpp
32515 ac_cpp='$CXXCPP $CPPFLAGS'
32516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32521 /* end confdefs.h. */
32522 #include <math.h>
32524 main ()
32526 _powl(0, 0);
32528 return 0;
32530 _ACEOF
32531 if ac_fn_cxx_try_compile "$LINENO"; then :
32532 glibcxx_cv_func__powl_use=yes
32533 else
32534 glibcxx_cv_func__powl_use=no
32536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32537 ac_ext=c
32538 ac_cpp='$CPP $CPPFLAGS'
32539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32548 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32550 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32551 for ac_func in _powl
32552 do :
32553 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32554 if test "x$ac_cv_func__powl" = x""yes; then :
32555 cat >>confdefs.h <<_ACEOF
32556 #define HAVE__POWL 1
32557 _ACEOF
32560 done
32569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32570 $as_echo_n "checking for sqrtl declaration... " >&6; }
32571 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32572 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32573 $as_echo_n "(cached) " >&6
32574 else
32577 ac_ext=cpp
32578 ac_cpp='$CXXCPP $CPPFLAGS'
32579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32584 /* end confdefs.h. */
32585 #include <math.h>
32586 #ifdef HAVE_IEEEFP_H
32587 #include <ieeefp.h>
32588 #endif
32591 main ()
32593 sqrtl(0);
32595 return 0;
32597 _ACEOF
32598 if ac_fn_cxx_try_compile "$LINENO"; then :
32599 glibcxx_cv_func_sqrtl_use=yes
32600 else
32601 glibcxx_cv_func_sqrtl_use=no
32603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32604 ac_ext=c
32605 ac_cpp='$CPP $CPPFLAGS'
32606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32615 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32617 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32618 for ac_func in sqrtl
32619 do :
32620 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32621 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32622 cat >>confdefs.h <<_ACEOF
32623 #define HAVE_SQRTL 1
32624 _ACEOF
32627 done
32629 else
32631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32632 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32633 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32634 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32635 $as_echo_n "(cached) " >&6
32636 else
32639 ac_ext=cpp
32640 ac_cpp='$CXXCPP $CPPFLAGS'
32641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32646 /* end confdefs.h. */
32647 #include <math.h>
32648 #ifdef HAVE_IEEEFP_H
32649 #include <ieeefp.h>
32650 #endif
32653 main ()
32655 _sqrtl(0);
32657 return 0;
32659 _ACEOF
32660 if ac_fn_cxx_try_compile "$LINENO"; then :
32661 glibcxx_cv_func__sqrtl_use=yes
32662 else
32663 glibcxx_cv_func__sqrtl_use=no
32665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32666 ac_ext=c
32667 ac_cpp='$CPP $CPPFLAGS'
32668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32677 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32679 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32680 for ac_func in _sqrtl
32681 do :
32682 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32683 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32684 cat >>confdefs.h <<_ACEOF
32685 #define HAVE__SQRTL 1
32686 _ACEOF
32689 done
32698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32699 $as_echo_n "checking for sincosl declaration... " >&6; }
32700 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32701 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32702 $as_echo_n "(cached) " >&6
32703 else
32706 ac_ext=cpp
32707 ac_cpp='$CXXCPP $CPPFLAGS'
32708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32713 /* end confdefs.h. */
32714 #include <math.h>
32716 main ()
32718 sincosl(0, 0, 0);
32720 return 0;
32722 _ACEOF
32723 if ac_fn_cxx_try_compile "$LINENO"; then :
32724 glibcxx_cv_func_sincosl_use=yes
32725 else
32726 glibcxx_cv_func_sincosl_use=no
32728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32729 ac_ext=c
32730 ac_cpp='$CPP $CPPFLAGS'
32731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32740 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32742 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32743 for ac_func in sincosl
32744 do :
32745 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32746 if test "x$ac_cv_func_sincosl" = x""yes; then :
32747 cat >>confdefs.h <<_ACEOF
32748 #define HAVE_SINCOSL 1
32749 _ACEOF
32752 done
32754 else
32756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32757 $as_echo_n "checking for _sincosl declaration... " >&6; }
32758 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32759 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32760 $as_echo_n "(cached) " >&6
32761 else
32764 ac_ext=cpp
32765 ac_cpp='$CXXCPP $CPPFLAGS'
32766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32771 /* end confdefs.h. */
32772 #include <math.h>
32774 main ()
32776 _sincosl(0, 0, 0);
32778 return 0;
32780 _ACEOF
32781 if ac_fn_cxx_try_compile "$LINENO"; then :
32782 glibcxx_cv_func__sincosl_use=yes
32783 else
32784 glibcxx_cv_func__sincosl_use=no
32786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32787 ac_ext=c
32788 ac_cpp='$CPP $CPPFLAGS'
32789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32798 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32800 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32801 for ac_func in _sincosl
32802 do :
32803 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32804 if test "x$ac_cv_func__sincosl" = x""yes; then :
32805 cat >>confdefs.h <<_ACEOF
32806 #define HAVE__SINCOSL 1
32807 _ACEOF
32810 done
32819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32820 $as_echo_n "checking for finitel declaration... " >&6; }
32821 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32822 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32823 $as_echo_n "(cached) " >&6
32824 else
32827 ac_ext=cpp
32828 ac_cpp='$CXXCPP $CPPFLAGS'
32829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32834 /* end confdefs.h. */
32835 #include <math.h>
32836 #ifdef HAVE_IEEEFP_H
32837 #include <ieeefp.h>
32838 #endif
32841 main ()
32843 finitel(0);
32845 return 0;
32847 _ACEOF
32848 if ac_fn_cxx_try_compile "$LINENO"; then :
32849 glibcxx_cv_func_finitel_use=yes
32850 else
32851 glibcxx_cv_func_finitel_use=no
32853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32854 ac_ext=c
32855 ac_cpp='$CPP $CPPFLAGS'
32856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32865 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32867 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32868 for ac_func in finitel
32869 do :
32870 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32871 if test "x$ac_cv_func_finitel" = x""yes; then :
32872 cat >>confdefs.h <<_ACEOF
32873 #define HAVE_FINITEL 1
32874 _ACEOF
32877 done
32879 else
32881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32882 $as_echo_n "checking for _finitel declaration... " >&6; }
32883 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32884 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32885 $as_echo_n "(cached) " >&6
32886 else
32889 ac_ext=cpp
32890 ac_cpp='$CXXCPP $CPPFLAGS'
32891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32896 /* end confdefs.h. */
32897 #include <math.h>
32898 #ifdef HAVE_IEEEFP_H
32899 #include <ieeefp.h>
32900 #endif
32903 main ()
32905 _finitel(0);
32907 return 0;
32909 _ACEOF
32910 if ac_fn_cxx_try_compile "$LINENO"; then :
32911 glibcxx_cv_func__finitel_use=yes
32912 else
32913 glibcxx_cv_func__finitel_use=no
32915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32916 ac_ext=c
32917 ac_cpp='$CPP $CPPFLAGS'
32918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32927 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32929 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32930 for ac_func in _finitel
32931 do :
32932 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32933 if test "x$ac_cv_func__finitel" = x""yes; then :
32934 cat >>confdefs.h <<_ACEOF
32935 #define HAVE__FINITEL 1
32936 _ACEOF
32939 done
32947 LIBS="$ac_save_LIBS"
32948 CXXFLAGS="$ac_save_CXXFLAGS"
32951 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32952 ac_save_CXXFLAGS="$CXXFLAGS"
32953 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32957 $as_echo_n "checking for strtold declaration... " >&6; }
32958 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32959 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32960 $as_echo_n "(cached) " >&6
32961 else
32964 ac_ext=cpp
32965 ac_cpp='$CXXCPP $CPPFLAGS'
32966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32971 /* end confdefs.h. */
32972 #include <stdlib.h>
32974 main ()
32976 strtold(0, 0);
32978 return 0;
32980 _ACEOF
32981 if ac_fn_cxx_try_compile "$LINENO"; then :
32982 glibcxx_cv_func_strtold_use=yes
32983 else
32984 glibcxx_cv_func_strtold_use=no
32986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32987 ac_ext=c
32988 ac_cpp='$CPP $CPPFLAGS'
32989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32998 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32999 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33000 for ac_func in strtold
33001 do :
33002 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33003 if test "x$ac_cv_func_strtold" = x""yes; then :
33004 cat >>confdefs.h <<_ACEOF
33005 #define HAVE_STRTOLD 1
33006 _ACEOF
33009 done
33016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33017 $as_echo_n "checking for strtof declaration... " >&6; }
33018 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33019 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33020 $as_echo_n "(cached) " >&6
33021 else
33024 ac_ext=cpp
33025 ac_cpp='$CXXCPP $CPPFLAGS'
33026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33031 /* end confdefs.h. */
33032 #include <stdlib.h>
33034 main ()
33036 strtof(0, 0);
33038 return 0;
33040 _ACEOF
33041 if ac_fn_cxx_try_compile "$LINENO"; then :
33042 glibcxx_cv_func_strtof_use=yes
33043 else
33044 glibcxx_cv_func_strtof_use=no
33046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33047 ac_ext=c
33048 ac_cpp='$CPP $CPPFLAGS'
33049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33058 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33059 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33060 for ac_func in strtof
33061 do :
33062 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33063 if test "x$ac_cv_func_strtof" = x""yes; then :
33064 cat >>confdefs.h <<_ACEOF
33065 #define HAVE_STRTOF 1
33066 _ACEOF
33069 done
33076 CXXFLAGS="$ac_save_CXXFLAGS"
33079 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33081 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33083 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33085 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33088 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33090 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33092 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33096 *-aix*)
33098 # If we're not using GNU ld, then there's no point in even trying these
33099 # tests. Check for that first. We should have already tested for gld
33100 # by now (in libtool), but require it now just to be safe...
33101 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33102 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33106 # The name set by libtool depends on the version of libtool. Shame on us
33107 # for depending on an impl detail, but c'est la vie. Older versions used
33108 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33109 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33110 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33111 # set (hence we're using an older libtool), then set it.
33112 if test x${with_gnu_ld+set} != xset; then
33113 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33114 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33115 with_gnu_ld=no
33116 else
33117 with_gnu_ld=$ac_cv_prog_gnu_ld
33121 # Start by getting the version number. I think the libtool test already
33122 # does some of this, but throws away the result.
33123 glibcxx_ld_is_gold=no
33124 if test x"$with_gnu_ld" = x"yes"; then
33125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33126 $as_echo_n "checking for ld version... " >&6; }
33128 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33129 glibcxx_ld_is_gold=yes
33131 ldver=`$LD --version 2>/dev/null |
33132 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'`
33134 glibcxx_gnu_ld_version=`echo $ldver | \
33135 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33137 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33140 # Set --gc-sections.
33141 glibcxx_have_gc_sections=no
33142 if test "$glibcxx_ld_is_gold" = "yes"; then
33143 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33144 glibcxx_have_gc_sections=yes
33146 else
33147 glibcxx_gcsections_min_ld=21602
33148 if test x"$with_gnu_ld" = x"yes" &&
33149 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33150 glibcxx_have_gc_sections=yes
33153 if test "$glibcxx_have_gc_sections" = "yes"; then
33154 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33155 # NB: This flag only works reliably after 2.16.1. Configure tests
33156 # for this are difficult, so hard wire a value that should work.
33158 ac_test_CFLAGS="${CFLAGS+set}"
33159 ac_save_CFLAGS="$CFLAGS"
33160 CFLAGS='-Wl,--gc-sections'
33162 # Check for -Wl,--gc-sections
33163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33164 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33165 if test x$gcc_no_link = xyes; then
33166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33169 /* end confdefs.h. */
33170 int one(void) { return 1; }
33171 int two(void) { return 2; }
33174 main ()
33176 two();
33178 return 0;
33180 _ACEOF
33181 if ac_fn_c_try_link "$LINENO"; then :
33182 ac_gcsections=yes
33183 else
33184 ac_gcsections=no
33186 rm -f core conftest.err conftest.$ac_objext \
33187 conftest$ac_exeext conftest.$ac_ext
33188 if test "$ac_gcsections" = "yes"; then
33189 rm -f conftest.c
33190 touch conftest.c
33191 if $CC -c conftest.c; then
33192 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33193 grep "Warning: gc-sections option ignored" > /dev/null; then
33194 ac_gcsections=no
33197 rm -f conftest.c conftest.o conftest
33199 if test "$ac_gcsections" = "yes"; then
33200 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33203 $as_echo "$ac_gcsections" >&6; }
33205 if test "$ac_test_CFLAGS" = set; then
33206 CFLAGS="$ac_save_CFLAGS"
33207 else
33208 # this is the suspicious part
33209 CFLAGS=''
33213 # Set -z,relro.
33214 # Note this is only for shared objects.
33215 ac_ld_relro=no
33216 if test x"$with_gnu_ld" = x"yes"; then
33217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33218 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33219 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33220 if test -n "$cxx_z_relo"; then
33221 OPT_LDFLAGS="-Wl,-z,relro"
33222 ac_ld_relro=yes
33224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33225 $as_echo "$ac_ld_relro" >&6; }
33228 # Set linker optimization flags.
33229 if test x"$with_gnu_ld" = x"yes"; then
33230 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33237 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33238 ac_save_CXXFLAGS="$CXXFLAGS"
33239 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33242 $as_echo_n "checking for sin in -lm... " >&6; }
33243 if test "${ac_cv_lib_m_sin+set}" = set; then :
33244 $as_echo_n "(cached) " >&6
33245 else
33246 ac_check_lib_save_LIBS=$LIBS
33247 LIBS="-lm $LIBS"
33248 if test x$gcc_no_link = xyes; then
33249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33252 /* end confdefs.h. */
33254 /* Override any GCC internal prototype to avoid an error.
33255 Use char because int might match the return type of a GCC
33256 builtin and then its argument prototype would still apply. */
33257 #ifdef __cplusplus
33258 extern "C"
33259 #endif
33260 char sin ();
33262 main ()
33264 return sin ();
33266 return 0;
33268 _ACEOF
33269 if ac_fn_c_try_link "$LINENO"; then :
33270 ac_cv_lib_m_sin=yes
33271 else
33272 ac_cv_lib_m_sin=no
33274 rm -f core conftest.err conftest.$ac_objext \
33275 conftest$ac_exeext conftest.$ac_ext
33276 LIBS=$ac_check_lib_save_LIBS
33278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33279 $as_echo "$ac_cv_lib_m_sin" >&6; }
33280 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33281 libm="-lm"
33284 ac_save_LIBS="$LIBS"
33285 LIBS="$LIBS $libm"
33289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33290 $as_echo_n "checking for isinf declaration... " >&6; }
33291 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33292 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33293 $as_echo_n "(cached) " >&6
33294 else
33297 ac_ext=cpp
33298 ac_cpp='$CXXCPP $CPPFLAGS'
33299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33304 /* end confdefs.h. */
33305 #include <math.h>
33306 #ifdef HAVE_IEEEFP_H
33307 #include <ieeefp.h>
33308 #endif
33311 main ()
33313 isinf(0);
33315 return 0;
33317 _ACEOF
33318 if ac_fn_cxx_try_compile "$LINENO"; then :
33319 glibcxx_cv_func_isinf_use=yes
33320 else
33321 glibcxx_cv_func_isinf_use=no
33323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33324 ac_ext=c
33325 ac_cpp='$CPP $CPPFLAGS'
33326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33335 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33337 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33338 for ac_func in isinf
33339 do :
33340 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33341 if test "x$ac_cv_func_isinf" = x""yes; then :
33342 cat >>confdefs.h <<_ACEOF
33343 #define HAVE_ISINF 1
33344 _ACEOF
33347 done
33349 else
33351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33352 $as_echo_n "checking for _isinf declaration... " >&6; }
33353 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33354 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33355 $as_echo_n "(cached) " >&6
33356 else
33359 ac_ext=cpp
33360 ac_cpp='$CXXCPP $CPPFLAGS'
33361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33366 /* end confdefs.h. */
33367 #include <math.h>
33368 #ifdef HAVE_IEEEFP_H
33369 #include <ieeefp.h>
33370 #endif
33373 main ()
33375 _isinf(0);
33377 return 0;
33379 _ACEOF
33380 if ac_fn_cxx_try_compile "$LINENO"; then :
33381 glibcxx_cv_func__isinf_use=yes
33382 else
33383 glibcxx_cv_func__isinf_use=no
33385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33386 ac_ext=c
33387 ac_cpp='$CPP $CPPFLAGS'
33388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33397 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33399 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33400 for ac_func in _isinf
33401 do :
33402 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33403 if test "x$ac_cv_func__isinf" = x""yes; then :
33404 cat >>confdefs.h <<_ACEOF
33405 #define HAVE__ISINF 1
33406 _ACEOF
33409 done
33418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33419 $as_echo_n "checking for isnan declaration... " >&6; }
33420 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33421 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33422 $as_echo_n "(cached) " >&6
33423 else
33426 ac_ext=cpp
33427 ac_cpp='$CXXCPP $CPPFLAGS'
33428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33433 /* end confdefs.h. */
33434 #include <math.h>
33435 #ifdef HAVE_IEEEFP_H
33436 #include <ieeefp.h>
33437 #endif
33440 main ()
33442 isnan(0);
33444 return 0;
33446 _ACEOF
33447 if ac_fn_cxx_try_compile "$LINENO"; then :
33448 glibcxx_cv_func_isnan_use=yes
33449 else
33450 glibcxx_cv_func_isnan_use=no
33452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33453 ac_ext=c
33454 ac_cpp='$CPP $CPPFLAGS'
33455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33464 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33466 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33467 for ac_func in isnan
33468 do :
33469 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33470 if test "x$ac_cv_func_isnan" = x""yes; then :
33471 cat >>confdefs.h <<_ACEOF
33472 #define HAVE_ISNAN 1
33473 _ACEOF
33476 done
33478 else
33480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33481 $as_echo_n "checking for _isnan declaration... " >&6; }
33482 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33483 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33484 $as_echo_n "(cached) " >&6
33485 else
33488 ac_ext=cpp
33489 ac_cpp='$CXXCPP $CPPFLAGS'
33490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33495 /* end confdefs.h. */
33496 #include <math.h>
33497 #ifdef HAVE_IEEEFP_H
33498 #include <ieeefp.h>
33499 #endif
33502 main ()
33504 _isnan(0);
33506 return 0;
33508 _ACEOF
33509 if ac_fn_cxx_try_compile "$LINENO"; then :
33510 glibcxx_cv_func__isnan_use=yes
33511 else
33512 glibcxx_cv_func__isnan_use=no
33514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33515 ac_ext=c
33516 ac_cpp='$CPP $CPPFLAGS'
33517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33526 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33528 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33529 for ac_func in _isnan
33530 do :
33531 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33532 if test "x$ac_cv_func__isnan" = x""yes; then :
33533 cat >>confdefs.h <<_ACEOF
33534 #define HAVE__ISNAN 1
33535 _ACEOF
33538 done
33547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33548 $as_echo_n "checking for finite declaration... " >&6; }
33549 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33550 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33551 $as_echo_n "(cached) " >&6
33552 else
33555 ac_ext=cpp
33556 ac_cpp='$CXXCPP $CPPFLAGS'
33557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33562 /* end confdefs.h. */
33563 #include <math.h>
33564 #ifdef HAVE_IEEEFP_H
33565 #include <ieeefp.h>
33566 #endif
33569 main ()
33571 finite(0);
33573 return 0;
33575 _ACEOF
33576 if ac_fn_cxx_try_compile "$LINENO"; then :
33577 glibcxx_cv_func_finite_use=yes
33578 else
33579 glibcxx_cv_func_finite_use=no
33581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33582 ac_ext=c
33583 ac_cpp='$CPP $CPPFLAGS'
33584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33593 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33595 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33596 for ac_func in finite
33597 do :
33598 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33599 if test "x$ac_cv_func_finite" = x""yes; then :
33600 cat >>confdefs.h <<_ACEOF
33601 #define HAVE_FINITE 1
33602 _ACEOF
33605 done
33607 else
33609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33610 $as_echo_n "checking for _finite declaration... " >&6; }
33611 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33612 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33613 $as_echo_n "(cached) " >&6
33614 else
33617 ac_ext=cpp
33618 ac_cpp='$CXXCPP $CPPFLAGS'
33619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33624 /* end confdefs.h. */
33625 #include <math.h>
33626 #ifdef HAVE_IEEEFP_H
33627 #include <ieeefp.h>
33628 #endif
33631 main ()
33633 _finite(0);
33635 return 0;
33637 _ACEOF
33638 if ac_fn_cxx_try_compile "$LINENO"; then :
33639 glibcxx_cv_func__finite_use=yes
33640 else
33641 glibcxx_cv_func__finite_use=no
33643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33644 ac_ext=c
33645 ac_cpp='$CPP $CPPFLAGS'
33646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33655 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33657 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33658 for ac_func in _finite
33659 do :
33660 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33661 if test "x$ac_cv_func__finite" = x""yes; then :
33662 cat >>confdefs.h <<_ACEOF
33663 #define HAVE__FINITE 1
33664 _ACEOF
33667 done
33676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33677 $as_echo_n "checking for sincos declaration... " >&6; }
33678 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33679 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33680 $as_echo_n "(cached) " >&6
33681 else
33684 ac_ext=cpp
33685 ac_cpp='$CXXCPP $CPPFLAGS'
33686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33691 /* end confdefs.h. */
33692 #include <math.h>
33694 main ()
33696 sincos(0, 0, 0);
33698 return 0;
33700 _ACEOF
33701 if ac_fn_cxx_try_compile "$LINENO"; then :
33702 glibcxx_cv_func_sincos_use=yes
33703 else
33704 glibcxx_cv_func_sincos_use=no
33706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33707 ac_ext=c
33708 ac_cpp='$CPP $CPPFLAGS'
33709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33718 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33720 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33721 for ac_func in sincos
33722 do :
33723 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33724 if test "x$ac_cv_func_sincos" = x""yes; then :
33725 cat >>confdefs.h <<_ACEOF
33726 #define HAVE_SINCOS 1
33727 _ACEOF
33730 done
33732 else
33734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33735 $as_echo_n "checking for _sincos declaration... " >&6; }
33736 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33737 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33738 $as_echo_n "(cached) " >&6
33739 else
33742 ac_ext=cpp
33743 ac_cpp='$CXXCPP $CPPFLAGS'
33744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33749 /* end confdefs.h. */
33750 #include <math.h>
33752 main ()
33754 _sincos(0, 0, 0);
33756 return 0;
33758 _ACEOF
33759 if ac_fn_cxx_try_compile "$LINENO"; then :
33760 glibcxx_cv_func__sincos_use=yes
33761 else
33762 glibcxx_cv_func__sincos_use=no
33764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33765 ac_ext=c
33766 ac_cpp='$CPP $CPPFLAGS'
33767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33776 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33778 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33779 for ac_func in _sincos
33780 do :
33781 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33782 if test "x$ac_cv_func__sincos" = x""yes; then :
33783 cat >>confdefs.h <<_ACEOF
33784 #define HAVE__SINCOS 1
33785 _ACEOF
33788 done
33797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33798 $as_echo_n "checking for fpclass declaration... " >&6; }
33799 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33800 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33801 $as_echo_n "(cached) " >&6
33802 else
33805 ac_ext=cpp
33806 ac_cpp='$CXXCPP $CPPFLAGS'
33807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33812 /* end confdefs.h. */
33813 #include <math.h>
33814 #ifdef HAVE_IEEEFP_H
33815 #include <ieeefp.h>
33816 #endif
33819 main ()
33821 fpclass(0);
33823 return 0;
33825 _ACEOF
33826 if ac_fn_cxx_try_compile "$LINENO"; then :
33827 glibcxx_cv_func_fpclass_use=yes
33828 else
33829 glibcxx_cv_func_fpclass_use=no
33831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33832 ac_ext=c
33833 ac_cpp='$CPP $CPPFLAGS'
33834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33843 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33845 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33846 for ac_func in fpclass
33847 do :
33848 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33849 if test "x$ac_cv_func_fpclass" = x""yes; then :
33850 cat >>confdefs.h <<_ACEOF
33851 #define HAVE_FPCLASS 1
33852 _ACEOF
33855 done
33857 else
33859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33860 $as_echo_n "checking for _fpclass declaration... " >&6; }
33861 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33862 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33863 $as_echo_n "(cached) " >&6
33864 else
33867 ac_ext=cpp
33868 ac_cpp='$CXXCPP $CPPFLAGS'
33869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33874 /* end confdefs.h. */
33875 #include <math.h>
33876 #ifdef HAVE_IEEEFP_H
33877 #include <ieeefp.h>
33878 #endif
33881 main ()
33883 _fpclass(0);
33885 return 0;
33887 _ACEOF
33888 if ac_fn_cxx_try_compile "$LINENO"; then :
33889 glibcxx_cv_func__fpclass_use=yes
33890 else
33891 glibcxx_cv_func__fpclass_use=no
33893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33894 ac_ext=c
33895 ac_cpp='$CPP $CPPFLAGS'
33896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33905 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33907 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33908 for ac_func in _fpclass
33909 do :
33910 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33911 if test "x$ac_cv_func__fpclass" = x""yes; then :
33912 cat >>confdefs.h <<_ACEOF
33913 #define HAVE__FPCLASS 1
33914 _ACEOF
33917 done
33926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33927 $as_echo_n "checking for qfpclass declaration... " >&6; }
33928 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33929 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33930 $as_echo_n "(cached) " >&6
33931 else
33934 ac_ext=cpp
33935 ac_cpp='$CXXCPP $CPPFLAGS'
33936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33941 /* end confdefs.h. */
33942 #include <math.h>
33943 #ifdef HAVE_IEEEFP_H
33944 #include <ieeefp.h>
33945 #endif
33948 main ()
33950 qfpclass(0);
33952 return 0;
33954 _ACEOF
33955 if ac_fn_cxx_try_compile "$LINENO"; then :
33956 glibcxx_cv_func_qfpclass_use=yes
33957 else
33958 glibcxx_cv_func_qfpclass_use=no
33960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33961 ac_ext=c
33962 ac_cpp='$CPP $CPPFLAGS'
33963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33972 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33974 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33975 for ac_func in qfpclass
33976 do :
33977 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33978 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33979 cat >>confdefs.h <<_ACEOF
33980 #define HAVE_QFPCLASS 1
33981 _ACEOF
33984 done
33986 else
33988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33989 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33990 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33991 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33992 $as_echo_n "(cached) " >&6
33993 else
33996 ac_ext=cpp
33997 ac_cpp='$CXXCPP $CPPFLAGS'
33998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34003 /* end confdefs.h. */
34004 #include <math.h>
34005 #ifdef HAVE_IEEEFP_H
34006 #include <ieeefp.h>
34007 #endif
34010 main ()
34012 _qfpclass(0);
34014 return 0;
34016 _ACEOF
34017 if ac_fn_cxx_try_compile "$LINENO"; then :
34018 glibcxx_cv_func__qfpclass_use=yes
34019 else
34020 glibcxx_cv_func__qfpclass_use=no
34022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34023 ac_ext=c
34024 ac_cpp='$CPP $CPPFLAGS'
34025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34034 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34036 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34037 for ac_func in _qfpclass
34038 do :
34039 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34040 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34041 cat >>confdefs.h <<_ACEOF
34042 #define HAVE__QFPCLASS 1
34043 _ACEOF
34046 done
34055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34056 $as_echo_n "checking for hypot declaration... " >&6; }
34057 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34058 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34059 $as_echo_n "(cached) " >&6
34060 else
34063 ac_ext=cpp
34064 ac_cpp='$CXXCPP $CPPFLAGS'
34065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34070 /* end confdefs.h. */
34071 #include <math.h>
34073 main ()
34075 hypot(0, 0);
34077 return 0;
34079 _ACEOF
34080 if ac_fn_cxx_try_compile "$LINENO"; then :
34081 glibcxx_cv_func_hypot_use=yes
34082 else
34083 glibcxx_cv_func_hypot_use=no
34085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34086 ac_ext=c
34087 ac_cpp='$CPP $CPPFLAGS'
34088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34097 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34099 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34100 for ac_func in hypot
34101 do :
34102 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34103 if test "x$ac_cv_func_hypot" = x""yes; then :
34104 cat >>confdefs.h <<_ACEOF
34105 #define HAVE_HYPOT 1
34106 _ACEOF
34109 done
34111 else
34113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34114 $as_echo_n "checking for _hypot declaration... " >&6; }
34115 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34116 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34117 $as_echo_n "(cached) " >&6
34118 else
34121 ac_ext=cpp
34122 ac_cpp='$CXXCPP $CPPFLAGS'
34123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34128 /* end confdefs.h. */
34129 #include <math.h>
34131 main ()
34133 _hypot(0, 0);
34135 return 0;
34137 _ACEOF
34138 if ac_fn_cxx_try_compile "$LINENO"; then :
34139 glibcxx_cv_func__hypot_use=yes
34140 else
34141 glibcxx_cv_func__hypot_use=no
34143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34144 ac_ext=c
34145 ac_cpp='$CPP $CPPFLAGS'
34146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34155 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34157 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34158 for ac_func in _hypot
34159 do :
34160 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34161 if test "x$ac_cv_func__hypot" = x""yes; then :
34162 cat >>confdefs.h <<_ACEOF
34163 #define HAVE__HYPOT 1
34164 _ACEOF
34167 done
34176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34177 $as_echo_n "checking for float trig functions... " >&6; }
34178 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34179 $as_echo_n "(cached) " >&6
34180 else
34183 ac_ext=cpp
34184 ac_cpp='$CXXCPP $CPPFLAGS'
34185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34190 /* end confdefs.h. */
34191 #include <math.h>
34193 main ()
34195 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34197 return 0;
34199 _ACEOF
34200 if ac_fn_cxx_try_compile "$LINENO"; then :
34201 glibcxx_cv_func_float_trig_use=yes
34202 else
34203 glibcxx_cv_func_float_trig_use=no
34205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34206 ac_ext=c
34207 ac_cpp='$CPP $CPPFLAGS'
34208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34215 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34216 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34217 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34218 do :
34219 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34220 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34221 eval as_val=\$$as_ac_var
34222 if test "x$as_val" = x""yes; then :
34223 cat >>confdefs.h <<_ACEOF
34224 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34225 _ACEOF
34228 done
34230 else
34231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34232 $as_echo_n "checking for _float trig functions... " >&6; }
34233 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34234 $as_echo_n "(cached) " >&6
34235 else
34238 ac_ext=cpp
34239 ac_cpp='$CXXCPP $CPPFLAGS'
34240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34245 /* end confdefs.h. */
34246 #include <math.h>
34248 main ()
34250 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34252 return 0;
34254 _ACEOF
34255 if ac_fn_cxx_try_compile "$LINENO"; then :
34256 glibcxx_cv_func__float_trig_use=yes
34257 else
34258 glibcxx_cv_func__float_trig_use=no
34260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34261 ac_ext=c
34262 ac_cpp='$CPP $CPPFLAGS'
34263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34270 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34271 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34272 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34273 do :
34274 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34275 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34276 eval as_val=\$$as_ac_var
34277 if test "x$as_val" = x""yes; then :
34278 cat >>confdefs.h <<_ACEOF
34279 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34280 _ACEOF
34283 done
34292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34293 $as_echo_n "checking for float round functions... " >&6; }
34294 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34295 $as_echo_n "(cached) " >&6
34296 else
34299 ac_ext=cpp
34300 ac_cpp='$CXXCPP $CPPFLAGS'
34301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34306 /* end confdefs.h. */
34307 #include <math.h>
34309 main ()
34311 ceilf (0); floorf (0);
34313 return 0;
34315 _ACEOF
34316 if ac_fn_cxx_try_compile "$LINENO"; then :
34317 glibcxx_cv_func_float_round_use=yes
34318 else
34319 glibcxx_cv_func_float_round_use=no
34321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34322 ac_ext=c
34323 ac_cpp='$CPP $CPPFLAGS'
34324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34331 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34332 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34333 for ac_func in ceilf floorf
34334 do :
34335 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34336 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34337 eval as_val=\$$as_ac_var
34338 if test "x$as_val" = x""yes; then :
34339 cat >>confdefs.h <<_ACEOF
34340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34341 _ACEOF
34344 done
34346 else
34347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34348 $as_echo_n "checking for _float round functions... " >&6; }
34349 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34350 $as_echo_n "(cached) " >&6
34351 else
34354 ac_ext=cpp
34355 ac_cpp='$CXXCPP $CPPFLAGS'
34356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34361 /* end confdefs.h. */
34362 #include <math.h>
34364 main ()
34366 _ceilf (0); _floorf (0);
34368 return 0;
34370 _ACEOF
34371 if ac_fn_cxx_try_compile "$LINENO"; then :
34372 glibcxx_cv_func__float_round_use=yes
34373 else
34374 glibcxx_cv_func__float_round_use=no
34376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34377 ac_ext=c
34378 ac_cpp='$CPP $CPPFLAGS'
34379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34386 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34387 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34388 for ac_func in _ceilf _floorf
34389 do :
34390 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34391 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34392 eval as_val=\$$as_ac_var
34393 if test "x$as_val" = x""yes; then :
34394 cat >>confdefs.h <<_ACEOF
34395 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34396 _ACEOF
34399 done
34409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34410 $as_echo_n "checking for expf declaration... " >&6; }
34411 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34412 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34413 $as_echo_n "(cached) " >&6
34414 else
34417 ac_ext=cpp
34418 ac_cpp='$CXXCPP $CPPFLAGS'
34419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34424 /* end confdefs.h. */
34425 #include <math.h>
34426 #ifdef HAVE_IEEEFP_H
34427 #include <ieeefp.h>
34428 #endif
34431 main ()
34433 expf(0);
34435 return 0;
34437 _ACEOF
34438 if ac_fn_cxx_try_compile "$LINENO"; then :
34439 glibcxx_cv_func_expf_use=yes
34440 else
34441 glibcxx_cv_func_expf_use=no
34443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34444 ac_ext=c
34445 ac_cpp='$CPP $CPPFLAGS'
34446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34455 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34457 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34458 for ac_func in expf
34459 do :
34460 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34461 if test "x$ac_cv_func_expf" = x""yes; then :
34462 cat >>confdefs.h <<_ACEOF
34463 #define HAVE_EXPF 1
34464 _ACEOF
34467 done
34469 else
34471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34472 $as_echo_n "checking for _expf declaration... " >&6; }
34473 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34474 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34475 $as_echo_n "(cached) " >&6
34476 else
34479 ac_ext=cpp
34480 ac_cpp='$CXXCPP $CPPFLAGS'
34481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34486 /* end confdefs.h. */
34487 #include <math.h>
34488 #ifdef HAVE_IEEEFP_H
34489 #include <ieeefp.h>
34490 #endif
34493 main ()
34495 _expf(0);
34497 return 0;
34499 _ACEOF
34500 if ac_fn_cxx_try_compile "$LINENO"; then :
34501 glibcxx_cv_func__expf_use=yes
34502 else
34503 glibcxx_cv_func__expf_use=no
34505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34506 ac_ext=c
34507 ac_cpp='$CPP $CPPFLAGS'
34508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34517 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34519 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34520 for ac_func in _expf
34521 do :
34522 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34523 if test "x$ac_cv_func__expf" = x""yes; then :
34524 cat >>confdefs.h <<_ACEOF
34525 #define HAVE__EXPF 1
34526 _ACEOF
34529 done
34538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34539 $as_echo_n "checking for isnanf declaration... " >&6; }
34540 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34541 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34542 $as_echo_n "(cached) " >&6
34543 else
34546 ac_ext=cpp
34547 ac_cpp='$CXXCPP $CPPFLAGS'
34548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34553 /* end confdefs.h. */
34554 #include <math.h>
34555 #ifdef HAVE_IEEEFP_H
34556 #include <ieeefp.h>
34557 #endif
34560 main ()
34562 isnanf(0);
34564 return 0;
34566 _ACEOF
34567 if ac_fn_cxx_try_compile "$LINENO"; then :
34568 glibcxx_cv_func_isnanf_use=yes
34569 else
34570 glibcxx_cv_func_isnanf_use=no
34572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34573 ac_ext=c
34574 ac_cpp='$CPP $CPPFLAGS'
34575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34584 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34586 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34587 for ac_func in isnanf
34588 do :
34589 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34590 if test "x$ac_cv_func_isnanf" = x""yes; then :
34591 cat >>confdefs.h <<_ACEOF
34592 #define HAVE_ISNANF 1
34593 _ACEOF
34596 done
34598 else
34600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34601 $as_echo_n "checking for _isnanf declaration... " >&6; }
34602 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34603 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34604 $as_echo_n "(cached) " >&6
34605 else
34608 ac_ext=cpp
34609 ac_cpp='$CXXCPP $CPPFLAGS'
34610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34615 /* end confdefs.h. */
34616 #include <math.h>
34617 #ifdef HAVE_IEEEFP_H
34618 #include <ieeefp.h>
34619 #endif
34622 main ()
34624 _isnanf(0);
34626 return 0;
34628 _ACEOF
34629 if ac_fn_cxx_try_compile "$LINENO"; then :
34630 glibcxx_cv_func__isnanf_use=yes
34631 else
34632 glibcxx_cv_func__isnanf_use=no
34634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34635 ac_ext=c
34636 ac_cpp='$CPP $CPPFLAGS'
34637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34646 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34648 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34649 for ac_func in _isnanf
34650 do :
34651 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34652 if test "x$ac_cv_func__isnanf" = x""yes; then :
34653 cat >>confdefs.h <<_ACEOF
34654 #define HAVE__ISNANF 1
34655 _ACEOF
34658 done
34667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34668 $as_echo_n "checking for isinff declaration... " >&6; }
34669 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34670 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34671 $as_echo_n "(cached) " >&6
34672 else
34675 ac_ext=cpp
34676 ac_cpp='$CXXCPP $CPPFLAGS'
34677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34682 /* end confdefs.h. */
34683 #include <math.h>
34684 #ifdef HAVE_IEEEFP_H
34685 #include <ieeefp.h>
34686 #endif
34689 main ()
34691 isinff(0);
34693 return 0;
34695 _ACEOF
34696 if ac_fn_cxx_try_compile "$LINENO"; then :
34697 glibcxx_cv_func_isinff_use=yes
34698 else
34699 glibcxx_cv_func_isinff_use=no
34701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34702 ac_ext=c
34703 ac_cpp='$CPP $CPPFLAGS'
34704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34713 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34715 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34716 for ac_func in isinff
34717 do :
34718 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34719 if test "x$ac_cv_func_isinff" = x""yes; then :
34720 cat >>confdefs.h <<_ACEOF
34721 #define HAVE_ISINFF 1
34722 _ACEOF
34725 done
34727 else
34729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34730 $as_echo_n "checking for _isinff declaration... " >&6; }
34731 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34732 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34733 $as_echo_n "(cached) " >&6
34734 else
34737 ac_ext=cpp
34738 ac_cpp='$CXXCPP $CPPFLAGS'
34739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34744 /* end confdefs.h. */
34745 #include <math.h>
34746 #ifdef HAVE_IEEEFP_H
34747 #include <ieeefp.h>
34748 #endif
34751 main ()
34753 _isinff(0);
34755 return 0;
34757 _ACEOF
34758 if ac_fn_cxx_try_compile "$LINENO"; then :
34759 glibcxx_cv_func__isinff_use=yes
34760 else
34761 glibcxx_cv_func__isinff_use=no
34763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34764 ac_ext=c
34765 ac_cpp='$CPP $CPPFLAGS'
34766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34775 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34777 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34778 for ac_func in _isinff
34779 do :
34780 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34781 if test "x$ac_cv_func__isinff" = x""yes; then :
34782 cat >>confdefs.h <<_ACEOF
34783 #define HAVE__ISINFF 1
34784 _ACEOF
34787 done
34796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34797 $as_echo_n "checking for atan2f declaration... " >&6; }
34798 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34799 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34800 $as_echo_n "(cached) " >&6
34801 else
34804 ac_ext=cpp
34805 ac_cpp='$CXXCPP $CPPFLAGS'
34806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34811 /* end confdefs.h. */
34812 #include <math.h>
34814 main ()
34816 atan2f(0, 0);
34818 return 0;
34820 _ACEOF
34821 if ac_fn_cxx_try_compile "$LINENO"; then :
34822 glibcxx_cv_func_atan2f_use=yes
34823 else
34824 glibcxx_cv_func_atan2f_use=no
34826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34827 ac_ext=c
34828 ac_cpp='$CPP $CPPFLAGS'
34829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34838 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34840 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34841 for ac_func in atan2f
34842 do :
34843 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34844 if test "x$ac_cv_func_atan2f" = x""yes; then :
34845 cat >>confdefs.h <<_ACEOF
34846 #define HAVE_ATAN2F 1
34847 _ACEOF
34850 done
34852 else
34854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34855 $as_echo_n "checking for _atan2f declaration... " >&6; }
34856 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34857 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34858 $as_echo_n "(cached) " >&6
34859 else
34862 ac_ext=cpp
34863 ac_cpp='$CXXCPP $CPPFLAGS'
34864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34869 /* end confdefs.h. */
34870 #include <math.h>
34872 main ()
34874 _atan2f(0, 0);
34876 return 0;
34878 _ACEOF
34879 if ac_fn_cxx_try_compile "$LINENO"; then :
34880 glibcxx_cv_func__atan2f_use=yes
34881 else
34882 glibcxx_cv_func__atan2f_use=no
34884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34885 ac_ext=c
34886 ac_cpp='$CPP $CPPFLAGS'
34887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34896 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34898 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34899 for ac_func in _atan2f
34900 do :
34901 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34902 if test "x$ac_cv_func__atan2f" = x""yes; then :
34903 cat >>confdefs.h <<_ACEOF
34904 #define HAVE__ATAN2F 1
34905 _ACEOF
34908 done
34917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34918 $as_echo_n "checking for fabsf declaration... " >&6; }
34919 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34920 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34921 $as_echo_n "(cached) " >&6
34922 else
34925 ac_ext=cpp
34926 ac_cpp='$CXXCPP $CPPFLAGS'
34927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34932 /* end confdefs.h. */
34933 #include <math.h>
34934 #ifdef HAVE_IEEEFP_H
34935 #include <ieeefp.h>
34936 #endif
34939 main ()
34941 fabsf(0);
34943 return 0;
34945 _ACEOF
34946 if ac_fn_cxx_try_compile "$LINENO"; then :
34947 glibcxx_cv_func_fabsf_use=yes
34948 else
34949 glibcxx_cv_func_fabsf_use=no
34951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34952 ac_ext=c
34953 ac_cpp='$CPP $CPPFLAGS'
34954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34963 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34965 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34966 for ac_func in fabsf
34967 do :
34968 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34969 if test "x$ac_cv_func_fabsf" = x""yes; then :
34970 cat >>confdefs.h <<_ACEOF
34971 #define HAVE_FABSF 1
34972 _ACEOF
34975 done
34977 else
34979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34980 $as_echo_n "checking for _fabsf declaration... " >&6; }
34981 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34982 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34983 $as_echo_n "(cached) " >&6
34984 else
34987 ac_ext=cpp
34988 ac_cpp='$CXXCPP $CPPFLAGS'
34989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34994 /* end confdefs.h. */
34995 #include <math.h>
34996 #ifdef HAVE_IEEEFP_H
34997 #include <ieeefp.h>
34998 #endif
35001 main ()
35003 _fabsf(0);
35005 return 0;
35007 _ACEOF
35008 if ac_fn_cxx_try_compile "$LINENO"; then :
35009 glibcxx_cv_func__fabsf_use=yes
35010 else
35011 glibcxx_cv_func__fabsf_use=no
35013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35014 ac_ext=c
35015 ac_cpp='$CPP $CPPFLAGS'
35016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35025 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35027 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35028 for ac_func in _fabsf
35029 do :
35030 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35031 if test "x$ac_cv_func__fabsf" = x""yes; then :
35032 cat >>confdefs.h <<_ACEOF
35033 #define HAVE__FABSF 1
35034 _ACEOF
35037 done
35046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35047 $as_echo_n "checking for fmodf declaration... " >&6; }
35048 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35049 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35050 $as_echo_n "(cached) " >&6
35051 else
35054 ac_ext=cpp
35055 ac_cpp='$CXXCPP $CPPFLAGS'
35056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35061 /* end confdefs.h. */
35062 #include <math.h>
35064 main ()
35066 fmodf(0, 0);
35068 return 0;
35070 _ACEOF
35071 if ac_fn_cxx_try_compile "$LINENO"; then :
35072 glibcxx_cv_func_fmodf_use=yes
35073 else
35074 glibcxx_cv_func_fmodf_use=no
35076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35077 ac_ext=c
35078 ac_cpp='$CPP $CPPFLAGS'
35079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35088 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35090 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35091 for ac_func in fmodf
35092 do :
35093 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35094 if test "x$ac_cv_func_fmodf" = x""yes; then :
35095 cat >>confdefs.h <<_ACEOF
35096 #define HAVE_FMODF 1
35097 _ACEOF
35100 done
35102 else
35104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35105 $as_echo_n "checking for _fmodf declaration... " >&6; }
35106 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35107 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35108 $as_echo_n "(cached) " >&6
35109 else
35112 ac_ext=cpp
35113 ac_cpp='$CXXCPP $CPPFLAGS'
35114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35119 /* end confdefs.h. */
35120 #include <math.h>
35122 main ()
35124 _fmodf(0, 0);
35126 return 0;
35128 _ACEOF
35129 if ac_fn_cxx_try_compile "$LINENO"; then :
35130 glibcxx_cv_func__fmodf_use=yes
35131 else
35132 glibcxx_cv_func__fmodf_use=no
35134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35135 ac_ext=c
35136 ac_cpp='$CPP $CPPFLAGS'
35137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35146 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35148 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35149 for ac_func in _fmodf
35150 do :
35151 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35152 if test "x$ac_cv_func__fmodf" = x""yes; then :
35153 cat >>confdefs.h <<_ACEOF
35154 #define HAVE__FMODF 1
35155 _ACEOF
35158 done
35167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35168 $as_echo_n "checking for frexpf declaration... " >&6; }
35169 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35170 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35171 $as_echo_n "(cached) " >&6
35172 else
35175 ac_ext=cpp
35176 ac_cpp='$CXXCPP $CPPFLAGS'
35177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35182 /* end confdefs.h. */
35183 #include <math.h>
35185 main ()
35187 frexpf(0, 0);
35189 return 0;
35191 _ACEOF
35192 if ac_fn_cxx_try_compile "$LINENO"; then :
35193 glibcxx_cv_func_frexpf_use=yes
35194 else
35195 glibcxx_cv_func_frexpf_use=no
35197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35198 ac_ext=c
35199 ac_cpp='$CPP $CPPFLAGS'
35200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35209 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35211 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35212 for ac_func in frexpf
35213 do :
35214 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35215 if test "x$ac_cv_func_frexpf" = x""yes; then :
35216 cat >>confdefs.h <<_ACEOF
35217 #define HAVE_FREXPF 1
35218 _ACEOF
35221 done
35223 else
35225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35226 $as_echo_n "checking for _frexpf declaration... " >&6; }
35227 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35228 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35229 $as_echo_n "(cached) " >&6
35230 else
35233 ac_ext=cpp
35234 ac_cpp='$CXXCPP $CPPFLAGS'
35235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35240 /* end confdefs.h. */
35241 #include <math.h>
35243 main ()
35245 _frexpf(0, 0);
35247 return 0;
35249 _ACEOF
35250 if ac_fn_cxx_try_compile "$LINENO"; then :
35251 glibcxx_cv_func__frexpf_use=yes
35252 else
35253 glibcxx_cv_func__frexpf_use=no
35255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35256 ac_ext=c
35257 ac_cpp='$CPP $CPPFLAGS'
35258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35267 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35269 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35270 for ac_func in _frexpf
35271 do :
35272 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35273 if test "x$ac_cv_func__frexpf" = x""yes; then :
35274 cat >>confdefs.h <<_ACEOF
35275 #define HAVE__FREXPF 1
35276 _ACEOF
35279 done
35288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35289 $as_echo_n "checking for hypotf declaration... " >&6; }
35290 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35291 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35292 $as_echo_n "(cached) " >&6
35293 else
35296 ac_ext=cpp
35297 ac_cpp='$CXXCPP $CPPFLAGS'
35298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35303 /* end confdefs.h. */
35304 #include <math.h>
35306 main ()
35308 hypotf(0, 0);
35310 return 0;
35312 _ACEOF
35313 if ac_fn_cxx_try_compile "$LINENO"; then :
35314 glibcxx_cv_func_hypotf_use=yes
35315 else
35316 glibcxx_cv_func_hypotf_use=no
35318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35319 ac_ext=c
35320 ac_cpp='$CPP $CPPFLAGS'
35321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35330 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35332 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35333 for ac_func in hypotf
35334 do :
35335 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35336 if test "x$ac_cv_func_hypotf" = x""yes; then :
35337 cat >>confdefs.h <<_ACEOF
35338 #define HAVE_HYPOTF 1
35339 _ACEOF
35342 done
35344 else
35346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35347 $as_echo_n "checking for _hypotf declaration... " >&6; }
35348 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35349 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35350 $as_echo_n "(cached) " >&6
35351 else
35354 ac_ext=cpp
35355 ac_cpp='$CXXCPP $CPPFLAGS'
35356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35361 /* end confdefs.h. */
35362 #include <math.h>
35364 main ()
35366 _hypotf(0, 0);
35368 return 0;
35370 _ACEOF
35371 if ac_fn_cxx_try_compile "$LINENO"; then :
35372 glibcxx_cv_func__hypotf_use=yes
35373 else
35374 glibcxx_cv_func__hypotf_use=no
35376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35377 ac_ext=c
35378 ac_cpp='$CPP $CPPFLAGS'
35379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35388 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35390 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35391 for ac_func in _hypotf
35392 do :
35393 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35394 if test "x$ac_cv_func__hypotf" = x""yes; then :
35395 cat >>confdefs.h <<_ACEOF
35396 #define HAVE__HYPOTF 1
35397 _ACEOF
35400 done
35409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35410 $as_echo_n "checking for ldexpf declaration... " >&6; }
35411 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35412 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35413 $as_echo_n "(cached) " >&6
35414 else
35417 ac_ext=cpp
35418 ac_cpp='$CXXCPP $CPPFLAGS'
35419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35424 /* end confdefs.h. */
35425 #include <math.h>
35427 main ()
35429 ldexpf(0, 0);
35431 return 0;
35433 _ACEOF
35434 if ac_fn_cxx_try_compile "$LINENO"; then :
35435 glibcxx_cv_func_ldexpf_use=yes
35436 else
35437 glibcxx_cv_func_ldexpf_use=no
35439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35440 ac_ext=c
35441 ac_cpp='$CPP $CPPFLAGS'
35442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35451 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35453 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35454 for ac_func in ldexpf
35455 do :
35456 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35457 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35458 cat >>confdefs.h <<_ACEOF
35459 #define HAVE_LDEXPF 1
35460 _ACEOF
35463 done
35465 else
35467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35468 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35469 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35470 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35471 $as_echo_n "(cached) " >&6
35472 else
35475 ac_ext=cpp
35476 ac_cpp='$CXXCPP $CPPFLAGS'
35477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35482 /* end confdefs.h. */
35483 #include <math.h>
35485 main ()
35487 _ldexpf(0, 0);
35489 return 0;
35491 _ACEOF
35492 if ac_fn_cxx_try_compile "$LINENO"; then :
35493 glibcxx_cv_func__ldexpf_use=yes
35494 else
35495 glibcxx_cv_func__ldexpf_use=no
35497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35498 ac_ext=c
35499 ac_cpp='$CPP $CPPFLAGS'
35500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35509 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35511 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35512 for ac_func in _ldexpf
35513 do :
35514 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35515 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35516 cat >>confdefs.h <<_ACEOF
35517 #define HAVE__LDEXPF 1
35518 _ACEOF
35521 done
35530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35531 $as_echo_n "checking for logf declaration... " >&6; }
35532 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35533 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35534 $as_echo_n "(cached) " >&6
35535 else
35538 ac_ext=cpp
35539 ac_cpp='$CXXCPP $CPPFLAGS'
35540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35545 /* end confdefs.h. */
35546 #include <math.h>
35547 #ifdef HAVE_IEEEFP_H
35548 #include <ieeefp.h>
35549 #endif
35552 main ()
35554 logf(0);
35556 return 0;
35558 _ACEOF
35559 if ac_fn_cxx_try_compile "$LINENO"; then :
35560 glibcxx_cv_func_logf_use=yes
35561 else
35562 glibcxx_cv_func_logf_use=no
35564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35565 ac_ext=c
35566 ac_cpp='$CPP $CPPFLAGS'
35567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35576 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35578 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35579 for ac_func in logf
35580 do :
35581 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35582 if test "x$ac_cv_func_logf" = x""yes; then :
35583 cat >>confdefs.h <<_ACEOF
35584 #define HAVE_LOGF 1
35585 _ACEOF
35588 done
35590 else
35592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35593 $as_echo_n "checking for _logf declaration... " >&6; }
35594 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35595 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35596 $as_echo_n "(cached) " >&6
35597 else
35600 ac_ext=cpp
35601 ac_cpp='$CXXCPP $CPPFLAGS'
35602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35607 /* end confdefs.h. */
35608 #include <math.h>
35609 #ifdef HAVE_IEEEFP_H
35610 #include <ieeefp.h>
35611 #endif
35614 main ()
35616 _logf(0);
35618 return 0;
35620 _ACEOF
35621 if ac_fn_cxx_try_compile "$LINENO"; then :
35622 glibcxx_cv_func__logf_use=yes
35623 else
35624 glibcxx_cv_func__logf_use=no
35626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35627 ac_ext=c
35628 ac_cpp='$CPP $CPPFLAGS'
35629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35638 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35640 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35641 for ac_func in _logf
35642 do :
35643 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35644 if test "x$ac_cv_func__logf" = x""yes; then :
35645 cat >>confdefs.h <<_ACEOF
35646 #define HAVE__LOGF 1
35647 _ACEOF
35650 done
35659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35660 $as_echo_n "checking for log10f declaration... " >&6; }
35661 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35662 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35663 $as_echo_n "(cached) " >&6
35664 else
35667 ac_ext=cpp
35668 ac_cpp='$CXXCPP $CPPFLAGS'
35669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35674 /* end confdefs.h. */
35675 #include <math.h>
35676 #ifdef HAVE_IEEEFP_H
35677 #include <ieeefp.h>
35678 #endif
35681 main ()
35683 log10f(0);
35685 return 0;
35687 _ACEOF
35688 if ac_fn_cxx_try_compile "$LINENO"; then :
35689 glibcxx_cv_func_log10f_use=yes
35690 else
35691 glibcxx_cv_func_log10f_use=no
35693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35694 ac_ext=c
35695 ac_cpp='$CPP $CPPFLAGS'
35696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35705 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35707 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35708 for ac_func in log10f
35709 do :
35710 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35711 if test "x$ac_cv_func_log10f" = x""yes; then :
35712 cat >>confdefs.h <<_ACEOF
35713 #define HAVE_LOG10F 1
35714 _ACEOF
35717 done
35719 else
35721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35722 $as_echo_n "checking for _log10f declaration... " >&6; }
35723 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35724 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35725 $as_echo_n "(cached) " >&6
35726 else
35729 ac_ext=cpp
35730 ac_cpp='$CXXCPP $CPPFLAGS'
35731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35736 /* end confdefs.h. */
35737 #include <math.h>
35738 #ifdef HAVE_IEEEFP_H
35739 #include <ieeefp.h>
35740 #endif
35743 main ()
35745 _log10f(0);
35747 return 0;
35749 _ACEOF
35750 if ac_fn_cxx_try_compile "$LINENO"; then :
35751 glibcxx_cv_func__log10f_use=yes
35752 else
35753 glibcxx_cv_func__log10f_use=no
35755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35756 ac_ext=c
35757 ac_cpp='$CPP $CPPFLAGS'
35758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35767 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35769 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35770 for ac_func in _log10f
35771 do :
35772 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35773 if test "x$ac_cv_func__log10f" = x""yes; then :
35774 cat >>confdefs.h <<_ACEOF
35775 #define HAVE__LOG10F 1
35776 _ACEOF
35779 done
35788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35789 $as_echo_n "checking for modff declaration... " >&6; }
35790 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35791 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35792 $as_echo_n "(cached) " >&6
35793 else
35796 ac_ext=cpp
35797 ac_cpp='$CXXCPP $CPPFLAGS'
35798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35803 /* end confdefs.h. */
35804 #include <math.h>
35806 main ()
35808 modff(0, 0);
35810 return 0;
35812 _ACEOF
35813 if ac_fn_cxx_try_compile "$LINENO"; then :
35814 glibcxx_cv_func_modff_use=yes
35815 else
35816 glibcxx_cv_func_modff_use=no
35818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35819 ac_ext=c
35820 ac_cpp='$CPP $CPPFLAGS'
35821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35830 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35832 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35833 for ac_func in modff
35834 do :
35835 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35836 if test "x$ac_cv_func_modff" = x""yes; then :
35837 cat >>confdefs.h <<_ACEOF
35838 #define HAVE_MODFF 1
35839 _ACEOF
35842 done
35844 else
35846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35847 $as_echo_n "checking for _modff declaration... " >&6; }
35848 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35849 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35850 $as_echo_n "(cached) " >&6
35851 else
35854 ac_ext=cpp
35855 ac_cpp='$CXXCPP $CPPFLAGS'
35856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35861 /* end confdefs.h. */
35862 #include <math.h>
35864 main ()
35866 _modff(0, 0);
35868 return 0;
35870 _ACEOF
35871 if ac_fn_cxx_try_compile "$LINENO"; then :
35872 glibcxx_cv_func__modff_use=yes
35873 else
35874 glibcxx_cv_func__modff_use=no
35876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35877 ac_ext=c
35878 ac_cpp='$CPP $CPPFLAGS'
35879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35888 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35890 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35891 for ac_func in _modff
35892 do :
35893 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35894 if test "x$ac_cv_func__modff" = x""yes; then :
35895 cat >>confdefs.h <<_ACEOF
35896 #define HAVE__MODFF 1
35897 _ACEOF
35900 done
35909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35910 $as_echo_n "checking for modf declaration... " >&6; }
35911 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35912 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35913 $as_echo_n "(cached) " >&6
35914 else
35917 ac_ext=cpp
35918 ac_cpp='$CXXCPP $CPPFLAGS'
35919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35924 /* end confdefs.h. */
35925 #include <math.h>
35927 main ()
35929 modf(0, 0);
35931 return 0;
35933 _ACEOF
35934 if ac_fn_cxx_try_compile "$LINENO"; then :
35935 glibcxx_cv_func_modf_use=yes
35936 else
35937 glibcxx_cv_func_modf_use=no
35939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35940 ac_ext=c
35941 ac_cpp='$CPP $CPPFLAGS'
35942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35951 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35953 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35954 for ac_func in modf
35955 do :
35956 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35957 if test "x$ac_cv_func_modf" = x""yes; then :
35958 cat >>confdefs.h <<_ACEOF
35959 #define HAVE_MODF 1
35960 _ACEOF
35963 done
35965 else
35967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35968 $as_echo_n "checking for _modf declaration... " >&6; }
35969 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35970 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35971 $as_echo_n "(cached) " >&6
35972 else
35975 ac_ext=cpp
35976 ac_cpp='$CXXCPP $CPPFLAGS'
35977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35982 /* end confdefs.h. */
35983 #include <math.h>
35985 main ()
35987 _modf(0, 0);
35989 return 0;
35991 _ACEOF
35992 if ac_fn_cxx_try_compile "$LINENO"; then :
35993 glibcxx_cv_func__modf_use=yes
35994 else
35995 glibcxx_cv_func__modf_use=no
35997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35998 ac_ext=c
35999 ac_cpp='$CPP $CPPFLAGS'
36000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36009 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36011 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36012 for ac_func in _modf
36013 do :
36014 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36015 if test "x$ac_cv_func__modf" = x""yes; then :
36016 cat >>confdefs.h <<_ACEOF
36017 #define HAVE__MODF 1
36018 _ACEOF
36021 done
36030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36031 $as_echo_n "checking for powf declaration... " >&6; }
36032 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36033 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36034 $as_echo_n "(cached) " >&6
36035 else
36038 ac_ext=cpp
36039 ac_cpp='$CXXCPP $CPPFLAGS'
36040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36045 /* end confdefs.h. */
36046 #include <math.h>
36048 main ()
36050 powf(0, 0);
36052 return 0;
36054 _ACEOF
36055 if ac_fn_cxx_try_compile "$LINENO"; then :
36056 glibcxx_cv_func_powf_use=yes
36057 else
36058 glibcxx_cv_func_powf_use=no
36060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36061 ac_ext=c
36062 ac_cpp='$CPP $CPPFLAGS'
36063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36072 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36074 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36075 for ac_func in powf
36076 do :
36077 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36078 if test "x$ac_cv_func_powf" = x""yes; then :
36079 cat >>confdefs.h <<_ACEOF
36080 #define HAVE_POWF 1
36081 _ACEOF
36084 done
36086 else
36088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36089 $as_echo_n "checking for _powf declaration... " >&6; }
36090 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36091 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36092 $as_echo_n "(cached) " >&6
36093 else
36096 ac_ext=cpp
36097 ac_cpp='$CXXCPP $CPPFLAGS'
36098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36103 /* end confdefs.h. */
36104 #include <math.h>
36106 main ()
36108 _powf(0, 0);
36110 return 0;
36112 _ACEOF
36113 if ac_fn_cxx_try_compile "$LINENO"; then :
36114 glibcxx_cv_func__powf_use=yes
36115 else
36116 glibcxx_cv_func__powf_use=no
36118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36119 ac_ext=c
36120 ac_cpp='$CPP $CPPFLAGS'
36121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36130 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36132 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36133 for ac_func in _powf
36134 do :
36135 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36136 if test "x$ac_cv_func__powf" = x""yes; then :
36137 cat >>confdefs.h <<_ACEOF
36138 #define HAVE__POWF 1
36139 _ACEOF
36142 done
36151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36152 $as_echo_n "checking for sqrtf declaration... " >&6; }
36153 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36154 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36155 $as_echo_n "(cached) " >&6
36156 else
36159 ac_ext=cpp
36160 ac_cpp='$CXXCPP $CPPFLAGS'
36161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36166 /* end confdefs.h. */
36167 #include <math.h>
36168 #ifdef HAVE_IEEEFP_H
36169 #include <ieeefp.h>
36170 #endif
36173 main ()
36175 sqrtf(0);
36177 return 0;
36179 _ACEOF
36180 if ac_fn_cxx_try_compile "$LINENO"; then :
36181 glibcxx_cv_func_sqrtf_use=yes
36182 else
36183 glibcxx_cv_func_sqrtf_use=no
36185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36186 ac_ext=c
36187 ac_cpp='$CPP $CPPFLAGS'
36188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36197 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36199 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36200 for ac_func in sqrtf
36201 do :
36202 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36203 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36204 cat >>confdefs.h <<_ACEOF
36205 #define HAVE_SQRTF 1
36206 _ACEOF
36209 done
36211 else
36213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36214 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36215 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36216 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36217 $as_echo_n "(cached) " >&6
36218 else
36221 ac_ext=cpp
36222 ac_cpp='$CXXCPP $CPPFLAGS'
36223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36228 /* end confdefs.h. */
36229 #include <math.h>
36230 #ifdef HAVE_IEEEFP_H
36231 #include <ieeefp.h>
36232 #endif
36235 main ()
36237 _sqrtf(0);
36239 return 0;
36241 _ACEOF
36242 if ac_fn_cxx_try_compile "$LINENO"; then :
36243 glibcxx_cv_func__sqrtf_use=yes
36244 else
36245 glibcxx_cv_func__sqrtf_use=no
36247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36248 ac_ext=c
36249 ac_cpp='$CPP $CPPFLAGS'
36250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36259 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36261 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36262 for ac_func in _sqrtf
36263 do :
36264 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36265 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36266 cat >>confdefs.h <<_ACEOF
36267 #define HAVE__SQRTF 1
36268 _ACEOF
36271 done
36280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36281 $as_echo_n "checking for sincosf declaration... " >&6; }
36282 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36283 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36284 $as_echo_n "(cached) " >&6
36285 else
36288 ac_ext=cpp
36289 ac_cpp='$CXXCPP $CPPFLAGS'
36290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36295 /* end confdefs.h. */
36296 #include <math.h>
36298 main ()
36300 sincosf(0, 0, 0);
36302 return 0;
36304 _ACEOF
36305 if ac_fn_cxx_try_compile "$LINENO"; then :
36306 glibcxx_cv_func_sincosf_use=yes
36307 else
36308 glibcxx_cv_func_sincosf_use=no
36310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36311 ac_ext=c
36312 ac_cpp='$CPP $CPPFLAGS'
36313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36322 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36324 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36325 for ac_func in sincosf
36326 do :
36327 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36328 if test "x$ac_cv_func_sincosf" = x""yes; then :
36329 cat >>confdefs.h <<_ACEOF
36330 #define HAVE_SINCOSF 1
36331 _ACEOF
36334 done
36336 else
36338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36339 $as_echo_n "checking for _sincosf declaration... " >&6; }
36340 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36341 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36342 $as_echo_n "(cached) " >&6
36343 else
36346 ac_ext=cpp
36347 ac_cpp='$CXXCPP $CPPFLAGS'
36348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36353 /* end confdefs.h. */
36354 #include <math.h>
36356 main ()
36358 _sincosf(0, 0, 0);
36360 return 0;
36362 _ACEOF
36363 if ac_fn_cxx_try_compile "$LINENO"; then :
36364 glibcxx_cv_func__sincosf_use=yes
36365 else
36366 glibcxx_cv_func__sincosf_use=no
36368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36369 ac_ext=c
36370 ac_cpp='$CPP $CPPFLAGS'
36371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36380 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36382 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36383 for ac_func in _sincosf
36384 do :
36385 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36386 if test "x$ac_cv_func__sincosf" = x""yes; then :
36387 cat >>confdefs.h <<_ACEOF
36388 #define HAVE__SINCOSF 1
36389 _ACEOF
36392 done
36401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36402 $as_echo_n "checking for finitef declaration... " >&6; }
36403 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36404 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36405 $as_echo_n "(cached) " >&6
36406 else
36409 ac_ext=cpp
36410 ac_cpp='$CXXCPP $CPPFLAGS'
36411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36416 /* end confdefs.h. */
36417 #include <math.h>
36418 #ifdef HAVE_IEEEFP_H
36419 #include <ieeefp.h>
36420 #endif
36423 main ()
36425 finitef(0);
36427 return 0;
36429 _ACEOF
36430 if ac_fn_cxx_try_compile "$LINENO"; then :
36431 glibcxx_cv_func_finitef_use=yes
36432 else
36433 glibcxx_cv_func_finitef_use=no
36435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36436 ac_ext=c
36437 ac_cpp='$CPP $CPPFLAGS'
36438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36447 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36449 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36450 for ac_func in finitef
36451 do :
36452 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36453 if test "x$ac_cv_func_finitef" = x""yes; then :
36454 cat >>confdefs.h <<_ACEOF
36455 #define HAVE_FINITEF 1
36456 _ACEOF
36459 done
36461 else
36463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36464 $as_echo_n "checking for _finitef declaration... " >&6; }
36465 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36466 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36467 $as_echo_n "(cached) " >&6
36468 else
36471 ac_ext=cpp
36472 ac_cpp='$CXXCPP $CPPFLAGS'
36473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36478 /* end confdefs.h. */
36479 #include <math.h>
36480 #ifdef HAVE_IEEEFP_H
36481 #include <ieeefp.h>
36482 #endif
36485 main ()
36487 _finitef(0);
36489 return 0;
36491 _ACEOF
36492 if ac_fn_cxx_try_compile "$LINENO"; then :
36493 glibcxx_cv_func__finitef_use=yes
36494 else
36495 glibcxx_cv_func__finitef_use=no
36497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36498 ac_ext=c
36499 ac_cpp='$CPP $CPPFLAGS'
36500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36509 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36511 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36512 for ac_func in _finitef
36513 do :
36514 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36515 if test "x$ac_cv_func__finitef" = x""yes; then :
36516 cat >>confdefs.h <<_ACEOF
36517 #define HAVE__FINITEF 1
36518 _ACEOF
36521 done
36530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36531 $as_echo_n "checking for long double trig functions... " >&6; }
36532 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36533 $as_echo_n "(cached) " >&6
36534 else
36537 ac_ext=cpp
36538 ac_cpp='$CXXCPP $CPPFLAGS'
36539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36544 /* end confdefs.h. */
36545 #include <math.h>
36547 main ()
36549 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36551 return 0;
36553 _ACEOF
36554 if ac_fn_cxx_try_compile "$LINENO"; then :
36555 glibcxx_cv_func_long_double_trig_use=yes
36556 else
36557 glibcxx_cv_func_long_double_trig_use=no
36559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36560 ac_ext=c
36561 ac_cpp='$CPP $CPPFLAGS'
36562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36569 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36570 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36571 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36572 do :
36573 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36574 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36575 eval as_val=\$$as_ac_var
36576 if test "x$as_val" = x""yes; then :
36577 cat >>confdefs.h <<_ACEOF
36578 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36579 _ACEOF
36582 done
36584 else
36585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36586 $as_echo_n "checking for _long double trig functions... " >&6; }
36587 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36588 $as_echo_n "(cached) " >&6
36589 else
36592 ac_ext=cpp
36593 ac_cpp='$CXXCPP $CPPFLAGS'
36594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36599 /* end confdefs.h. */
36600 #include <math.h>
36602 main ()
36604 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36606 return 0;
36608 _ACEOF
36609 if ac_fn_cxx_try_compile "$LINENO"; then :
36610 glibcxx_cv_func__long_double_trig_use=yes
36611 else
36612 glibcxx_cv_func__long_double_trig_use=no
36614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36615 ac_ext=c
36616 ac_cpp='$CPP $CPPFLAGS'
36617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36624 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36625 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36626 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36627 do :
36628 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36629 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36630 eval as_val=\$$as_ac_var
36631 if test "x$as_val" = x""yes; then :
36632 cat >>confdefs.h <<_ACEOF
36633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36634 _ACEOF
36637 done
36646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36647 $as_echo_n "checking for long double round functions... " >&6; }
36648 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36649 $as_echo_n "(cached) " >&6
36650 else
36653 ac_ext=cpp
36654 ac_cpp='$CXXCPP $CPPFLAGS'
36655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36660 /* end confdefs.h. */
36661 #include <math.h>
36663 main ()
36665 ceill (0); floorl (0);
36667 return 0;
36669 _ACEOF
36670 if ac_fn_cxx_try_compile "$LINENO"; then :
36671 glibcxx_cv_func_long_double_round_use=yes
36672 else
36673 glibcxx_cv_func_long_double_round_use=no
36675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36676 ac_ext=c
36677 ac_cpp='$CPP $CPPFLAGS'
36678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36685 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36686 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36687 for ac_func in ceill floorl
36688 do :
36689 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36690 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36691 eval as_val=\$$as_ac_var
36692 if test "x$as_val" = x""yes; then :
36693 cat >>confdefs.h <<_ACEOF
36694 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36695 _ACEOF
36698 done
36700 else
36701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36702 $as_echo_n "checking for _long double round functions... " >&6; }
36703 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36704 $as_echo_n "(cached) " >&6
36705 else
36708 ac_ext=cpp
36709 ac_cpp='$CXXCPP $CPPFLAGS'
36710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36715 /* end confdefs.h. */
36716 #include <math.h>
36718 main ()
36720 _ceill (0); _floorl (0);
36722 return 0;
36724 _ACEOF
36725 if ac_fn_cxx_try_compile "$LINENO"; then :
36726 glibcxx_cv_func__long_double_round_use=yes
36727 else
36728 glibcxx_cv_func__long_double_round_use=no
36730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36731 ac_ext=c
36732 ac_cpp='$CPP $CPPFLAGS'
36733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36740 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36741 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36742 for ac_func in _ceill _floorl
36743 do :
36744 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36745 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36746 eval as_val=\$$as_ac_var
36747 if test "x$as_val" = x""yes; then :
36748 cat >>confdefs.h <<_ACEOF
36749 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36750 _ACEOF
36753 done
36763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36764 $as_echo_n "checking for isnanl declaration... " >&6; }
36765 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36766 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36767 $as_echo_n "(cached) " >&6
36768 else
36771 ac_ext=cpp
36772 ac_cpp='$CXXCPP $CPPFLAGS'
36773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36778 /* end confdefs.h. */
36779 #include <math.h>
36780 #ifdef HAVE_IEEEFP_H
36781 #include <ieeefp.h>
36782 #endif
36785 main ()
36787 isnanl(0);
36789 return 0;
36791 _ACEOF
36792 if ac_fn_cxx_try_compile "$LINENO"; then :
36793 glibcxx_cv_func_isnanl_use=yes
36794 else
36795 glibcxx_cv_func_isnanl_use=no
36797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36798 ac_ext=c
36799 ac_cpp='$CPP $CPPFLAGS'
36800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36809 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36811 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36812 for ac_func in isnanl
36813 do :
36814 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36815 if test "x$ac_cv_func_isnanl" = x""yes; then :
36816 cat >>confdefs.h <<_ACEOF
36817 #define HAVE_ISNANL 1
36818 _ACEOF
36821 done
36823 else
36825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36826 $as_echo_n "checking for _isnanl declaration... " >&6; }
36827 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36828 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36829 $as_echo_n "(cached) " >&6
36830 else
36833 ac_ext=cpp
36834 ac_cpp='$CXXCPP $CPPFLAGS'
36835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36840 /* end confdefs.h. */
36841 #include <math.h>
36842 #ifdef HAVE_IEEEFP_H
36843 #include <ieeefp.h>
36844 #endif
36847 main ()
36849 _isnanl(0);
36851 return 0;
36853 _ACEOF
36854 if ac_fn_cxx_try_compile "$LINENO"; then :
36855 glibcxx_cv_func__isnanl_use=yes
36856 else
36857 glibcxx_cv_func__isnanl_use=no
36859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36860 ac_ext=c
36861 ac_cpp='$CPP $CPPFLAGS'
36862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36871 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36873 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36874 for ac_func in _isnanl
36875 do :
36876 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36877 if test "x$ac_cv_func__isnanl" = x""yes; then :
36878 cat >>confdefs.h <<_ACEOF
36879 #define HAVE__ISNANL 1
36880 _ACEOF
36883 done
36892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36893 $as_echo_n "checking for isinfl declaration... " >&6; }
36894 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36895 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36896 $as_echo_n "(cached) " >&6
36897 else
36900 ac_ext=cpp
36901 ac_cpp='$CXXCPP $CPPFLAGS'
36902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36907 /* end confdefs.h. */
36908 #include <math.h>
36909 #ifdef HAVE_IEEEFP_H
36910 #include <ieeefp.h>
36911 #endif
36914 main ()
36916 isinfl(0);
36918 return 0;
36920 _ACEOF
36921 if ac_fn_cxx_try_compile "$LINENO"; then :
36922 glibcxx_cv_func_isinfl_use=yes
36923 else
36924 glibcxx_cv_func_isinfl_use=no
36926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36927 ac_ext=c
36928 ac_cpp='$CPP $CPPFLAGS'
36929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36938 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36940 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36941 for ac_func in isinfl
36942 do :
36943 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36944 if test "x$ac_cv_func_isinfl" = x""yes; then :
36945 cat >>confdefs.h <<_ACEOF
36946 #define HAVE_ISINFL 1
36947 _ACEOF
36950 done
36952 else
36954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36955 $as_echo_n "checking for _isinfl declaration... " >&6; }
36956 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36957 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36958 $as_echo_n "(cached) " >&6
36959 else
36962 ac_ext=cpp
36963 ac_cpp='$CXXCPP $CPPFLAGS'
36964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36969 /* end confdefs.h. */
36970 #include <math.h>
36971 #ifdef HAVE_IEEEFP_H
36972 #include <ieeefp.h>
36973 #endif
36976 main ()
36978 _isinfl(0);
36980 return 0;
36982 _ACEOF
36983 if ac_fn_cxx_try_compile "$LINENO"; then :
36984 glibcxx_cv_func__isinfl_use=yes
36985 else
36986 glibcxx_cv_func__isinfl_use=no
36988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36989 ac_ext=c
36990 ac_cpp='$CPP $CPPFLAGS'
36991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37000 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37002 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37003 for ac_func in _isinfl
37004 do :
37005 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37006 if test "x$ac_cv_func__isinfl" = x""yes; then :
37007 cat >>confdefs.h <<_ACEOF
37008 #define HAVE__ISINFL 1
37009 _ACEOF
37012 done
37021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37022 $as_echo_n "checking for atan2l declaration... " >&6; }
37023 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37024 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37025 $as_echo_n "(cached) " >&6
37026 else
37029 ac_ext=cpp
37030 ac_cpp='$CXXCPP $CPPFLAGS'
37031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37036 /* end confdefs.h. */
37037 #include <math.h>
37039 main ()
37041 atan2l(0, 0);
37043 return 0;
37045 _ACEOF
37046 if ac_fn_cxx_try_compile "$LINENO"; then :
37047 glibcxx_cv_func_atan2l_use=yes
37048 else
37049 glibcxx_cv_func_atan2l_use=no
37051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37052 ac_ext=c
37053 ac_cpp='$CPP $CPPFLAGS'
37054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37063 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37065 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37066 for ac_func in atan2l
37067 do :
37068 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37069 if test "x$ac_cv_func_atan2l" = x""yes; then :
37070 cat >>confdefs.h <<_ACEOF
37071 #define HAVE_ATAN2L 1
37072 _ACEOF
37075 done
37077 else
37079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37080 $as_echo_n "checking for _atan2l declaration... " >&6; }
37081 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37082 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37083 $as_echo_n "(cached) " >&6
37084 else
37087 ac_ext=cpp
37088 ac_cpp='$CXXCPP $CPPFLAGS'
37089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37094 /* end confdefs.h. */
37095 #include <math.h>
37097 main ()
37099 _atan2l(0, 0);
37101 return 0;
37103 _ACEOF
37104 if ac_fn_cxx_try_compile "$LINENO"; then :
37105 glibcxx_cv_func__atan2l_use=yes
37106 else
37107 glibcxx_cv_func__atan2l_use=no
37109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37110 ac_ext=c
37111 ac_cpp='$CPP $CPPFLAGS'
37112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37121 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37123 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37124 for ac_func in _atan2l
37125 do :
37126 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37127 if test "x$ac_cv_func__atan2l" = x""yes; then :
37128 cat >>confdefs.h <<_ACEOF
37129 #define HAVE__ATAN2L 1
37130 _ACEOF
37133 done
37142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37143 $as_echo_n "checking for expl declaration... " >&6; }
37144 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37145 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37146 $as_echo_n "(cached) " >&6
37147 else
37150 ac_ext=cpp
37151 ac_cpp='$CXXCPP $CPPFLAGS'
37152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37157 /* end confdefs.h. */
37158 #include <math.h>
37159 #ifdef HAVE_IEEEFP_H
37160 #include <ieeefp.h>
37161 #endif
37164 main ()
37166 expl(0);
37168 return 0;
37170 _ACEOF
37171 if ac_fn_cxx_try_compile "$LINENO"; then :
37172 glibcxx_cv_func_expl_use=yes
37173 else
37174 glibcxx_cv_func_expl_use=no
37176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37177 ac_ext=c
37178 ac_cpp='$CPP $CPPFLAGS'
37179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37188 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37190 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37191 for ac_func in expl
37192 do :
37193 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37194 if test "x$ac_cv_func_expl" = x""yes; then :
37195 cat >>confdefs.h <<_ACEOF
37196 #define HAVE_EXPL 1
37197 _ACEOF
37200 done
37202 else
37204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37205 $as_echo_n "checking for _expl declaration... " >&6; }
37206 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37207 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37208 $as_echo_n "(cached) " >&6
37209 else
37212 ac_ext=cpp
37213 ac_cpp='$CXXCPP $CPPFLAGS'
37214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37219 /* end confdefs.h. */
37220 #include <math.h>
37221 #ifdef HAVE_IEEEFP_H
37222 #include <ieeefp.h>
37223 #endif
37226 main ()
37228 _expl(0);
37230 return 0;
37232 _ACEOF
37233 if ac_fn_cxx_try_compile "$LINENO"; then :
37234 glibcxx_cv_func__expl_use=yes
37235 else
37236 glibcxx_cv_func__expl_use=no
37238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37239 ac_ext=c
37240 ac_cpp='$CPP $CPPFLAGS'
37241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37250 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37252 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37253 for ac_func in _expl
37254 do :
37255 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37256 if test "x$ac_cv_func__expl" = x""yes; then :
37257 cat >>confdefs.h <<_ACEOF
37258 #define HAVE__EXPL 1
37259 _ACEOF
37262 done
37271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37272 $as_echo_n "checking for fabsl declaration... " >&6; }
37273 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37274 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37275 $as_echo_n "(cached) " >&6
37276 else
37279 ac_ext=cpp
37280 ac_cpp='$CXXCPP $CPPFLAGS'
37281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37286 /* end confdefs.h. */
37287 #include <math.h>
37288 #ifdef HAVE_IEEEFP_H
37289 #include <ieeefp.h>
37290 #endif
37293 main ()
37295 fabsl(0);
37297 return 0;
37299 _ACEOF
37300 if ac_fn_cxx_try_compile "$LINENO"; then :
37301 glibcxx_cv_func_fabsl_use=yes
37302 else
37303 glibcxx_cv_func_fabsl_use=no
37305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37306 ac_ext=c
37307 ac_cpp='$CPP $CPPFLAGS'
37308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37317 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37319 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37320 for ac_func in fabsl
37321 do :
37322 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37323 if test "x$ac_cv_func_fabsl" = x""yes; then :
37324 cat >>confdefs.h <<_ACEOF
37325 #define HAVE_FABSL 1
37326 _ACEOF
37329 done
37331 else
37333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37334 $as_echo_n "checking for _fabsl declaration... " >&6; }
37335 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37336 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37337 $as_echo_n "(cached) " >&6
37338 else
37341 ac_ext=cpp
37342 ac_cpp='$CXXCPP $CPPFLAGS'
37343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37348 /* end confdefs.h. */
37349 #include <math.h>
37350 #ifdef HAVE_IEEEFP_H
37351 #include <ieeefp.h>
37352 #endif
37355 main ()
37357 _fabsl(0);
37359 return 0;
37361 _ACEOF
37362 if ac_fn_cxx_try_compile "$LINENO"; then :
37363 glibcxx_cv_func__fabsl_use=yes
37364 else
37365 glibcxx_cv_func__fabsl_use=no
37367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37368 ac_ext=c
37369 ac_cpp='$CPP $CPPFLAGS'
37370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37379 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37381 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37382 for ac_func in _fabsl
37383 do :
37384 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37385 if test "x$ac_cv_func__fabsl" = x""yes; then :
37386 cat >>confdefs.h <<_ACEOF
37387 #define HAVE__FABSL 1
37388 _ACEOF
37391 done
37400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37401 $as_echo_n "checking for fmodl declaration... " >&6; }
37402 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37403 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37404 $as_echo_n "(cached) " >&6
37405 else
37408 ac_ext=cpp
37409 ac_cpp='$CXXCPP $CPPFLAGS'
37410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37415 /* end confdefs.h. */
37416 #include <math.h>
37418 main ()
37420 fmodl(0, 0);
37422 return 0;
37424 _ACEOF
37425 if ac_fn_cxx_try_compile "$LINENO"; then :
37426 glibcxx_cv_func_fmodl_use=yes
37427 else
37428 glibcxx_cv_func_fmodl_use=no
37430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37431 ac_ext=c
37432 ac_cpp='$CPP $CPPFLAGS'
37433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37442 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37444 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37445 for ac_func in fmodl
37446 do :
37447 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37448 if test "x$ac_cv_func_fmodl" = x""yes; then :
37449 cat >>confdefs.h <<_ACEOF
37450 #define HAVE_FMODL 1
37451 _ACEOF
37454 done
37456 else
37458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37459 $as_echo_n "checking for _fmodl declaration... " >&6; }
37460 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37461 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37462 $as_echo_n "(cached) " >&6
37463 else
37466 ac_ext=cpp
37467 ac_cpp='$CXXCPP $CPPFLAGS'
37468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37473 /* end confdefs.h. */
37474 #include <math.h>
37476 main ()
37478 _fmodl(0, 0);
37480 return 0;
37482 _ACEOF
37483 if ac_fn_cxx_try_compile "$LINENO"; then :
37484 glibcxx_cv_func__fmodl_use=yes
37485 else
37486 glibcxx_cv_func__fmodl_use=no
37488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37489 ac_ext=c
37490 ac_cpp='$CPP $CPPFLAGS'
37491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37500 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37502 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37503 for ac_func in _fmodl
37504 do :
37505 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37506 if test "x$ac_cv_func__fmodl" = x""yes; then :
37507 cat >>confdefs.h <<_ACEOF
37508 #define HAVE__FMODL 1
37509 _ACEOF
37512 done
37521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37522 $as_echo_n "checking for frexpl declaration... " >&6; }
37523 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37524 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37525 $as_echo_n "(cached) " >&6
37526 else
37529 ac_ext=cpp
37530 ac_cpp='$CXXCPP $CPPFLAGS'
37531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37536 /* end confdefs.h. */
37537 #include <math.h>
37539 main ()
37541 frexpl(0, 0);
37543 return 0;
37545 _ACEOF
37546 if ac_fn_cxx_try_compile "$LINENO"; then :
37547 glibcxx_cv_func_frexpl_use=yes
37548 else
37549 glibcxx_cv_func_frexpl_use=no
37551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37552 ac_ext=c
37553 ac_cpp='$CPP $CPPFLAGS'
37554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37563 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37565 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37566 for ac_func in frexpl
37567 do :
37568 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37569 if test "x$ac_cv_func_frexpl" = x""yes; then :
37570 cat >>confdefs.h <<_ACEOF
37571 #define HAVE_FREXPL 1
37572 _ACEOF
37575 done
37577 else
37579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37580 $as_echo_n "checking for _frexpl declaration... " >&6; }
37581 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37582 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37583 $as_echo_n "(cached) " >&6
37584 else
37587 ac_ext=cpp
37588 ac_cpp='$CXXCPP $CPPFLAGS'
37589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37594 /* end confdefs.h. */
37595 #include <math.h>
37597 main ()
37599 _frexpl(0, 0);
37601 return 0;
37603 _ACEOF
37604 if ac_fn_cxx_try_compile "$LINENO"; then :
37605 glibcxx_cv_func__frexpl_use=yes
37606 else
37607 glibcxx_cv_func__frexpl_use=no
37609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37610 ac_ext=c
37611 ac_cpp='$CPP $CPPFLAGS'
37612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37621 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37623 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37624 for ac_func in _frexpl
37625 do :
37626 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37627 if test "x$ac_cv_func__frexpl" = x""yes; then :
37628 cat >>confdefs.h <<_ACEOF
37629 #define HAVE__FREXPL 1
37630 _ACEOF
37633 done
37642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37643 $as_echo_n "checking for hypotl declaration... " >&6; }
37644 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37645 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37646 $as_echo_n "(cached) " >&6
37647 else
37650 ac_ext=cpp
37651 ac_cpp='$CXXCPP $CPPFLAGS'
37652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37657 /* end confdefs.h. */
37658 #include <math.h>
37660 main ()
37662 hypotl(0, 0);
37664 return 0;
37666 _ACEOF
37667 if ac_fn_cxx_try_compile "$LINENO"; then :
37668 glibcxx_cv_func_hypotl_use=yes
37669 else
37670 glibcxx_cv_func_hypotl_use=no
37672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37673 ac_ext=c
37674 ac_cpp='$CPP $CPPFLAGS'
37675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37684 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37686 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37687 for ac_func in hypotl
37688 do :
37689 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37690 if test "x$ac_cv_func_hypotl" = x""yes; then :
37691 cat >>confdefs.h <<_ACEOF
37692 #define HAVE_HYPOTL 1
37693 _ACEOF
37696 done
37698 else
37700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37701 $as_echo_n "checking for _hypotl declaration... " >&6; }
37702 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37703 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37704 $as_echo_n "(cached) " >&6
37705 else
37708 ac_ext=cpp
37709 ac_cpp='$CXXCPP $CPPFLAGS'
37710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37715 /* end confdefs.h. */
37716 #include <math.h>
37718 main ()
37720 _hypotl(0, 0);
37722 return 0;
37724 _ACEOF
37725 if ac_fn_cxx_try_compile "$LINENO"; then :
37726 glibcxx_cv_func__hypotl_use=yes
37727 else
37728 glibcxx_cv_func__hypotl_use=no
37730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37731 ac_ext=c
37732 ac_cpp='$CPP $CPPFLAGS'
37733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37742 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37744 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37745 for ac_func in _hypotl
37746 do :
37747 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37748 if test "x$ac_cv_func__hypotl" = x""yes; then :
37749 cat >>confdefs.h <<_ACEOF
37750 #define HAVE__HYPOTL 1
37751 _ACEOF
37754 done
37763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37764 $as_echo_n "checking for ldexpl declaration... " >&6; }
37765 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37766 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37767 $as_echo_n "(cached) " >&6
37768 else
37771 ac_ext=cpp
37772 ac_cpp='$CXXCPP $CPPFLAGS'
37773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37778 /* end confdefs.h. */
37779 #include <math.h>
37781 main ()
37783 ldexpl(0, 0);
37785 return 0;
37787 _ACEOF
37788 if ac_fn_cxx_try_compile "$LINENO"; then :
37789 glibcxx_cv_func_ldexpl_use=yes
37790 else
37791 glibcxx_cv_func_ldexpl_use=no
37793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37794 ac_ext=c
37795 ac_cpp='$CPP $CPPFLAGS'
37796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37805 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37807 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37808 for ac_func in ldexpl
37809 do :
37810 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37811 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37812 cat >>confdefs.h <<_ACEOF
37813 #define HAVE_LDEXPL 1
37814 _ACEOF
37817 done
37819 else
37821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37822 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37823 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37824 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37825 $as_echo_n "(cached) " >&6
37826 else
37829 ac_ext=cpp
37830 ac_cpp='$CXXCPP $CPPFLAGS'
37831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37836 /* end confdefs.h. */
37837 #include <math.h>
37839 main ()
37841 _ldexpl(0, 0);
37843 return 0;
37845 _ACEOF
37846 if ac_fn_cxx_try_compile "$LINENO"; then :
37847 glibcxx_cv_func__ldexpl_use=yes
37848 else
37849 glibcxx_cv_func__ldexpl_use=no
37851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37852 ac_ext=c
37853 ac_cpp='$CPP $CPPFLAGS'
37854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37863 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37865 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37866 for ac_func in _ldexpl
37867 do :
37868 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37869 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37870 cat >>confdefs.h <<_ACEOF
37871 #define HAVE__LDEXPL 1
37872 _ACEOF
37875 done
37884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37885 $as_echo_n "checking for logl declaration... " >&6; }
37886 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37887 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37888 $as_echo_n "(cached) " >&6
37889 else
37892 ac_ext=cpp
37893 ac_cpp='$CXXCPP $CPPFLAGS'
37894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37899 /* end confdefs.h. */
37900 #include <math.h>
37901 #ifdef HAVE_IEEEFP_H
37902 #include <ieeefp.h>
37903 #endif
37906 main ()
37908 logl(0);
37910 return 0;
37912 _ACEOF
37913 if ac_fn_cxx_try_compile "$LINENO"; then :
37914 glibcxx_cv_func_logl_use=yes
37915 else
37916 glibcxx_cv_func_logl_use=no
37918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37919 ac_ext=c
37920 ac_cpp='$CPP $CPPFLAGS'
37921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37930 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37932 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37933 for ac_func in logl
37934 do :
37935 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37936 if test "x$ac_cv_func_logl" = x""yes; then :
37937 cat >>confdefs.h <<_ACEOF
37938 #define HAVE_LOGL 1
37939 _ACEOF
37942 done
37944 else
37946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37947 $as_echo_n "checking for _logl declaration... " >&6; }
37948 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37949 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37950 $as_echo_n "(cached) " >&6
37951 else
37954 ac_ext=cpp
37955 ac_cpp='$CXXCPP $CPPFLAGS'
37956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37961 /* end confdefs.h. */
37962 #include <math.h>
37963 #ifdef HAVE_IEEEFP_H
37964 #include <ieeefp.h>
37965 #endif
37968 main ()
37970 _logl(0);
37972 return 0;
37974 _ACEOF
37975 if ac_fn_cxx_try_compile "$LINENO"; then :
37976 glibcxx_cv_func__logl_use=yes
37977 else
37978 glibcxx_cv_func__logl_use=no
37980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37981 ac_ext=c
37982 ac_cpp='$CPP $CPPFLAGS'
37983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37992 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37994 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37995 for ac_func in _logl
37996 do :
37997 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37998 if test "x$ac_cv_func__logl" = x""yes; then :
37999 cat >>confdefs.h <<_ACEOF
38000 #define HAVE__LOGL 1
38001 _ACEOF
38004 done
38013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38014 $as_echo_n "checking for log10l declaration... " >&6; }
38015 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38016 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38017 $as_echo_n "(cached) " >&6
38018 else
38021 ac_ext=cpp
38022 ac_cpp='$CXXCPP $CPPFLAGS'
38023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38028 /* end confdefs.h. */
38029 #include <math.h>
38030 #ifdef HAVE_IEEEFP_H
38031 #include <ieeefp.h>
38032 #endif
38035 main ()
38037 log10l(0);
38039 return 0;
38041 _ACEOF
38042 if ac_fn_cxx_try_compile "$LINENO"; then :
38043 glibcxx_cv_func_log10l_use=yes
38044 else
38045 glibcxx_cv_func_log10l_use=no
38047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38048 ac_ext=c
38049 ac_cpp='$CPP $CPPFLAGS'
38050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38059 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38061 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38062 for ac_func in log10l
38063 do :
38064 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38065 if test "x$ac_cv_func_log10l" = x""yes; then :
38066 cat >>confdefs.h <<_ACEOF
38067 #define HAVE_LOG10L 1
38068 _ACEOF
38071 done
38073 else
38075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38076 $as_echo_n "checking for _log10l declaration... " >&6; }
38077 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38078 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38079 $as_echo_n "(cached) " >&6
38080 else
38083 ac_ext=cpp
38084 ac_cpp='$CXXCPP $CPPFLAGS'
38085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38090 /* end confdefs.h. */
38091 #include <math.h>
38092 #ifdef HAVE_IEEEFP_H
38093 #include <ieeefp.h>
38094 #endif
38097 main ()
38099 _log10l(0);
38101 return 0;
38103 _ACEOF
38104 if ac_fn_cxx_try_compile "$LINENO"; then :
38105 glibcxx_cv_func__log10l_use=yes
38106 else
38107 glibcxx_cv_func__log10l_use=no
38109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38110 ac_ext=c
38111 ac_cpp='$CPP $CPPFLAGS'
38112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38121 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38123 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38124 for ac_func in _log10l
38125 do :
38126 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38127 if test "x$ac_cv_func__log10l" = x""yes; then :
38128 cat >>confdefs.h <<_ACEOF
38129 #define HAVE__LOG10L 1
38130 _ACEOF
38133 done
38142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38143 $as_echo_n "checking for modfl declaration... " >&6; }
38144 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38145 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38146 $as_echo_n "(cached) " >&6
38147 else
38150 ac_ext=cpp
38151 ac_cpp='$CXXCPP $CPPFLAGS'
38152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38157 /* end confdefs.h. */
38158 #include <math.h>
38160 main ()
38162 modfl(0, 0);
38164 return 0;
38166 _ACEOF
38167 if ac_fn_cxx_try_compile "$LINENO"; then :
38168 glibcxx_cv_func_modfl_use=yes
38169 else
38170 glibcxx_cv_func_modfl_use=no
38172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38173 ac_ext=c
38174 ac_cpp='$CPP $CPPFLAGS'
38175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38184 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38186 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38187 for ac_func in modfl
38188 do :
38189 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38190 if test "x$ac_cv_func_modfl" = x""yes; then :
38191 cat >>confdefs.h <<_ACEOF
38192 #define HAVE_MODFL 1
38193 _ACEOF
38196 done
38198 else
38200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38201 $as_echo_n "checking for _modfl declaration... " >&6; }
38202 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38203 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38204 $as_echo_n "(cached) " >&6
38205 else
38208 ac_ext=cpp
38209 ac_cpp='$CXXCPP $CPPFLAGS'
38210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38215 /* end confdefs.h. */
38216 #include <math.h>
38218 main ()
38220 _modfl(0, 0);
38222 return 0;
38224 _ACEOF
38225 if ac_fn_cxx_try_compile "$LINENO"; then :
38226 glibcxx_cv_func__modfl_use=yes
38227 else
38228 glibcxx_cv_func__modfl_use=no
38230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38231 ac_ext=c
38232 ac_cpp='$CPP $CPPFLAGS'
38233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38242 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38244 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38245 for ac_func in _modfl
38246 do :
38247 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38248 if test "x$ac_cv_func__modfl" = x""yes; then :
38249 cat >>confdefs.h <<_ACEOF
38250 #define HAVE__MODFL 1
38251 _ACEOF
38254 done
38263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38264 $as_echo_n "checking for powl declaration... " >&6; }
38265 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38266 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38267 $as_echo_n "(cached) " >&6
38268 else
38271 ac_ext=cpp
38272 ac_cpp='$CXXCPP $CPPFLAGS'
38273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38278 /* end confdefs.h. */
38279 #include <math.h>
38281 main ()
38283 powl(0, 0);
38285 return 0;
38287 _ACEOF
38288 if ac_fn_cxx_try_compile "$LINENO"; then :
38289 glibcxx_cv_func_powl_use=yes
38290 else
38291 glibcxx_cv_func_powl_use=no
38293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38294 ac_ext=c
38295 ac_cpp='$CPP $CPPFLAGS'
38296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38305 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38307 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38308 for ac_func in powl
38309 do :
38310 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38311 if test "x$ac_cv_func_powl" = x""yes; then :
38312 cat >>confdefs.h <<_ACEOF
38313 #define HAVE_POWL 1
38314 _ACEOF
38317 done
38319 else
38321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38322 $as_echo_n "checking for _powl declaration... " >&6; }
38323 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38324 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38325 $as_echo_n "(cached) " >&6
38326 else
38329 ac_ext=cpp
38330 ac_cpp='$CXXCPP $CPPFLAGS'
38331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38336 /* end confdefs.h. */
38337 #include <math.h>
38339 main ()
38341 _powl(0, 0);
38343 return 0;
38345 _ACEOF
38346 if ac_fn_cxx_try_compile "$LINENO"; then :
38347 glibcxx_cv_func__powl_use=yes
38348 else
38349 glibcxx_cv_func__powl_use=no
38351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38352 ac_ext=c
38353 ac_cpp='$CPP $CPPFLAGS'
38354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38363 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38365 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38366 for ac_func in _powl
38367 do :
38368 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38369 if test "x$ac_cv_func__powl" = x""yes; then :
38370 cat >>confdefs.h <<_ACEOF
38371 #define HAVE__POWL 1
38372 _ACEOF
38375 done
38384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38385 $as_echo_n "checking for sqrtl declaration... " >&6; }
38386 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38387 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38388 $as_echo_n "(cached) " >&6
38389 else
38392 ac_ext=cpp
38393 ac_cpp='$CXXCPP $CPPFLAGS'
38394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38399 /* end confdefs.h. */
38400 #include <math.h>
38401 #ifdef HAVE_IEEEFP_H
38402 #include <ieeefp.h>
38403 #endif
38406 main ()
38408 sqrtl(0);
38410 return 0;
38412 _ACEOF
38413 if ac_fn_cxx_try_compile "$LINENO"; then :
38414 glibcxx_cv_func_sqrtl_use=yes
38415 else
38416 glibcxx_cv_func_sqrtl_use=no
38418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38419 ac_ext=c
38420 ac_cpp='$CPP $CPPFLAGS'
38421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38430 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38432 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38433 for ac_func in sqrtl
38434 do :
38435 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38436 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38437 cat >>confdefs.h <<_ACEOF
38438 #define HAVE_SQRTL 1
38439 _ACEOF
38442 done
38444 else
38446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38447 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38448 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38449 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38450 $as_echo_n "(cached) " >&6
38451 else
38454 ac_ext=cpp
38455 ac_cpp='$CXXCPP $CPPFLAGS'
38456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38461 /* end confdefs.h. */
38462 #include <math.h>
38463 #ifdef HAVE_IEEEFP_H
38464 #include <ieeefp.h>
38465 #endif
38468 main ()
38470 _sqrtl(0);
38472 return 0;
38474 _ACEOF
38475 if ac_fn_cxx_try_compile "$LINENO"; then :
38476 glibcxx_cv_func__sqrtl_use=yes
38477 else
38478 glibcxx_cv_func__sqrtl_use=no
38480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38481 ac_ext=c
38482 ac_cpp='$CPP $CPPFLAGS'
38483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38492 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38494 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38495 for ac_func in _sqrtl
38496 do :
38497 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38498 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38499 cat >>confdefs.h <<_ACEOF
38500 #define HAVE__SQRTL 1
38501 _ACEOF
38504 done
38513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38514 $as_echo_n "checking for sincosl declaration... " >&6; }
38515 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38516 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38517 $as_echo_n "(cached) " >&6
38518 else
38521 ac_ext=cpp
38522 ac_cpp='$CXXCPP $CPPFLAGS'
38523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38528 /* end confdefs.h. */
38529 #include <math.h>
38531 main ()
38533 sincosl(0, 0, 0);
38535 return 0;
38537 _ACEOF
38538 if ac_fn_cxx_try_compile "$LINENO"; then :
38539 glibcxx_cv_func_sincosl_use=yes
38540 else
38541 glibcxx_cv_func_sincosl_use=no
38543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38544 ac_ext=c
38545 ac_cpp='$CPP $CPPFLAGS'
38546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38555 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38557 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38558 for ac_func in sincosl
38559 do :
38560 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38561 if test "x$ac_cv_func_sincosl" = x""yes; then :
38562 cat >>confdefs.h <<_ACEOF
38563 #define HAVE_SINCOSL 1
38564 _ACEOF
38567 done
38569 else
38571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38572 $as_echo_n "checking for _sincosl declaration... " >&6; }
38573 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38574 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38575 $as_echo_n "(cached) " >&6
38576 else
38579 ac_ext=cpp
38580 ac_cpp='$CXXCPP $CPPFLAGS'
38581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38586 /* end confdefs.h. */
38587 #include <math.h>
38589 main ()
38591 _sincosl(0, 0, 0);
38593 return 0;
38595 _ACEOF
38596 if ac_fn_cxx_try_compile "$LINENO"; then :
38597 glibcxx_cv_func__sincosl_use=yes
38598 else
38599 glibcxx_cv_func__sincosl_use=no
38601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38602 ac_ext=c
38603 ac_cpp='$CPP $CPPFLAGS'
38604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38613 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38615 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38616 for ac_func in _sincosl
38617 do :
38618 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38619 if test "x$ac_cv_func__sincosl" = x""yes; then :
38620 cat >>confdefs.h <<_ACEOF
38621 #define HAVE__SINCOSL 1
38622 _ACEOF
38625 done
38634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38635 $as_echo_n "checking for finitel declaration... " >&6; }
38636 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38637 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38638 $as_echo_n "(cached) " >&6
38639 else
38642 ac_ext=cpp
38643 ac_cpp='$CXXCPP $CPPFLAGS'
38644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38649 /* end confdefs.h. */
38650 #include <math.h>
38651 #ifdef HAVE_IEEEFP_H
38652 #include <ieeefp.h>
38653 #endif
38656 main ()
38658 finitel(0);
38660 return 0;
38662 _ACEOF
38663 if ac_fn_cxx_try_compile "$LINENO"; then :
38664 glibcxx_cv_func_finitel_use=yes
38665 else
38666 glibcxx_cv_func_finitel_use=no
38668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38669 ac_ext=c
38670 ac_cpp='$CPP $CPPFLAGS'
38671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38680 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38682 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38683 for ac_func in finitel
38684 do :
38685 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38686 if test "x$ac_cv_func_finitel" = x""yes; then :
38687 cat >>confdefs.h <<_ACEOF
38688 #define HAVE_FINITEL 1
38689 _ACEOF
38692 done
38694 else
38696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38697 $as_echo_n "checking for _finitel declaration... " >&6; }
38698 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38699 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38700 $as_echo_n "(cached) " >&6
38701 else
38704 ac_ext=cpp
38705 ac_cpp='$CXXCPP $CPPFLAGS'
38706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38711 /* end confdefs.h. */
38712 #include <math.h>
38713 #ifdef HAVE_IEEEFP_H
38714 #include <ieeefp.h>
38715 #endif
38718 main ()
38720 _finitel(0);
38722 return 0;
38724 _ACEOF
38725 if ac_fn_cxx_try_compile "$LINENO"; then :
38726 glibcxx_cv_func__finitel_use=yes
38727 else
38728 glibcxx_cv_func__finitel_use=no
38730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38731 ac_ext=c
38732 ac_cpp='$CPP $CPPFLAGS'
38733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38742 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38744 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38745 for ac_func in _finitel
38746 do :
38747 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38748 if test "x$ac_cv_func__finitel" = x""yes; then :
38749 cat >>confdefs.h <<_ACEOF
38750 #define HAVE__FINITEL 1
38751 _ACEOF
38754 done
38762 LIBS="$ac_save_LIBS"
38763 CXXFLAGS="$ac_save_CXXFLAGS"
38766 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38767 ac_save_CXXFLAGS="$CXXFLAGS"
38768 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38772 $as_echo_n "checking for strtold declaration... " >&6; }
38773 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38774 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38775 $as_echo_n "(cached) " >&6
38776 else
38779 ac_ext=cpp
38780 ac_cpp='$CXXCPP $CPPFLAGS'
38781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38786 /* end confdefs.h. */
38787 #include <stdlib.h>
38789 main ()
38791 strtold(0, 0);
38793 return 0;
38795 _ACEOF
38796 if ac_fn_cxx_try_compile "$LINENO"; then :
38797 glibcxx_cv_func_strtold_use=yes
38798 else
38799 glibcxx_cv_func_strtold_use=no
38801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38802 ac_ext=c
38803 ac_cpp='$CPP $CPPFLAGS'
38804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38813 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38814 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38815 for ac_func in strtold
38816 do :
38817 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38818 if test "x$ac_cv_func_strtold" = x""yes; then :
38819 cat >>confdefs.h <<_ACEOF
38820 #define HAVE_STRTOLD 1
38821 _ACEOF
38824 done
38831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38832 $as_echo_n "checking for strtof declaration... " >&6; }
38833 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38834 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38835 $as_echo_n "(cached) " >&6
38836 else
38839 ac_ext=cpp
38840 ac_cpp='$CXXCPP $CPPFLAGS'
38841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38846 /* end confdefs.h. */
38847 #include <stdlib.h>
38849 main ()
38851 strtof(0, 0);
38853 return 0;
38855 _ACEOF
38856 if ac_fn_cxx_try_compile "$LINENO"; then :
38857 glibcxx_cv_func_strtof_use=yes
38858 else
38859 glibcxx_cv_func_strtof_use=no
38861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38862 ac_ext=c
38863 ac_cpp='$CPP $CPPFLAGS'
38864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38873 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38874 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38875 for ac_func in strtof
38876 do :
38877 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38878 if test "x$ac_cv_func_strtof" = x""yes; then :
38879 cat >>confdefs.h <<_ACEOF
38880 #define HAVE_STRTOF 1
38881 _ACEOF
38884 done
38891 CXXFLAGS="$ac_save_CXXFLAGS"
38893 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38895 # We don't yet support AIX's TLS ABI.
38896 #GCC_CHECK_TLS
38902 am_save_CPPFLAGS="$CPPFLAGS"
38904 for element in $INCICONV; do
38905 haveit=
38906 for x in $CPPFLAGS; do
38908 acl_save_prefix="$prefix"
38909 prefix="$acl_final_prefix"
38910 acl_save_exec_prefix="$exec_prefix"
38911 exec_prefix="$acl_final_exec_prefix"
38912 eval x=\"$x\"
38913 exec_prefix="$acl_save_exec_prefix"
38914 prefix="$acl_save_prefix"
38916 if test "X$x" = "X$element"; then
38917 haveit=yes
38918 break
38920 done
38921 if test -z "$haveit"; then
38922 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38924 done
38927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38928 $as_echo_n "checking for iconv... " >&6; }
38929 if test "${am_cv_func_iconv+set}" = set; then :
38930 $as_echo_n "(cached) " >&6
38931 else
38933 am_cv_func_iconv="no, consider installing GNU libiconv"
38934 am_cv_lib_iconv=no
38935 if test x$gcc_no_link = xyes; then
38936 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38939 /* end confdefs.h. */
38940 #include <stdlib.h>
38941 #include <iconv.h>
38943 main ()
38945 iconv_t cd = iconv_open("","");
38946 iconv(cd,NULL,NULL,NULL,NULL);
38947 iconv_close(cd);
38949 return 0;
38951 _ACEOF
38952 if ac_fn_c_try_link "$LINENO"; then :
38953 am_cv_func_iconv=yes
38955 rm -f core conftest.err conftest.$ac_objext \
38956 conftest$ac_exeext conftest.$ac_ext
38957 if test "$am_cv_func_iconv" != yes; then
38958 am_save_LIBS="$LIBS"
38959 LIBS="$LIBS $LIBICONV"
38960 if test x$gcc_no_link = xyes; then
38961 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38964 /* end confdefs.h. */
38965 #include <stdlib.h>
38966 #include <iconv.h>
38968 main ()
38970 iconv_t cd = iconv_open("","");
38971 iconv(cd,NULL,NULL,NULL,NULL);
38972 iconv_close(cd);
38974 return 0;
38976 _ACEOF
38977 if ac_fn_c_try_link "$LINENO"; then :
38978 am_cv_lib_iconv=yes
38979 am_cv_func_iconv=yes
38981 rm -f core conftest.err conftest.$ac_objext \
38982 conftest$ac_exeext conftest.$ac_ext
38983 LIBS="$am_save_LIBS"
38987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38988 $as_echo "$am_cv_func_iconv" >&6; }
38989 if test "$am_cv_func_iconv" = yes; then
38991 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38994 if test "$am_cv_lib_iconv" = yes; then
38995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38996 $as_echo_n "checking how to link with libiconv... " >&6; }
38997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38998 $as_echo "$LIBICONV" >&6; }
38999 else
39000 CPPFLAGS="$am_save_CPPFLAGS"
39001 LIBICONV=
39002 LTLIBICONV=
39007 if test "$am_cv_func_iconv" = yes; then
39008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39009 $as_echo_n "checking for iconv declaration... " >&6; }
39010 if test "${am_cv_proto_iconv+set}" = set; then :
39011 $as_echo_n "(cached) " >&6
39012 else
39014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39015 /* end confdefs.h. */
39017 #include <stdlib.h>
39018 #include <iconv.h>
39019 extern
39020 #ifdef __cplusplus
39022 #endif
39023 #if defined(__STDC__) || defined(__cplusplus)
39024 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39025 #else
39026 size_t iconv();
39027 #endif
39030 main ()
39034 return 0;
39036 _ACEOF
39037 if ac_fn_c_try_compile "$LINENO"; then :
39038 am_cv_proto_iconv_arg1=""
39039 else
39040 am_cv_proto_iconv_arg1="const"
39042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39043 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);"
39046 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39048 }$am_cv_proto_iconv" >&5
39049 $as_echo "${ac_t:-
39050 }$am_cv_proto_iconv" >&6; }
39052 cat >>confdefs.h <<_ACEOF
39053 #define ICONV_CONST $am_cv_proto_iconv_arg1
39054 _ACEOF
39060 *-darwin*)
39061 # Darwin versions vary, but the linker should work in a cross environment,
39062 # so we just check for all the features here.
39063 # Check for available headers.
39065 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39067 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39068 ac_save_CXXFLAGS="$CXXFLAGS"
39069 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39072 $as_echo_n "checking for sin in -lm... " >&6; }
39073 if test "${ac_cv_lib_m_sin+set}" = set; then :
39074 $as_echo_n "(cached) " >&6
39075 else
39076 ac_check_lib_save_LIBS=$LIBS
39077 LIBS="-lm $LIBS"
39078 if test x$gcc_no_link = xyes; then
39079 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39082 /* end confdefs.h. */
39084 /* Override any GCC internal prototype to avoid an error.
39085 Use char because int might match the return type of a GCC
39086 builtin and then its argument prototype would still apply. */
39087 #ifdef __cplusplus
39088 extern "C"
39089 #endif
39090 char sin ();
39092 main ()
39094 return sin ();
39096 return 0;
39098 _ACEOF
39099 if ac_fn_c_try_link "$LINENO"; then :
39100 ac_cv_lib_m_sin=yes
39101 else
39102 ac_cv_lib_m_sin=no
39104 rm -f core conftest.err conftest.$ac_objext \
39105 conftest$ac_exeext conftest.$ac_ext
39106 LIBS=$ac_check_lib_save_LIBS
39108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39109 $as_echo "$ac_cv_lib_m_sin" >&6; }
39110 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39111 libm="-lm"
39114 ac_save_LIBS="$LIBS"
39115 LIBS="$LIBS $libm"
39119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39120 $as_echo_n "checking for isinf declaration... " >&6; }
39121 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39122 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39123 $as_echo_n "(cached) " >&6
39124 else
39127 ac_ext=cpp
39128 ac_cpp='$CXXCPP $CPPFLAGS'
39129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39134 /* end confdefs.h. */
39135 #include <math.h>
39136 #ifdef HAVE_IEEEFP_H
39137 #include <ieeefp.h>
39138 #endif
39141 main ()
39143 isinf(0);
39145 return 0;
39147 _ACEOF
39148 if ac_fn_cxx_try_compile "$LINENO"; then :
39149 glibcxx_cv_func_isinf_use=yes
39150 else
39151 glibcxx_cv_func_isinf_use=no
39153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39154 ac_ext=c
39155 ac_cpp='$CPP $CPPFLAGS'
39156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39165 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39167 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39168 for ac_func in isinf
39169 do :
39170 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39171 if test "x$ac_cv_func_isinf" = x""yes; then :
39172 cat >>confdefs.h <<_ACEOF
39173 #define HAVE_ISINF 1
39174 _ACEOF
39177 done
39179 else
39181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39182 $as_echo_n "checking for _isinf declaration... " >&6; }
39183 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39184 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39185 $as_echo_n "(cached) " >&6
39186 else
39189 ac_ext=cpp
39190 ac_cpp='$CXXCPP $CPPFLAGS'
39191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39196 /* end confdefs.h. */
39197 #include <math.h>
39198 #ifdef HAVE_IEEEFP_H
39199 #include <ieeefp.h>
39200 #endif
39203 main ()
39205 _isinf(0);
39207 return 0;
39209 _ACEOF
39210 if ac_fn_cxx_try_compile "$LINENO"; then :
39211 glibcxx_cv_func__isinf_use=yes
39212 else
39213 glibcxx_cv_func__isinf_use=no
39215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39216 ac_ext=c
39217 ac_cpp='$CPP $CPPFLAGS'
39218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39227 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39229 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39230 for ac_func in _isinf
39231 do :
39232 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39233 if test "x$ac_cv_func__isinf" = x""yes; then :
39234 cat >>confdefs.h <<_ACEOF
39235 #define HAVE__ISINF 1
39236 _ACEOF
39239 done
39248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39249 $as_echo_n "checking for isnan declaration... " >&6; }
39250 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39251 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39252 $as_echo_n "(cached) " >&6
39253 else
39256 ac_ext=cpp
39257 ac_cpp='$CXXCPP $CPPFLAGS'
39258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39263 /* end confdefs.h. */
39264 #include <math.h>
39265 #ifdef HAVE_IEEEFP_H
39266 #include <ieeefp.h>
39267 #endif
39270 main ()
39272 isnan(0);
39274 return 0;
39276 _ACEOF
39277 if ac_fn_cxx_try_compile "$LINENO"; then :
39278 glibcxx_cv_func_isnan_use=yes
39279 else
39280 glibcxx_cv_func_isnan_use=no
39282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39283 ac_ext=c
39284 ac_cpp='$CPP $CPPFLAGS'
39285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39294 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39296 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39297 for ac_func in isnan
39298 do :
39299 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39300 if test "x$ac_cv_func_isnan" = x""yes; then :
39301 cat >>confdefs.h <<_ACEOF
39302 #define HAVE_ISNAN 1
39303 _ACEOF
39306 done
39308 else
39310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39311 $as_echo_n "checking for _isnan declaration... " >&6; }
39312 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39313 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39314 $as_echo_n "(cached) " >&6
39315 else
39318 ac_ext=cpp
39319 ac_cpp='$CXXCPP $CPPFLAGS'
39320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39325 /* end confdefs.h. */
39326 #include <math.h>
39327 #ifdef HAVE_IEEEFP_H
39328 #include <ieeefp.h>
39329 #endif
39332 main ()
39334 _isnan(0);
39336 return 0;
39338 _ACEOF
39339 if ac_fn_cxx_try_compile "$LINENO"; then :
39340 glibcxx_cv_func__isnan_use=yes
39341 else
39342 glibcxx_cv_func__isnan_use=no
39344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39345 ac_ext=c
39346 ac_cpp='$CPP $CPPFLAGS'
39347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39356 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39358 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39359 for ac_func in _isnan
39360 do :
39361 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39362 if test "x$ac_cv_func__isnan" = x""yes; then :
39363 cat >>confdefs.h <<_ACEOF
39364 #define HAVE__ISNAN 1
39365 _ACEOF
39368 done
39377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39378 $as_echo_n "checking for finite declaration... " >&6; }
39379 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39380 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39381 $as_echo_n "(cached) " >&6
39382 else
39385 ac_ext=cpp
39386 ac_cpp='$CXXCPP $CPPFLAGS'
39387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39392 /* end confdefs.h. */
39393 #include <math.h>
39394 #ifdef HAVE_IEEEFP_H
39395 #include <ieeefp.h>
39396 #endif
39399 main ()
39401 finite(0);
39403 return 0;
39405 _ACEOF
39406 if ac_fn_cxx_try_compile "$LINENO"; then :
39407 glibcxx_cv_func_finite_use=yes
39408 else
39409 glibcxx_cv_func_finite_use=no
39411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39412 ac_ext=c
39413 ac_cpp='$CPP $CPPFLAGS'
39414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39423 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39425 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39426 for ac_func in finite
39427 do :
39428 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39429 if test "x$ac_cv_func_finite" = x""yes; then :
39430 cat >>confdefs.h <<_ACEOF
39431 #define HAVE_FINITE 1
39432 _ACEOF
39435 done
39437 else
39439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39440 $as_echo_n "checking for _finite declaration... " >&6; }
39441 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39442 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39443 $as_echo_n "(cached) " >&6
39444 else
39447 ac_ext=cpp
39448 ac_cpp='$CXXCPP $CPPFLAGS'
39449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39454 /* end confdefs.h. */
39455 #include <math.h>
39456 #ifdef HAVE_IEEEFP_H
39457 #include <ieeefp.h>
39458 #endif
39461 main ()
39463 _finite(0);
39465 return 0;
39467 _ACEOF
39468 if ac_fn_cxx_try_compile "$LINENO"; then :
39469 glibcxx_cv_func__finite_use=yes
39470 else
39471 glibcxx_cv_func__finite_use=no
39473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39474 ac_ext=c
39475 ac_cpp='$CPP $CPPFLAGS'
39476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39485 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39487 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39488 for ac_func in _finite
39489 do :
39490 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39491 if test "x$ac_cv_func__finite" = x""yes; then :
39492 cat >>confdefs.h <<_ACEOF
39493 #define HAVE__FINITE 1
39494 _ACEOF
39497 done
39506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39507 $as_echo_n "checking for sincos declaration... " >&6; }
39508 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39509 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39510 $as_echo_n "(cached) " >&6
39511 else
39514 ac_ext=cpp
39515 ac_cpp='$CXXCPP $CPPFLAGS'
39516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39521 /* end confdefs.h. */
39522 #include <math.h>
39524 main ()
39526 sincos(0, 0, 0);
39528 return 0;
39530 _ACEOF
39531 if ac_fn_cxx_try_compile "$LINENO"; then :
39532 glibcxx_cv_func_sincos_use=yes
39533 else
39534 glibcxx_cv_func_sincos_use=no
39536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39537 ac_ext=c
39538 ac_cpp='$CPP $CPPFLAGS'
39539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39548 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39550 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39551 for ac_func in sincos
39552 do :
39553 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39554 if test "x$ac_cv_func_sincos" = x""yes; then :
39555 cat >>confdefs.h <<_ACEOF
39556 #define HAVE_SINCOS 1
39557 _ACEOF
39560 done
39562 else
39564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39565 $as_echo_n "checking for _sincos declaration... " >&6; }
39566 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39567 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39568 $as_echo_n "(cached) " >&6
39569 else
39572 ac_ext=cpp
39573 ac_cpp='$CXXCPP $CPPFLAGS'
39574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39579 /* end confdefs.h. */
39580 #include <math.h>
39582 main ()
39584 _sincos(0, 0, 0);
39586 return 0;
39588 _ACEOF
39589 if ac_fn_cxx_try_compile "$LINENO"; then :
39590 glibcxx_cv_func__sincos_use=yes
39591 else
39592 glibcxx_cv_func__sincos_use=no
39594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39595 ac_ext=c
39596 ac_cpp='$CPP $CPPFLAGS'
39597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39606 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39608 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39609 for ac_func in _sincos
39610 do :
39611 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39612 if test "x$ac_cv_func__sincos" = x""yes; then :
39613 cat >>confdefs.h <<_ACEOF
39614 #define HAVE__SINCOS 1
39615 _ACEOF
39618 done
39627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39628 $as_echo_n "checking for fpclass declaration... " >&6; }
39629 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39630 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39631 $as_echo_n "(cached) " >&6
39632 else
39635 ac_ext=cpp
39636 ac_cpp='$CXXCPP $CPPFLAGS'
39637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39642 /* end confdefs.h. */
39643 #include <math.h>
39644 #ifdef HAVE_IEEEFP_H
39645 #include <ieeefp.h>
39646 #endif
39649 main ()
39651 fpclass(0);
39653 return 0;
39655 _ACEOF
39656 if ac_fn_cxx_try_compile "$LINENO"; then :
39657 glibcxx_cv_func_fpclass_use=yes
39658 else
39659 glibcxx_cv_func_fpclass_use=no
39661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39662 ac_ext=c
39663 ac_cpp='$CPP $CPPFLAGS'
39664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39673 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39675 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39676 for ac_func in fpclass
39677 do :
39678 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39679 if test "x$ac_cv_func_fpclass" = x""yes; then :
39680 cat >>confdefs.h <<_ACEOF
39681 #define HAVE_FPCLASS 1
39682 _ACEOF
39685 done
39687 else
39689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39690 $as_echo_n "checking for _fpclass declaration... " >&6; }
39691 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39692 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39693 $as_echo_n "(cached) " >&6
39694 else
39697 ac_ext=cpp
39698 ac_cpp='$CXXCPP $CPPFLAGS'
39699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39704 /* end confdefs.h. */
39705 #include <math.h>
39706 #ifdef HAVE_IEEEFP_H
39707 #include <ieeefp.h>
39708 #endif
39711 main ()
39713 _fpclass(0);
39715 return 0;
39717 _ACEOF
39718 if ac_fn_cxx_try_compile "$LINENO"; then :
39719 glibcxx_cv_func__fpclass_use=yes
39720 else
39721 glibcxx_cv_func__fpclass_use=no
39723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39724 ac_ext=c
39725 ac_cpp='$CPP $CPPFLAGS'
39726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39735 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39737 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39738 for ac_func in _fpclass
39739 do :
39740 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39741 if test "x$ac_cv_func__fpclass" = x""yes; then :
39742 cat >>confdefs.h <<_ACEOF
39743 #define HAVE__FPCLASS 1
39744 _ACEOF
39747 done
39756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39757 $as_echo_n "checking for qfpclass declaration... " >&6; }
39758 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39759 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39760 $as_echo_n "(cached) " >&6
39761 else
39764 ac_ext=cpp
39765 ac_cpp='$CXXCPP $CPPFLAGS'
39766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39771 /* end confdefs.h. */
39772 #include <math.h>
39773 #ifdef HAVE_IEEEFP_H
39774 #include <ieeefp.h>
39775 #endif
39778 main ()
39780 qfpclass(0);
39782 return 0;
39784 _ACEOF
39785 if ac_fn_cxx_try_compile "$LINENO"; then :
39786 glibcxx_cv_func_qfpclass_use=yes
39787 else
39788 glibcxx_cv_func_qfpclass_use=no
39790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39791 ac_ext=c
39792 ac_cpp='$CPP $CPPFLAGS'
39793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39802 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39804 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39805 for ac_func in qfpclass
39806 do :
39807 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39808 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39809 cat >>confdefs.h <<_ACEOF
39810 #define HAVE_QFPCLASS 1
39811 _ACEOF
39814 done
39816 else
39818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39819 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39820 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39821 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39822 $as_echo_n "(cached) " >&6
39823 else
39826 ac_ext=cpp
39827 ac_cpp='$CXXCPP $CPPFLAGS'
39828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39833 /* end confdefs.h. */
39834 #include <math.h>
39835 #ifdef HAVE_IEEEFP_H
39836 #include <ieeefp.h>
39837 #endif
39840 main ()
39842 _qfpclass(0);
39844 return 0;
39846 _ACEOF
39847 if ac_fn_cxx_try_compile "$LINENO"; then :
39848 glibcxx_cv_func__qfpclass_use=yes
39849 else
39850 glibcxx_cv_func__qfpclass_use=no
39852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39853 ac_ext=c
39854 ac_cpp='$CPP $CPPFLAGS'
39855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39864 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39866 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39867 for ac_func in _qfpclass
39868 do :
39869 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39870 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39871 cat >>confdefs.h <<_ACEOF
39872 #define HAVE__QFPCLASS 1
39873 _ACEOF
39876 done
39885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39886 $as_echo_n "checking for hypot declaration... " >&6; }
39887 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39888 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39889 $as_echo_n "(cached) " >&6
39890 else
39893 ac_ext=cpp
39894 ac_cpp='$CXXCPP $CPPFLAGS'
39895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39900 /* end confdefs.h. */
39901 #include <math.h>
39903 main ()
39905 hypot(0, 0);
39907 return 0;
39909 _ACEOF
39910 if ac_fn_cxx_try_compile "$LINENO"; then :
39911 glibcxx_cv_func_hypot_use=yes
39912 else
39913 glibcxx_cv_func_hypot_use=no
39915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39916 ac_ext=c
39917 ac_cpp='$CPP $CPPFLAGS'
39918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39927 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39929 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39930 for ac_func in hypot
39931 do :
39932 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39933 if test "x$ac_cv_func_hypot" = x""yes; then :
39934 cat >>confdefs.h <<_ACEOF
39935 #define HAVE_HYPOT 1
39936 _ACEOF
39939 done
39941 else
39943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39944 $as_echo_n "checking for _hypot declaration... " >&6; }
39945 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39946 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39947 $as_echo_n "(cached) " >&6
39948 else
39951 ac_ext=cpp
39952 ac_cpp='$CXXCPP $CPPFLAGS'
39953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39958 /* end confdefs.h. */
39959 #include <math.h>
39961 main ()
39963 _hypot(0, 0);
39965 return 0;
39967 _ACEOF
39968 if ac_fn_cxx_try_compile "$LINENO"; then :
39969 glibcxx_cv_func__hypot_use=yes
39970 else
39971 glibcxx_cv_func__hypot_use=no
39973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39974 ac_ext=c
39975 ac_cpp='$CPP $CPPFLAGS'
39976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39985 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39987 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39988 for ac_func in _hypot
39989 do :
39990 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39991 if test "x$ac_cv_func__hypot" = x""yes; then :
39992 cat >>confdefs.h <<_ACEOF
39993 #define HAVE__HYPOT 1
39994 _ACEOF
39997 done
40006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40007 $as_echo_n "checking for float trig functions... " >&6; }
40008 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40009 $as_echo_n "(cached) " >&6
40010 else
40013 ac_ext=cpp
40014 ac_cpp='$CXXCPP $CPPFLAGS'
40015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40020 /* end confdefs.h. */
40021 #include <math.h>
40023 main ()
40025 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40027 return 0;
40029 _ACEOF
40030 if ac_fn_cxx_try_compile "$LINENO"; then :
40031 glibcxx_cv_func_float_trig_use=yes
40032 else
40033 glibcxx_cv_func_float_trig_use=no
40035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40036 ac_ext=c
40037 ac_cpp='$CPP $CPPFLAGS'
40038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40045 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40046 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40047 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40048 do :
40049 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40050 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40051 eval as_val=\$$as_ac_var
40052 if test "x$as_val" = x""yes; then :
40053 cat >>confdefs.h <<_ACEOF
40054 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40055 _ACEOF
40058 done
40060 else
40061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40062 $as_echo_n "checking for _float trig functions... " >&6; }
40063 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40064 $as_echo_n "(cached) " >&6
40065 else
40068 ac_ext=cpp
40069 ac_cpp='$CXXCPP $CPPFLAGS'
40070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40075 /* end confdefs.h. */
40076 #include <math.h>
40078 main ()
40080 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40082 return 0;
40084 _ACEOF
40085 if ac_fn_cxx_try_compile "$LINENO"; then :
40086 glibcxx_cv_func__float_trig_use=yes
40087 else
40088 glibcxx_cv_func__float_trig_use=no
40090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40091 ac_ext=c
40092 ac_cpp='$CPP $CPPFLAGS'
40093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40100 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40101 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40102 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40103 do :
40104 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40105 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40106 eval as_val=\$$as_ac_var
40107 if test "x$as_val" = x""yes; then :
40108 cat >>confdefs.h <<_ACEOF
40109 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40110 _ACEOF
40113 done
40122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40123 $as_echo_n "checking for float round functions... " >&6; }
40124 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40125 $as_echo_n "(cached) " >&6
40126 else
40129 ac_ext=cpp
40130 ac_cpp='$CXXCPP $CPPFLAGS'
40131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40136 /* end confdefs.h. */
40137 #include <math.h>
40139 main ()
40141 ceilf (0); floorf (0);
40143 return 0;
40145 _ACEOF
40146 if ac_fn_cxx_try_compile "$LINENO"; then :
40147 glibcxx_cv_func_float_round_use=yes
40148 else
40149 glibcxx_cv_func_float_round_use=no
40151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40152 ac_ext=c
40153 ac_cpp='$CPP $CPPFLAGS'
40154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40161 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40162 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40163 for ac_func in ceilf floorf
40164 do :
40165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40167 eval as_val=\$$as_ac_var
40168 if test "x$as_val" = x""yes; then :
40169 cat >>confdefs.h <<_ACEOF
40170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40171 _ACEOF
40174 done
40176 else
40177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40178 $as_echo_n "checking for _float round functions... " >&6; }
40179 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40180 $as_echo_n "(cached) " >&6
40181 else
40184 ac_ext=cpp
40185 ac_cpp='$CXXCPP $CPPFLAGS'
40186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40191 /* end confdefs.h. */
40192 #include <math.h>
40194 main ()
40196 _ceilf (0); _floorf (0);
40198 return 0;
40200 _ACEOF
40201 if ac_fn_cxx_try_compile "$LINENO"; then :
40202 glibcxx_cv_func__float_round_use=yes
40203 else
40204 glibcxx_cv_func__float_round_use=no
40206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40207 ac_ext=c
40208 ac_cpp='$CPP $CPPFLAGS'
40209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40216 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40217 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40218 for ac_func in _ceilf _floorf
40219 do :
40220 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40221 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40222 eval as_val=\$$as_ac_var
40223 if test "x$as_val" = x""yes; then :
40224 cat >>confdefs.h <<_ACEOF
40225 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40226 _ACEOF
40229 done
40239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40240 $as_echo_n "checking for expf declaration... " >&6; }
40241 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40242 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40243 $as_echo_n "(cached) " >&6
40244 else
40247 ac_ext=cpp
40248 ac_cpp='$CXXCPP $CPPFLAGS'
40249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40254 /* end confdefs.h. */
40255 #include <math.h>
40256 #ifdef HAVE_IEEEFP_H
40257 #include <ieeefp.h>
40258 #endif
40261 main ()
40263 expf(0);
40265 return 0;
40267 _ACEOF
40268 if ac_fn_cxx_try_compile "$LINENO"; then :
40269 glibcxx_cv_func_expf_use=yes
40270 else
40271 glibcxx_cv_func_expf_use=no
40273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40274 ac_ext=c
40275 ac_cpp='$CPP $CPPFLAGS'
40276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40285 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40287 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40288 for ac_func in expf
40289 do :
40290 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40291 if test "x$ac_cv_func_expf" = x""yes; then :
40292 cat >>confdefs.h <<_ACEOF
40293 #define HAVE_EXPF 1
40294 _ACEOF
40297 done
40299 else
40301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40302 $as_echo_n "checking for _expf declaration... " >&6; }
40303 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40304 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40305 $as_echo_n "(cached) " >&6
40306 else
40309 ac_ext=cpp
40310 ac_cpp='$CXXCPP $CPPFLAGS'
40311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40316 /* end confdefs.h. */
40317 #include <math.h>
40318 #ifdef HAVE_IEEEFP_H
40319 #include <ieeefp.h>
40320 #endif
40323 main ()
40325 _expf(0);
40327 return 0;
40329 _ACEOF
40330 if ac_fn_cxx_try_compile "$LINENO"; then :
40331 glibcxx_cv_func__expf_use=yes
40332 else
40333 glibcxx_cv_func__expf_use=no
40335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40336 ac_ext=c
40337 ac_cpp='$CPP $CPPFLAGS'
40338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40347 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40349 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40350 for ac_func in _expf
40351 do :
40352 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40353 if test "x$ac_cv_func__expf" = x""yes; then :
40354 cat >>confdefs.h <<_ACEOF
40355 #define HAVE__EXPF 1
40356 _ACEOF
40359 done
40368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40369 $as_echo_n "checking for isnanf declaration... " >&6; }
40370 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40371 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40372 $as_echo_n "(cached) " >&6
40373 else
40376 ac_ext=cpp
40377 ac_cpp='$CXXCPP $CPPFLAGS'
40378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40383 /* end confdefs.h. */
40384 #include <math.h>
40385 #ifdef HAVE_IEEEFP_H
40386 #include <ieeefp.h>
40387 #endif
40390 main ()
40392 isnanf(0);
40394 return 0;
40396 _ACEOF
40397 if ac_fn_cxx_try_compile "$LINENO"; then :
40398 glibcxx_cv_func_isnanf_use=yes
40399 else
40400 glibcxx_cv_func_isnanf_use=no
40402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40403 ac_ext=c
40404 ac_cpp='$CPP $CPPFLAGS'
40405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40414 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40416 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40417 for ac_func in isnanf
40418 do :
40419 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40420 if test "x$ac_cv_func_isnanf" = x""yes; then :
40421 cat >>confdefs.h <<_ACEOF
40422 #define HAVE_ISNANF 1
40423 _ACEOF
40426 done
40428 else
40430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40431 $as_echo_n "checking for _isnanf declaration... " >&6; }
40432 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40433 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40434 $as_echo_n "(cached) " >&6
40435 else
40438 ac_ext=cpp
40439 ac_cpp='$CXXCPP $CPPFLAGS'
40440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40445 /* end confdefs.h. */
40446 #include <math.h>
40447 #ifdef HAVE_IEEEFP_H
40448 #include <ieeefp.h>
40449 #endif
40452 main ()
40454 _isnanf(0);
40456 return 0;
40458 _ACEOF
40459 if ac_fn_cxx_try_compile "$LINENO"; then :
40460 glibcxx_cv_func__isnanf_use=yes
40461 else
40462 glibcxx_cv_func__isnanf_use=no
40464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40465 ac_ext=c
40466 ac_cpp='$CPP $CPPFLAGS'
40467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40476 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40478 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40479 for ac_func in _isnanf
40480 do :
40481 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40482 if test "x$ac_cv_func__isnanf" = x""yes; then :
40483 cat >>confdefs.h <<_ACEOF
40484 #define HAVE__ISNANF 1
40485 _ACEOF
40488 done
40497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40498 $as_echo_n "checking for isinff declaration... " >&6; }
40499 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40500 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40501 $as_echo_n "(cached) " >&6
40502 else
40505 ac_ext=cpp
40506 ac_cpp='$CXXCPP $CPPFLAGS'
40507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40512 /* end confdefs.h. */
40513 #include <math.h>
40514 #ifdef HAVE_IEEEFP_H
40515 #include <ieeefp.h>
40516 #endif
40519 main ()
40521 isinff(0);
40523 return 0;
40525 _ACEOF
40526 if ac_fn_cxx_try_compile "$LINENO"; then :
40527 glibcxx_cv_func_isinff_use=yes
40528 else
40529 glibcxx_cv_func_isinff_use=no
40531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40532 ac_ext=c
40533 ac_cpp='$CPP $CPPFLAGS'
40534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40543 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40545 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40546 for ac_func in isinff
40547 do :
40548 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40549 if test "x$ac_cv_func_isinff" = x""yes; then :
40550 cat >>confdefs.h <<_ACEOF
40551 #define HAVE_ISINFF 1
40552 _ACEOF
40555 done
40557 else
40559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40560 $as_echo_n "checking for _isinff declaration... " >&6; }
40561 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40562 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40563 $as_echo_n "(cached) " >&6
40564 else
40567 ac_ext=cpp
40568 ac_cpp='$CXXCPP $CPPFLAGS'
40569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40574 /* end confdefs.h. */
40575 #include <math.h>
40576 #ifdef HAVE_IEEEFP_H
40577 #include <ieeefp.h>
40578 #endif
40581 main ()
40583 _isinff(0);
40585 return 0;
40587 _ACEOF
40588 if ac_fn_cxx_try_compile "$LINENO"; then :
40589 glibcxx_cv_func__isinff_use=yes
40590 else
40591 glibcxx_cv_func__isinff_use=no
40593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40594 ac_ext=c
40595 ac_cpp='$CPP $CPPFLAGS'
40596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40605 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40607 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40608 for ac_func in _isinff
40609 do :
40610 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40611 if test "x$ac_cv_func__isinff" = x""yes; then :
40612 cat >>confdefs.h <<_ACEOF
40613 #define HAVE__ISINFF 1
40614 _ACEOF
40617 done
40626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40627 $as_echo_n "checking for atan2f declaration... " >&6; }
40628 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40629 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40630 $as_echo_n "(cached) " >&6
40631 else
40634 ac_ext=cpp
40635 ac_cpp='$CXXCPP $CPPFLAGS'
40636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40641 /* end confdefs.h. */
40642 #include <math.h>
40644 main ()
40646 atan2f(0, 0);
40648 return 0;
40650 _ACEOF
40651 if ac_fn_cxx_try_compile "$LINENO"; then :
40652 glibcxx_cv_func_atan2f_use=yes
40653 else
40654 glibcxx_cv_func_atan2f_use=no
40656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40657 ac_ext=c
40658 ac_cpp='$CPP $CPPFLAGS'
40659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40668 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40670 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40671 for ac_func in atan2f
40672 do :
40673 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40674 if test "x$ac_cv_func_atan2f" = x""yes; then :
40675 cat >>confdefs.h <<_ACEOF
40676 #define HAVE_ATAN2F 1
40677 _ACEOF
40680 done
40682 else
40684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40685 $as_echo_n "checking for _atan2f declaration... " >&6; }
40686 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40687 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40688 $as_echo_n "(cached) " >&6
40689 else
40692 ac_ext=cpp
40693 ac_cpp='$CXXCPP $CPPFLAGS'
40694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40699 /* end confdefs.h. */
40700 #include <math.h>
40702 main ()
40704 _atan2f(0, 0);
40706 return 0;
40708 _ACEOF
40709 if ac_fn_cxx_try_compile "$LINENO"; then :
40710 glibcxx_cv_func__atan2f_use=yes
40711 else
40712 glibcxx_cv_func__atan2f_use=no
40714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40715 ac_ext=c
40716 ac_cpp='$CPP $CPPFLAGS'
40717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40726 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40728 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40729 for ac_func in _atan2f
40730 do :
40731 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40732 if test "x$ac_cv_func__atan2f" = x""yes; then :
40733 cat >>confdefs.h <<_ACEOF
40734 #define HAVE__ATAN2F 1
40735 _ACEOF
40738 done
40747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40748 $as_echo_n "checking for fabsf declaration... " >&6; }
40749 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40750 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40751 $as_echo_n "(cached) " >&6
40752 else
40755 ac_ext=cpp
40756 ac_cpp='$CXXCPP $CPPFLAGS'
40757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40762 /* end confdefs.h. */
40763 #include <math.h>
40764 #ifdef HAVE_IEEEFP_H
40765 #include <ieeefp.h>
40766 #endif
40769 main ()
40771 fabsf(0);
40773 return 0;
40775 _ACEOF
40776 if ac_fn_cxx_try_compile "$LINENO"; then :
40777 glibcxx_cv_func_fabsf_use=yes
40778 else
40779 glibcxx_cv_func_fabsf_use=no
40781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40782 ac_ext=c
40783 ac_cpp='$CPP $CPPFLAGS'
40784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40793 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40795 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40796 for ac_func in fabsf
40797 do :
40798 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40799 if test "x$ac_cv_func_fabsf" = x""yes; then :
40800 cat >>confdefs.h <<_ACEOF
40801 #define HAVE_FABSF 1
40802 _ACEOF
40805 done
40807 else
40809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40810 $as_echo_n "checking for _fabsf declaration... " >&6; }
40811 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40812 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40813 $as_echo_n "(cached) " >&6
40814 else
40817 ac_ext=cpp
40818 ac_cpp='$CXXCPP $CPPFLAGS'
40819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40824 /* end confdefs.h. */
40825 #include <math.h>
40826 #ifdef HAVE_IEEEFP_H
40827 #include <ieeefp.h>
40828 #endif
40831 main ()
40833 _fabsf(0);
40835 return 0;
40837 _ACEOF
40838 if ac_fn_cxx_try_compile "$LINENO"; then :
40839 glibcxx_cv_func__fabsf_use=yes
40840 else
40841 glibcxx_cv_func__fabsf_use=no
40843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40844 ac_ext=c
40845 ac_cpp='$CPP $CPPFLAGS'
40846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40855 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40857 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40858 for ac_func in _fabsf
40859 do :
40860 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40861 if test "x$ac_cv_func__fabsf" = x""yes; then :
40862 cat >>confdefs.h <<_ACEOF
40863 #define HAVE__FABSF 1
40864 _ACEOF
40867 done
40876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40877 $as_echo_n "checking for fmodf declaration... " >&6; }
40878 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40879 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40880 $as_echo_n "(cached) " >&6
40881 else
40884 ac_ext=cpp
40885 ac_cpp='$CXXCPP $CPPFLAGS'
40886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40891 /* end confdefs.h. */
40892 #include <math.h>
40894 main ()
40896 fmodf(0, 0);
40898 return 0;
40900 _ACEOF
40901 if ac_fn_cxx_try_compile "$LINENO"; then :
40902 glibcxx_cv_func_fmodf_use=yes
40903 else
40904 glibcxx_cv_func_fmodf_use=no
40906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40907 ac_ext=c
40908 ac_cpp='$CPP $CPPFLAGS'
40909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40918 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40920 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40921 for ac_func in fmodf
40922 do :
40923 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40924 if test "x$ac_cv_func_fmodf" = x""yes; then :
40925 cat >>confdefs.h <<_ACEOF
40926 #define HAVE_FMODF 1
40927 _ACEOF
40930 done
40932 else
40934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40935 $as_echo_n "checking for _fmodf declaration... " >&6; }
40936 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40937 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40938 $as_echo_n "(cached) " >&6
40939 else
40942 ac_ext=cpp
40943 ac_cpp='$CXXCPP $CPPFLAGS'
40944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40949 /* end confdefs.h. */
40950 #include <math.h>
40952 main ()
40954 _fmodf(0, 0);
40956 return 0;
40958 _ACEOF
40959 if ac_fn_cxx_try_compile "$LINENO"; then :
40960 glibcxx_cv_func__fmodf_use=yes
40961 else
40962 glibcxx_cv_func__fmodf_use=no
40964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40965 ac_ext=c
40966 ac_cpp='$CPP $CPPFLAGS'
40967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40976 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40978 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40979 for ac_func in _fmodf
40980 do :
40981 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40982 if test "x$ac_cv_func__fmodf" = x""yes; then :
40983 cat >>confdefs.h <<_ACEOF
40984 #define HAVE__FMODF 1
40985 _ACEOF
40988 done
40997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40998 $as_echo_n "checking for frexpf declaration... " >&6; }
40999 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41000 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41001 $as_echo_n "(cached) " >&6
41002 else
41005 ac_ext=cpp
41006 ac_cpp='$CXXCPP $CPPFLAGS'
41007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41012 /* end confdefs.h. */
41013 #include <math.h>
41015 main ()
41017 frexpf(0, 0);
41019 return 0;
41021 _ACEOF
41022 if ac_fn_cxx_try_compile "$LINENO"; then :
41023 glibcxx_cv_func_frexpf_use=yes
41024 else
41025 glibcxx_cv_func_frexpf_use=no
41027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41028 ac_ext=c
41029 ac_cpp='$CPP $CPPFLAGS'
41030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41039 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41041 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41042 for ac_func in frexpf
41043 do :
41044 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41045 if test "x$ac_cv_func_frexpf" = x""yes; then :
41046 cat >>confdefs.h <<_ACEOF
41047 #define HAVE_FREXPF 1
41048 _ACEOF
41051 done
41053 else
41055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41056 $as_echo_n "checking for _frexpf declaration... " >&6; }
41057 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41058 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41059 $as_echo_n "(cached) " >&6
41060 else
41063 ac_ext=cpp
41064 ac_cpp='$CXXCPP $CPPFLAGS'
41065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41070 /* end confdefs.h. */
41071 #include <math.h>
41073 main ()
41075 _frexpf(0, 0);
41077 return 0;
41079 _ACEOF
41080 if ac_fn_cxx_try_compile "$LINENO"; then :
41081 glibcxx_cv_func__frexpf_use=yes
41082 else
41083 glibcxx_cv_func__frexpf_use=no
41085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41086 ac_ext=c
41087 ac_cpp='$CPP $CPPFLAGS'
41088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41097 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41099 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41100 for ac_func in _frexpf
41101 do :
41102 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41103 if test "x$ac_cv_func__frexpf" = x""yes; then :
41104 cat >>confdefs.h <<_ACEOF
41105 #define HAVE__FREXPF 1
41106 _ACEOF
41109 done
41118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41119 $as_echo_n "checking for hypotf declaration... " >&6; }
41120 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41121 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41122 $as_echo_n "(cached) " >&6
41123 else
41126 ac_ext=cpp
41127 ac_cpp='$CXXCPP $CPPFLAGS'
41128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41133 /* end confdefs.h. */
41134 #include <math.h>
41136 main ()
41138 hypotf(0, 0);
41140 return 0;
41142 _ACEOF
41143 if ac_fn_cxx_try_compile "$LINENO"; then :
41144 glibcxx_cv_func_hypotf_use=yes
41145 else
41146 glibcxx_cv_func_hypotf_use=no
41148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41149 ac_ext=c
41150 ac_cpp='$CPP $CPPFLAGS'
41151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41160 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41162 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41163 for ac_func in hypotf
41164 do :
41165 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41166 if test "x$ac_cv_func_hypotf" = x""yes; then :
41167 cat >>confdefs.h <<_ACEOF
41168 #define HAVE_HYPOTF 1
41169 _ACEOF
41172 done
41174 else
41176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41177 $as_echo_n "checking for _hypotf declaration... " >&6; }
41178 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41179 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41180 $as_echo_n "(cached) " >&6
41181 else
41184 ac_ext=cpp
41185 ac_cpp='$CXXCPP $CPPFLAGS'
41186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41191 /* end confdefs.h. */
41192 #include <math.h>
41194 main ()
41196 _hypotf(0, 0);
41198 return 0;
41200 _ACEOF
41201 if ac_fn_cxx_try_compile "$LINENO"; then :
41202 glibcxx_cv_func__hypotf_use=yes
41203 else
41204 glibcxx_cv_func__hypotf_use=no
41206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41207 ac_ext=c
41208 ac_cpp='$CPP $CPPFLAGS'
41209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41218 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41220 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41221 for ac_func in _hypotf
41222 do :
41223 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41224 if test "x$ac_cv_func__hypotf" = x""yes; then :
41225 cat >>confdefs.h <<_ACEOF
41226 #define HAVE__HYPOTF 1
41227 _ACEOF
41230 done
41239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41240 $as_echo_n "checking for ldexpf declaration... " >&6; }
41241 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41242 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41243 $as_echo_n "(cached) " >&6
41244 else
41247 ac_ext=cpp
41248 ac_cpp='$CXXCPP $CPPFLAGS'
41249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41254 /* end confdefs.h. */
41255 #include <math.h>
41257 main ()
41259 ldexpf(0, 0);
41261 return 0;
41263 _ACEOF
41264 if ac_fn_cxx_try_compile "$LINENO"; then :
41265 glibcxx_cv_func_ldexpf_use=yes
41266 else
41267 glibcxx_cv_func_ldexpf_use=no
41269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41270 ac_ext=c
41271 ac_cpp='$CPP $CPPFLAGS'
41272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41281 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41283 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41284 for ac_func in ldexpf
41285 do :
41286 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41287 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41288 cat >>confdefs.h <<_ACEOF
41289 #define HAVE_LDEXPF 1
41290 _ACEOF
41293 done
41295 else
41297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41298 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41299 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41300 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41301 $as_echo_n "(cached) " >&6
41302 else
41305 ac_ext=cpp
41306 ac_cpp='$CXXCPP $CPPFLAGS'
41307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41312 /* end confdefs.h. */
41313 #include <math.h>
41315 main ()
41317 _ldexpf(0, 0);
41319 return 0;
41321 _ACEOF
41322 if ac_fn_cxx_try_compile "$LINENO"; then :
41323 glibcxx_cv_func__ldexpf_use=yes
41324 else
41325 glibcxx_cv_func__ldexpf_use=no
41327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41328 ac_ext=c
41329 ac_cpp='$CPP $CPPFLAGS'
41330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41339 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41341 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41342 for ac_func in _ldexpf
41343 do :
41344 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41345 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41346 cat >>confdefs.h <<_ACEOF
41347 #define HAVE__LDEXPF 1
41348 _ACEOF
41351 done
41360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41361 $as_echo_n "checking for logf declaration... " >&6; }
41362 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41363 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41364 $as_echo_n "(cached) " >&6
41365 else
41368 ac_ext=cpp
41369 ac_cpp='$CXXCPP $CPPFLAGS'
41370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41375 /* end confdefs.h. */
41376 #include <math.h>
41377 #ifdef HAVE_IEEEFP_H
41378 #include <ieeefp.h>
41379 #endif
41382 main ()
41384 logf(0);
41386 return 0;
41388 _ACEOF
41389 if ac_fn_cxx_try_compile "$LINENO"; then :
41390 glibcxx_cv_func_logf_use=yes
41391 else
41392 glibcxx_cv_func_logf_use=no
41394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41395 ac_ext=c
41396 ac_cpp='$CPP $CPPFLAGS'
41397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41406 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41408 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41409 for ac_func in logf
41410 do :
41411 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41412 if test "x$ac_cv_func_logf" = x""yes; then :
41413 cat >>confdefs.h <<_ACEOF
41414 #define HAVE_LOGF 1
41415 _ACEOF
41418 done
41420 else
41422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41423 $as_echo_n "checking for _logf declaration... " >&6; }
41424 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41425 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41426 $as_echo_n "(cached) " >&6
41427 else
41430 ac_ext=cpp
41431 ac_cpp='$CXXCPP $CPPFLAGS'
41432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41437 /* end confdefs.h. */
41438 #include <math.h>
41439 #ifdef HAVE_IEEEFP_H
41440 #include <ieeefp.h>
41441 #endif
41444 main ()
41446 _logf(0);
41448 return 0;
41450 _ACEOF
41451 if ac_fn_cxx_try_compile "$LINENO"; then :
41452 glibcxx_cv_func__logf_use=yes
41453 else
41454 glibcxx_cv_func__logf_use=no
41456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41457 ac_ext=c
41458 ac_cpp='$CPP $CPPFLAGS'
41459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41468 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41470 if test x$glibcxx_cv_func__logf_use = x"yes"; then
41471 for ac_func in _logf
41472 do :
41473 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41474 if test "x$ac_cv_func__logf" = x""yes; then :
41475 cat >>confdefs.h <<_ACEOF
41476 #define HAVE__LOGF 1
41477 _ACEOF
41480 done
41489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41490 $as_echo_n "checking for log10f declaration... " >&6; }
41491 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41492 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41493 $as_echo_n "(cached) " >&6
41494 else
41497 ac_ext=cpp
41498 ac_cpp='$CXXCPP $CPPFLAGS'
41499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41504 /* end confdefs.h. */
41505 #include <math.h>
41506 #ifdef HAVE_IEEEFP_H
41507 #include <ieeefp.h>
41508 #endif
41511 main ()
41513 log10f(0);
41515 return 0;
41517 _ACEOF
41518 if ac_fn_cxx_try_compile "$LINENO"; then :
41519 glibcxx_cv_func_log10f_use=yes
41520 else
41521 glibcxx_cv_func_log10f_use=no
41523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41524 ac_ext=c
41525 ac_cpp='$CPP $CPPFLAGS'
41526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41535 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41537 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41538 for ac_func in log10f
41539 do :
41540 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41541 if test "x$ac_cv_func_log10f" = x""yes; then :
41542 cat >>confdefs.h <<_ACEOF
41543 #define HAVE_LOG10F 1
41544 _ACEOF
41547 done
41549 else
41551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41552 $as_echo_n "checking for _log10f declaration... " >&6; }
41553 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41554 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41555 $as_echo_n "(cached) " >&6
41556 else
41559 ac_ext=cpp
41560 ac_cpp='$CXXCPP $CPPFLAGS'
41561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41566 /* end confdefs.h. */
41567 #include <math.h>
41568 #ifdef HAVE_IEEEFP_H
41569 #include <ieeefp.h>
41570 #endif
41573 main ()
41575 _log10f(0);
41577 return 0;
41579 _ACEOF
41580 if ac_fn_cxx_try_compile "$LINENO"; then :
41581 glibcxx_cv_func__log10f_use=yes
41582 else
41583 glibcxx_cv_func__log10f_use=no
41585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41586 ac_ext=c
41587 ac_cpp='$CPP $CPPFLAGS'
41588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41597 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41599 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41600 for ac_func in _log10f
41601 do :
41602 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41603 if test "x$ac_cv_func__log10f" = x""yes; then :
41604 cat >>confdefs.h <<_ACEOF
41605 #define HAVE__LOG10F 1
41606 _ACEOF
41609 done
41618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41619 $as_echo_n "checking for modff declaration... " >&6; }
41620 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41621 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41622 $as_echo_n "(cached) " >&6
41623 else
41626 ac_ext=cpp
41627 ac_cpp='$CXXCPP $CPPFLAGS'
41628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41633 /* end confdefs.h. */
41634 #include <math.h>
41636 main ()
41638 modff(0, 0);
41640 return 0;
41642 _ACEOF
41643 if ac_fn_cxx_try_compile "$LINENO"; then :
41644 glibcxx_cv_func_modff_use=yes
41645 else
41646 glibcxx_cv_func_modff_use=no
41648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41649 ac_ext=c
41650 ac_cpp='$CPP $CPPFLAGS'
41651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41660 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41662 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41663 for ac_func in modff
41664 do :
41665 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41666 if test "x$ac_cv_func_modff" = x""yes; then :
41667 cat >>confdefs.h <<_ACEOF
41668 #define HAVE_MODFF 1
41669 _ACEOF
41672 done
41674 else
41676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41677 $as_echo_n "checking for _modff declaration... " >&6; }
41678 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41679 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41680 $as_echo_n "(cached) " >&6
41681 else
41684 ac_ext=cpp
41685 ac_cpp='$CXXCPP $CPPFLAGS'
41686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41691 /* end confdefs.h. */
41692 #include <math.h>
41694 main ()
41696 _modff(0, 0);
41698 return 0;
41700 _ACEOF
41701 if ac_fn_cxx_try_compile "$LINENO"; then :
41702 glibcxx_cv_func__modff_use=yes
41703 else
41704 glibcxx_cv_func__modff_use=no
41706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41707 ac_ext=c
41708 ac_cpp='$CPP $CPPFLAGS'
41709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41718 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41720 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41721 for ac_func in _modff
41722 do :
41723 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41724 if test "x$ac_cv_func__modff" = x""yes; then :
41725 cat >>confdefs.h <<_ACEOF
41726 #define HAVE__MODFF 1
41727 _ACEOF
41730 done
41739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41740 $as_echo_n "checking for modf declaration... " >&6; }
41741 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41742 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41743 $as_echo_n "(cached) " >&6
41744 else
41747 ac_ext=cpp
41748 ac_cpp='$CXXCPP $CPPFLAGS'
41749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41754 /* end confdefs.h. */
41755 #include <math.h>
41757 main ()
41759 modf(0, 0);
41761 return 0;
41763 _ACEOF
41764 if ac_fn_cxx_try_compile "$LINENO"; then :
41765 glibcxx_cv_func_modf_use=yes
41766 else
41767 glibcxx_cv_func_modf_use=no
41769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41770 ac_ext=c
41771 ac_cpp='$CPP $CPPFLAGS'
41772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41781 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41783 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41784 for ac_func in modf
41785 do :
41786 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41787 if test "x$ac_cv_func_modf" = x""yes; then :
41788 cat >>confdefs.h <<_ACEOF
41789 #define HAVE_MODF 1
41790 _ACEOF
41793 done
41795 else
41797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41798 $as_echo_n "checking for _modf declaration... " >&6; }
41799 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41800 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41801 $as_echo_n "(cached) " >&6
41802 else
41805 ac_ext=cpp
41806 ac_cpp='$CXXCPP $CPPFLAGS'
41807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41812 /* end confdefs.h. */
41813 #include <math.h>
41815 main ()
41817 _modf(0, 0);
41819 return 0;
41821 _ACEOF
41822 if ac_fn_cxx_try_compile "$LINENO"; then :
41823 glibcxx_cv_func__modf_use=yes
41824 else
41825 glibcxx_cv_func__modf_use=no
41827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41828 ac_ext=c
41829 ac_cpp='$CPP $CPPFLAGS'
41830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41839 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41841 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41842 for ac_func in _modf
41843 do :
41844 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41845 if test "x$ac_cv_func__modf" = x""yes; then :
41846 cat >>confdefs.h <<_ACEOF
41847 #define HAVE__MODF 1
41848 _ACEOF
41851 done
41860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41861 $as_echo_n "checking for powf declaration... " >&6; }
41862 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41863 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41864 $as_echo_n "(cached) " >&6
41865 else
41868 ac_ext=cpp
41869 ac_cpp='$CXXCPP $CPPFLAGS'
41870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41875 /* end confdefs.h. */
41876 #include <math.h>
41878 main ()
41880 powf(0, 0);
41882 return 0;
41884 _ACEOF
41885 if ac_fn_cxx_try_compile "$LINENO"; then :
41886 glibcxx_cv_func_powf_use=yes
41887 else
41888 glibcxx_cv_func_powf_use=no
41890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41891 ac_ext=c
41892 ac_cpp='$CPP $CPPFLAGS'
41893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41902 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41904 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41905 for ac_func in powf
41906 do :
41907 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41908 if test "x$ac_cv_func_powf" = x""yes; then :
41909 cat >>confdefs.h <<_ACEOF
41910 #define HAVE_POWF 1
41911 _ACEOF
41914 done
41916 else
41918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41919 $as_echo_n "checking for _powf declaration... " >&6; }
41920 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41921 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41922 $as_echo_n "(cached) " >&6
41923 else
41926 ac_ext=cpp
41927 ac_cpp='$CXXCPP $CPPFLAGS'
41928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41933 /* end confdefs.h. */
41934 #include <math.h>
41936 main ()
41938 _powf(0, 0);
41940 return 0;
41942 _ACEOF
41943 if ac_fn_cxx_try_compile "$LINENO"; then :
41944 glibcxx_cv_func__powf_use=yes
41945 else
41946 glibcxx_cv_func__powf_use=no
41948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41949 ac_ext=c
41950 ac_cpp='$CPP $CPPFLAGS'
41951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41960 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41962 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41963 for ac_func in _powf
41964 do :
41965 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41966 if test "x$ac_cv_func__powf" = x""yes; then :
41967 cat >>confdefs.h <<_ACEOF
41968 #define HAVE__POWF 1
41969 _ACEOF
41972 done
41981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41982 $as_echo_n "checking for sqrtf declaration... " >&6; }
41983 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41984 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41985 $as_echo_n "(cached) " >&6
41986 else
41989 ac_ext=cpp
41990 ac_cpp='$CXXCPP $CPPFLAGS'
41991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41996 /* end confdefs.h. */
41997 #include <math.h>
41998 #ifdef HAVE_IEEEFP_H
41999 #include <ieeefp.h>
42000 #endif
42003 main ()
42005 sqrtf(0);
42007 return 0;
42009 _ACEOF
42010 if ac_fn_cxx_try_compile "$LINENO"; then :
42011 glibcxx_cv_func_sqrtf_use=yes
42012 else
42013 glibcxx_cv_func_sqrtf_use=no
42015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42016 ac_ext=c
42017 ac_cpp='$CPP $CPPFLAGS'
42018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42027 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42029 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42030 for ac_func in sqrtf
42031 do :
42032 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42033 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42034 cat >>confdefs.h <<_ACEOF
42035 #define HAVE_SQRTF 1
42036 _ACEOF
42039 done
42041 else
42043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42044 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42045 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42046 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42047 $as_echo_n "(cached) " >&6
42048 else
42051 ac_ext=cpp
42052 ac_cpp='$CXXCPP $CPPFLAGS'
42053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42058 /* end confdefs.h. */
42059 #include <math.h>
42060 #ifdef HAVE_IEEEFP_H
42061 #include <ieeefp.h>
42062 #endif
42065 main ()
42067 _sqrtf(0);
42069 return 0;
42071 _ACEOF
42072 if ac_fn_cxx_try_compile "$LINENO"; then :
42073 glibcxx_cv_func__sqrtf_use=yes
42074 else
42075 glibcxx_cv_func__sqrtf_use=no
42077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42078 ac_ext=c
42079 ac_cpp='$CPP $CPPFLAGS'
42080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42089 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42091 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42092 for ac_func in _sqrtf
42093 do :
42094 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42095 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42096 cat >>confdefs.h <<_ACEOF
42097 #define HAVE__SQRTF 1
42098 _ACEOF
42101 done
42110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42111 $as_echo_n "checking for sincosf declaration... " >&6; }
42112 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42113 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42114 $as_echo_n "(cached) " >&6
42115 else
42118 ac_ext=cpp
42119 ac_cpp='$CXXCPP $CPPFLAGS'
42120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42125 /* end confdefs.h. */
42126 #include <math.h>
42128 main ()
42130 sincosf(0, 0, 0);
42132 return 0;
42134 _ACEOF
42135 if ac_fn_cxx_try_compile "$LINENO"; then :
42136 glibcxx_cv_func_sincosf_use=yes
42137 else
42138 glibcxx_cv_func_sincosf_use=no
42140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42141 ac_ext=c
42142 ac_cpp='$CPP $CPPFLAGS'
42143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42152 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42154 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42155 for ac_func in sincosf
42156 do :
42157 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42158 if test "x$ac_cv_func_sincosf" = x""yes; then :
42159 cat >>confdefs.h <<_ACEOF
42160 #define HAVE_SINCOSF 1
42161 _ACEOF
42164 done
42166 else
42168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42169 $as_echo_n "checking for _sincosf declaration... " >&6; }
42170 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42171 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42172 $as_echo_n "(cached) " >&6
42173 else
42176 ac_ext=cpp
42177 ac_cpp='$CXXCPP $CPPFLAGS'
42178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42183 /* end confdefs.h. */
42184 #include <math.h>
42186 main ()
42188 _sincosf(0, 0, 0);
42190 return 0;
42192 _ACEOF
42193 if ac_fn_cxx_try_compile "$LINENO"; then :
42194 glibcxx_cv_func__sincosf_use=yes
42195 else
42196 glibcxx_cv_func__sincosf_use=no
42198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42199 ac_ext=c
42200 ac_cpp='$CPP $CPPFLAGS'
42201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42210 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42212 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42213 for ac_func in _sincosf
42214 do :
42215 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42216 if test "x$ac_cv_func__sincosf" = x""yes; then :
42217 cat >>confdefs.h <<_ACEOF
42218 #define HAVE__SINCOSF 1
42219 _ACEOF
42222 done
42231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42232 $as_echo_n "checking for finitef declaration... " >&6; }
42233 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42234 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42235 $as_echo_n "(cached) " >&6
42236 else
42239 ac_ext=cpp
42240 ac_cpp='$CXXCPP $CPPFLAGS'
42241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42246 /* end confdefs.h. */
42247 #include <math.h>
42248 #ifdef HAVE_IEEEFP_H
42249 #include <ieeefp.h>
42250 #endif
42253 main ()
42255 finitef(0);
42257 return 0;
42259 _ACEOF
42260 if ac_fn_cxx_try_compile "$LINENO"; then :
42261 glibcxx_cv_func_finitef_use=yes
42262 else
42263 glibcxx_cv_func_finitef_use=no
42265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42266 ac_ext=c
42267 ac_cpp='$CPP $CPPFLAGS'
42268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42277 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42279 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42280 for ac_func in finitef
42281 do :
42282 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42283 if test "x$ac_cv_func_finitef" = x""yes; then :
42284 cat >>confdefs.h <<_ACEOF
42285 #define HAVE_FINITEF 1
42286 _ACEOF
42289 done
42291 else
42293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42294 $as_echo_n "checking for _finitef declaration... " >&6; }
42295 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42296 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42297 $as_echo_n "(cached) " >&6
42298 else
42301 ac_ext=cpp
42302 ac_cpp='$CXXCPP $CPPFLAGS'
42303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42308 /* end confdefs.h. */
42309 #include <math.h>
42310 #ifdef HAVE_IEEEFP_H
42311 #include <ieeefp.h>
42312 #endif
42315 main ()
42317 _finitef(0);
42319 return 0;
42321 _ACEOF
42322 if ac_fn_cxx_try_compile "$LINENO"; then :
42323 glibcxx_cv_func__finitef_use=yes
42324 else
42325 glibcxx_cv_func__finitef_use=no
42327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42328 ac_ext=c
42329 ac_cpp='$CPP $CPPFLAGS'
42330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42339 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42341 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42342 for ac_func in _finitef
42343 do :
42344 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42345 if test "x$ac_cv_func__finitef" = x""yes; then :
42346 cat >>confdefs.h <<_ACEOF
42347 #define HAVE__FINITEF 1
42348 _ACEOF
42351 done
42360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42361 $as_echo_n "checking for long double trig functions... " >&6; }
42362 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42363 $as_echo_n "(cached) " >&6
42364 else
42367 ac_ext=cpp
42368 ac_cpp='$CXXCPP $CPPFLAGS'
42369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42374 /* end confdefs.h. */
42375 #include <math.h>
42377 main ()
42379 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42381 return 0;
42383 _ACEOF
42384 if ac_fn_cxx_try_compile "$LINENO"; then :
42385 glibcxx_cv_func_long_double_trig_use=yes
42386 else
42387 glibcxx_cv_func_long_double_trig_use=no
42389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42390 ac_ext=c
42391 ac_cpp='$CPP $CPPFLAGS'
42392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42399 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42400 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42401 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42402 do :
42403 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42404 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42405 eval as_val=\$$as_ac_var
42406 if test "x$as_val" = x""yes; then :
42407 cat >>confdefs.h <<_ACEOF
42408 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42409 _ACEOF
42412 done
42414 else
42415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42416 $as_echo_n "checking for _long double trig functions... " >&6; }
42417 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42418 $as_echo_n "(cached) " >&6
42419 else
42422 ac_ext=cpp
42423 ac_cpp='$CXXCPP $CPPFLAGS'
42424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42429 /* end confdefs.h. */
42430 #include <math.h>
42432 main ()
42434 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42436 return 0;
42438 _ACEOF
42439 if ac_fn_cxx_try_compile "$LINENO"; then :
42440 glibcxx_cv_func__long_double_trig_use=yes
42441 else
42442 glibcxx_cv_func__long_double_trig_use=no
42444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42445 ac_ext=c
42446 ac_cpp='$CPP $CPPFLAGS'
42447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42454 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42455 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42456 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42457 do :
42458 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42459 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42460 eval as_val=\$$as_ac_var
42461 if test "x$as_val" = x""yes; then :
42462 cat >>confdefs.h <<_ACEOF
42463 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42464 _ACEOF
42467 done
42476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42477 $as_echo_n "checking for long double round functions... " >&6; }
42478 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42479 $as_echo_n "(cached) " >&6
42480 else
42483 ac_ext=cpp
42484 ac_cpp='$CXXCPP $CPPFLAGS'
42485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42490 /* end confdefs.h. */
42491 #include <math.h>
42493 main ()
42495 ceill (0); floorl (0);
42497 return 0;
42499 _ACEOF
42500 if ac_fn_cxx_try_compile "$LINENO"; then :
42501 glibcxx_cv_func_long_double_round_use=yes
42502 else
42503 glibcxx_cv_func_long_double_round_use=no
42505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42506 ac_ext=c
42507 ac_cpp='$CPP $CPPFLAGS'
42508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42515 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42516 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42517 for ac_func in ceill floorl
42518 do :
42519 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42520 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42521 eval as_val=\$$as_ac_var
42522 if test "x$as_val" = x""yes; then :
42523 cat >>confdefs.h <<_ACEOF
42524 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42525 _ACEOF
42528 done
42530 else
42531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42532 $as_echo_n "checking for _long double round functions... " >&6; }
42533 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42534 $as_echo_n "(cached) " >&6
42535 else
42538 ac_ext=cpp
42539 ac_cpp='$CXXCPP $CPPFLAGS'
42540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42545 /* end confdefs.h. */
42546 #include <math.h>
42548 main ()
42550 _ceill (0); _floorl (0);
42552 return 0;
42554 _ACEOF
42555 if ac_fn_cxx_try_compile "$LINENO"; then :
42556 glibcxx_cv_func__long_double_round_use=yes
42557 else
42558 glibcxx_cv_func__long_double_round_use=no
42560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42561 ac_ext=c
42562 ac_cpp='$CPP $CPPFLAGS'
42563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42570 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42571 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42572 for ac_func in _ceill _floorl
42573 do :
42574 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42575 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42576 eval as_val=\$$as_ac_var
42577 if test "x$as_val" = x""yes; then :
42578 cat >>confdefs.h <<_ACEOF
42579 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42580 _ACEOF
42583 done
42593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42594 $as_echo_n "checking for isnanl declaration... " >&6; }
42595 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42596 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42597 $as_echo_n "(cached) " >&6
42598 else
42601 ac_ext=cpp
42602 ac_cpp='$CXXCPP $CPPFLAGS'
42603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42608 /* end confdefs.h. */
42609 #include <math.h>
42610 #ifdef HAVE_IEEEFP_H
42611 #include <ieeefp.h>
42612 #endif
42615 main ()
42617 isnanl(0);
42619 return 0;
42621 _ACEOF
42622 if ac_fn_cxx_try_compile "$LINENO"; then :
42623 glibcxx_cv_func_isnanl_use=yes
42624 else
42625 glibcxx_cv_func_isnanl_use=no
42627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42628 ac_ext=c
42629 ac_cpp='$CPP $CPPFLAGS'
42630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42639 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42641 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42642 for ac_func in isnanl
42643 do :
42644 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42645 if test "x$ac_cv_func_isnanl" = x""yes; then :
42646 cat >>confdefs.h <<_ACEOF
42647 #define HAVE_ISNANL 1
42648 _ACEOF
42651 done
42653 else
42655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42656 $as_echo_n "checking for _isnanl declaration... " >&6; }
42657 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42658 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42659 $as_echo_n "(cached) " >&6
42660 else
42663 ac_ext=cpp
42664 ac_cpp='$CXXCPP $CPPFLAGS'
42665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42670 /* end confdefs.h. */
42671 #include <math.h>
42672 #ifdef HAVE_IEEEFP_H
42673 #include <ieeefp.h>
42674 #endif
42677 main ()
42679 _isnanl(0);
42681 return 0;
42683 _ACEOF
42684 if ac_fn_cxx_try_compile "$LINENO"; then :
42685 glibcxx_cv_func__isnanl_use=yes
42686 else
42687 glibcxx_cv_func__isnanl_use=no
42689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42690 ac_ext=c
42691 ac_cpp='$CPP $CPPFLAGS'
42692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42701 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42703 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42704 for ac_func in _isnanl
42705 do :
42706 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42707 if test "x$ac_cv_func__isnanl" = x""yes; then :
42708 cat >>confdefs.h <<_ACEOF
42709 #define HAVE__ISNANL 1
42710 _ACEOF
42713 done
42722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42723 $as_echo_n "checking for isinfl declaration... " >&6; }
42724 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42725 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42726 $as_echo_n "(cached) " >&6
42727 else
42730 ac_ext=cpp
42731 ac_cpp='$CXXCPP $CPPFLAGS'
42732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42737 /* end confdefs.h. */
42738 #include <math.h>
42739 #ifdef HAVE_IEEEFP_H
42740 #include <ieeefp.h>
42741 #endif
42744 main ()
42746 isinfl(0);
42748 return 0;
42750 _ACEOF
42751 if ac_fn_cxx_try_compile "$LINENO"; then :
42752 glibcxx_cv_func_isinfl_use=yes
42753 else
42754 glibcxx_cv_func_isinfl_use=no
42756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42757 ac_ext=c
42758 ac_cpp='$CPP $CPPFLAGS'
42759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42768 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42770 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42771 for ac_func in isinfl
42772 do :
42773 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42774 if test "x$ac_cv_func_isinfl" = x""yes; then :
42775 cat >>confdefs.h <<_ACEOF
42776 #define HAVE_ISINFL 1
42777 _ACEOF
42780 done
42782 else
42784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42785 $as_echo_n "checking for _isinfl declaration... " >&6; }
42786 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42787 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42788 $as_echo_n "(cached) " >&6
42789 else
42792 ac_ext=cpp
42793 ac_cpp='$CXXCPP $CPPFLAGS'
42794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42799 /* end confdefs.h. */
42800 #include <math.h>
42801 #ifdef HAVE_IEEEFP_H
42802 #include <ieeefp.h>
42803 #endif
42806 main ()
42808 _isinfl(0);
42810 return 0;
42812 _ACEOF
42813 if ac_fn_cxx_try_compile "$LINENO"; then :
42814 glibcxx_cv_func__isinfl_use=yes
42815 else
42816 glibcxx_cv_func__isinfl_use=no
42818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42819 ac_ext=c
42820 ac_cpp='$CPP $CPPFLAGS'
42821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42830 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42832 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42833 for ac_func in _isinfl
42834 do :
42835 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42836 if test "x$ac_cv_func__isinfl" = x""yes; then :
42837 cat >>confdefs.h <<_ACEOF
42838 #define HAVE__ISINFL 1
42839 _ACEOF
42842 done
42851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42852 $as_echo_n "checking for atan2l declaration... " >&6; }
42853 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42854 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42855 $as_echo_n "(cached) " >&6
42856 else
42859 ac_ext=cpp
42860 ac_cpp='$CXXCPP $CPPFLAGS'
42861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42866 /* end confdefs.h. */
42867 #include <math.h>
42869 main ()
42871 atan2l(0, 0);
42873 return 0;
42875 _ACEOF
42876 if ac_fn_cxx_try_compile "$LINENO"; then :
42877 glibcxx_cv_func_atan2l_use=yes
42878 else
42879 glibcxx_cv_func_atan2l_use=no
42881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42882 ac_ext=c
42883 ac_cpp='$CPP $CPPFLAGS'
42884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42893 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42895 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42896 for ac_func in atan2l
42897 do :
42898 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42899 if test "x$ac_cv_func_atan2l" = x""yes; then :
42900 cat >>confdefs.h <<_ACEOF
42901 #define HAVE_ATAN2L 1
42902 _ACEOF
42905 done
42907 else
42909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42910 $as_echo_n "checking for _atan2l declaration... " >&6; }
42911 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42912 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42913 $as_echo_n "(cached) " >&6
42914 else
42917 ac_ext=cpp
42918 ac_cpp='$CXXCPP $CPPFLAGS'
42919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42924 /* end confdefs.h. */
42925 #include <math.h>
42927 main ()
42929 _atan2l(0, 0);
42931 return 0;
42933 _ACEOF
42934 if ac_fn_cxx_try_compile "$LINENO"; then :
42935 glibcxx_cv_func__atan2l_use=yes
42936 else
42937 glibcxx_cv_func__atan2l_use=no
42939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42940 ac_ext=c
42941 ac_cpp='$CPP $CPPFLAGS'
42942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42951 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42953 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42954 for ac_func in _atan2l
42955 do :
42956 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42957 if test "x$ac_cv_func__atan2l" = x""yes; then :
42958 cat >>confdefs.h <<_ACEOF
42959 #define HAVE__ATAN2L 1
42960 _ACEOF
42963 done
42972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42973 $as_echo_n "checking for expl declaration... " >&6; }
42974 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42975 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42976 $as_echo_n "(cached) " >&6
42977 else
42980 ac_ext=cpp
42981 ac_cpp='$CXXCPP $CPPFLAGS'
42982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42987 /* end confdefs.h. */
42988 #include <math.h>
42989 #ifdef HAVE_IEEEFP_H
42990 #include <ieeefp.h>
42991 #endif
42994 main ()
42996 expl(0);
42998 return 0;
43000 _ACEOF
43001 if ac_fn_cxx_try_compile "$LINENO"; then :
43002 glibcxx_cv_func_expl_use=yes
43003 else
43004 glibcxx_cv_func_expl_use=no
43006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43007 ac_ext=c
43008 ac_cpp='$CPP $CPPFLAGS'
43009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43018 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43020 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43021 for ac_func in expl
43022 do :
43023 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43024 if test "x$ac_cv_func_expl" = x""yes; then :
43025 cat >>confdefs.h <<_ACEOF
43026 #define HAVE_EXPL 1
43027 _ACEOF
43030 done
43032 else
43034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43035 $as_echo_n "checking for _expl declaration... " >&6; }
43036 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43037 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43038 $as_echo_n "(cached) " >&6
43039 else
43042 ac_ext=cpp
43043 ac_cpp='$CXXCPP $CPPFLAGS'
43044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43049 /* end confdefs.h. */
43050 #include <math.h>
43051 #ifdef HAVE_IEEEFP_H
43052 #include <ieeefp.h>
43053 #endif
43056 main ()
43058 _expl(0);
43060 return 0;
43062 _ACEOF
43063 if ac_fn_cxx_try_compile "$LINENO"; then :
43064 glibcxx_cv_func__expl_use=yes
43065 else
43066 glibcxx_cv_func__expl_use=no
43068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43069 ac_ext=c
43070 ac_cpp='$CPP $CPPFLAGS'
43071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43080 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43082 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43083 for ac_func in _expl
43084 do :
43085 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43086 if test "x$ac_cv_func__expl" = x""yes; then :
43087 cat >>confdefs.h <<_ACEOF
43088 #define HAVE__EXPL 1
43089 _ACEOF
43092 done
43101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43102 $as_echo_n "checking for fabsl declaration... " >&6; }
43103 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43104 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43105 $as_echo_n "(cached) " >&6
43106 else
43109 ac_ext=cpp
43110 ac_cpp='$CXXCPP $CPPFLAGS'
43111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43116 /* end confdefs.h. */
43117 #include <math.h>
43118 #ifdef HAVE_IEEEFP_H
43119 #include <ieeefp.h>
43120 #endif
43123 main ()
43125 fabsl(0);
43127 return 0;
43129 _ACEOF
43130 if ac_fn_cxx_try_compile "$LINENO"; then :
43131 glibcxx_cv_func_fabsl_use=yes
43132 else
43133 glibcxx_cv_func_fabsl_use=no
43135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43136 ac_ext=c
43137 ac_cpp='$CPP $CPPFLAGS'
43138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43147 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43149 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43150 for ac_func in fabsl
43151 do :
43152 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43153 if test "x$ac_cv_func_fabsl" = x""yes; then :
43154 cat >>confdefs.h <<_ACEOF
43155 #define HAVE_FABSL 1
43156 _ACEOF
43159 done
43161 else
43163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43164 $as_echo_n "checking for _fabsl declaration... " >&6; }
43165 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43166 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43167 $as_echo_n "(cached) " >&6
43168 else
43171 ac_ext=cpp
43172 ac_cpp='$CXXCPP $CPPFLAGS'
43173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43178 /* end confdefs.h. */
43179 #include <math.h>
43180 #ifdef HAVE_IEEEFP_H
43181 #include <ieeefp.h>
43182 #endif
43185 main ()
43187 _fabsl(0);
43189 return 0;
43191 _ACEOF
43192 if ac_fn_cxx_try_compile "$LINENO"; then :
43193 glibcxx_cv_func__fabsl_use=yes
43194 else
43195 glibcxx_cv_func__fabsl_use=no
43197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43198 ac_ext=c
43199 ac_cpp='$CPP $CPPFLAGS'
43200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43209 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43211 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43212 for ac_func in _fabsl
43213 do :
43214 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43215 if test "x$ac_cv_func__fabsl" = x""yes; then :
43216 cat >>confdefs.h <<_ACEOF
43217 #define HAVE__FABSL 1
43218 _ACEOF
43221 done
43230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43231 $as_echo_n "checking for fmodl declaration... " >&6; }
43232 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43233 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43234 $as_echo_n "(cached) " >&6
43235 else
43238 ac_ext=cpp
43239 ac_cpp='$CXXCPP $CPPFLAGS'
43240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43245 /* end confdefs.h. */
43246 #include <math.h>
43248 main ()
43250 fmodl(0, 0);
43252 return 0;
43254 _ACEOF
43255 if ac_fn_cxx_try_compile "$LINENO"; then :
43256 glibcxx_cv_func_fmodl_use=yes
43257 else
43258 glibcxx_cv_func_fmodl_use=no
43260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43261 ac_ext=c
43262 ac_cpp='$CPP $CPPFLAGS'
43263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43272 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43274 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43275 for ac_func in fmodl
43276 do :
43277 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43278 if test "x$ac_cv_func_fmodl" = x""yes; then :
43279 cat >>confdefs.h <<_ACEOF
43280 #define HAVE_FMODL 1
43281 _ACEOF
43284 done
43286 else
43288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43289 $as_echo_n "checking for _fmodl declaration... " >&6; }
43290 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43291 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43292 $as_echo_n "(cached) " >&6
43293 else
43296 ac_ext=cpp
43297 ac_cpp='$CXXCPP $CPPFLAGS'
43298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43303 /* end confdefs.h. */
43304 #include <math.h>
43306 main ()
43308 _fmodl(0, 0);
43310 return 0;
43312 _ACEOF
43313 if ac_fn_cxx_try_compile "$LINENO"; then :
43314 glibcxx_cv_func__fmodl_use=yes
43315 else
43316 glibcxx_cv_func__fmodl_use=no
43318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43319 ac_ext=c
43320 ac_cpp='$CPP $CPPFLAGS'
43321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43330 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43332 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43333 for ac_func in _fmodl
43334 do :
43335 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43336 if test "x$ac_cv_func__fmodl" = x""yes; then :
43337 cat >>confdefs.h <<_ACEOF
43338 #define HAVE__FMODL 1
43339 _ACEOF
43342 done
43351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43352 $as_echo_n "checking for frexpl declaration... " >&6; }
43353 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43354 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43355 $as_echo_n "(cached) " >&6
43356 else
43359 ac_ext=cpp
43360 ac_cpp='$CXXCPP $CPPFLAGS'
43361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43366 /* end confdefs.h. */
43367 #include <math.h>
43369 main ()
43371 frexpl(0, 0);
43373 return 0;
43375 _ACEOF
43376 if ac_fn_cxx_try_compile "$LINENO"; then :
43377 glibcxx_cv_func_frexpl_use=yes
43378 else
43379 glibcxx_cv_func_frexpl_use=no
43381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43382 ac_ext=c
43383 ac_cpp='$CPP $CPPFLAGS'
43384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43393 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43395 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43396 for ac_func in frexpl
43397 do :
43398 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43399 if test "x$ac_cv_func_frexpl" = x""yes; then :
43400 cat >>confdefs.h <<_ACEOF
43401 #define HAVE_FREXPL 1
43402 _ACEOF
43405 done
43407 else
43409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43410 $as_echo_n "checking for _frexpl declaration... " >&6; }
43411 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43412 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43413 $as_echo_n "(cached) " >&6
43414 else
43417 ac_ext=cpp
43418 ac_cpp='$CXXCPP $CPPFLAGS'
43419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43424 /* end confdefs.h. */
43425 #include <math.h>
43427 main ()
43429 _frexpl(0, 0);
43431 return 0;
43433 _ACEOF
43434 if ac_fn_cxx_try_compile "$LINENO"; then :
43435 glibcxx_cv_func__frexpl_use=yes
43436 else
43437 glibcxx_cv_func__frexpl_use=no
43439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43440 ac_ext=c
43441 ac_cpp='$CPP $CPPFLAGS'
43442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43451 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43453 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43454 for ac_func in _frexpl
43455 do :
43456 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43457 if test "x$ac_cv_func__frexpl" = x""yes; then :
43458 cat >>confdefs.h <<_ACEOF
43459 #define HAVE__FREXPL 1
43460 _ACEOF
43463 done
43472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43473 $as_echo_n "checking for hypotl declaration... " >&6; }
43474 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43475 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43476 $as_echo_n "(cached) " >&6
43477 else
43480 ac_ext=cpp
43481 ac_cpp='$CXXCPP $CPPFLAGS'
43482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43487 /* end confdefs.h. */
43488 #include <math.h>
43490 main ()
43492 hypotl(0, 0);
43494 return 0;
43496 _ACEOF
43497 if ac_fn_cxx_try_compile "$LINENO"; then :
43498 glibcxx_cv_func_hypotl_use=yes
43499 else
43500 glibcxx_cv_func_hypotl_use=no
43502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43503 ac_ext=c
43504 ac_cpp='$CPP $CPPFLAGS'
43505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43514 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43516 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43517 for ac_func in hypotl
43518 do :
43519 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43520 if test "x$ac_cv_func_hypotl" = x""yes; then :
43521 cat >>confdefs.h <<_ACEOF
43522 #define HAVE_HYPOTL 1
43523 _ACEOF
43526 done
43528 else
43530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43531 $as_echo_n "checking for _hypotl declaration... " >&6; }
43532 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43533 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43534 $as_echo_n "(cached) " >&6
43535 else
43538 ac_ext=cpp
43539 ac_cpp='$CXXCPP $CPPFLAGS'
43540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43545 /* end confdefs.h. */
43546 #include <math.h>
43548 main ()
43550 _hypotl(0, 0);
43552 return 0;
43554 _ACEOF
43555 if ac_fn_cxx_try_compile "$LINENO"; then :
43556 glibcxx_cv_func__hypotl_use=yes
43557 else
43558 glibcxx_cv_func__hypotl_use=no
43560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43561 ac_ext=c
43562 ac_cpp='$CPP $CPPFLAGS'
43563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43572 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43574 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43575 for ac_func in _hypotl
43576 do :
43577 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43578 if test "x$ac_cv_func__hypotl" = x""yes; then :
43579 cat >>confdefs.h <<_ACEOF
43580 #define HAVE__HYPOTL 1
43581 _ACEOF
43584 done
43593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43594 $as_echo_n "checking for ldexpl declaration... " >&6; }
43595 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43596 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43597 $as_echo_n "(cached) " >&6
43598 else
43601 ac_ext=cpp
43602 ac_cpp='$CXXCPP $CPPFLAGS'
43603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43608 /* end confdefs.h. */
43609 #include <math.h>
43611 main ()
43613 ldexpl(0, 0);
43615 return 0;
43617 _ACEOF
43618 if ac_fn_cxx_try_compile "$LINENO"; then :
43619 glibcxx_cv_func_ldexpl_use=yes
43620 else
43621 glibcxx_cv_func_ldexpl_use=no
43623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43624 ac_ext=c
43625 ac_cpp='$CPP $CPPFLAGS'
43626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43635 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43637 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43638 for ac_func in ldexpl
43639 do :
43640 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43641 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43642 cat >>confdefs.h <<_ACEOF
43643 #define HAVE_LDEXPL 1
43644 _ACEOF
43647 done
43649 else
43651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43652 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43653 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43654 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43655 $as_echo_n "(cached) " >&6
43656 else
43659 ac_ext=cpp
43660 ac_cpp='$CXXCPP $CPPFLAGS'
43661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43666 /* end confdefs.h. */
43667 #include <math.h>
43669 main ()
43671 _ldexpl(0, 0);
43673 return 0;
43675 _ACEOF
43676 if ac_fn_cxx_try_compile "$LINENO"; then :
43677 glibcxx_cv_func__ldexpl_use=yes
43678 else
43679 glibcxx_cv_func__ldexpl_use=no
43681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43682 ac_ext=c
43683 ac_cpp='$CPP $CPPFLAGS'
43684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43693 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43695 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43696 for ac_func in _ldexpl
43697 do :
43698 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43699 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43700 cat >>confdefs.h <<_ACEOF
43701 #define HAVE__LDEXPL 1
43702 _ACEOF
43705 done
43714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43715 $as_echo_n "checking for logl declaration... " >&6; }
43716 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43717 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43718 $as_echo_n "(cached) " >&6
43719 else
43722 ac_ext=cpp
43723 ac_cpp='$CXXCPP $CPPFLAGS'
43724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43729 /* end confdefs.h. */
43730 #include <math.h>
43731 #ifdef HAVE_IEEEFP_H
43732 #include <ieeefp.h>
43733 #endif
43736 main ()
43738 logl(0);
43740 return 0;
43742 _ACEOF
43743 if ac_fn_cxx_try_compile "$LINENO"; then :
43744 glibcxx_cv_func_logl_use=yes
43745 else
43746 glibcxx_cv_func_logl_use=no
43748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43749 ac_ext=c
43750 ac_cpp='$CPP $CPPFLAGS'
43751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43760 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43762 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43763 for ac_func in logl
43764 do :
43765 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43766 if test "x$ac_cv_func_logl" = x""yes; then :
43767 cat >>confdefs.h <<_ACEOF
43768 #define HAVE_LOGL 1
43769 _ACEOF
43772 done
43774 else
43776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43777 $as_echo_n "checking for _logl declaration... " >&6; }
43778 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43779 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43780 $as_echo_n "(cached) " >&6
43781 else
43784 ac_ext=cpp
43785 ac_cpp='$CXXCPP $CPPFLAGS'
43786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43791 /* end confdefs.h. */
43792 #include <math.h>
43793 #ifdef HAVE_IEEEFP_H
43794 #include <ieeefp.h>
43795 #endif
43798 main ()
43800 _logl(0);
43802 return 0;
43804 _ACEOF
43805 if ac_fn_cxx_try_compile "$LINENO"; then :
43806 glibcxx_cv_func__logl_use=yes
43807 else
43808 glibcxx_cv_func__logl_use=no
43810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43811 ac_ext=c
43812 ac_cpp='$CPP $CPPFLAGS'
43813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43822 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43824 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43825 for ac_func in _logl
43826 do :
43827 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43828 if test "x$ac_cv_func__logl" = x""yes; then :
43829 cat >>confdefs.h <<_ACEOF
43830 #define HAVE__LOGL 1
43831 _ACEOF
43834 done
43843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43844 $as_echo_n "checking for log10l declaration... " >&6; }
43845 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43846 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43847 $as_echo_n "(cached) " >&6
43848 else
43851 ac_ext=cpp
43852 ac_cpp='$CXXCPP $CPPFLAGS'
43853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43858 /* end confdefs.h. */
43859 #include <math.h>
43860 #ifdef HAVE_IEEEFP_H
43861 #include <ieeefp.h>
43862 #endif
43865 main ()
43867 log10l(0);
43869 return 0;
43871 _ACEOF
43872 if ac_fn_cxx_try_compile "$LINENO"; then :
43873 glibcxx_cv_func_log10l_use=yes
43874 else
43875 glibcxx_cv_func_log10l_use=no
43877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43878 ac_ext=c
43879 ac_cpp='$CPP $CPPFLAGS'
43880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43889 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43891 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43892 for ac_func in log10l
43893 do :
43894 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43895 if test "x$ac_cv_func_log10l" = x""yes; then :
43896 cat >>confdefs.h <<_ACEOF
43897 #define HAVE_LOG10L 1
43898 _ACEOF
43901 done
43903 else
43905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43906 $as_echo_n "checking for _log10l declaration... " >&6; }
43907 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43908 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43909 $as_echo_n "(cached) " >&6
43910 else
43913 ac_ext=cpp
43914 ac_cpp='$CXXCPP $CPPFLAGS'
43915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43920 /* end confdefs.h. */
43921 #include <math.h>
43922 #ifdef HAVE_IEEEFP_H
43923 #include <ieeefp.h>
43924 #endif
43927 main ()
43929 _log10l(0);
43931 return 0;
43933 _ACEOF
43934 if ac_fn_cxx_try_compile "$LINENO"; then :
43935 glibcxx_cv_func__log10l_use=yes
43936 else
43937 glibcxx_cv_func__log10l_use=no
43939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43940 ac_ext=c
43941 ac_cpp='$CPP $CPPFLAGS'
43942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43951 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43953 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43954 for ac_func in _log10l
43955 do :
43956 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43957 if test "x$ac_cv_func__log10l" = x""yes; then :
43958 cat >>confdefs.h <<_ACEOF
43959 #define HAVE__LOG10L 1
43960 _ACEOF
43963 done
43972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43973 $as_echo_n "checking for modfl declaration... " >&6; }
43974 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43975 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43976 $as_echo_n "(cached) " >&6
43977 else
43980 ac_ext=cpp
43981 ac_cpp='$CXXCPP $CPPFLAGS'
43982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43987 /* end confdefs.h. */
43988 #include <math.h>
43990 main ()
43992 modfl(0, 0);
43994 return 0;
43996 _ACEOF
43997 if ac_fn_cxx_try_compile "$LINENO"; then :
43998 glibcxx_cv_func_modfl_use=yes
43999 else
44000 glibcxx_cv_func_modfl_use=no
44002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44003 ac_ext=c
44004 ac_cpp='$CPP $CPPFLAGS'
44005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44014 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44016 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44017 for ac_func in modfl
44018 do :
44019 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44020 if test "x$ac_cv_func_modfl" = x""yes; then :
44021 cat >>confdefs.h <<_ACEOF
44022 #define HAVE_MODFL 1
44023 _ACEOF
44026 done
44028 else
44030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44031 $as_echo_n "checking for _modfl declaration... " >&6; }
44032 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44033 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44034 $as_echo_n "(cached) " >&6
44035 else
44038 ac_ext=cpp
44039 ac_cpp='$CXXCPP $CPPFLAGS'
44040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44045 /* end confdefs.h. */
44046 #include <math.h>
44048 main ()
44050 _modfl(0, 0);
44052 return 0;
44054 _ACEOF
44055 if ac_fn_cxx_try_compile "$LINENO"; then :
44056 glibcxx_cv_func__modfl_use=yes
44057 else
44058 glibcxx_cv_func__modfl_use=no
44060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44061 ac_ext=c
44062 ac_cpp='$CPP $CPPFLAGS'
44063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44072 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44074 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44075 for ac_func in _modfl
44076 do :
44077 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44078 if test "x$ac_cv_func__modfl" = x""yes; then :
44079 cat >>confdefs.h <<_ACEOF
44080 #define HAVE__MODFL 1
44081 _ACEOF
44084 done
44093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44094 $as_echo_n "checking for powl declaration... " >&6; }
44095 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44096 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44097 $as_echo_n "(cached) " >&6
44098 else
44101 ac_ext=cpp
44102 ac_cpp='$CXXCPP $CPPFLAGS'
44103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44108 /* end confdefs.h. */
44109 #include <math.h>
44111 main ()
44113 powl(0, 0);
44115 return 0;
44117 _ACEOF
44118 if ac_fn_cxx_try_compile "$LINENO"; then :
44119 glibcxx_cv_func_powl_use=yes
44120 else
44121 glibcxx_cv_func_powl_use=no
44123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44124 ac_ext=c
44125 ac_cpp='$CPP $CPPFLAGS'
44126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44135 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44137 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44138 for ac_func in powl
44139 do :
44140 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44141 if test "x$ac_cv_func_powl" = x""yes; then :
44142 cat >>confdefs.h <<_ACEOF
44143 #define HAVE_POWL 1
44144 _ACEOF
44147 done
44149 else
44151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44152 $as_echo_n "checking for _powl declaration... " >&6; }
44153 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44154 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44155 $as_echo_n "(cached) " >&6
44156 else
44159 ac_ext=cpp
44160 ac_cpp='$CXXCPP $CPPFLAGS'
44161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44166 /* end confdefs.h. */
44167 #include <math.h>
44169 main ()
44171 _powl(0, 0);
44173 return 0;
44175 _ACEOF
44176 if ac_fn_cxx_try_compile "$LINENO"; then :
44177 glibcxx_cv_func__powl_use=yes
44178 else
44179 glibcxx_cv_func__powl_use=no
44181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44182 ac_ext=c
44183 ac_cpp='$CPP $CPPFLAGS'
44184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44193 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44195 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44196 for ac_func in _powl
44197 do :
44198 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44199 if test "x$ac_cv_func__powl" = x""yes; then :
44200 cat >>confdefs.h <<_ACEOF
44201 #define HAVE__POWL 1
44202 _ACEOF
44205 done
44214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44215 $as_echo_n "checking for sqrtl declaration... " >&6; }
44216 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44217 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44218 $as_echo_n "(cached) " >&6
44219 else
44222 ac_ext=cpp
44223 ac_cpp='$CXXCPP $CPPFLAGS'
44224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44229 /* end confdefs.h. */
44230 #include <math.h>
44231 #ifdef HAVE_IEEEFP_H
44232 #include <ieeefp.h>
44233 #endif
44236 main ()
44238 sqrtl(0);
44240 return 0;
44242 _ACEOF
44243 if ac_fn_cxx_try_compile "$LINENO"; then :
44244 glibcxx_cv_func_sqrtl_use=yes
44245 else
44246 glibcxx_cv_func_sqrtl_use=no
44248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44249 ac_ext=c
44250 ac_cpp='$CPP $CPPFLAGS'
44251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44260 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44262 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44263 for ac_func in sqrtl
44264 do :
44265 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44266 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44267 cat >>confdefs.h <<_ACEOF
44268 #define HAVE_SQRTL 1
44269 _ACEOF
44272 done
44274 else
44276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44277 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44278 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44279 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44280 $as_echo_n "(cached) " >&6
44281 else
44284 ac_ext=cpp
44285 ac_cpp='$CXXCPP $CPPFLAGS'
44286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44291 /* end confdefs.h. */
44292 #include <math.h>
44293 #ifdef HAVE_IEEEFP_H
44294 #include <ieeefp.h>
44295 #endif
44298 main ()
44300 _sqrtl(0);
44302 return 0;
44304 _ACEOF
44305 if ac_fn_cxx_try_compile "$LINENO"; then :
44306 glibcxx_cv_func__sqrtl_use=yes
44307 else
44308 glibcxx_cv_func__sqrtl_use=no
44310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44311 ac_ext=c
44312 ac_cpp='$CPP $CPPFLAGS'
44313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44322 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44324 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44325 for ac_func in _sqrtl
44326 do :
44327 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44328 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44329 cat >>confdefs.h <<_ACEOF
44330 #define HAVE__SQRTL 1
44331 _ACEOF
44334 done
44343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44344 $as_echo_n "checking for sincosl declaration... " >&6; }
44345 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44346 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44347 $as_echo_n "(cached) " >&6
44348 else
44351 ac_ext=cpp
44352 ac_cpp='$CXXCPP $CPPFLAGS'
44353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44358 /* end confdefs.h. */
44359 #include <math.h>
44361 main ()
44363 sincosl(0, 0, 0);
44365 return 0;
44367 _ACEOF
44368 if ac_fn_cxx_try_compile "$LINENO"; then :
44369 glibcxx_cv_func_sincosl_use=yes
44370 else
44371 glibcxx_cv_func_sincosl_use=no
44373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44374 ac_ext=c
44375 ac_cpp='$CPP $CPPFLAGS'
44376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44385 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44387 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44388 for ac_func in sincosl
44389 do :
44390 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44391 if test "x$ac_cv_func_sincosl" = x""yes; then :
44392 cat >>confdefs.h <<_ACEOF
44393 #define HAVE_SINCOSL 1
44394 _ACEOF
44397 done
44399 else
44401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44402 $as_echo_n "checking for _sincosl declaration... " >&6; }
44403 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44404 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44405 $as_echo_n "(cached) " >&6
44406 else
44409 ac_ext=cpp
44410 ac_cpp='$CXXCPP $CPPFLAGS'
44411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44416 /* end confdefs.h. */
44417 #include <math.h>
44419 main ()
44421 _sincosl(0, 0, 0);
44423 return 0;
44425 _ACEOF
44426 if ac_fn_cxx_try_compile "$LINENO"; then :
44427 glibcxx_cv_func__sincosl_use=yes
44428 else
44429 glibcxx_cv_func__sincosl_use=no
44431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44432 ac_ext=c
44433 ac_cpp='$CPP $CPPFLAGS'
44434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44443 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44445 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44446 for ac_func in _sincosl
44447 do :
44448 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44449 if test "x$ac_cv_func__sincosl" = x""yes; then :
44450 cat >>confdefs.h <<_ACEOF
44451 #define HAVE__SINCOSL 1
44452 _ACEOF
44455 done
44464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44465 $as_echo_n "checking for finitel declaration... " >&6; }
44466 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44467 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44468 $as_echo_n "(cached) " >&6
44469 else
44472 ac_ext=cpp
44473 ac_cpp='$CXXCPP $CPPFLAGS'
44474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44479 /* end confdefs.h. */
44480 #include <math.h>
44481 #ifdef HAVE_IEEEFP_H
44482 #include <ieeefp.h>
44483 #endif
44486 main ()
44488 finitel(0);
44490 return 0;
44492 _ACEOF
44493 if ac_fn_cxx_try_compile "$LINENO"; then :
44494 glibcxx_cv_func_finitel_use=yes
44495 else
44496 glibcxx_cv_func_finitel_use=no
44498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44499 ac_ext=c
44500 ac_cpp='$CPP $CPPFLAGS'
44501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44510 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44512 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44513 for ac_func in finitel
44514 do :
44515 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44516 if test "x$ac_cv_func_finitel" = x""yes; then :
44517 cat >>confdefs.h <<_ACEOF
44518 #define HAVE_FINITEL 1
44519 _ACEOF
44522 done
44524 else
44526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44527 $as_echo_n "checking for _finitel declaration... " >&6; }
44528 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44529 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44530 $as_echo_n "(cached) " >&6
44531 else
44534 ac_ext=cpp
44535 ac_cpp='$CXXCPP $CPPFLAGS'
44536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44541 /* end confdefs.h. */
44542 #include <math.h>
44543 #ifdef HAVE_IEEEFP_H
44544 #include <ieeefp.h>
44545 #endif
44548 main ()
44550 _finitel(0);
44552 return 0;
44554 _ACEOF
44555 if ac_fn_cxx_try_compile "$LINENO"; then :
44556 glibcxx_cv_func__finitel_use=yes
44557 else
44558 glibcxx_cv_func__finitel_use=no
44560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44561 ac_ext=c
44562 ac_cpp='$CPP $CPPFLAGS'
44563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44572 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44574 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44575 for ac_func in _finitel
44576 do :
44577 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44578 if test "x$ac_cv_func__finitel" = x""yes; then :
44579 cat >>confdefs.h <<_ACEOF
44580 #define HAVE__FINITEL 1
44581 _ACEOF
44584 done
44592 LIBS="$ac_save_LIBS"
44593 CXXFLAGS="$ac_save_CXXFLAGS"
44596 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44597 ac_save_CXXFLAGS="$CXXFLAGS"
44598 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44602 $as_echo_n "checking for strtold declaration... " >&6; }
44603 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44604 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44605 $as_echo_n "(cached) " >&6
44606 else
44609 ac_ext=cpp
44610 ac_cpp='$CXXCPP $CPPFLAGS'
44611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44616 /* end confdefs.h. */
44617 #include <stdlib.h>
44619 main ()
44621 strtold(0, 0);
44623 return 0;
44625 _ACEOF
44626 if ac_fn_cxx_try_compile "$LINENO"; then :
44627 glibcxx_cv_func_strtold_use=yes
44628 else
44629 glibcxx_cv_func_strtold_use=no
44631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44632 ac_ext=c
44633 ac_cpp='$CPP $CPPFLAGS'
44634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44643 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44644 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44645 for ac_func in strtold
44646 do :
44647 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44648 if test "x$ac_cv_func_strtold" = x""yes; then :
44649 cat >>confdefs.h <<_ACEOF
44650 #define HAVE_STRTOLD 1
44651 _ACEOF
44654 done
44661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44662 $as_echo_n "checking for strtof declaration... " >&6; }
44663 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44664 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44665 $as_echo_n "(cached) " >&6
44666 else
44669 ac_ext=cpp
44670 ac_cpp='$CXXCPP $CPPFLAGS'
44671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44676 /* end confdefs.h. */
44677 #include <stdlib.h>
44679 main ()
44681 strtof(0, 0);
44683 return 0;
44685 _ACEOF
44686 if ac_fn_cxx_try_compile "$LINENO"; then :
44687 glibcxx_cv_func_strtof_use=yes
44688 else
44689 glibcxx_cv_func_strtof_use=no
44691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44692 ac_ext=c
44693 ac_cpp='$CPP $CPPFLAGS'
44694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44703 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44704 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44705 for ac_func in strtof
44706 do :
44707 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44708 if test "x$ac_cv_func_strtof" = x""yes; then :
44709 cat >>confdefs.h <<_ACEOF
44710 #define HAVE_STRTOF 1
44711 _ACEOF
44714 done
44721 CXXFLAGS="$ac_save_CXXFLAGS"
44725 *djgpp)
44726 # GLIBCXX_CHECK_MATH_SUPPORT
44727 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44729 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44731 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44733 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44735 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44739 *-freebsd*)
44740 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44743 # If we're not using GNU ld, then there's no point in even trying these
44744 # tests. Check for that first. We should have already tested for gld
44745 # by now (in libtool), but require it now just to be safe...
44746 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44747 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44751 # The name set by libtool depends on the version of libtool. Shame on us
44752 # for depending on an impl detail, but c'est la vie. Older versions used
44753 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44754 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44755 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44756 # set (hence we're using an older libtool), then set it.
44757 if test x${with_gnu_ld+set} != xset; then
44758 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44759 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44760 with_gnu_ld=no
44761 else
44762 with_gnu_ld=$ac_cv_prog_gnu_ld
44766 # Start by getting the version number. I think the libtool test already
44767 # does some of this, but throws away the result.
44768 glibcxx_ld_is_gold=no
44769 if test x"$with_gnu_ld" = x"yes"; then
44770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44771 $as_echo_n "checking for ld version... " >&6; }
44773 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44774 glibcxx_ld_is_gold=yes
44776 ldver=`$LD --version 2>/dev/null |
44777 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'`
44779 glibcxx_gnu_ld_version=`echo $ldver | \
44780 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44782 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44785 # Set --gc-sections.
44786 glibcxx_have_gc_sections=no
44787 if test "$glibcxx_ld_is_gold" = "yes"; then
44788 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44789 glibcxx_have_gc_sections=yes
44791 else
44792 glibcxx_gcsections_min_ld=21602
44793 if test x"$with_gnu_ld" = x"yes" &&
44794 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44795 glibcxx_have_gc_sections=yes
44798 if test "$glibcxx_have_gc_sections" = "yes"; then
44799 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44800 # NB: This flag only works reliably after 2.16.1. Configure tests
44801 # for this are difficult, so hard wire a value that should work.
44803 ac_test_CFLAGS="${CFLAGS+set}"
44804 ac_save_CFLAGS="$CFLAGS"
44805 CFLAGS='-Wl,--gc-sections'
44807 # Check for -Wl,--gc-sections
44808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44809 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44810 if test x$gcc_no_link = xyes; then
44811 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44814 /* end confdefs.h. */
44815 int one(void) { return 1; }
44816 int two(void) { return 2; }
44819 main ()
44821 two();
44823 return 0;
44825 _ACEOF
44826 if ac_fn_c_try_link "$LINENO"; then :
44827 ac_gcsections=yes
44828 else
44829 ac_gcsections=no
44831 rm -f core conftest.err conftest.$ac_objext \
44832 conftest$ac_exeext conftest.$ac_ext
44833 if test "$ac_gcsections" = "yes"; then
44834 rm -f conftest.c
44835 touch conftest.c
44836 if $CC -c conftest.c; then
44837 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44838 grep "Warning: gc-sections option ignored" > /dev/null; then
44839 ac_gcsections=no
44842 rm -f conftest.c conftest.o conftest
44844 if test "$ac_gcsections" = "yes"; then
44845 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44848 $as_echo "$ac_gcsections" >&6; }
44850 if test "$ac_test_CFLAGS" = set; then
44851 CFLAGS="$ac_save_CFLAGS"
44852 else
44853 # this is the suspicious part
44854 CFLAGS=''
44858 # Set -z,relro.
44859 # Note this is only for shared objects.
44860 ac_ld_relro=no
44861 if test x"$with_gnu_ld" = x"yes"; then
44862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44863 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44864 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44865 if test -n "$cxx_z_relo"; then
44866 OPT_LDFLAGS="-Wl,-z,relro"
44867 ac_ld_relro=yes
44869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44870 $as_echo "$ac_ld_relro" >&6; }
44873 # Set linker optimization flags.
44874 if test x"$with_gnu_ld" = x"yes"; then
44875 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44881 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44883 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44885 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44887 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44889 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44891 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44893 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44895 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44897 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44900 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44902 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44904 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44906 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44908 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44910 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44912 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44914 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44916 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44918 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44920 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44922 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44924 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44926 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44928 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44930 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44932 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44934 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44936 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44938 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44940 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44942 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44944 if test x"long_double_math_on_this_cpu" = x"yes"; then
44945 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44947 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44949 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44953 *-hpux*)
44954 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44957 # If we're not using GNU ld, then there's no point in even trying these
44958 # tests. Check for that first. We should have already tested for gld
44959 # by now (in libtool), but require it now just to be safe...
44960 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44961 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44965 # The name set by libtool depends on the version of libtool. Shame on us
44966 # for depending on an impl detail, but c'est la vie. Older versions used
44967 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44968 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44969 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44970 # set (hence we're using an older libtool), then set it.
44971 if test x${with_gnu_ld+set} != xset; then
44972 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44973 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44974 with_gnu_ld=no
44975 else
44976 with_gnu_ld=$ac_cv_prog_gnu_ld
44980 # Start by getting the version number. I think the libtool test already
44981 # does some of this, but throws away the result.
44982 glibcxx_ld_is_gold=no
44983 if test x"$with_gnu_ld" = x"yes"; then
44984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44985 $as_echo_n "checking for ld version... " >&6; }
44987 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44988 glibcxx_ld_is_gold=yes
44990 ldver=`$LD --version 2>/dev/null |
44991 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'`
44993 glibcxx_gnu_ld_version=`echo $ldver | \
44994 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44996 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44999 # Set --gc-sections.
45000 glibcxx_have_gc_sections=no
45001 if test "$glibcxx_ld_is_gold" = "yes"; then
45002 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45003 glibcxx_have_gc_sections=yes
45005 else
45006 glibcxx_gcsections_min_ld=21602
45007 if test x"$with_gnu_ld" = x"yes" &&
45008 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45009 glibcxx_have_gc_sections=yes
45012 if test "$glibcxx_have_gc_sections" = "yes"; then
45013 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45014 # NB: This flag only works reliably after 2.16.1. Configure tests
45015 # for this are difficult, so hard wire a value that should work.
45017 ac_test_CFLAGS="${CFLAGS+set}"
45018 ac_save_CFLAGS="$CFLAGS"
45019 CFLAGS='-Wl,--gc-sections'
45021 # Check for -Wl,--gc-sections
45022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45023 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45024 if test x$gcc_no_link = xyes; then
45025 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45028 /* end confdefs.h. */
45029 int one(void) { return 1; }
45030 int two(void) { return 2; }
45033 main ()
45035 two();
45037 return 0;
45039 _ACEOF
45040 if ac_fn_c_try_link "$LINENO"; then :
45041 ac_gcsections=yes
45042 else
45043 ac_gcsections=no
45045 rm -f core conftest.err conftest.$ac_objext \
45046 conftest$ac_exeext conftest.$ac_ext
45047 if test "$ac_gcsections" = "yes"; then
45048 rm -f conftest.c
45049 touch conftest.c
45050 if $CC -c conftest.c; then
45051 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45052 grep "Warning: gc-sections option ignored" > /dev/null; then
45053 ac_gcsections=no
45056 rm -f conftest.c conftest.o conftest
45058 if test "$ac_gcsections" = "yes"; then
45059 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45062 $as_echo "$ac_gcsections" >&6; }
45064 if test "$ac_test_CFLAGS" = set; then
45065 CFLAGS="$ac_save_CFLAGS"
45066 else
45067 # this is the suspicious part
45068 CFLAGS=''
45072 # Set -z,relro.
45073 # Note this is only for shared objects.
45074 ac_ld_relro=no
45075 if test x"$with_gnu_ld" = x"yes"; then
45076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45077 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45078 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45079 if test -n "$cxx_z_relo"; then
45080 OPT_LDFLAGS="-Wl,-z,relro"
45081 ac_ld_relro=yes
45083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45084 $as_echo "$ac_ld_relro" >&6; }
45087 # Set linker optimization flags.
45088 if test x"$with_gnu_ld" = x"yes"; then
45089 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45096 # GLIBCXX_CHECK_MATH_SUPPORT
45097 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45099 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45101 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45103 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45105 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45107 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45109 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45111 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45113 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45115 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45117 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45119 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45121 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45123 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45125 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45127 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45129 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45131 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45133 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45135 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45137 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45140 # GLIBCXX_CHECK_STDLIB_SUPPORT
45141 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45146 # Check whether --enable-tls was given.
45147 if test "${enable_tls+set}" = set; then :
45148 enableval=$enable_tls;
45149 case "$enableval" in
45150 yes|no) ;;
45151 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45152 esac
45154 else
45155 enable_tls=yes
45159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45160 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45161 if test "${gcc_cv_have_tls+set}" = set; then :
45162 $as_echo_n "(cached) " >&6
45163 else
45165 if test "$cross_compiling" = yes; then :
45166 if test x$gcc_no_link = xyes; then
45167 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45170 /* end confdefs.h. */
45171 __thread int a; int b; int main() { return a = b; }
45172 _ACEOF
45173 if ac_fn_c_try_link "$LINENO"; then :
45174 chktls_save_LDFLAGS="$LDFLAGS"
45175 case $host in
45176 *-*-linux*)
45177 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45179 esac
45180 chktls_save_CFLAGS="$CFLAGS"
45181 CFLAGS="-fPIC $CFLAGS"
45182 if test x$gcc_no_link = xyes; then
45183 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45186 /* end confdefs.h. */
45187 int f() { return 0; }
45188 _ACEOF
45189 if ac_fn_c_try_link "$LINENO"; then :
45190 if test x$gcc_no_link = xyes; then
45191 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45194 /* end confdefs.h. */
45195 __thread int a; int b; int f() { return a = b; }
45196 _ACEOF
45197 if ac_fn_c_try_link "$LINENO"; then :
45198 gcc_cv_have_tls=yes
45199 else
45200 gcc_cv_have_tls=no
45202 rm -f core conftest.err conftest.$ac_objext \
45203 conftest$ac_exeext conftest.$ac_ext
45204 else
45205 gcc_cv_have_tls=yes
45207 rm -f core conftest.err conftest.$ac_objext \
45208 conftest$ac_exeext conftest.$ac_ext
45209 CFLAGS="$chktls_save_CFLAGS"
45210 LDFLAGS="$chktls_save_LDFLAGS"
45211 else
45212 gcc_cv_have_tls=no
45214 rm -f core conftest.err conftest.$ac_objext \
45215 conftest$ac_exeext conftest.$ac_ext
45218 else
45219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45220 /* end confdefs.h. */
45221 __thread int a; int b; int main() { return a = b; }
45222 _ACEOF
45223 if ac_fn_c_try_run "$LINENO"; then :
45224 chktls_save_LDFLAGS="$LDFLAGS"
45225 LDFLAGS="-static $LDFLAGS"
45226 if test x$gcc_no_link = xyes; then
45227 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45230 /* end confdefs.h. */
45231 int main() { return 0; }
45232 _ACEOF
45233 if ac_fn_c_try_link "$LINENO"; then :
45234 if test "$cross_compiling" = yes; then :
45235 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45237 as_fn_error "cannot run test program while cross compiling
45238 See \`config.log' for more details." "$LINENO" 5; }
45239 else
45240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45241 /* end confdefs.h. */
45242 __thread int a; int b; int main() { return a = b; }
45243 _ACEOF
45244 if ac_fn_c_try_run "$LINENO"; then :
45245 gcc_cv_have_tls=yes
45246 else
45247 gcc_cv_have_tls=no
45249 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45250 conftest.$ac_objext conftest.beam conftest.$ac_ext
45253 else
45254 gcc_cv_have_tls=yes
45256 rm -f core conftest.err conftest.$ac_objext \
45257 conftest$ac_exeext conftest.$ac_ext
45258 LDFLAGS="$chktls_save_LDFLAGS"
45259 if test $gcc_cv_have_tls = yes; then
45260 chktls_save_CFLAGS="$CFLAGS"
45261 thread_CFLAGS=failed
45262 for flag in '' '-pthread' '-lpthread'; do
45263 CFLAGS="$flag $chktls_save_CFLAGS"
45264 if test x$gcc_no_link = xyes; then
45265 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45268 /* end confdefs.h. */
45269 #include <pthread.h>
45270 void *g(void *d) { return NULL; }
45272 main ()
45274 pthread_t t; pthread_create(&t,NULL,g,NULL);
45276 return 0;
45278 _ACEOF
45279 if ac_fn_c_try_link "$LINENO"; then :
45280 thread_CFLAGS="$flag"
45282 rm -f core conftest.err conftest.$ac_objext \
45283 conftest$ac_exeext conftest.$ac_ext
45284 if test "X$thread_CFLAGS" != Xfailed; then
45285 break
45287 done
45288 CFLAGS="$chktls_save_CFLAGS"
45289 if test "X$thread_CFLAGS" != Xfailed; then
45290 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45291 if test "$cross_compiling" = yes; then :
45292 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45294 as_fn_error "cannot run test program while cross compiling
45295 See \`config.log' for more details." "$LINENO" 5; }
45296 else
45297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45298 /* end confdefs.h. */
45299 #include <pthread.h>
45300 __thread int a;
45301 static int *volatile a_in_other_thread;
45302 static void *
45303 thread_func (void *arg)
45305 a_in_other_thread = &a;
45306 return (void *)0;
45309 main ()
45311 pthread_t thread;
45312 void *thread_retval;
45313 int *volatile a_in_main_thread;
45314 a_in_main_thread = &a;
45315 if (pthread_create (&thread, (pthread_attr_t *)0,
45316 thread_func, (void *)0))
45317 return 0;
45318 if (pthread_join (thread, &thread_retval))
45319 return 0;
45320 return (a_in_other_thread == a_in_main_thread);
45322 return 0;
45324 _ACEOF
45325 if ac_fn_c_try_run "$LINENO"; then :
45326 gcc_cv_have_tls=yes
45327 else
45328 gcc_cv_have_tls=no
45330 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45331 conftest.$ac_objext conftest.beam conftest.$ac_ext
45334 CFLAGS="$chktls_save_CFLAGS"
45337 else
45338 gcc_cv_have_tls=no
45340 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45341 conftest.$ac_objext conftest.beam conftest.$ac_ext
45345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45346 $as_echo "$gcc_cv_have_tls" >&6; }
45347 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45349 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45352 case "$target" in
45353 *-hpux10*)
45354 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45356 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45358 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45360 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45362 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45365 esac
45367 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45369 # All these tests are for C++; save the language and the compiler flags.
45370 # The CXXFLAGS thing is suspicious, but based on similar bits previously
45371 # found in GLIBCXX_CONFIGURE.
45373 ac_ext=cpp
45374 ac_cpp='$CXXCPP $CPPFLAGS'
45375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45379 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45380 ac_save_CXXFLAGS="$CXXFLAGS"
45382 # Check for maintainer-mode bits.
45383 if test x"$USE_MAINTAINER_MODE" = xno; then
45384 WERROR=''
45385 else
45386 WERROR='-Werror'
45389 # Check for -ffunction-sections -fdata-sections
45390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45391 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45392 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45394 /* end confdefs.h. */
45395 int foo; void bar() { };
45397 main ()
45401 return 0;
45403 _ACEOF
45404 if ac_fn_cxx_try_compile "$LINENO"; then :
45405 ac_fdsections=yes
45406 else
45407 ac_fdsections=no
45409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45410 if test "$ac_test_CXXFLAGS" = set; then
45411 CXXFLAGS="$ac_save_CXXFLAGS"
45412 else
45413 # this is the suspicious part
45414 CXXFLAGS=''
45416 if test x"$ac_fdsections" = x"yes"; then
45417 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45420 $as_echo "$ac_fdsections" >&6; }
45422 ac_ext=c
45423 ac_cpp='$CPP $CPPFLAGS'
45424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45432 # If we're not using GNU ld, then there's no point in even trying these
45433 # tests. Check for that first. We should have already tested for gld
45434 # by now (in libtool), but require it now just to be safe...
45435 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45436 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45440 # The name set by libtool depends on the version of libtool. Shame on us
45441 # for depending on an impl detail, but c'est la vie. Older versions used
45442 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45443 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45444 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45445 # set (hence we're using an older libtool), then set it.
45446 if test x${with_gnu_ld+set} != xset; then
45447 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45448 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45449 with_gnu_ld=no
45450 else
45451 with_gnu_ld=$ac_cv_prog_gnu_ld
45455 # Start by getting the version number. I think the libtool test already
45456 # does some of this, but throws away the result.
45457 glibcxx_ld_is_gold=no
45458 if test x"$with_gnu_ld" = x"yes"; then
45459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45460 $as_echo_n "checking for ld version... " >&6; }
45462 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45463 glibcxx_ld_is_gold=yes
45465 ldver=`$LD --version 2>/dev/null |
45466 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'`
45468 glibcxx_gnu_ld_version=`echo $ldver | \
45469 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45471 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45474 # Set --gc-sections.
45475 glibcxx_have_gc_sections=no
45476 if test "$glibcxx_ld_is_gold" = "yes"; then
45477 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45478 glibcxx_have_gc_sections=yes
45480 else
45481 glibcxx_gcsections_min_ld=21602
45482 if test x"$with_gnu_ld" = x"yes" &&
45483 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45484 glibcxx_have_gc_sections=yes
45487 if test "$glibcxx_have_gc_sections" = "yes"; then
45488 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45489 # NB: This flag only works reliably after 2.16.1. Configure tests
45490 # for this are difficult, so hard wire a value that should work.
45492 ac_test_CFLAGS="${CFLAGS+set}"
45493 ac_save_CFLAGS="$CFLAGS"
45494 CFLAGS='-Wl,--gc-sections'
45496 # Check for -Wl,--gc-sections
45497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45498 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45499 if test x$gcc_no_link = xyes; then
45500 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45503 /* end confdefs.h. */
45504 int one(void) { return 1; }
45505 int two(void) { return 2; }
45508 main ()
45510 two();
45512 return 0;
45514 _ACEOF
45515 if ac_fn_c_try_link "$LINENO"; then :
45516 ac_gcsections=yes
45517 else
45518 ac_gcsections=no
45520 rm -f core conftest.err conftest.$ac_objext \
45521 conftest$ac_exeext conftest.$ac_ext
45522 if test "$ac_gcsections" = "yes"; then
45523 rm -f conftest.c
45524 touch conftest.c
45525 if $CC -c conftest.c; then
45526 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45527 grep "Warning: gc-sections option ignored" > /dev/null; then
45528 ac_gcsections=no
45531 rm -f conftest.c conftest.o conftest
45533 if test "$ac_gcsections" = "yes"; then
45534 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45537 $as_echo "$ac_gcsections" >&6; }
45539 if test "$ac_test_CFLAGS" = set; then
45540 CFLAGS="$ac_save_CFLAGS"
45541 else
45542 # this is the suspicious part
45543 CFLAGS=''
45547 # Set -z,relro.
45548 # Note this is only for shared objects.
45549 ac_ld_relro=no
45550 if test x"$with_gnu_ld" = x"yes"; then
45551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45552 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45553 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45554 if test -n "$cxx_z_relo"; then
45555 OPT_LDFLAGS="-Wl,-z,relro"
45556 ac_ld_relro=yes
45558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45559 $as_echo "$ac_ld_relro" >&6; }
45562 # Set linker optimization flags.
45563 if test x"$with_gnu_ld" = x"yes"; then
45564 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45571 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45572 ac_save_CXXFLAGS="$CXXFLAGS"
45573 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45576 $as_echo_n "checking for sin in -lm... " >&6; }
45577 if test "${ac_cv_lib_m_sin+set}" = set; then :
45578 $as_echo_n "(cached) " >&6
45579 else
45580 ac_check_lib_save_LIBS=$LIBS
45581 LIBS="-lm $LIBS"
45582 if test x$gcc_no_link = xyes; then
45583 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45586 /* end confdefs.h. */
45588 /* Override any GCC internal prototype to avoid an error.
45589 Use char because int might match the return type of a GCC
45590 builtin and then its argument prototype would still apply. */
45591 #ifdef __cplusplus
45592 extern "C"
45593 #endif
45594 char sin ();
45596 main ()
45598 return sin ();
45600 return 0;
45602 _ACEOF
45603 if ac_fn_c_try_link "$LINENO"; then :
45604 ac_cv_lib_m_sin=yes
45605 else
45606 ac_cv_lib_m_sin=no
45608 rm -f core conftest.err conftest.$ac_objext \
45609 conftest$ac_exeext conftest.$ac_ext
45610 LIBS=$ac_check_lib_save_LIBS
45612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45613 $as_echo "$ac_cv_lib_m_sin" >&6; }
45614 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45615 libm="-lm"
45618 ac_save_LIBS="$LIBS"
45619 LIBS="$LIBS $libm"
45623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45624 $as_echo_n "checking for isinf declaration... " >&6; }
45625 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45626 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45627 $as_echo_n "(cached) " >&6
45628 else
45631 ac_ext=cpp
45632 ac_cpp='$CXXCPP $CPPFLAGS'
45633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45638 /* end confdefs.h. */
45639 #include <math.h>
45640 #ifdef HAVE_IEEEFP_H
45641 #include <ieeefp.h>
45642 #endif
45645 main ()
45647 isinf(0);
45649 return 0;
45651 _ACEOF
45652 if ac_fn_cxx_try_compile "$LINENO"; then :
45653 glibcxx_cv_func_isinf_use=yes
45654 else
45655 glibcxx_cv_func_isinf_use=no
45657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45658 ac_ext=c
45659 ac_cpp='$CPP $CPPFLAGS'
45660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45669 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45671 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45672 for ac_func in isinf
45673 do :
45674 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45675 if test "x$ac_cv_func_isinf" = x""yes; then :
45676 cat >>confdefs.h <<_ACEOF
45677 #define HAVE_ISINF 1
45678 _ACEOF
45681 done
45683 else
45685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45686 $as_echo_n "checking for _isinf declaration... " >&6; }
45687 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45688 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45689 $as_echo_n "(cached) " >&6
45690 else
45693 ac_ext=cpp
45694 ac_cpp='$CXXCPP $CPPFLAGS'
45695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45700 /* end confdefs.h. */
45701 #include <math.h>
45702 #ifdef HAVE_IEEEFP_H
45703 #include <ieeefp.h>
45704 #endif
45707 main ()
45709 _isinf(0);
45711 return 0;
45713 _ACEOF
45714 if ac_fn_cxx_try_compile "$LINENO"; then :
45715 glibcxx_cv_func__isinf_use=yes
45716 else
45717 glibcxx_cv_func__isinf_use=no
45719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45720 ac_ext=c
45721 ac_cpp='$CPP $CPPFLAGS'
45722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45731 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45733 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45734 for ac_func in _isinf
45735 do :
45736 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45737 if test "x$ac_cv_func__isinf" = x""yes; then :
45738 cat >>confdefs.h <<_ACEOF
45739 #define HAVE__ISINF 1
45740 _ACEOF
45743 done
45752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45753 $as_echo_n "checking for isnan declaration... " >&6; }
45754 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45755 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45756 $as_echo_n "(cached) " >&6
45757 else
45760 ac_ext=cpp
45761 ac_cpp='$CXXCPP $CPPFLAGS'
45762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45767 /* end confdefs.h. */
45768 #include <math.h>
45769 #ifdef HAVE_IEEEFP_H
45770 #include <ieeefp.h>
45771 #endif
45774 main ()
45776 isnan(0);
45778 return 0;
45780 _ACEOF
45781 if ac_fn_cxx_try_compile "$LINENO"; then :
45782 glibcxx_cv_func_isnan_use=yes
45783 else
45784 glibcxx_cv_func_isnan_use=no
45786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45787 ac_ext=c
45788 ac_cpp='$CPP $CPPFLAGS'
45789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45798 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45800 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45801 for ac_func in isnan
45802 do :
45803 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45804 if test "x$ac_cv_func_isnan" = x""yes; then :
45805 cat >>confdefs.h <<_ACEOF
45806 #define HAVE_ISNAN 1
45807 _ACEOF
45810 done
45812 else
45814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45815 $as_echo_n "checking for _isnan declaration... " >&6; }
45816 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45817 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45818 $as_echo_n "(cached) " >&6
45819 else
45822 ac_ext=cpp
45823 ac_cpp='$CXXCPP $CPPFLAGS'
45824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45829 /* end confdefs.h. */
45830 #include <math.h>
45831 #ifdef HAVE_IEEEFP_H
45832 #include <ieeefp.h>
45833 #endif
45836 main ()
45838 _isnan(0);
45840 return 0;
45842 _ACEOF
45843 if ac_fn_cxx_try_compile "$LINENO"; then :
45844 glibcxx_cv_func__isnan_use=yes
45845 else
45846 glibcxx_cv_func__isnan_use=no
45848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45849 ac_ext=c
45850 ac_cpp='$CPP $CPPFLAGS'
45851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45860 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45862 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45863 for ac_func in _isnan
45864 do :
45865 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45866 if test "x$ac_cv_func__isnan" = x""yes; then :
45867 cat >>confdefs.h <<_ACEOF
45868 #define HAVE__ISNAN 1
45869 _ACEOF
45872 done
45881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45882 $as_echo_n "checking for finite declaration... " >&6; }
45883 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45884 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45885 $as_echo_n "(cached) " >&6
45886 else
45889 ac_ext=cpp
45890 ac_cpp='$CXXCPP $CPPFLAGS'
45891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45896 /* end confdefs.h. */
45897 #include <math.h>
45898 #ifdef HAVE_IEEEFP_H
45899 #include <ieeefp.h>
45900 #endif
45903 main ()
45905 finite(0);
45907 return 0;
45909 _ACEOF
45910 if ac_fn_cxx_try_compile "$LINENO"; then :
45911 glibcxx_cv_func_finite_use=yes
45912 else
45913 glibcxx_cv_func_finite_use=no
45915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45916 ac_ext=c
45917 ac_cpp='$CPP $CPPFLAGS'
45918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45927 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45929 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45930 for ac_func in finite
45931 do :
45932 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45933 if test "x$ac_cv_func_finite" = x""yes; then :
45934 cat >>confdefs.h <<_ACEOF
45935 #define HAVE_FINITE 1
45936 _ACEOF
45939 done
45941 else
45943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45944 $as_echo_n "checking for _finite declaration... " >&6; }
45945 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45946 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45947 $as_echo_n "(cached) " >&6
45948 else
45951 ac_ext=cpp
45952 ac_cpp='$CXXCPP $CPPFLAGS'
45953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45958 /* end confdefs.h. */
45959 #include <math.h>
45960 #ifdef HAVE_IEEEFP_H
45961 #include <ieeefp.h>
45962 #endif
45965 main ()
45967 _finite(0);
45969 return 0;
45971 _ACEOF
45972 if ac_fn_cxx_try_compile "$LINENO"; then :
45973 glibcxx_cv_func__finite_use=yes
45974 else
45975 glibcxx_cv_func__finite_use=no
45977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45978 ac_ext=c
45979 ac_cpp='$CPP $CPPFLAGS'
45980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45989 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45991 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45992 for ac_func in _finite
45993 do :
45994 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45995 if test "x$ac_cv_func__finite" = x""yes; then :
45996 cat >>confdefs.h <<_ACEOF
45997 #define HAVE__FINITE 1
45998 _ACEOF
46001 done
46010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46011 $as_echo_n "checking for sincos declaration... " >&6; }
46012 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46013 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46014 $as_echo_n "(cached) " >&6
46015 else
46018 ac_ext=cpp
46019 ac_cpp='$CXXCPP $CPPFLAGS'
46020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46025 /* end confdefs.h. */
46026 #include <math.h>
46028 main ()
46030 sincos(0, 0, 0);
46032 return 0;
46034 _ACEOF
46035 if ac_fn_cxx_try_compile "$LINENO"; then :
46036 glibcxx_cv_func_sincos_use=yes
46037 else
46038 glibcxx_cv_func_sincos_use=no
46040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46041 ac_ext=c
46042 ac_cpp='$CPP $CPPFLAGS'
46043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46052 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46054 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46055 for ac_func in sincos
46056 do :
46057 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46058 if test "x$ac_cv_func_sincos" = x""yes; then :
46059 cat >>confdefs.h <<_ACEOF
46060 #define HAVE_SINCOS 1
46061 _ACEOF
46064 done
46066 else
46068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46069 $as_echo_n "checking for _sincos declaration... " >&6; }
46070 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46071 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46072 $as_echo_n "(cached) " >&6
46073 else
46076 ac_ext=cpp
46077 ac_cpp='$CXXCPP $CPPFLAGS'
46078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46083 /* end confdefs.h. */
46084 #include <math.h>
46086 main ()
46088 _sincos(0, 0, 0);
46090 return 0;
46092 _ACEOF
46093 if ac_fn_cxx_try_compile "$LINENO"; then :
46094 glibcxx_cv_func__sincos_use=yes
46095 else
46096 glibcxx_cv_func__sincos_use=no
46098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46099 ac_ext=c
46100 ac_cpp='$CPP $CPPFLAGS'
46101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46110 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46112 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46113 for ac_func in _sincos
46114 do :
46115 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46116 if test "x$ac_cv_func__sincos" = x""yes; then :
46117 cat >>confdefs.h <<_ACEOF
46118 #define HAVE__SINCOS 1
46119 _ACEOF
46122 done
46131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46132 $as_echo_n "checking for fpclass declaration... " >&6; }
46133 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46134 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46135 $as_echo_n "(cached) " >&6
46136 else
46139 ac_ext=cpp
46140 ac_cpp='$CXXCPP $CPPFLAGS'
46141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46146 /* end confdefs.h. */
46147 #include <math.h>
46148 #ifdef HAVE_IEEEFP_H
46149 #include <ieeefp.h>
46150 #endif
46153 main ()
46155 fpclass(0);
46157 return 0;
46159 _ACEOF
46160 if ac_fn_cxx_try_compile "$LINENO"; then :
46161 glibcxx_cv_func_fpclass_use=yes
46162 else
46163 glibcxx_cv_func_fpclass_use=no
46165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46166 ac_ext=c
46167 ac_cpp='$CPP $CPPFLAGS'
46168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46177 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46179 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46180 for ac_func in fpclass
46181 do :
46182 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46183 if test "x$ac_cv_func_fpclass" = x""yes; then :
46184 cat >>confdefs.h <<_ACEOF
46185 #define HAVE_FPCLASS 1
46186 _ACEOF
46189 done
46191 else
46193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46194 $as_echo_n "checking for _fpclass declaration... " >&6; }
46195 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46196 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46197 $as_echo_n "(cached) " >&6
46198 else
46201 ac_ext=cpp
46202 ac_cpp='$CXXCPP $CPPFLAGS'
46203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46208 /* end confdefs.h. */
46209 #include <math.h>
46210 #ifdef HAVE_IEEEFP_H
46211 #include <ieeefp.h>
46212 #endif
46215 main ()
46217 _fpclass(0);
46219 return 0;
46221 _ACEOF
46222 if ac_fn_cxx_try_compile "$LINENO"; then :
46223 glibcxx_cv_func__fpclass_use=yes
46224 else
46225 glibcxx_cv_func__fpclass_use=no
46227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46228 ac_ext=c
46229 ac_cpp='$CPP $CPPFLAGS'
46230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46239 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46241 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46242 for ac_func in _fpclass
46243 do :
46244 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46245 if test "x$ac_cv_func__fpclass" = x""yes; then :
46246 cat >>confdefs.h <<_ACEOF
46247 #define HAVE__FPCLASS 1
46248 _ACEOF
46251 done
46260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46261 $as_echo_n "checking for qfpclass declaration... " >&6; }
46262 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46263 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46264 $as_echo_n "(cached) " >&6
46265 else
46268 ac_ext=cpp
46269 ac_cpp='$CXXCPP $CPPFLAGS'
46270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46275 /* end confdefs.h. */
46276 #include <math.h>
46277 #ifdef HAVE_IEEEFP_H
46278 #include <ieeefp.h>
46279 #endif
46282 main ()
46284 qfpclass(0);
46286 return 0;
46288 _ACEOF
46289 if ac_fn_cxx_try_compile "$LINENO"; then :
46290 glibcxx_cv_func_qfpclass_use=yes
46291 else
46292 glibcxx_cv_func_qfpclass_use=no
46294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46295 ac_ext=c
46296 ac_cpp='$CPP $CPPFLAGS'
46297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46306 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46308 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46309 for ac_func in qfpclass
46310 do :
46311 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46312 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46313 cat >>confdefs.h <<_ACEOF
46314 #define HAVE_QFPCLASS 1
46315 _ACEOF
46318 done
46320 else
46322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46323 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46324 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46325 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46326 $as_echo_n "(cached) " >&6
46327 else
46330 ac_ext=cpp
46331 ac_cpp='$CXXCPP $CPPFLAGS'
46332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46337 /* end confdefs.h. */
46338 #include <math.h>
46339 #ifdef HAVE_IEEEFP_H
46340 #include <ieeefp.h>
46341 #endif
46344 main ()
46346 _qfpclass(0);
46348 return 0;
46350 _ACEOF
46351 if ac_fn_cxx_try_compile "$LINENO"; then :
46352 glibcxx_cv_func__qfpclass_use=yes
46353 else
46354 glibcxx_cv_func__qfpclass_use=no
46356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46357 ac_ext=c
46358 ac_cpp='$CPP $CPPFLAGS'
46359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46368 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46370 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46371 for ac_func in _qfpclass
46372 do :
46373 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46374 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46375 cat >>confdefs.h <<_ACEOF
46376 #define HAVE__QFPCLASS 1
46377 _ACEOF
46380 done
46389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46390 $as_echo_n "checking for hypot declaration... " >&6; }
46391 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46392 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46393 $as_echo_n "(cached) " >&6
46394 else
46397 ac_ext=cpp
46398 ac_cpp='$CXXCPP $CPPFLAGS'
46399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46404 /* end confdefs.h. */
46405 #include <math.h>
46407 main ()
46409 hypot(0, 0);
46411 return 0;
46413 _ACEOF
46414 if ac_fn_cxx_try_compile "$LINENO"; then :
46415 glibcxx_cv_func_hypot_use=yes
46416 else
46417 glibcxx_cv_func_hypot_use=no
46419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46420 ac_ext=c
46421 ac_cpp='$CPP $CPPFLAGS'
46422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46431 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46433 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46434 for ac_func in hypot
46435 do :
46436 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46437 if test "x$ac_cv_func_hypot" = x""yes; then :
46438 cat >>confdefs.h <<_ACEOF
46439 #define HAVE_HYPOT 1
46440 _ACEOF
46443 done
46445 else
46447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46448 $as_echo_n "checking for _hypot declaration... " >&6; }
46449 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46450 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46451 $as_echo_n "(cached) " >&6
46452 else
46455 ac_ext=cpp
46456 ac_cpp='$CXXCPP $CPPFLAGS'
46457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46462 /* end confdefs.h. */
46463 #include <math.h>
46465 main ()
46467 _hypot(0, 0);
46469 return 0;
46471 _ACEOF
46472 if ac_fn_cxx_try_compile "$LINENO"; then :
46473 glibcxx_cv_func__hypot_use=yes
46474 else
46475 glibcxx_cv_func__hypot_use=no
46477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46478 ac_ext=c
46479 ac_cpp='$CPP $CPPFLAGS'
46480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46489 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46491 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46492 for ac_func in _hypot
46493 do :
46494 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46495 if test "x$ac_cv_func__hypot" = x""yes; then :
46496 cat >>confdefs.h <<_ACEOF
46497 #define HAVE__HYPOT 1
46498 _ACEOF
46501 done
46510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46511 $as_echo_n "checking for float trig functions... " >&6; }
46512 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46513 $as_echo_n "(cached) " >&6
46514 else
46517 ac_ext=cpp
46518 ac_cpp='$CXXCPP $CPPFLAGS'
46519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46524 /* end confdefs.h. */
46525 #include <math.h>
46527 main ()
46529 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46531 return 0;
46533 _ACEOF
46534 if ac_fn_cxx_try_compile "$LINENO"; then :
46535 glibcxx_cv_func_float_trig_use=yes
46536 else
46537 glibcxx_cv_func_float_trig_use=no
46539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46540 ac_ext=c
46541 ac_cpp='$CPP $CPPFLAGS'
46542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46549 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46550 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46551 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46552 do :
46553 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46554 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46555 eval as_val=\$$as_ac_var
46556 if test "x$as_val" = x""yes; then :
46557 cat >>confdefs.h <<_ACEOF
46558 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46559 _ACEOF
46562 done
46564 else
46565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46566 $as_echo_n "checking for _float trig functions... " >&6; }
46567 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46568 $as_echo_n "(cached) " >&6
46569 else
46572 ac_ext=cpp
46573 ac_cpp='$CXXCPP $CPPFLAGS'
46574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46579 /* end confdefs.h. */
46580 #include <math.h>
46582 main ()
46584 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46586 return 0;
46588 _ACEOF
46589 if ac_fn_cxx_try_compile "$LINENO"; then :
46590 glibcxx_cv_func__float_trig_use=yes
46591 else
46592 glibcxx_cv_func__float_trig_use=no
46594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46595 ac_ext=c
46596 ac_cpp='$CPP $CPPFLAGS'
46597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46604 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46605 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46606 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46607 do :
46608 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46609 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46610 eval as_val=\$$as_ac_var
46611 if test "x$as_val" = x""yes; then :
46612 cat >>confdefs.h <<_ACEOF
46613 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46614 _ACEOF
46617 done
46626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46627 $as_echo_n "checking for float round functions... " >&6; }
46628 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46629 $as_echo_n "(cached) " >&6
46630 else
46633 ac_ext=cpp
46634 ac_cpp='$CXXCPP $CPPFLAGS'
46635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46640 /* end confdefs.h. */
46641 #include <math.h>
46643 main ()
46645 ceilf (0); floorf (0);
46647 return 0;
46649 _ACEOF
46650 if ac_fn_cxx_try_compile "$LINENO"; then :
46651 glibcxx_cv_func_float_round_use=yes
46652 else
46653 glibcxx_cv_func_float_round_use=no
46655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46656 ac_ext=c
46657 ac_cpp='$CPP $CPPFLAGS'
46658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46665 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46666 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46667 for ac_func in ceilf floorf
46668 do :
46669 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46670 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46671 eval as_val=\$$as_ac_var
46672 if test "x$as_val" = x""yes; then :
46673 cat >>confdefs.h <<_ACEOF
46674 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46675 _ACEOF
46678 done
46680 else
46681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46682 $as_echo_n "checking for _float round functions... " >&6; }
46683 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46684 $as_echo_n "(cached) " >&6
46685 else
46688 ac_ext=cpp
46689 ac_cpp='$CXXCPP $CPPFLAGS'
46690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46695 /* end confdefs.h. */
46696 #include <math.h>
46698 main ()
46700 _ceilf (0); _floorf (0);
46702 return 0;
46704 _ACEOF
46705 if ac_fn_cxx_try_compile "$LINENO"; then :
46706 glibcxx_cv_func__float_round_use=yes
46707 else
46708 glibcxx_cv_func__float_round_use=no
46710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46711 ac_ext=c
46712 ac_cpp='$CPP $CPPFLAGS'
46713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46720 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46721 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46722 for ac_func in _ceilf _floorf
46723 do :
46724 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46725 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46726 eval as_val=\$$as_ac_var
46727 if test "x$as_val" = x""yes; then :
46728 cat >>confdefs.h <<_ACEOF
46729 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46730 _ACEOF
46733 done
46743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46744 $as_echo_n "checking for expf declaration... " >&6; }
46745 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46746 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46747 $as_echo_n "(cached) " >&6
46748 else
46751 ac_ext=cpp
46752 ac_cpp='$CXXCPP $CPPFLAGS'
46753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46758 /* end confdefs.h. */
46759 #include <math.h>
46760 #ifdef HAVE_IEEEFP_H
46761 #include <ieeefp.h>
46762 #endif
46765 main ()
46767 expf(0);
46769 return 0;
46771 _ACEOF
46772 if ac_fn_cxx_try_compile "$LINENO"; then :
46773 glibcxx_cv_func_expf_use=yes
46774 else
46775 glibcxx_cv_func_expf_use=no
46777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46778 ac_ext=c
46779 ac_cpp='$CPP $CPPFLAGS'
46780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46789 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46791 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46792 for ac_func in expf
46793 do :
46794 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46795 if test "x$ac_cv_func_expf" = x""yes; then :
46796 cat >>confdefs.h <<_ACEOF
46797 #define HAVE_EXPF 1
46798 _ACEOF
46801 done
46803 else
46805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46806 $as_echo_n "checking for _expf declaration... " >&6; }
46807 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46808 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46809 $as_echo_n "(cached) " >&6
46810 else
46813 ac_ext=cpp
46814 ac_cpp='$CXXCPP $CPPFLAGS'
46815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46820 /* end confdefs.h. */
46821 #include <math.h>
46822 #ifdef HAVE_IEEEFP_H
46823 #include <ieeefp.h>
46824 #endif
46827 main ()
46829 _expf(0);
46831 return 0;
46833 _ACEOF
46834 if ac_fn_cxx_try_compile "$LINENO"; then :
46835 glibcxx_cv_func__expf_use=yes
46836 else
46837 glibcxx_cv_func__expf_use=no
46839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46840 ac_ext=c
46841 ac_cpp='$CPP $CPPFLAGS'
46842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46851 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46853 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46854 for ac_func in _expf
46855 do :
46856 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46857 if test "x$ac_cv_func__expf" = x""yes; then :
46858 cat >>confdefs.h <<_ACEOF
46859 #define HAVE__EXPF 1
46860 _ACEOF
46863 done
46872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46873 $as_echo_n "checking for isnanf declaration... " >&6; }
46874 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46875 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46876 $as_echo_n "(cached) " >&6
46877 else
46880 ac_ext=cpp
46881 ac_cpp='$CXXCPP $CPPFLAGS'
46882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46887 /* end confdefs.h. */
46888 #include <math.h>
46889 #ifdef HAVE_IEEEFP_H
46890 #include <ieeefp.h>
46891 #endif
46894 main ()
46896 isnanf(0);
46898 return 0;
46900 _ACEOF
46901 if ac_fn_cxx_try_compile "$LINENO"; then :
46902 glibcxx_cv_func_isnanf_use=yes
46903 else
46904 glibcxx_cv_func_isnanf_use=no
46906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46907 ac_ext=c
46908 ac_cpp='$CPP $CPPFLAGS'
46909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46918 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46920 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46921 for ac_func in isnanf
46922 do :
46923 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46924 if test "x$ac_cv_func_isnanf" = x""yes; then :
46925 cat >>confdefs.h <<_ACEOF
46926 #define HAVE_ISNANF 1
46927 _ACEOF
46930 done
46932 else
46934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46935 $as_echo_n "checking for _isnanf declaration... " >&6; }
46936 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46937 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46938 $as_echo_n "(cached) " >&6
46939 else
46942 ac_ext=cpp
46943 ac_cpp='$CXXCPP $CPPFLAGS'
46944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46949 /* end confdefs.h. */
46950 #include <math.h>
46951 #ifdef HAVE_IEEEFP_H
46952 #include <ieeefp.h>
46953 #endif
46956 main ()
46958 _isnanf(0);
46960 return 0;
46962 _ACEOF
46963 if ac_fn_cxx_try_compile "$LINENO"; then :
46964 glibcxx_cv_func__isnanf_use=yes
46965 else
46966 glibcxx_cv_func__isnanf_use=no
46968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46969 ac_ext=c
46970 ac_cpp='$CPP $CPPFLAGS'
46971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46980 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46982 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46983 for ac_func in _isnanf
46984 do :
46985 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46986 if test "x$ac_cv_func__isnanf" = x""yes; then :
46987 cat >>confdefs.h <<_ACEOF
46988 #define HAVE__ISNANF 1
46989 _ACEOF
46992 done
47001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47002 $as_echo_n "checking for isinff declaration... " >&6; }
47003 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47004 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47005 $as_echo_n "(cached) " >&6
47006 else
47009 ac_ext=cpp
47010 ac_cpp='$CXXCPP $CPPFLAGS'
47011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47016 /* end confdefs.h. */
47017 #include <math.h>
47018 #ifdef HAVE_IEEEFP_H
47019 #include <ieeefp.h>
47020 #endif
47023 main ()
47025 isinff(0);
47027 return 0;
47029 _ACEOF
47030 if ac_fn_cxx_try_compile "$LINENO"; then :
47031 glibcxx_cv_func_isinff_use=yes
47032 else
47033 glibcxx_cv_func_isinff_use=no
47035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47036 ac_ext=c
47037 ac_cpp='$CPP $CPPFLAGS'
47038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47047 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47049 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47050 for ac_func in isinff
47051 do :
47052 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47053 if test "x$ac_cv_func_isinff" = x""yes; then :
47054 cat >>confdefs.h <<_ACEOF
47055 #define HAVE_ISINFF 1
47056 _ACEOF
47059 done
47061 else
47063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47064 $as_echo_n "checking for _isinff declaration... " >&6; }
47065 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47066 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47067 $as_echo_n "(cached) " >&6
47068 else
47071 ac_ext=cpp
47072 ac_cpp='$CXXCPP $CPPFLAGS'
47073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47078 /* end confdefs.h. */
47079 #include <math.h>
47080 #ifdef HAVE_IEEEFP_H
47081 #include <ieeefp.h>
47082 #endif
47085 main ()
47087 _isinff(0);
47089 return 0;
47091 _ACEOF
47092 if ac_fn_cxx_try_compile "$LINENO"; then :
47093 glibcxx_cv_func__isinff_use=yes
47094 else
47095 glibcxx_cv_func__isinff_use=no
47097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47098 ac_ext=c
47099 ac_cpp='$CPP $CPPFLAGS'
47100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47109 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47111 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47112 for ac_func in _isinff
47113 do :
47114 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47115 if test "x$ac_cv_func__isinff" = x""yes; then :
47116 cat >>confdefs.h <<_ACEOF
47117 #define HAVE__ISINFF 1
47118 _ACEOF
47121 done
47130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47131 $as_echo_n "checking for atan2f declaration... " >&6; }
47132 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47133 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47134 $as_echo_n "(cached) " >&6
47135 else
47138 ac_ext=cpp
47139 ac_cpp='$CXXCPP $CPPFLAGS'
47140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47145 /* end confdefs.h. */
47146 #include <math.h>
47148 main ()
47150 atan2f(0, 0);
47152 return 0;
47154 _ACEOF
47155 if ac_fn_cxx_try_compile "$LINENO"; then :
47156 glibcxx_cv_func_atan2f_use=yes
47157 else
47158 glibcxx_cv_func_atan2f_use=no
47160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47161 ac_ext=c
47162 ac_cpp='$CPP $CPPFLAGS'
47163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47172 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47174 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47175 for ac_func in atan2f
47176 do :
47177 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47178 if test "x$ac_cv_func_atan2f" = x""yes; then :
47179 cat >>confdefs.h <<_ACEOF
47180 #define HAVE_ATAN2F 1
47181 _ACEOF
47184 done
47186 else
47188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47189 $as_echo_n "checking for _atan2f declaration... " >&6; }
47190 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47191 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47192 $as_echo_n "(cached) " >&6
47193 else
47196 ac_ext=cpp
47197 ac_cpp='$CXXCPP $CPPFLAGS'
47198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47203 /* end confdefs.h. */
47204 #include <math.h>
47206 main ()
47208 _atan2f(0, 0);
47210 return 0;
47212 _ACEOF
47213 if ac_fn_cxx_try_compile "$LINENO"; then :
47214 glibcxx_cv_func__atan2f_use=yes
47215 else
47216 glibcxx_cv_func__atan2f_use=no
47218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47219 ac_ext=c
47220 ac_cpp='$CPP $CPPFLAGS'
47221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47230 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47232 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47233 for ac_func in _atan2f
47234 do :
47235 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47236 if test "x$ac_cv_func__atan2f" = x""yes; then :
47237 cat >>confdefs.h <<_ACEOF
47238 #define HAVE__ATAN2F 1
47239 _ACEOF
47242 done
47251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47252 $as_echo_n "checking for fabsf declaration... " >&6; }
47253 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47254 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47255 $as_echo_n "(cached) " >&6
47256 else
47259 ac_ext=cpp
47260 ac_cpp='$CXXCPP $CPPFLAGS'
47261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47266 /* end confdefs.h. */
47267 #include <math.h>
47268 #ifdef HAVE_IEEEFP_H
47269 #include <ieeefp.h>
47270 #endif
47273 main ()
47275 fabsf(0);
47277 return 0;
47279 _ACEOF
47280 if ac_fn_cxx_try_compile "$LINENO"; then :
47281 glibcxx_cv_func_fabsf_use=yes
47282 else
47283 glibcxx_cv_func_fabsf_use=no
47285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47286 ac_ext=c
47287 ac_cpp='$CPP $CPPFLAGS'
47288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47297 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47299 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47300 for ac_func in fabsf
47301 do :
47302 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47303 if test "x$ac_cv_func_fabsf" = x""yes; then :
47304 cat >>confdefs.h <<_ACEOF
47305 #define HAVE_FABSF 1
47306 _ACEOF
47309 done
47311 else
47313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47314 $as_echo_n "checking for _fabsf declaration... " >&6; }
47315 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47316 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47317 $as_echo_n "(cached) " >&6
47318 else
47321 ac_ext=cpp
47322 ac_cpp='$CXXCPP $CPPFLAGS'
47323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47328 /* end confdefs.h. */
47329 #include <math.h>
47330 #ifdef HAVE_IEEEFP_H
47331 #include <ieeefp.h>
47332 #endif
47335 main ()
47337 _fabsf(0);
47339 return 0;
47341 _ACEOF
47342 if ac_fn_cxx_try_compile "$LINENO"; then :
47343 glibcxx_cv_func__fabsf_use=yes
47344 else
47345 glibcxx_cv_func__fabsf_use=no
47347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47348 ac_ext=c
47349 ac_cpp='$CPP $CPPFLAGS'
47350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47359 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47361 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47362 for ac_func in _fabsf
47363 do :
47364 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47365 if test "x$ac_cv_func__fabsf" = x""yes; then :
47366 cat >>confdefs.h <<_ACEOF
47367 #define HAVE__FABSF 1
47368 _ACEOF
47371 done
47380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47381 $as_echo_n "checking for fmodf declaration... " >&6; }
47382 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47383 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47384 $as_echo_n "(cached) " >&6
47385 else
47388 ac_ext=cpp
47389 ac_cpp='$CXXCPP $CPPFLAGS'
47390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47395 /* end confdefs.h. */
47396 #include <math.h>
47398 main ()
47400 fmodf(0, 0);
47402 return 0;
47404 _ACEOF
47405 if ac_fn_cxx_try_compile "$LINENO"; then :
47406 glibcxx_cv_func_fmodf_use=yes
47407 else
47408 glibcxx_cv_func_fmodf_use=no
47410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47411 ac_ext=c
47412 ac_cpp='$CPP $CPPFLAGS'
47413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47422 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47424 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47425 for ac_func in fmodf
47426 do :
47427 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47428 if test "x$ac_cv_func_fmodf" = x""yes; then :
47429 cat >>confdefs.h <<_ACEOF
47430 #define HAVE_FMODF 1
47431 _ACEOF
47434 done
47436 else
47438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47439 $as_echo_n "checking for _fmodf declaration... " >&6; }
47440 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47441 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47442 $as_echo_n "(cached) " >&6
47443 else
47446 ac_ext=cpp
47447 ac_cpp='$CXXCPP $CPPFLAGS'
47448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47453 /* end confdefs.h. */
47454 #include <math.h>
47456 main ()
47458 _fmodf(0, 0);
47460 return 0;
47462 _ACEOF
47463 if ac_fn_cxx_try_compile "$LINENO"; then :
47464 glibcxx_cv_func__fmodf_use=yes
47465 else
47466 glibcxx_cv_func__fmodf_use=no
47468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47469 ac_ext=c
47470 ac_cpp='$CPP $CPPFLAGS'
47471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47480 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47482 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47483 for ac_func in _fmodf
47484 do :
47485 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47486 if test "x$ac_cv_func__fmodf" = x""yes; then :
47487 cat >>confdefs.h <<_ACEOF
47488 #define HAVE__FMODF 1
47489 _ACEOF
47492 done
47501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47502 $as_echo_n "checking for frexpf declaration... " >&6; }
47503 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47504 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47505 $as_echo_n "(cached) " >&6
47506 else
47509 ac_ext=cpp
47510 ac_cpp='$CXXCPP $CPPFLAGS'
47511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47516 /* end confdefs.h. */
47517 #include <math.h>
47519 main ()
47521 frexpf(0, 0);
47523 return 0;
47525 _ACEOF
47526 if ac_fn_cxx_try_compile "$LINENO"; then :
47527 glibcxx_cv_func_frexpf_use=yes
47528 else
47529 glibcxx_cv_func_frexpf_use=no
47531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47532 ac_ext=c
47533 ac_cpp='$CPP $CPPFLAGS'
47534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47543 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47545 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47546 for ac_func in frexpf
47547 do :
47548 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47549 if test "x$ac_cv_func_frexpf" = x""yes; then :
47550 cat >>confdefs.h <<_ACEOF
47551 #define HAVE_FREXPF 1
47552 _ACEOF
47555 done
47557 else
47559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47560 $as_echo_n "checking for _frexpf declaration... " >&6; }
47561 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47562 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47563 $as_echo_n "(cached) " >&6
47564 else
47567 ac_ext=cpp
47568 ac_cpp='$CXXCPP $CPPFLAGS'
47569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47574 /* end confdefs.h. */
47575 #include <math.h>
47577 main ()
47579 _frexpf(0, 0);
47581 return 0;
47583 _ACEOF
47584 if ac_fn_cxx_try_compile "$LINENO"; then :
47585 glibcxx_cv_func__frexpf_use=yes
47586 else
47587 glibcxx_cv_func__frexpf_use=no
47589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47590 ac_ext=c
47591 ac_cpp='$CPP $CPPFLAGS'
47592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47601 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47603 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47604 for ac_func in _frexpf
47605 do :
47606 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47607 if test "x$ac_cv_func__frexpf" = x""yes; then :
47608 cat >>confdefs.h <<_ACEOF
47609 #define HAVE__FREXPF 1
47610 _ACEOF
47613 done
47622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47623 $as_echo_n "checking for hypotf declaration... " >&6; }
47624 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47625 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47626 $as_echo_n "(cached) " >&6
47627 else
47630 ac_ext=cpp
47631 ac_cpp='$CXXCPP $CPPFLAGS'
47632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47637 /* end confdefs.h. */
47638 #include <math.h>
47640 main ()
47642 hypotf(0, 0);
47644 return 0;
47646 _ACEOF
47647 if ac_fn_cxx_try_compile "$LINENO"; then :
47648 glibcxx_cv_func_hypotf_use=yes
47649 else
47650 glibcxx_cv_func_hypotf_use=no
47652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47653 ac_ext=c
47654 ac_cpp='$CPP $CPPFLAGS'
47655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47664 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47666 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47667 for ac_func in hypotf
47668 do :
47669 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47670 if test "x$ac_cv_func_hypotf" = x""yes; then :
47671 cat >>confdefs.h <<_ACEOF
47672 #define HAVE_HYPOTF 1
47673 _ACEOF
47676 done
47678 else
47680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47681 $as_echo_n "checking for _hypotf declaration... " >&6; }
47682 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47683 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47684 $as_echo_n "(cached) " >&6
47685 else
47688 ac_ext=cpp
47689 ac_cpp='$CXXCPP $CPPFLAGS'
47690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47695 /* end confdefs.h. */
47696 #include <math.h>
47698 main ()
47700 _hypotf(0, 0);
47702 return 0;
47704 _ACEOF
47705 if ac_fn_cxx_try_compile "$LINENO"; then :
47706 glibcxx_cv_func__hypotf_use=yes
47707 else
47708 glibcxx_cv_func__hypotf_use=no
47710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47711 ac_ext=c
47712 ac_cpp='$CPP $CPPFLAGS'
47713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47722 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47724 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47725 for ac_func in _hypotf
47726 do :
47727 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47728 if test "x$ac_cv_func__hypotf" = x""yes; then :
47729 cat >>confdefs.h <<_ACEOF
47730 #define HAVE__HYPOTF 1
47731 _ACEOF
47734 done
47743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47744 $as_echo_n "checking for ldexpf declaration... " >&6; }
47745 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47746 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47747 $as_echo_n "(cached) " >&6
47748 else
47751 ac_ext=cpp
47752 ac_cpp='$CXXCPP $CPPFLAGS'
47753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47758 /* end confdefs.h. */
47759 #include <math.h>
47761 main ()
47763 ldexpf(0, 0);
47765 return 0;
47767 _ACEOF
47768 if ac_fn_cxx_try_compile "$LINENO"; then :
47769 glibcxx_cv_func_ldexpf_use=yes
47770 else
47771 glibcxx_cv_func_ldexpf_use=no
47773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47774 ac_ext=c
47775 ac_cpp='$CPP $CPPFLAGS'
47776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47785 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47787 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47788 for ac_func in ldexpf
47789 do :
47790 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47791 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47792 cat >>confdefs.h <<_ACEOF
47793 #define HAVE_LDEXPF 1
47794 _ACEOF
47797 done
47799 else
47801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47802 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47803 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47804 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47805 $as_echo_n "(cached) " >&6
47806 else
47809 ac_ext=cpp
47810 ac_cpp='$CXXCPP $CPPFLAGS'
47811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47816 /* end confdefs.h. */
47817 #include <math.h>
47819 main ()
47821 _ldexpf(0, 0);
47823 return 0;
47825 _ACEOF
47826 if ac_fn_cxx_try_compile "$LINENO"; then :
47827 glibcxx_cv_func__ldexpf_use=yes
47828 else
47829 glibcxx_cv_func__ldexpf_use=no
47831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47832 ac_ext=c
47833 ac_cpp='$CPP $CPPFLAGS'
47834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47843 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47845 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47846 for ac_func in _ldexpf
47847 do :
47848 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47849 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47850 cat >>confdefs.h <<_ACEOF
47851 #define HAVE__LDEXPF 1
47852 _ACEOF
47855 done
47864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47865 $as_echo_n "checking for logf declaration... " >&6; }
47866 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47867 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47868 $as_echo_n "(cached) " >&6
47869 else
47872 ac_ext=cpp
47873 ac_cpp='$CXXCPP $CPPFLAGS'
47874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47879 /* end confdefs.h. */
47880 #include <math.h>
47881 #ifdef HAVE_IEEEFP_H
47882 #include <ieeefp.h>
47883 #endif
47886 main ()
47888 logf(0);
47890 return 0;
47892 _ACEOF
47893 if ac_fn_cxx_try_compile "$LINENO"; then :
47894 glibcxx_cv_func_logf_use=yes
47895 else
47896 glibcxx_cv_func_logf_use=no
47898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47899 ac_ext=c
47900 ac_cpp='$CPP $CPPFLAGS'
47901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47910 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47912 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47913 for ac_func in logf
47914 do :
47915 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47916 if test "x$ac_cv_func_logf" = x""yes; then :
47917 cat >>confdefs.h <<_ACEOF
47918 #define HAVE_LOGF 1
47919 _ACEOF
47922 done
47924 else
47926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47927 $as_echo_n "checking for _logf declaration... " >&6; }
47928 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47929 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47930 $as_echo_n "(cached) " >&6
47931 else
47934 ac_ext=cpp
47935 ac_cpp='$CXXCPP $CPPFLAGS'
47936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47941 /* end confdefs.h. */
47942 #include <math.h>
47943 #ifdef HAVE_IEEEFP_H
47944 #include <ieeefp.h>
47945 #endif
47948 main ()
47950 _logf(0);
47952 return 0;
47954 _ACEOF
47955 if ac_fn_cxx_try_compile "$LINENO"; then :
47956 glibcxx_cv_func__logf_use=yes
47957 else
47958 glibcxx_cv_func__logf_use=no
47960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47961 ac_ext=c
47962 ac_cpp='$CPP $CPPFLAGS'
47963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47972 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47974 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47975 for ac_func in _logf
47976 do :
47977 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47978 if test "x$ac_cv_func__logf" = x""yes; then :
47979 cat >>confdefs.h <<_ACEOF
47980 #define HAVE__LOGF 1
47981 _ACEOF
47984 done
47993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47994 $as_echo_n "checking for log10f declaration... " >&6; }
47995 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47996 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47997 $as_echo_n "(cached) " >&6
47998 else
48001 ac_ext=cpp
48002 ac_cpp='$CXXCPP $CPPFLAGS'
48003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48008 /* end confdefs.h. */
48009 #include <math.h>
48010 #ifdef HAVE_IEEEFP_H
48011 #include <ieeefp.h>
48012 #endif
48015 main ()
48017 log10f(0);
48019 return 0;
48021 _ACEOF
48022 if ac_fn_cxx_try_compile "$LINENO"; then :
48023 glibcxx_cv_func_log10f_use=yes
48024 else
48025 glibcxx_cv_func_log10f_use=no
48027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48028 ac_ext=c
48029 ac_cpp='$CPP $CPPFLAGS'
48030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48039 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48041 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48042 for ac_func in log10f
48043 do :
48044 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48045 if test "x$ac_cv_func_log10f" = x""yes; then :
48046 cat >>confdefs.h <<_ACEOF
48047 #define HAVE_LOG10F 1
48048 _ACEOF
48051 done
48053 else
48055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48056 $as_echo_n "checking for _log10f declaration... " >&6; }
48057 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48058 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48059 $as_echo_n "(cached) " >&6
48060 else
48063 ac_ext=cpp
48064 ac_cpp='$CXXCPP $CPPFLAGS'
48065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48070 /* end confdefs.h. */
48071 #include <math.h>
48072 #ifdef HAVE_IEEEFP_H
48073 #include <ieeefp.h>
48074 #endif
48077 main ()
48079 _log10f(0);
48081 return 0;
48083 _ACEOF
48084 if ac_fn_cxx_try_compile "$LINENO"; then :
48085 glibcxx_cv_func__log10f_use=yes
48086 else
48087 glibcxx_cv_func__log10f_use=no
48089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48090 ac_ext=c
48091 ac_cpp='$CPP $CPPFLAGS'
48092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48101 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48103 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48104 for ac_func in _log10f
48105 do :
48106 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48107 if test "x$ac_cv_func__log10f" = x""yes; then :
48108 cat >>confdefs.h <<_ACEOF
48109 #define HAVE__LOG10F 1
48110 _ACEOF
48113 done
48122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48123 $as_echo_n "checking for modff declaration... " >&6; }
48124 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48125 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48126 $as_echo_n "(cached) " >&6
48127 else
48130 ac_ext=cpp
48131 ac_cpp='$CXXCPP $CPPFLAGS'
48132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48137 /* end confdefs.h. */
48138 #include <math.h>
48140 main ()
48142 modff(0, 0);
48144 return 0;
48146 _ACEOF
48147 if ac_fn_cxx_try_compile "$LINENO"; then :
48148 glibcxx_cv_func_modff_use=yes
48149 else
48150 glibcxx_cv_func_modff_use=no
48152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48153 ac_ext=c
48154 ac_cpp='$CPP $CPPFLAGS'
48155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48164 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48166 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48167 for ac_func in modff
48168 do :
48169 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48170 if test "x$ac_cv_func_modff" = x""yes; then :
48171 cat >>confdefs.h <<_ACEOF
48172 #define HAVE_MODFF 1
48173 _ACEOF
48176 done
48178 else
48180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48181 $as_echo_n "checking for _modff declaration... " >&6; }
48182 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48183 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48184 $as_echo_n "(cached) " >&6
48185 else
48188 ac_ext=cpp
48189 ac_cpp='$CXXCPP $CPPFLAGS'
48190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48195 /* end confdefs.h. */
48196 #include <math.h>
48198 main ()
48200 _modff(0, 0);
48202 return 0;
48204 _ACEOF
48205 if ac_fn_cxx_try_compile "$LINENO"; then :
48206 glibcxx_cv_func__modff_use=yes
48207 else
48208 glibcxx_cv_func__modff_use=no
48210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48211 ac_ext=c
48212 ac_cpp='$CPP $CPPFLAGS'
48213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48222 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48224 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48225 for ac_func in _modff
48226 do :
48227 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48228 if test "x$ac_cv_func__modff" = x""yes; then :
48229 cat >>confdefs.h <<_ACEOF
48230 #define HAVE__MODFF 1
48231 _ACEOF
48234 done
48243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48244 $as_echo_n "checking for modf declaration... " >&6; }
48245 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48246 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48247 $as_echo_n "(cached) " >&6
48248 else
48251 ac_ext=cpp
48252 ac_cpp='$CXXCPP $CPPFLAGS'
48253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48258 /* end confdefs.h. */
48259 #include <math.h>
48261 main ()
48263 modf(0, 0);
48265 return 0;
48267 _ACEOF
48268 if ac_fn_cxx_try_compile "$LINENO"; then :
48269 glibcxx_cv_func_modf_use=yes
48270 else
48271 glibcxx_cv_func_modf_use=no
48273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48274 ac_ext=c
48275 ac_cpp='$CPP $CPPFLAGS'
48276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48285 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48287 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48288 for ac_func in modf
48289 do :
48290 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48291 if test "x$ac_cv_func_modf" = x""yes; then :
48292 cat >>confdefs.h <<_ACEOF
48293 #define HAVE_MODF 1
48294 _ACEOF
48297 done
48299 else
48301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48302 $as_echo_n "checking for _modf declaration... " >&6; }
48303 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48304 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48305 $as_echo_n "(cached) " >&6
48306 else
48309 ac_ext=cpp
48310 ac_cpp='$CXXCPP $CPPFLAGS'
48311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48316 /* end confdefs.h. */
48317 #include <math.h>
48319 main ()
48321 _modf(0, 0);
48323 return 0;
48325 _ACEOF
48326 if ac_fn_cxx_try_compile "$LINENO"; then :
48327 glibcxx_cv_func__modf_use=yes
48328 else
48329 glibcxx_cv_func__modf_use=no
48331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48332 ac_ext=c
48333 ac_cpp='$CPP $CPPFLAGS'
48334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48343 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48345 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48346 for ac_func in _modf
48347 do :
48348 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48349 if test "x$ac_cv_func__modf" = x""yes; then :
48350 cat >>confdefs.h <<_ACEOF
48351 #define HAVE__MODF 1
48352 _ACEOF
48355 done
48364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48365 $as_echo_n "checking for powf declaration... " >&6; }
48366 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48367 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48368 $as_echo_n "(cached) " >&6
48369 else
48372 ac_ext=cpp
48373 ac_cpp='$CXXCPP $CPPFLAGS'
48374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48379 /* end confdefs.h. */
48380 #include <math.h>
48382 main ()
48384 powf(0, 0);
48386 return 0;
48388 _ACEOF
48389 if ac_fn_cxx_try_compile "$LINENO"; then :
48390 glibcxx_cv_func_powf_use=yes
48391 else
48392 glibcxx_cv_func_powf_use=no
48394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48395 ac_ext=c
48396 ac_cpp='$CPP $CPPFLAGS'
48397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48406 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48408 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48409 for ac_func in powf
48410 do :
48411 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48412 if test "x$ac_cv_func_powf" = x""yes; then :
48413 cat >>confdefs.h <<_ACEOF
48414 #define HAVE_POWF 1
48415 _ACEOF
48418 done
48420 else
48422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48423 $as_echo_n "checking for _powf declaration... " >&6; }
48424 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48425 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48426 $as_echo_n "(cached) " >&6
48427 else
48430 ac_ext=cpp
48431 ac_cpp='$CXXCPP $CPPFLAGS'
48432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48437 /* end confdefs.h. */
48438 #include <math.h>
48440 main ()
48442 _powf(0, 0);
48444 return 0;
48446 _ACEOF
48447 if ac_fn_cxx_try_compile "$LINENO"; then :
48448 glibcxx_cv_func__powf_use=yes
48449 else
48450 glibcxx_cv_func__powf_use=no
48452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48453 ac_ext=c
48454 ac_cpp='$CPP $CPPFLAGS'
48455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48464 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48466 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48467 for ac_func in _powf
48468 do :
48469 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48470 if test "x$ac_cv_func__powf" = x""yes; then :
48471 cat >>confdefs.h <<_ACEOF
48472 #define HAVE__POWF 1
48473 _ACEOF
48476 done
48485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48486 $as_echo_n "checking for sqrtf declaration... " >&6; }
48487 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48488 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48489 $as_echo_n "(cached) " >&6
48490 else
48493 ac_ext=cpp
48494 ac_cpp='$CXXCPP $CPPFLAGS'
48495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48500 /* end confdefs.h. */
48501 #include <math.h>
48502 #ifdef HAVE_IEEEFP_H
48503 #include <ieeefp.h>
48504 #endif
48507 main ()
48509 sqrtf(0);
48511 return 0;
48513 _ACEOF
48514 if ac_fn_cxx_try_compile "$LINENO"; then :
48515 glibcxx_cv_func_sqrtf_use=yes
48516 else
48517 glibcxx_cv_func_sqrtf_use=no
48519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48520 ac_ext=c
48521 ac_cpp='$CPP $CPPFLAGS'
48522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48531 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48533 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48534 for ac_func in sqrtf
48535 do :
48536 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48537 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48538 cat >>confdefs.h <<_ACEOF
48539 #define HAVE_SQRTF 1
48540 _ACEOF
48543 done
48545 else
48547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48548 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48549 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48550 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48551 $as_echo_n "(cached) " >&6
48552 else
48555 ac_ext=cpp
48556 ac_cpp='$CXXCPP $CPPFLAGS'
48557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48562 /* end confdefs.h. */
48563 #include <math.h>
48564 #ifdef HAVE_IEEEFP_H
48565 #include <ieeefp.h>
48566 #endif
48569 main ()
48571 _sqrtf(0);
48573 return 0;
48575 _ACEOF
48576 if ac_fn_cxx_try_compile "$LINENO"; then :
48577 glibcxx_cv_func__sqrtf_use=yes
48578 else
48579 glibcxx_cv_func__sqrtf_use=no
48581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48582 ac_ext=c
48583 ac_cpp='$CPP $CPPFLAGS'
48584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48593 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48595 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48596 for ac_func in _sqrtf
48597 do :
48598 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48599 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48600 cat >>confdefs.h <<_ACEOF
48601 #define HAVE__SQRTF 1
48602 _ACEOF
48605 done
48614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48615 $as_echo_n "checking for sincosf declaration... " >&6; }
48616 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48617 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48618 $as_echo_n "(cached) " >&6
48619 else
48622 ac_ext=cpp
48623 ac_cpp='$CXXCPP $CPPFLAGS'
48624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48629 /* end confdefs.h. */
48630 #include <math.h>
48632 main ()
48634 sincosf(0, 0, 0);
48636 return 0;
48638 _ACEOF
48639 if ac_fn_cxx_try_compile "$LINENO"; then :
48640 glibcxx_cv_func_sincosf_use=yes
48641 else
48642 glibcxx_cv_func_sincosf_use=no
48644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48645 ac_ext=c
48646 ac_cpp='$CPP $CPPFLAGS'
48647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48656 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48658 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48659 for ac_func in sincosf
48660 do :
48661 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48662 if test "x$ac_cv_func_sincosf" = x""yes; then :
48663 cat >>confdefs.h <<_ACEOF
48664 #define HAVE_SINCOSF 1
48665 _ACEOF
48668 done
48670 else
48672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48673 $as_echo_n "checking for _sincosf declaration... " >&6; }
48674 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48675 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48676 $as_echo_n "(cached) " >&6
48677 else
48680 ac_ext=cpp
48681 ac_cpp='$CXXCPP $CPPFLAGS'
48682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48687 /* end confdefs.h. */
48688 #include <math.h>
48690 main ()
48692 _sincosf(0, 0, 0);
48694 return 0;
48696 _ACEOF
48697 if ac_fn_cxx_try_compile "$LINENO"; then :
48698 glibcxx_cv_func__sincosf_use=yes
48699 else
48700 glibcxx_cv_func__sincosf_use=no
48702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48703 ac_ext=c
48704 ac_cpp='$CPP $CPPFLAGS'
48705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48714 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48716 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48717 for ac_func in _sincosf
48718 do :
48719 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48720 if test "x$ac_cv_func__sincosf" = x""yes; then :
48721 cat >>confdefs.h <<_ACEOF
48722 #define HAVE__SINCOSF 1
48723 _ACEOF
48726 done
48735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48736 $as_echo_n "checking for finitef declaration... " >&6; }
48737 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48738 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48739 $as_echo_n "(cached) " >&6
48740 else
48743 ac_ext=cpp
48744 ac_cpp='$CXXCPP $CPPFLAGS'
48745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48750 /* end confdefs.h. */
48751 #include <math.h>
48752 #ifdef HAVE_IEEEFP_H
48753 #include <ieeefp.h>
48754 #endif
48757 main ()
48759 finitef(0);
48761 return 0;
48763 _ACEOF
48764 if ac_fn_cxx_try_compile "$LINENO"; then :
48765 glibcxx_cv_func_finitef_use=yes
48766 else
48767 glibcxx_cv_func_finitef_use=no
48769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48770 ac_ext=c
48771 ac_cpp='$CPP $CPPFLAGS'
48772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48781 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48783 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48784 for ac_func in finitef
48785 do :
48786 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48787 if test "x$ac_cv_func_finitef" = x""yes; then :
48788 cat >>confdefs.h <<_ACEOF
48789 #define HAVE_FINITEF 1
48790 _ACEOF
48793 done
48795 else
48797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48798 $as_echo_n "checking for _finitef declaration... " >&6; }
48799 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48800 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48801 $as_echo_n "(cached) " >&6
48802 else
48805 ac_ext=cpp
48806 ac_cpp='$CXXCPP $CPPFLAGS'
48807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48812 /* end confdefs.h. */
48813 #include <math.h>
48814 #ifdef HAVE_IEEEFP_H
48815 #include <ieeefp.h>
48816 #endif
48819 main ()
48821 _finitef(0);
48823 return 0;
48825 _ACEOF
48826 if ac_fn_cxx_try_compile "$LINENO"; then :
48827 glibcxx_cv_func__finitef_use=yes
48828 else
48829 glibcxx_cv_func__finitef_use=no
48831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48832 ac_ext=c
48833 ac_cpp='$CPP $CPPFLAGS'
48834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48843 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48845 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48846 for ac_func in _finitef
48847 do :
48848 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48849 if test "x$ac_cv_func__finitef" = x""yes; then :
48850 cat >>confdefs.h <<_ACEOF
48851 #define HAVE__FINITEF 1
48852 _ACEOF
48855 done
48864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48865 $as_echo_n "checking for long double trig functions... " >&6; }
48866 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48867 $as_echo_n "(cached) " >&6
48868 else
48871 ac_ext=cpp
48872 ac_cpp='$CXXCPP $CPPFLAGS'
48873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48878 /* end confdefs.h. */
48879 #include <math.h>
48881 main ()
48883 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48885 return 0;
48887 _ACEOF
48888 if ac_fn_cxx_try_compile "$LINENO"; then :
48889 glibcxx_cv_func_long_double_trig_use=yes
48890 else
48891 glibcxx_cv_func_long_double_trig_use=no
48893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48894 ac_ext=c
48895 ac_cpp='$CPP $CPPFLAGS'
48896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48903 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48904 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48905 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48906 do :
48907 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48908 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48909 eval as_val=\$$as_ac_var
48910 if test "x$as_val" = x""yes; then :
48911 cat >>confdefs.h <<_ACEOF
48912 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48913 _ACEOF
48916 done
48918 else
48919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48920 $as_echo_n "checking for _long double trig functions... " >&6; }
48921 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48922 $as_echo_n "(cached) " >&6
48923 else
48926 ac_ext=cpp
48927 ac_cpp='$CXXCPP $CPPFLAGS'
48928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48933 /* end confdefs.h. */
48934 #include <math.h>
48936 main ()
48938 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48940 return 0;
48942 _ACEOF
48943 if ac_fn_cxx_try_compile "$LINENO"; then :
48944 glibcxx_cv_func__long_double_trig_use=yes
48945 else
48946 glibcxx_cv_func__long_double_trig_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
48957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48958 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48959 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48960 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48961 do :
48962 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48963 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48964 eval as_val=\$$as_ac_var
48965 if test "x$as_val" = x""yes; then :
48966 cat >>confdefs.h <<_ACEOF
48967 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48968 _ACEOF
48971 done
48980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48981 $as_echo_n "checking for long double round functions... " >&6; }
48982 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48983 $as_echo_n "(cached) " >&6
48984 else
48987 ac_ext=cpp
48988 ac_cpp='$CXXCPP $CPPFLAGS'
48989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48994 /* end confdefs.h. */
48995 #include <math.h>
48997 main ()
48999 ceill (0); floorl (0);
49001 return 0;
49003 _ACEOF
49004 if ac_fn_cxx_try_compile "$LINENO"; then :
49005 glibcxx_cv_func_long_double_round_use=yes
49006 else
49007 glibcxx_cv_func_long_double_round_use=no
49009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49010 ac_ext=c
49011 ac_cpp='$CPP $CPPFLAGS'
49012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49019 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49020 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49021 for ac_func in ceill floorl
49022 do :
49023 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49024 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49025 eval as_val=\$$as_ac_var
49026 if test "x$as_val" = x""yes; then :
49027 cat >>confdefs.h <<_ACEOF
49028 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49029 _ACEOF
49032 done
49034 else
49035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49036 $as_echo_n "checking for _long double round functions... " >&6; }
49037 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49038 $as_echo_n "(cached) " >&6
49039 else
49042 ac_ext=cpp
49043 ac_cpp='$CXXCPP $CPPFLAGS'
49044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49049 /* end confdefs.h. */
49050 #include <math.h>
49052 main ()
49054 _ceill (0); _floorl (0);
49056 return 0;
49058 _ACEOF
49059 if ac_fn_cxx_try_compile "$LINENO"; then :
49060 glibcxx_cv_func__long_double_round_use=yes
49061 else
49062 glibcxx_cv_func__long_double_round_use=no
49064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49065 ac_ext=c
49066 ac_cpp='$CPP $CPPFLAGS'
49067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49074 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49075 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49076 for ac_func in _ceill _floorl
49077 do :
49078 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49079 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49080 eval as_val=\$$as_ac_var
49081 if test "x$as_val" = x""yes; then :
49082 cat >>confdefs.h <<_ACEOF
49083 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49084 _ACEOF
49087 done
49097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49098 $as_echo_n "checking for isnanl declaration... " >&6; }
49099 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49100 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49101 $as_echo_n "(cached) " >&6
49102 else
49105 ac_ext=cpp
49106 ac_cpp='$CXXCPP $CPPFLAGS'
49107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49112 /* end confdefs.h. */
49113 #include <math.h>
49114 #ifdef HAVE_IEEEFP_H
49115 #include <ieeefp.h>
49116 #endif
49119 main ()
49121 isnanl(0);
49123 return 0;
49125 _ACEOF
49126 if ac_fn_cxx_try_compile "$LINENO"; then :
49127 glibcxx_cv_func_isnanl_use=yes
49128 else
49129 glibcxx_cv_func_isnanl_use=no
49131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49132 ac_ext=c
49133 ac_cpp='$CPP $CPPFLAGS'
49134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49143 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49145 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49146 for ac_func in isnanl
49147 do :
49148 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49149 if test "x$ac_cv_func_isnanl" = x""yes; then :
49150 cat >>confdefs.h <<_ACEOF
49151 #define HAVE_ISNANL 1
49152 _ACEOF
49155 done
49157 else
49159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49160 $as_echo_n "checking for _isnanl declaration... " >&6; }
49161 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49162 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49163 $as_echo_n "(cached) " >&6
49164 else
49167 ac_ext=cpp
49168 ac_cpp='$CXXCPP $CPPFLAGS'
49169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49174 /* end confdefs.h. */
49175 #include <math.h>
49176 #ifdef HAVE_IEEEFP_H
49177 #include <ieeefp.h>
49178 #endif
49181 main ()
49183 _isnanl(0);
49185 return 0;
49187 _ACEOF
49188 if ac_fn_cxx_try_compile "$LINENO"; then :
49189 glibcxx_cv_func__isnanl_use=yes
49190 else
49191 glibcxx_cv_func__isnanl_use=no
49193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49194 ac_ext=c
49195 ac_cpp='$CPP $CPPFLAGS'
49196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49205 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49207 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49208 for ac_func in _isnanl
49209 do :
49210 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49211 if test "x$ac_cv_func__isnanl" = x""yes; then :
49212 cat >>confdefs.h <<_ACEOF
49213 #define HAVE__ISNANL 1
49214 _ACEOF
49217 done
49226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49227 $as_echo_n "checking for isinfl declaration... " >&6; }
49228 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49229 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49230 $as_echo_n "(cached) " >&6
49231 else
49234 ac_ext=cpp
49235 ac_cpp='$CXXCPP $CPPFLAGS'
49236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49241 /* end confdefs.h. */
49242 #include <math.h>
49243 #ifdef HAVE_IEEEFP_H
49244 #include <ieeefp.h>
49245 #endif
49248 main ()
49250 isinfl(0);
49252 return 0;
49254 _ACEOF
49255 if ac_fn_cxx_try_compile "$LINENO"; then :
49256 glibcxx_cv_func_isinfl_use=yes
49257 else
49258 glibcxx_cv_func_isinfl_use=no
49260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49261 ac_ext=c
49262 ac_cpp='$CPP $CPPFLAGS'
49263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49272 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49274 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49275 for ac_func in isinfl
49276 do :
49277 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49278 if test "x$ac_cv_func_isinfl" = x""yes; then :
49279 cat >>confdefs.h <<_ACEOF
49280 #define HAVE_ISINFL 1
49281 _ACEOF
49284 done
49286 else
49288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49289 $as_echo_n "checking for _isinfl declaration... " >&6; }
49290 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49291 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49292 $as_echo_n "(cached) " >&6
49293 else
49296 ac_ext=cpp
49297 ac_cpp='$CXXCPP $CPPFLAGS'
49298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49303 /* end confdefs.h. */
49304 #include <math.h>
49305 #ifdef HAVE_IEEEFP_H
49306 #include <ieeefp.h>
49307 #endif
49310 main ()
49312 _isinfl(0);
49314 return 0;
49316 _ACEOF
49317 if ac_fn_cxx_try_compile "$LINENO"; then :
49318 glibcxx_cv_func__isinfl_use=yes
49319 else
49320 glibcxx_cv_func__isinfl_use=no
49322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49323 ac_ext=c
49324 ac_cpp='$CPP $CPPFLAGS'
49325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49334 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49336 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49337 for ac_func in _isinfl
49338 do :
49339 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49340 if test "x$ac_cv_func__isinfl" = x""yes; then :
49341 cat >>confdefs.h <<_ACEOF
49342 #define HAVE__ISINFL 1
49343 _ACEOF
49346 done
49355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49356 $as_echo_n "checking for atan2l declaration... " >&6; }
49357 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49358 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49359 $as_echo_n "(cached) " >&6
49360 else
49363 ac_ext=cpp
49364 ac_cpp='$CXXCPP $CPPFLAGS'
49365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49370 /* end confdefs.h. */
49371 #include <math.h>
49373 main ()
49375 atan2l(0, 0);
49377 return 0;
49379 _ACEOF
49380 if ac_fn_cxx_try_compile "$LINENO"; then :
49381 glibcxx_cv_func_atan2l_use=yes
49382 else
49383 glibcxx_cv_func_atan2l_use=no
49385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49386 ac_ext=c
49387 ac_cpp='$CPP $CPPFLAGS'
49388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49397 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49399 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49400 for ac_func in atan2l
49401 do :
49402 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49403 if test "x$ac_cv_func_atan2l" = x""yes; then :
49404 cat >>confdefs.h <<_ACEOF
49405 #define HAVE_ATAN2L 1
49406 _ACEOF
49409 done
49411 else
49413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49414 $as_echo_n "checking for _atan2l declaration... " >&6; }
49415 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49416 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49417 $as_echo_n "(cached) " >&6
49418 else
49421 ac_ext=cpp
49422 ac_cpp='$CXXCPP $CPPFLAGS'
49423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49428 /* end confdefs.h. */
49429 #include <math.h>
49431 main ()
49433 _atan2l(0, 0);
49435 return 0;
49437 _ACEOF
49438 if ac_fn_cxx_try_compile "$LINENO"; then :
49439 glibcxx_cv_func__atan2l_use=yes
49440 else
49441 glibcxx_cv_func__atan2l_use=no
49443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49444 ac_ext=c
49445 ac_cpp='$CPP $CPPFLAGS'
49446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49455 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49457 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49458 for ac_func in _atan2l
49459 do :
49460 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49461 if test "x$ac_cv_func__atan2l" = x""yes; then :
49462 cat >>confdefs.h <<_ACEOF
49463 #define HAVE__ATAN2L 1
49464 _ACEOF
49467 done
49476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49477 $as_echo_n "checking for expl declaration... " >&6; }
49478 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49479 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49480 $as_echo_n "(cached) " >&6
49481 else
49484 ac_ext=cpp
49485 ac_cpp='$CXXCPP $CPPFLAGS'
49486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49491 /* end confdefs.h. */
49492 #include <math.h>
49493 #ifdef HAVE_IEEEFP_H
49494 #include <ieeefp.h>
49495 #endif
49498 main ()
49500 expl(0);
49502 return 0;
49504 _ACEOF
49505 if ac_fn_cxx_try_compile "$LINENO"; then :
49506 glibcxx_cv_func_expl_use=yes
49507 else
49508 glibcxx_cv_func_expl_use=no
49510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49511 ac_ext=c
49512 ac_cpp='$CPP $CPPFLAGS'
49513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49522 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49524 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49525 for ac_func in expl
49526 do :
49527 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49528 if test "x$ac_cv_func_expl" = x""yes; then :
49529 cat >>confdefs.h <<_ACEOF
49530 #define HAVE_EXPL 1
49531 _ACEOF
49534 done
49536 else
49538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49539 $as_echo_n "checking for _expl declaration... " >&6; }
49540 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49541 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49542 $as_echo_n "(cached) " >&6
49543 else
49546 ac_ext=cpp
49547 ac_cpp='$CXXCPP $CPPFLAGS'
49548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49553 /* end confdefs.h. */
49554 #include <math.h>
49555 #ifdef HAVE_IEEEFP_H
49556 #include <ieeefp.h>
49557 #endif
49560 main ()
49562 _expl(0);
49564 return 0;
49566 _ACEOF
49567 if ac_fn_cxx_try_compile "$LINENO"; then :
49568 glibcxx_cv_func__expl_use=yes
49569 else
49570 glibcxx_cv_func__expl_use=no
49572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49573 ac_ext=c
49574 ac_cpp='$CPP $CPPFLAGS'
49575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49584 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49586 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49587 for ac_func in _expl
49588 do :
49589 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49590 if test "x$ac_cv_func__expl" = x""yes; then :
49591 cat >>confdefs.h <<_ACEOF
49592 #define HAVE__EXPL 1
49593 _ACEOF
49596 done
49605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49606 $as_echo_n "checking for fabsl declaration... " >&6; }
49607 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49608 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49609 $as_echo_n "(cached) " >&6
49610 else
49613 ac_ext=cpp
49614 ac_cpp='$CXXCPP $CPPFLAGS'
49615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49620 /* end confdefs.h. */
49621 #include <math.h>
49622 #ifdef HAVE_IEEEFP_H
49623 #include <ieeefp.h>
49624 #endif
49627 main ()
49629 fabsl(0);
49631 return 0;
49633 _ACEOF
49634 if ac_fn_cxx_try_compile "$LINENO"; then :
49635 glibcxx_cv_func_fabsl_use=yes
49636 else
49637 glibcxx_cv_func_fabsl_use=no
49639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49640 ac_ext=c
49641 ac_cpp='$CPP $CPPFLAGS'
49642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49651 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49653 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49654 for ac_func in fabsl
49655 do :
49656 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49657 if test "x$ac_cv_func_fabsl" = x""yes; then :
49658 cat >>confdefs.h <<_ACEOF
49659 #define HAVE_FABSL 1
49660 _ACEOF
49663 done
49665 else
49667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49668 $as_echo_n "checking for _fabsl declaration... " >&6; }
49669 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49670 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49671 $as_echo_n "(cached) " >&6
49672 else
49675 ac_ext=cpp
49676 ac_cpp='$CXXCPP $CPPFLAGS'
49677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49682 /* end confdefs.h. */
49683 #include <math.h>
49684 #ifdef HAVE_IEEEFP_H
49685 #include <ieeefp.h>
49686 #endif
49689 main ()
49691 _fabsl(0);
49693 return 0;
49695 _ACEOF
49696 if ac_fn_cxx_try_compile "$LINENO"; then :
49697 glibcxx_cv_func__fabsl_use=yes
49698 else
49699 glibcxx_cv_func__fabsl_use=no
49701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49702 ac_ext=c
49703 ac_cpp='$CPP $CPPFLAGS'
49704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49713 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49715 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49716 for ac_func in _fabsl
49717 do :
49718 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49719 if test "x$ac_cv_func__fabsl" = x""yes; then :
49720 cat >>confdefs.h <<_ACEOF
49721 #define HAVE__FABSL 1
49722 _ACEOF
49725 done
49734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49735 $as_echo_n "checking for fmodl declaration... " >&6; }
49736 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49737 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49738 $as_echo_n "(cached) " >&6
49739 else
49742 ac_ext=cpp
49743 ac_cpp='$CXXCPP $CPPFLAGS'
49744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49749 /* end confdefs.h. */
49750 #include <math.h>
49752 main ()
49754 fmodl(0, 0);
49756 return 0;
49758 _ACEOF
49759 if ac_fn_cxx_try_compile "$LINENO"; then :
49760 glibcxx_cv_func_fmodl_use=yes
49761 else
49762 glibcxx_cv_func_fmodl_use=no
49764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49765 ac_ext=c
49766 ac_cpp='$CPP $CPPFLAGS'
49767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49776 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49778 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49779 for ac_func in fmodl
49780 do :
49781 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49782 if test "x$ac_cv_func_fmodl" = x""yes; then :
49783 cat >>confdefs.h <<_ACEOF
49784 #define HAVE_FMODL 1
49785 _ACEOF
49788 done
49790 else
49792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49793 $as_echo_n "checking for _fmodl declaration... " >&6; }
49794 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49795 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49796 $as_echo_n "(cached) " >&6
49797 else
49800 ac_ext=cpp
49801 ac_cpp='$CXXCPP $CPPFLAGS'
49802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49807 /* end confdefs.h. */
49808 #include <math.h>
49810 main ()
49812 _fmodl(0, 0);
49814 return 0;
49816 _ACEOF
49817 if ac_fn_cxx_try_compile "$LINENO"; then :
49818 glibcxx_cv_func__fmodl_use=yes
49819 else
49820 glibcxx_cv_func__fmodl_use=no
49822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49823 ac_ext=c
49824 ac_cpp='$CPP $CPPFLAGS'
49825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49834 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49836 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49837 for ac_func in _fmodl
49838 do :
49839 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49840 if test "x$ac_cv_func__fmodl" = x""yes; then :
49841 cat >>confdefs.h <<_ACEOF
49842 #define HAVE__FMODL 1
49843 _ACEOF
49846 done
49855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49856 $as_echo_n "checking for frexpl declaration... " >&6; }
49857 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49858 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49859 $as_echo_n "(cached) " >&6
49860 else
49863 ac_ext=cpp
49864 ac_cpp='$CXXCPP $CPPFLAGS'
49865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49870 /* end confdefs.h. */
49871 #include <math.h>
49873 main ()
49875 frexpl(0, 0);
49877 return 0;
49879 _ACEOF
49880 if ac_fn_cxx_try_compile "$LINENO"; then :
49881 glibcxx_cv_func_frexpl_use=yes
49882 else
49883 glibcxx_cv_func_frexpl_use=no
49885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49886 ac_ext=c
49887 ac_cpp='$CPP $CPPFLAGS'
49888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49897 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49899 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49900 for ac_func in frexpl
49901 do :
49902 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49903 if test "x$ac_cv_func_frexpl" = x""yes; then :
49904 cat >>confdefs.h <<_ACEOF
49905 #define HAVE_FREXPL 1
49906 _ACEOF
49909 done
49911 else
49913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49914 $as_echo_n "checking for _frexpl declaration... " >&6; }
49915 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49916 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49917 $as_echo_n "(cached) " >&6
49918 else
49921 ac_ext=cpp
49922 ac_cpp='$CXXCPP $CPPFLAGS'
49923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49928 /* end confdefs.h. */
49929 #include <math.h>
49931 main ()
49933 _frexpl(0, 0);
49935 return 0;
49937 _ACEOF
49938 if ac_fn_cxx_try_compile "$LINENO"; then :
49939 glibcxx_cv_func__frexpl_use=yes
49940 else
49941 glibcxx_cv_func__frexpl_use=no
49943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49944 ac_ext=c
49945 ac_cpp='$CPP $CPPFLAGS'
49946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49955 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49957 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49958 for ac_func in _frexpl
49959 do :
49960 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49961 if test "x$ac_cv_func__frexpl" = x""yes; then :
49962 cat >>confdefs.h <<_ACEOF
49963 #define HAVE__FREXPL 1
49964 _ACEOF
49967 done
49976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49977 $as_echo_n "checking for hypotl declaration... " >&6; }
49978 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49979 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49980 $as_echo_n "(cached) " >&6
49981 else
49984 ac_ext=cpp
49985 ac_cpp='$CXXCPP $CPPFLAGS'
49986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49991 /* end confdefs.h. */
49992 #include <math.h>
49994 main ()
49996 hypotl(0, 0);
49998 return 0;
50000 _ACEOF
50001 if ac_fn_cxx_try_compile "$LINENO"; then :
50002 glibcxx_cv_func_hypotl_use=yes
50003 else
50004 glibcxx_cv_func_hypotl_use=no
50006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50007 ac_ext=c
50008 ac_cpp='$CPP $CPPFLAGS'
50009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50018 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50020 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50021 for ac_func in hypotl
50022 do :
50023 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50024 if test "x$ac_cv_func_hypotl" = x""yes; then :
50025 cat >>confdefs.h <<_ACEOF
50026 #define HAVE_HYPOTL 1
50027 _ACEOF
50030 done
50032 else
50034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50035 $as_echo_n "checking for _hypotl declaration... " >&6; }
50036 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50037 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50038 $as_echo_n "(cached) " >&6
50039 else
50042 ac_ext=cpp
50043 ac_cpp='$CXXCPP $CPPFLAGS'
50044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50049 /* end confdefs.h. */
50050 #include <math.h>
50052 main ()
50054 _hypotl(0, 0);
50056 return 0;
50058 _ACEOF
50059 if ac_fn_cxx_try_compile "$LINENO"; then :
50060 glibcxx_cv_func__hypotl_use=yes
50061 else
50062 glibcxx_cv_func__hypotl_use=no
50064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50065 ac_ext=c
50066 ac_cpp='$CPP $CPPFLAGS'
50067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50076 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50078 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50079 for ac_func in _hypotl
50080 do :
50081 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50082 if test "x$ac_cv_func__hypotl" = x""yes; then :
50083 cat >>confdefs.h <<_ACEOF
50084 #define HAVE__HYPOTL 1
50085 _ACEOF
50088 done
50097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50098 $as_echo_n "checking for ldexpl declaration... " >&6; }
50099 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50100 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50101 $as_echo_n "(cached) " >&6
50102 else
50105 ac_ext=cpp
50106 ac_cpp='$CXXCPP $CPPFLAGS'
50107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50112 /* end confdefs.h. */
50113 #include <math.h>
50115 main ()
50117 ldexpl(0, 0);
50119 return 0;
50121 _ACEOF
50122 if ac_fn_cxx_try_compile "$LINENO"; then :
50123 glibcxx_cv_func_ldexpl_use=yes
50124 else
50125 glibcxx_cv_func_ldexpl_use=no
50127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50128 ac_ext=c
50129 ac_cpp='$CPP $CPPFLAGS'
50130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50139 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50141 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50142 for ac_func in ldexpl
50143 do :
50144 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50145 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50146 cat >>confdefs.h <<_ACEOF
50147 #define HAVE_LDEXPL 1
50148 _ACEOF
50151 done
50153 else
50155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50156 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50157 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50158 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50159 $as_echo_n "(cached) " >&6
50160 else
50163 ac_ext=cpp
50164 ac_cpp='$CXXCPP $CPPFLAGS'
50165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50170 /* end confdefs.h. */
50171 #include <math.h>
50173 main ()
50175 _ldexpl(0, 0);
50177 return 0;
50179 _ACEOF
50180 if ac_fn_cxx_try_compile "$LINENO"; then :
50181 glibcxx_cv_func__ldexpl_use=yes
50182 else
50183 glibcxx_cv_func__ldexpl_use=no
50185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50186 ac_ext=c
50187 ac_cpp='$CPP $CPPFLAGS'
50188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50197 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50199 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50200 for ac_func in _ldexpl
50201 do :
50202 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50203 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50204 cat >>confdefs.h <<_ACEOF
50205 #define HAVE__LDEXPL 1
50206 _ACEOF
50209 done
50218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50219 $as_echo_n "checking for logl declaration... " >&6; }
50220 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50221 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50222 $as_echo_n "(cached) " >&6
50223 else
50226 ac_ext=cpp
50227 ac_cpp='$CXXCPP $CPPFLAGS'
50228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50233 /* end confdefs.h. */
50234 #include <math.h>
50235 #ifdef HAVE_IEEEFP_H
50236 #include <ieeefp.h>
50237 #endif
50240 main ()
50242 logl(0);
50244 return 0;
50246 _ACEOF
50247 if ac_fn_cxx_try_compile "$LINENO"; then :
50248 glibcxx_cv_func_logl_use=yes
50249 else
50250 glibcxx_cv_func_logl_use=no
50252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50253 ac_ext=c
50254 ac_cpp='$CPP $CPPFLAGS'
50255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50264 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50266 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50267 for ac_func in logl
50268 do :
50269 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50270 if test "x$ac_cv_func_logl" = x""yes; then :
50271 cat >>confdefs.h <<_ACEOF
50272 #define HAVE_LOGL 1
50273 _ACEOF
50276 done
50278 else
50280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50281 $as_echo_n "checking for _logl declaration... " >&6; }
50282 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50283 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50284 $as_echo_n "(cached) " >&6
50285 else
50288 ac_ext=cpp
50289 ac_cpp='$CXXCPP $CPPFLAGS'
50290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50295 /* end confdefs.h. */
50296 #include <math.h>
50297 #ifdef HAVE_IEEEFP_H
50298 #include <ieeefp.h>
50299 #endif
50302 main ()
50304 _logl(0);
50306 return 0;
50308 _ACEOF
50309 if ac_fn_cxx_try_compile "$LINENO"; then :
50310 glibcxx_cv_func__logl_use=yes
50311 else
50312 glibcxx_cv_func__logl_use=no
50314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50315 ac_ext=c
50316 ac_cpp='$CPP $CPPFLAGS'
50317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50326 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50328 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50329 for ac_func in _logl
50330 do :
50331 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50332 if test "x$ac_cv_func__logl" = x""yes; then :
50333 cat >>confdefs.h <<_ACEOF
50334 #define HAVE__LOGL 1
50335 _ACEOF
50338 done
50347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50348 $as_echo_n "checking for log10l declaration... " >&6; }
50349 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50350 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50351 $as_echo_n "(cached) " >&6
50352 else
50355 ac_ext=cpp
50356 ac_cpp='$CXXCPP $CPPFLAGS'
50357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50362 /* end confdefs.h. */
50363 #include <math.h>
50364 #ifdef HAVE_IEEEFP_H
50365 #include <ieeefp.h>
50366 #endif
50369 main ()
50371 log10l(0);
50373 return 0;
50375 _ACEOF
50376 if ac_fn_cxx_try_compile "$LINENO"; then :
50377 glibcxx_cv_func_log10l_use=yes
50378 else
50379 glibcxx_cv_func_log10l_use=no
50381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50382 ac_ext=c
50383 ac_cpp='$CPP $CPPFLAGS'
50384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50393 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50395 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50396 for ac_func in log10l
50397 do :
50398 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50399 if test "x$ac_cv_func_log10l" = x""yes; then :
50400 cat >>confdefs.h <<_ACEOF
50401 #define HAVE_LOG10L 1
50402 _ACEOF
50405 done
50407 else
50409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50410 $as_echo_n "checking for _log10l declaration... " >&6; }
50411 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50412 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50413 $as_echo_n "(cached) " >&6
50414 else
50417 ac_ext=cpp
50418 ac_cpp='$CXXCPP $CPPFLAGS'
50419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50424 /* end confdefs.h. */
50425 #include <math.h>
50426 #ifdef HAVE_IEEEFP_H
50427 #include <ieeefp.h>
50428 #endif
50431 main ()
50433 _log10l(0);
50435 return 0;
50437 _ACEOF
50438 if ac_fn_cxx_try_compile "$LINENO"; then :
50439 glibcxx_cv_func__log10l_use=yes
50440 else
50441 glibcxx_cv_func__log10l_use=no
50443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50444 ac_ext=c
50445 ac_cpp='$CPP $CPPFLAGS'
50446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50455 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50457 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50458 for ac_func in _log10l
50459 do :
50460 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50461 if test "x$ac_cv_func__log10l" = x""yes; then :
50462 cat >>confdefs.h <<_ACEOF
50463 #define HAVE__LOG10L 1
50464 _ACEOF
50467 done
50476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50477 $as_echo_n "checking for modfl declaration... " >&6; }
50478 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50479 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50480 $as_echo_n "(cached) " >&6
50481 else
50484 ac_ext=cpp
50485 ac_cpp='$CXXCPP $CPPFLAGS'
50486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50491 /* end confdefs.h. */
50492 #include <math.h>
50494 main ()
50496 modfl(0, 0);
50498 return 0;
50500 _ACEOF
50501 if ac_fn_cxx_try_compile "$LINENO"; then :
50502 glibcxx_cv_func_modfl_use=yes
50503 else
50504 glibcxx_cv_func_modfl_use=no
50506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50507 ac_ext=c
50508 ac_cpp='$CPP $CPPFLAGS'
50509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50518 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50520 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50521 for ac_func in modfl
50522 do :
50523 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50524 if test "x$ac_cv_func_modfl" = x""yes; then :
50525 cat >>confdefs.h <<_ACEOF
50526 #define HAVE_MODFL 1
50527 _ACEOF
50530 done
50532 else
50534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50535 $as_echo_n "checking for _modfl declaration... " >&6; }
50536 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50537 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50538 $as_echo_n "(cached) " >&6
50539 else
50542 ac_ext=cpp
50543 ac_cpp='$CXXCPP $CPPFLAGS'
50544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50549 /* end confdefs.h. */
50550 #include <math.h>
50552 main ()
50554 _modfl(0, 0);
50556 return 0;
50558 _ACEOF
50559 if ac_fn_cxx_try_compile "$LINENO"; then :
50560 glibcxx_cv_func__modfl_use=yes
50561 else
50562 glibcxx_cv_func__modfl_use=no
50564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50565 ac_ext=c
50566 ac_cpp='$CPP $CPPFLAGS'
50567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50576 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50578 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50579 for ac_func in _modfl
50580 do :
50581 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50582 if test "x$ac_cv_func__modfl" = x""yes; then :
50583 cat >>confdefs.h <<_ACEOF
50584 #define HAVE__MODFL 1
50585 _ACEOF
50588 done
50597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50598 $as_echo_n "checking for powl declaration... " >&6; }
50599 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50600 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50601 $as_echo_n "(cached) " >&6
50602 else
50605 ac_ext=cpp
50606 ac_cpp='$CXXCPP $CPPFLAGS'
50607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50612 /* end confdefs.h. */
50613 #include <math.h>
50615 main ()
50617 powl(0, 0);
50619 return 0;
50621 _ACEOF
50622 if ac_fn_cxx_try_compile "$LINENO"; then :
50623 glibcxx_cv_func_powl_use=yes
50624 else
50625 glibcxx_cv_func_powl_use=no
50627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50628 ac_ext=c
50629 ac_cpp='$CPP $CPPFLAGS'
50630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50639 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50641 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50642 for ac_func in powl
50643 do :
50644 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50645 if test "x$ac_cv_func_powl" = x""yes; then :
50646 cat >>confdefs.h <<_ACEOF
50647 #define HAVE_POWL 1
50648 _ACEOF
50651 done
50653 else
50655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50656 $as_echo_n "checking for _powl declaration... " >&6; }
50657 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50658 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50659 $as_echo_n "(cached) " >&6
50660 else
50663 ac_ext=cpp
50664 ac_cpp='$CXXCPP $CPPFLAGS'
50665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50670 /* end confdefs.h. */
50671 #include <math.h>
50673 main ()
50675 _powl(0, 0);
50677 return 0;
50679 _ACEOF
50680 if ac_fn_cxx_try_compile "$LINENO"; then :
50681 glibcxx_cv_func__powl_use=yes
50682 else
50683 glibcxx_cv_func__powl_use=no
50685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50686 ac_ext=c
50687 ac_cpp='$CPP $CPPFLAGS'
50688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50697 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50699 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50700 for ac_func in _powl
50701 do :
50702 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50703 if test "x$ac_cv_func__powl" = x""yes; then :
50704 cat >>confdefs.h <<_ACEOF
50705 #define HAVE__POWL 1
50706 _ACEOF
50709 done
50718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50719 $as_echo_n "checking for sqrtl declaration... " >&6; }
50720 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50721 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50722 $as_echo_n "(cached) " >&6
50723 else
50726 ac_ext=cpp
50727 ac_cpp='$CXXCPP $CPPFLAGS'
50728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50733 /* end confdefs.h. */
50734 #include <math.h>
50735 #ifdef HAVE_IEEEFP_H
50736 #include <ieeefp.h>
50737 #endif
50740 main ()
50742 sqrtl(0);
50744 return 0;
50746 _ACEOF
50747 if ac_fn_cxx_try_compile "$LINENO"; then :
50748 glibcxx_cv_func_sqrtl_use=yes
50749 else
50750 glibcxx_cv_func_sqrtl_use=no
50752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50753 ac_ext=c
50754 ac_cpp='$CPP $CPPFLAGS'
50755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50764 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50766 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50767 for ac_func in sqrtl
50768 do :
50769 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50770 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50771 cat >>confdefs.h <<_ACEOF
50772 #define HAVE_SQRTL 1
50773 _ACEOF
50776 done
50778 else
50780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50781 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50782 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50783 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50784 $as_echo_n "(cached) " >&6
50785 else
50788 ac_ext=cpp
50789 ac_cpp='$CXXCPP $CPPFLAGS'
50790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50795 /* end confdefs.h. */
50796 #include <math.h>
50797 #ifdef HAVE_IEEEFP_H
50798 #include <ieeefp.h>
50799 #endif
50802 main ()
50804 _sqrtl(0);
50806 return 0;
50808 _ACEOF
50809 if ac_fn_cxx_try_compile "$LINENO"; then :
50810 glibcxx_cv_func__sqrtl_use=yes
50811 else
50812 glibcxx_cv_func__sqrtl_use=no
50814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50815 ac_ext=c
50816 ac_cpp='$CPP $CPPFLAGS'
50817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50826 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50828 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50829 for ac_func in _sqrtl
50830 do :
50831 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50832 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50833 cat >>confdefs.h <<_ACEOF
50834 #define HAVE__SQRTL 1
50835 _ACEOF
50838 done
50847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50848 $as_echo_n "checking for sincosl declaration... " >&6; }
50849 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50850 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50851 $as_echo_n "(cached) " >&6
50852 else
50855 ac_ext=cpp
50856 ac_cpp='$CXXCPP $CPPFLAGS'
50857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50862 /* end confdefs.h. */
50863 #include <math.h>
50865 main ()
50867 sincosl(0, 0, 0);
50869 return 0;
50871 _ACEOF
50872 if ac_fn_cxx_try_compile "$LINENO"; then :
50873 glibcxx_cv_func_sincosl_use=yes
50874 else
50875 glibcxx_cv_func_sincosl_use=no
50877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50878 ac_ext=c
50879 ac_cpp='$CPP $CPPFLAGS'
50880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50889 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50891 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50892 for ac_func in sincosl
50893 do :
50894 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50895 if test "x$ac_cv_func_sincosl" = x""yes; then :
50896 cat >>confdefs.h <<_ACEOF
50897 #define HAVE_SINCOSL 1
50898 _ACEOF
50901 done
50903 else
50905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50906 $as_echo_n "checking for _sincosl declaration... " >&6; }
50907 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50908 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50909 $as_echo_n "(cached) " >&6
50910 else
50913 ac_ext=cpp
50914 ac_cpp='$CXXCPP $CPPFLAGS'
50915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50920 /* end confdefs.h. */
50921 #include <math.h>
50923 main ()
50925 _sincosl(0, 0, 0);
50927 return 0;
50929 _ACEOF
50930 if ac_fn_cxx_try_compile "$LINENO"; then :
50931 glibcxx_cv_func__sincosl_use=yes
50932 else
50933 glibcxx_cv_func__sincosl_use=no
50935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50936 ac_ext=c
50937 ac_cpp='$CPP $CPPFLAGS'
50938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50947 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50949 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50950 for ac_func in _sincosl
50951 do :
50952 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50953 if test "x$ac_cv_func__sincosl" = x""yes; then :
50954 cat >>confdefs.h <<_ACEOF
50955 #define HAVE__SINCOSL 1
50956 _ACEOF
50959 done
50968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50969 $as_echo_n "checking for finitel declaration... " >&6; }
50970 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50971 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50972 $as_echo_n "(cached) " >&6
50973 else
50976 ac_ext=cpp
50977 ac_cpp='$CXXCPP $CPPFLAGS'
50978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50983 /* end confdefs.h. */
50984 #include <math.h>
50985 #ifdef HAVE_IEEEFP_H
50986 #include <ieeefp.h>
50987 #endif
50990 main ()
50992 finitel(0);
50994 return 0;
50996 _ACEOF
50997 if ac_fn_cxx_try_compile "$LINENO"; then :
50998 glibcxx_cv_func_finitel_use=yes
50999 else
51000 glibcxx_cv_func_finitel_use=no
51002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51003 ac_ext=c
51004 ac_cpp='$CPP $CPPFLAGS'
51005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51014 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51016 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51017 for ac_func in finitel
51018 do :
51019 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51020 if test "x$ac_cv_func_finitel" = x""yes; then :
51021 cat >>confdefs.h <<_ACEOF
51022 #define HAVE_FINITEL 1
51023 _ACEOF
51026 done
51028 else
51030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51031 $as_echo_n "checking for _finitel declaration... " >&6; }
51032 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51033 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51034 $as_echo_n "(cached) " >&6
51035 else
51038 ac_ext=cpp
51039 ac_cpp='$CXXCPP $CPPFLAGS'
51040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51045 /* end confdefs.h. */
51046 #include <math.h>
51047 #ifdef HAVE_IEEEFP_H
51048 #include <ieeefp.h>
51049 #endif
51052 main ()
51054 _finitel(0);
51056 return 0;
51058 _ACEOF
51059 if ac_fn_cxx_try_compile "$LINENO"; then :
51060 glibcxx_cv_func__finitel_use=yes
51061 else
51062 glibcxx_cv_func__finitel_use=no
51064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51065 ac_ext=c
51066 ac_cpp='$CPP $CPPFLAGS'
51067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51076 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51078 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51079 for ac_func in _finitel
51080 do :
51081 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51082 if test "x$ac_cv_func__finitel" = x""yes; then :
51083 cat >>confdefs.h <<_ACEOF
51084 #define HAVE__FINITEL 1
51085 _ACEOF
51088 done
51096 LIBS="$ac_save_LIBS"
51097 CXXFLAGS="$ac_save_CXXFLAGS"
51100 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51101 ac_save_CXXFLAGS="$CXXFLAGS"
51102 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51106 $as_echo_n "checking for strtold declaration... " >&6; }
51107 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51108 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51109 $as_echo_n "(cached) " >&6
51110 else
51113 ac_ext=cpp
51114 ac_cpp='$CXXCPP $CPPFLAGS'
51115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51120 /* end confdefs.h. */
51121 #include <stdlib.h>
51123 main ()
51125 strtold(0, 0);
51127 return 0;
51129 _ACEOF
51130 if ac_fn_cxx_try_compile "$LINENO"; then :
51131 glibcxx_cv_func_strtold_use=yes
51132 else
51133 glibcxx_cv_func_strtold_use=no
51135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51136 ac_ext=c
51137 ac_cpp='$CPP $CPPFLAGS'
51138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51147 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51148 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51149 for ac_func in strtold
51150 do :
51151 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51152 if test "x$ac_cv_func_strtold" = x""yes; then :
51153 cat >>confdefs.h <<_ACEOF
51154 #define HAVE_STRTOLD 1
51155 _ACEOF
51158 done
51165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51166 $as_echo_n "checking for strtof declaration... " >&6; }
51167 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51168 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51169 $as_echo_n "(cached) " >&6
51170 else
51173 ac_ext=cpp
51174 ac_cpp='$CXXCPP $CPPFLAGS'
51175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51180 /* end confdefs.h. */
51181 #include <stdlib.h>
51183 main ()
51185 strtof(0, 0);
51187 return 0;
51189 _ACEOF
51190 if ac_fn_cxx_try_compile "$LINENO"; then :
51191 glibcxx_cv_func_strtof_use=yes
51192 else
51193 glibcxx_cv_func_strtof_use=no
51195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51196 ac_ext=c
51197 ac_cpp='$CPP $CPPFLAGS'
51198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51207 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51208 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51209 for ac_func in strtof
51210 do :
51211 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51212 if test "x$ac_cv_func_strtof" = x""yes; then :
51213 cat >>confdefs.h <<_ACEOF
51214 #define HAVE_STRTOF 1
51215 _ACEOF
51218 done
51225 CXXFLAGS="$ac_save_CXXFLAGS"
51227 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51231 # Check whether --enable-tls was given.
51232 if test "${enable_tls+set}" = set; then :
51233 enableval=$enable_tls;
51234 case "$enableval" in
51235 yes|no) ;;
51236 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51237 esac
51239 else
51240 enable_tls=yes
51244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51245 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51246 if test "${gcc_cv_have_tls+set}" = set; then :
51247 $as_echo_n "(cached) " >&6
51248 else
51250 if test "$cross_compiling" = yes; then :
51251 if test x$gcc_no_link = xyes; then
51252 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51255 /* end confdefs.h. */
51256 __thread int a; int b; int main() { return a = b; }
51257 _ACEOF
51258 if ac_fn_c_try_link "$LINENO"; then :
51259 chktls_save_LDFLAGS="$LDFLAGS"
51260 case $host in
51261 *-*-linux*)
51262 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51264 esac
51265 chktls_save_CFLAGS="$CFLAGS"
51266 CFLAGS="-fPIC $CFLAGS"
51267 if test x$gcc_no_link = xyes; then
51268 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51271 /* end confdefs.h. */
51272 int f() { return 0; }
51273 _ACEOF
51274 if ac_fn_c_try_link "$LINENO"; then :
51275 if test x$gcc_no_link = xyes; then
51276 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51279 /* end confdefs.h. */
51280 __thread int a; int b; int f() { return a = b; }
51281 _ACEOF
51282 if ac_fn_c_try_link "$LINENO"; then :
51283 gcc_cv_have_tls=yes
51284 else
51285 gcc_cv_have_tls=no
51287 rm -f core conftest.err conftest.$ac_objext \
51288 conftest$ac_exeext conftest.$ac_ext
51289 else
51290 gcc_cv_have_tls=yes
51292 rm -f core conftest.err conftest.$ac_objext \
51293 conftest$ac_exeext conftest.$ac_ext
51294 CFLAGS="$chktls_save_CFLAGS"
51295 LDFLAGS="$chktls_save_LDFLAGS"
51296 else
51297 gcc_cv_have_tls=no
51299 rm -f core conftest.err conftest.$ac_objext \
51300 conftest$ac_exeext conftest.$ac_ext
51303 else
51304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51305 /* end confdefs.h. */
51306 __thread int a; int b; int main() { return a = b; }
51307 _ACEOF
51308 if ac_fn_c_try_run "$LINENO"; then :
51309 chktls_save_LDFLAGS="$LDFLAGS"
51310 LDFLAGS="-static $LDFLAGS"
51311 if test x$gcc_no_link = xyes; then
51312 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51315 /* end confdefs.h. */
51316 int main() { return 0; }
51317 _ACEOF
51318 if ac_fn_c_try_link "$LINENO"; then :
51319 if test "$cross_compiling" = yes; then :
51320 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51322 as_fn_error "cannot run test program while cross compiling
51323 See \`config.log' for more details." "$LINENO" 5; }
51324 else
51325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51326 /* end confdefs.h. */
51327 __thread int a; int b; int main() { return a = b; }
51328 _ACEOF
51329 if ac_fn_c_try_run "$LINENO"; then :
51330 gcc_cv_have_tls=yes
51331 else
51332 gcc_cv_have_tls=no
51334 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51335 conftest.$ac_objext conftest.beam conftest.$ac_ext
51338 else
51339 gcc_cv_have_tls=yes
51341 rm -f core conftest.err conftest.$ac_objext \
51342 conftest$ac_exeext conftest.$ac_ext
51343 LDFLAGS="$chktls_save_LDFLAGS"
51344 if test $gcc_cv_have_tls = yes; then
51345 chktls_save_CFLAGS="$CFLAGS"
51346 thread_CFLAGS=failed
51347 for flag in '' '-pthread' '-lpthread'; do
51348 CFLAGS="$flag $chktls_save_CFLAGS"
51349 if test x$gcc_no_link = xyes; then
51350 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51353 /* end confdefs.h. */
51354 #include <pthread.h>
51355 void *g(void *d) { return NULL; }
51357 main ()
51359 pthread_t t; pthread_create(&t,NULL,g,NULL);
51361 return 0;
51363 _ACEOF
51364 if ac_fn_c_try_link "$LINENO"; then :
51365 thread_CFLAGS="$flag"
51367 rm -f core conftest.err conftest.$ac_objext \
51368 conftest$ac_exeext conftest.$ac_ext
51369 if test "X$thread_CFLAGS" != Xfailed; then
51370 break
51372 done
51373 CFLAGS="$chktls_save_CFLAGS"
51374 if test "X$thread_CFLAGS" != Xfailed; then
51375 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51376 if test "$cross_compiling" = yes; then :
51377 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51378 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51379 as_fn_error "cannot run test program while cross compiling
51380 See \`config.log' for more details." "$LINENO" 5; }
51381 else
51382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51383 /* end confdefs.h. */
51384 #include <pthread.h>
51385 __thread int a;
51386 static int *volatile a_in_other_thread;
51387 static void *
51388 thread_func (void *arg)
51390 a_in_other_thread = &a;
51391 return (void *)0;
51394 main ()
51396 pthread_t thread;
51397 void *thread_retval;
51398 int *volatile a_in_main_thread;
51399 a_in_main_thread = &a;
51400 if (pthread_create (&thread, (pthread_attr_t *)0,
51401 thread_func, (void *)0))
51402 return 0;
51403 if (pthread_join (thread, &thread_retval))
51404 return 0;
51405 return (a_in_other_thread == a_in_main_thread);
51407 return 0;
51409 _ACEOF
51410 if ac_fn_c_try_run "$LINENO"; then :
51411 gcc_cv_have_tls=yes
51412 else
51413 gcc_cv_have_tls=no
51415 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51416 conftest.$ac_objext conftest.beam conftest.$ac_ext
51419 CFLAGS="$chktls_save_CFLAGS"
51422 else
51423 gcc_cv_have_tls=no
51425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51426 conftest.$ac_objext conftest.beam conftest.$ac_ext
51430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51431 $as_echo "$gcc_cv_have_tls" >&6; }
51432 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51434 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51442 am_save_CPPFLAGS="$CPPFLAGS"
51444 for element in $INCICONV; do
51445 haveit=
51446 for x in $CPPFLAGS; do
51448 acl_save_prefix="$prefix"
51449 prefix="$acl_final_prefix"
51450 acl_save_exec_prefix="$exec_prefix"
51451 exec_prefix="$acl_final_exec_prefix"
51452 eval x=\"$x\"
51453 exec_prefix="$acl_save_exec_prefix"
51454 prefix="$acl_save_prefix"
51456 if test "X$x" = "X$element"; then
51457 haveit=yes
51458 break
51460 done
51461 if test -z "$haveit"; then
51462 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51464 done
51467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51468 $as_echo_n "checking for iconv... " >&6; }
51469 if test "${am_cv_func_iconv+set}" = set; then :
51470 $as_echo_n "(cached) " >&6
51471 else
51473 am_cv_func_iconv="no, consider installing GNU libiconv"
51474 am_cv_lib_iconv=no
51475 if test x$gcc_no_link = xyes; then
51476 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51479 /* end confdefs.h. */
51480 #include <stdlib.h>
51481 #include <iconv.h>
51483 main ()
51485 iconv_t cd = iconv_open("","");
51486 iconv(cd,NULL,NULL,NULL,NULL);
51487 iconv_close(cd);
51489 return 0;
51491 _ACEOF
51492 if ac_fn_c_try_link "$LINENO"; then :
51493 am_cv_func_iconv=yes
51495 rm -f core conftest.err conftest.$ac_objext \
51496 conftest$ac_exeext conftest.$ac_ext
51497 if test "$am_cv_func_iconv" != yes; then
51498 am_save_LIBS="$LIBS"
51499 LIBS="$LIBS $LIBICONV"
51500 if test x$gcc_no_link = xyes; then
51501 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51504 /* end confdefs.h. */
51505 #include <stdlib.h>
51506 #include <iconv.h>
51508 main ()
51510 iconv_t cd = iconv_open("","");
51511 iconv(cd,NULL,NULL,NULL,NULL);
51512 iconv_close(cd);
51514 return 0;
51516 _ACEOF
51517 if ac_fn_c_try_link "$LINENO"; then :
51518 am_cv_lib_iconv=yes
51519 am_cv_func_iconv=yes
51521 rm -f core conftest.err conftest.$ac_objext \
51522 conftest$ac_exeext conftest.$ac_ext
51523 LIBS="$am_save_LIBS"
51527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51528 $as_echo "$am_cv_func_iconv" >&6; }
51529 if test "$am_cv_func_iconv" = yes; then
51531 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51534 if test "$am_cv_lib_iconv" = yes; then
51535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51536 $as_echo_n "checking how to link with libiconv... " >&6; }
51537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51538 $as_echo "$LIBICONV" >&6; }
51539 else
51540 CPPFLAGS="$am_save_CPPFLAGS"
51541 LIBICONV=
51542 LTLIBICONV=
51547 if test "$am_cv_func_iconv" = yes; then
51548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51549 $as_echo_n "checking for iconv declaration... " >&6; }
51550 if test "${am_cv_proto_iconv+set}" = set; then :
51551 $as_echo_n "(cached) " >&6
51552 else
51554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51555 /* end confdefs.h. */
51557 #include <stdlib.h>
51558 #include <iconv.h>
51559 extern
51560 #ifdef __cplusplus
51562 #endif
51563 #if defined(__STDC__) || defined(__cplusplus)
51564 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51565 #else
51566 size_t iconv();
51567 #endif
51570 main ()
51574 return 0;
51576 _ACEOF
51577 if ac_fn_c_try_compile "$LINENO"; then :
51578 am_cv_proto_iconv_arg1=""
51579 else
51580 am_cv_proto_iconv_arg1="const"
51582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51583 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);"
51586 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51588 }$am_cv_proto_iconv" >&5
51589 $as_echo "${ac_t:-
51590 }$am_cv_proto_iconv" >&6; }
51592 cat >>confdefs.h <<_ACEOF
51593 #define ICONV_CONST $am_cv_proto_iconv_arg1
51594 _ACEOF
51599 *-mingw32*)
51601 # If we're not using GNU ld, then there's no point in even trying these
51602 # tests. Check for that first. We should have already tested for gld
51603 # by now (in libtool), but require it now just to be safe...
51604 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51605 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51609 # The name set by libtool depends on the version of libtool. Shame on us
51610 # for depending on an impl detail, but c'est la vie. Older versions used
51611 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51612 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51613 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51614 # set (hence we're using an older libtool), then set it.
51615 if test x${with_gnu_ld+set} != xset; then
51616 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51617 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51618 with_gnu_ld=no
51619 else
51620 with_gnu_ld=$ac_cv_prog_gnu_ld
51624 # Start by getting the version number. I think the libtool test already
51625 # does some of this, but throws away the result.
51626 glibcxx_ld_is_gold=no
51627 if test x"$with_gnu_ld" = x"yes"; then
51628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51629 $as_echo_n "checking for ld version... " >&6; }
51631 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51632 glibcxx_ld_is_gold=yes
51634 ldver=`$LD --version 2>/dev/null |
51635 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'`
51637 glibcxx_gnu_ld_version=`echo $ldver | \
51638 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51640 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51643 # Set --gc-sections.
51644 glibcxx_have_gc_sections=no
51645 if test "$glibcxx_ld_is_gold" = "yes"; then
51646 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51647 glibcxx_have_gc_sections=yes
51649 else
51650 glibcxx_gcsections_min_ld=21602
51651 if test x"$with_gnu_ld" = x"yes" &&
51652 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51653 glibcxx_have_gc_sections=yes
51656 if test "$glibcxx_have_gc_sections" = "yes"; then
51657 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51658 # NB: This flag only works reliably after 2.16.1. Configure tests
51659 # for this are difficult, so hard wire a value that should work.
51661 ac_test_CFLAGS="${CFLAGS+set}"
51662 ac_save_CFLAGS="$CFLAGS"
51663 CFLAGS='-Wl,--gc-sections'
51665 # Check for -Wl,--gc-sections
51666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51667 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51668 if test x$gcc_no_link = xyes; then
51669 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51672 /* end confdefs.h. */
51673 int one(void) { return 1; }
51674 int two(void) { return 2; }
51677 main ()
51679 two();
51681 return 0;
51683 _ACEOF
51684 if ac_fn_c_try_link "$LINENO"; then :
51685 ac_gcsections=yes
51686 else
51687 ac_gcsections=no
51689 rm -f core conftest.err conftest.$ac_objext \
51690 conftest$ac_exeext conftest.$ac_ext
51691 if test "$ac_gcsections" = "yes"; then
51692 rm -f conftest.c
51693 touch conftest.c
51694 if $CC -c conftest.c; then
51695 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51696 grep "Warning: gc-sections option ignored" > /dev/null; then
51697 ac_gcsections=no
51700 rm -f conftest.c conftest.o conftest
51702 if test "$ac_gcsections" = "yes"; then
51703 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51706 $as_echo "$ac_gcsections" >&6; }
51708 if test "$ac_test_CFLAGS" = set; then
51709 CFLAGS="$ac_save_CFLAGS"
51710 else
51711 # this is the suspicious part
51712 CFLAGS=''
51716 # Set -z,relro.
51717 # Note this is only for shared objects.
51718 ac_ld_relro=no
51719 if test x"$with_gnu_ld" = x"yes"; then
51720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51721 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51722 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51723 if test -n "$cxx_z_relo"; then
51724 OPT_LDFLAGS="-Wl,-z,relro"
51725 ac_ld_relro=yes
51727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51728 $as_echo "$ac_ld_relro" >&6; }
51731 # Set linker optimization flags.
51732 if test x"$with_gnu_ld" = x"yes"; then
51733 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51740 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51741 ac_save_CXXFLAGS="$CXXFLAGS"
51742 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51745 $as_echo_n "checking for sin in -lm... " >&6; }
51746 if test "${ac_cv_lib_m_sin+set}" = set; then :
51747 $as_echo_n "(cached) " >&6
51748 else
51749 ac_check_lib_save_LIBS=$LIBS
51750 LIBS="-lm $LIBS"
51751 if test x$gcc_no_link = xyes; then
51752 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51755 /* end confdefs.h. */
51757 /* Override any GCC internal prototype to avoid an error.
51758 Use char because int might match the return type of a GCC
51759 builtin and then its argument prototype would still apply. */
51760 #ifdef __cplusplus
51761 extern "C"
51762 #endif
51763 char sin ();
51765 main ()
51767 return sin ();
51769 return 0;
51771 _ACEOF
51772 if ac_fn_c_try_link "$LINENO"; then :
51773 ac_cv_lib_m_sin=yes
51774 else
51775 ac_cv_lib_m_sin=no
51777 rm -f core conftest.err conftest.$ac_objext \
51778 conftest$ac_exeext conftest.$ac_ext
51779 LIBS=$ac_check_lib_save_LIBS
51781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51782 $as_echo "$ac_cv_lib_m_sin" >&6; }
51783 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51784 libm="-lm"
51787 ac_save_LIBS="$LIBS"
51788 LIBS="$LIBS $libm"
51792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51793 $as_echo_n "checking for isinf declaration... " >&6; }
51794 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51795 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51796 $as_echo_n "(cached) " >&6
51797 else
51800 ac_ext=cpp
51801 ac_cpp='$CXXCPP $CPPFLAGS'
51802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51807 /* end confdefs.h. */
51808 #include <math.h>
51809 #ifdef HAVE_IEEEFP_H
51810 #include <ieeefp.h>
51811 #endif
51814 main ()
51816 isinf(0);
51818 return 0;
51820 _ACEOF
51821 if ac_fn_cxx_try_compile "$LINENO"; then :
51822 glibcxx_cv_func_isinf_use=yes
51823 else
51824 glibcxx_cv_func_isinf_use=no
51826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51827 ac_ext=c
51828 ac_cpp='$CPP $CPPFLAGS'
51829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51838 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51840 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51841 for ac_func in isinf
51842 do :
51843 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51844 if test "x$ac_cv_func_isinf" = x""yes; then :
51845 cat >>confdefs.h <<_ACEOF
51846 #define HAVE_ISINF 1
51847 _ACEOF
51850 done
51852 else
51854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51855 $as_echo_n "checking for _isinf declaration... " >&6; }
51856 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51857 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51858 $as_echo_n "(cached) " >&6
51859 else
51862 ac_ext=cpp
51863 ac_cpp='$CXXCPP $CPPFLAGS'
51864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51869 /* end confdefs.h. */
51870 #include <math.h>
51871 #ifdef HAVE_IEEEFP_H
51872 #include <ieeefp.h>
51873 #endif
51876 main ()
51878 _isinf(0);
51880 return 0;
51882 _ACEOF
51883 if ac_fn_cxx_try_compile "$LINENO"; then :
51884 glibcxx_cv_func__isinf_use=yes
51885 else
51886 glibcxx_cv_func__isinf_use=no
51888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51889 ac_ext=c
51890 ac_cpp='$CPP $CPPFLAGS'
51891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51900 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51902 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51903 for ac_func in _isinf
51904 do :
51905 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51906 if test "x$ac_cv_func__isinf" = x""yes; then :
51907 cat >>confdefs.h <<_ACEOF
51908 #define HAVE__ISINF 1
51909 _ACEOF
51912 done
51921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51922 $as_echo_n "checking for isnan declaration... " >&6; }
51923 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51924 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51925 $as_echo_n "(cached) " >&6
51926 else
51929 ac_ext=cpp
51930 ac_cpp='$CXXCPP $CPPFLAGS'
51931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51936 /* end confdefs.h. */
51937 #include <math.h>
51938 #ifdef HAVE_IEEEFP_H
51939 #include <ieeefp.h>
51940 #endif
51943 main ()
51945 isnan(0);
51947 return 0;
51949 _ACEOF
51950 if ac_fn_cxx_try_compile "$LINENO"; then :
51951 glibcxx_cv_func_isnan_use=yes
51952 else
51953 glibcxx_cv_func_isnan_use=no
51955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51956 ac_ext=c
51957 ac_cpp='$CPP $CPPFLAGS'
51958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51967 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51969 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51970 for ac_func in isnan
51971 do :
51972 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51973 if test "x$ac_cv_func_isnan" = x""yes; then :
51974 cat >>confdefs.h <<_ACEOF
51975 #define HAVE_ISNAN 1
51976 _ACEOF
51979 done
51981 else
51983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51984 $as_echo_n "checking for _isnan declaration... " >&6; }
51985 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51986 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51987 $as_echo_n "(cached) " >&6
51988 else
51991 ac_ext=cpp
51992 ac_cpp='$CXXCPP $CPPFLAGS'
51993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51998 /* end confdefs.h. */
51999 #include <math.h>
52000 #ifdef HAVE_IEEEFP_H
52001 #include <ieeefp.h>
52002 #endif
52005 main ()
52007 _isnan(0);
52009 return 0;
52011 _ACEOF
52012 if ac_fn_cxx_try_compile "$LINENO"; then :
52013 glibcxx_cv_func__isnan_use=yes
52014 else
52015 glibcxx_cv_func__isnan_use=no
52017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52018 ac_ext=c
52019 ac_cpp='$CPP $CPPFLAGS'
52020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52029 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52031 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52032 for ac_func in _isnan
52033 do :
52034 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52035 if test "x$ac_cv_func__isnan" = x""yes; then :
52036 cat >>confdefs.h <<_ACEOF
52037 #define HAVE__ISNAN 1
52038 _ACEOF
52041 done
52050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52051 $as_echo_n "checking for finite declaration... " >&6; }
52052 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52053 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52054 $as_echo_n "(cached) " >&6
52055 else
52058 ac_ext=cpp
52059 ac_cpp='$CXXCPP $CPPFLAGS'
52060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52065 /* end confdefs.h. */
52066 #include <math.h>
52067 #ifdef HAVE_IEEEFP_H
52068 #include <ieeefp.h>
52069 #endif
52072 main ()
52074 finite(0);
52076 return 0;
52078 _ACEOF
52079 if ac_fn_cxx_try_compile "$LINENO"; then :
52080 glibcxx_cv_func_finite_use=yes
52081 else
52082 glibcxx_cv_func_finite_use=no
52084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52085 ac_ext=c
52086 ac_cpp='$CPP $CPPFLAGS'
52087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52096 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52098 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52099 for ac_func in finite
52100 do :
52101 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52102 if test "x$ac_cv_func_finite" = x""yes; then :
52103 cat >>confdefs.h <<_ACEOF
52104 #define HAVE_FINITE 1
52105 _ACEOF
52108 done
52110 else
52112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52113 $as_echo_n "checking for _finite declaration... " >&6; }
52114 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52115 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52116 $as_echo_n "(cached) " >&6
52117 else
52120 ac_ext=cpp
52121 ac_cpp='$CXXCPP $CPPFLAGS'
52122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52127 /* end confdefs.h. */
52128 #include <math.h>
52129 #ifdef HAVE_IEEEFP_H
52130 #include <ieeefp.h>
52131 #endif
52134 main ()
52136 _finite(0);
52138 return 0;
52140 _ACEOF
52141 if ac_fn_cxx_try_compile "$LINENO"; then :
52142 glibcxx_cv_func__finite_use=yes
52143 else
52144 glibcxx_cv_func__finite_use=no
52146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52147 ac_ext=c
52148 ac_cpp='$CPP $CPPFLAGS'
52149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52158 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52160 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52161 for ac_func in _finite
52162 do :
52163 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52164 if test "x$ac_cv_func__finite" = x""yes; then :
52165 cat >>confdefs.h <<_ACEOF
52166 #define HAVE__FINITE 1
52167 _ACEOF
52170 done
52179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52180 $as_echo_n "checking for sincos declaration... " >&6; }
52181 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52182 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52183 $as_echo_n "(cached) " >&6
52184 else
52187 ac_ext=cpp
52188 ac_cpp='$CXXCPP $CPPFLAGS'
52189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52194 /* end confdefs.h. */
52195 #include <math.h>
52197 main ()
52199 sincos(0, 0, 0);
52201 return 0;
52203 _ACEOF
52204 if ac_fn_cxx_try_compile "$LINENO"; then :
52205 glibcxx_cv_func_sincos_use=yes
52206 else
52207 glibcxx_cv_func_sincos_use=no
52209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52210 ac_ext=c
52211 ac_cpp='$CPP $CPPFLAGS'
52212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52221 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52223 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52224 for ac_func in sincos
52225 do :
52226 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52227 if test "x$ac_cv_func_sincos" = x""yes; then :
52228 cat >>confdefs.h <<_ACEOF
52229 #define HAVE_SINCOS 1
52230 _ACEOF
52233 done
52235 else
52237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52238 $as_echo_n "checking for _sincos declaration... " >&6; }
52239 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52240 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52241 $as_echo_n "(cached) " >&6
52242 else
52245 ac_ext=cpp
52246 ac_cpp='$CXXCPP $CPPFLAGS'
52247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52252 /* end confdefs.h. */
52253 #include <math.h>
52255 main ()
52257 _sincos(0, 0, 0);
52259 return 0;
52261 _ACEOF
52262 if ac_fn_cxx_try_compile "$LINENO"; then :
52263 glibcxx_cv_func__sincos_use=yes
52264 else
52265 glibcxx_cv_func__sincos_use=no
52267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52268 ac_ext=c
52269 ac_cpp='$CPP $CPPFLAGS'
52270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52279 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52281 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52282 for ac_func in _sincos
52283 do :
52284 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52285 if test "x$ac_cv_func__sincos" = x""yes; then :
52286 cat >>confdefs.h <<_ACEOF
52287 #define HAVE__SINCOS 1
52288 _ACEOF
52291 done
52300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52301 $as_echo_n "checking for fpclass declaration... " >&6; }
52302 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52303 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52304 $as_echo_n "(cached) " >&6
52305 else
52308 ac_ext=cpp
52309 ac_cpp='$CXXCPP $CPPFLAGS'
52310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52315 /* end confdefs.h. */
52316 #include <math.h>
52317 #ifdef HAVE_IEEEFP_H
52318 #include <ieeefp.h>
52319 #endif
52322 main ()
52324 fpclass(0);
52326 return 0;
52328 _ACEOF
52329 if ac_fn_cxx_try_compile "$LINENO"; then :
52330 glibcxx_cv_func_fpclass_use=yes
52331 else
52332 glibcxx_cv_func_fpclass_use=no
52334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52335 ac_ext=c
52336 ac_cpp='$CPP $CPPFLAGS'
52337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52346 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52348 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52349 for ac_func in fpclass
52350 do :
52351 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52352 if test "x$ac_cv_func_fpclass" = x""yes; then :
52353 cat >>confdefs.h <<_ACEOF
52354 #define HAVE_FPCLASS 1
52355 _ACEOF
52358 done
52360 else
52362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52363 $as_echo_n "checking for _fpclass declaration... " >&6; }
52364 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52365 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52366 $as_echo_n "(cached) " >&6
52367 else
52370 ac_ext=cpp
52371 ac_cpp='$CXXCPP $CPPFLAGS'
52372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52377 /* end confdefs.h. */
52378 #include <math.h>
52379 #ifdef HAVE_IEEEFP_H
52380 #include <ieeefp.h>
52381 #endif
52384 main ()
52386 _fpclass(0);
52388 return 0;
52390 _ACEOF
52391 if ac_fn_cxx_try_compile "$LINENO"; then :
52392 glibcxx_cv_func__fpclass_use=yes
52393 else
52394 glibcxx_cv_func__fpclass_use=no
52396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52397 ac_ext=c
52398 ac_cpp='$CPP $CPPFLAGS'
52399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52408 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52410 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52411 for ac_func in _fpclass
52412 do :
52413 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52414 if test "x$ac_cv_func__fpclass" = x""yes; then :
52415 cat >>confdefs.h <<_ACEOF
52416 #define HAVE__FPCLASS 1
52417 _ACEOF
52420 done
52429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52430 $as_echo_n "checking for qfpclass declaration... " >&6; }
52431 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52432 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52433 $as_echo_n "(cached) " >&6
52434 else
52437 ac_ext=cpp
52438 ac_cpp='$CXXCPP $CPPFLAGS'
52439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52444 /* end confdefs.h. */
52445 #include <math.h>
52446 #ifdef HAVE_IEEEFP_H
52447 #include <ieeefp.h>
52448 #endif
52451 main ()
52453 qfpclass(0);
52455 return 0;
52457 _ACEOF
52458 if ac_fn_cxx_try_compile "$LINENO"; then :
52459 glibcxx_cv_func_qfpclass_use=yes
52460 else
52461 glibcxx_cv_func_qfpclass_use=no
52463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52464 ac_ext=c
52465 ac_cpp='$CPP $CPPFLAGS'
52466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52475 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52477 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52478 for ac_func in qfpclass
52479 do :
52480 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52481 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52482 cat >>confdefs.h <<_ACEOF
52483 #define HAVE_QFPCLASS 1
52484 _ACEOF
52487 done
52489 else
52491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52492 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52493 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52494 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52495 $as_echo_n "(cached) " >&6
52496 else
52499 ac_ext=cpp
52500 ac_cpp='$CXXCPP $CPPFLAGS'
52501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52506 /* end confdefs.h. */
52507 #include <math.h>
52508 #ifdef HAVE_IEEEFP_H
52509 #include <ieeefp.h>
52510 #endif
52513 main ()
52515 _qfpclass(0);
52517 return 0;
52519 _ACEOF
52520 if ac_fn_cxx_try_compile "$LINENO"; then :
52521 glibcxx_cv_func__qfpclass_use=yes
52522 else
52523 glibcxx_cv_func__qfpclass_use=no
52525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52526 ac_ext=c
52527 ac_cpp='$CPP $CPPFLAGS'
52528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52537 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52539 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52540 for ac_func in _qfpclass
52541 do :
52542 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52543 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52544 cat >>confdefs.h <<_ACEOF
52545 #define HAVE__QFPCLASS 1
52546 _ACEOF
52549 done
52558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52559 $as_echo_n "checking for hypot declaration... " >&6; }
52560 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52561 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52562 $as_echo_n "(cached) " >&6
52563 else
52566 ac_ext=cpp
52567 ac_cpp='$CXXCPP $CPPFLAGS'
52568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52573 /* end confdefs.h. */
52574 #include <math.h>
52576 main ()
52578 hypot(0, 0);
52580 return 0;
52582 _ACEOF
52583 if ac_fn_cxx_try_compile "$LINENO"; then :
52584 glibcxx_cv_func_hypot_use=yes
52585 else
52586 glibcxx_cv_func_hypot_use=no
52588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52589 ac_ext=c
52590 ac_cpp='$CPP $CPPFLAGS'
52591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52600 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52602 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52603 for ac_func in hypot
52604 do :
52605 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52606 if test "x$ac_cv_func_hypot" = x""yes; then :
52607 cat >>confdefs.h <<_ACEOF
52608 #define HAVE_HYPOT 1
52609 _ACEOF
52612 done
52614 else
52616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52617 $as_echo_n "checking for _hypot declaration... " >&6; }
52618 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52619 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52620 $as_echo_n "(cached) " >&6
52621 else
52624 ac_ext=cpp
52625 ac_cpp='$CXXCPP $CPPFLAGS'
52626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52631 /* end confdefs.h. */
52632 #include <math.h>
52634 main ()
52636 _hypot(0, 0);
52638 return 0;
52640 _ACEOF
52641 if ac_fn_cxx_try_compile "$LINENO"; then :
52642 glibcxx_cv_func__hypot_use=yes
52643 else
52644 glibcxx_cv_func__hypot_use=no
52646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52647 ac_ext=c
52648 ac_cpp='$CPP $CPPFLAGS'
52649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52658 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52660 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52661 for ac_func in _hypot
52662 do :
52663 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52664 if test "x$ac_cv_func__hypot" = x""yes; then :
52665 cat >>confdefs.h <<_ACEOF
52666 #define HAVE__HYPOT 1
52667 _ACEOF
52670 done
52679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52680 $as_echo_n "checking for float trig functions... " >&6; }
52681 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52682 $as_echo_n "(cached) " >&6
52683 else
52686 ac_ext=cpp
52687 ac_cpp='$CXXCPP $CPPFLAGS'
52688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52693 /* end confdefs.h. */
52694 #include <math.h>
52696 main ()
52698 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52700 return 0;
52702 _ACEOF
52703 if ac_fn_cxx_try_compile "$LINENO"; then :
52704 glibcxx_cv_func_float_trig_use=yes
52705 else
52706 glibcxx_cv_func_float_trig_use=no
52708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52709 ac_ext=c
52710 ac_cpp='$CPP $CPPFLAGS'
52711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52718 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52719 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52720 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52721 do :
52722 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52723 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52724 eval as_val=\$$as_ac_var
52725 if test "x$as_val" = x""yes; then :
52726 cat >>confdefs.h <<_ACEOF
52727 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52728 _ACEOF
52731 done
52733 else
52734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52735 $as_echo_n "checking for _float trig functions... " >&6; }
52736 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52737 $as_echo_n "(cached) " >&6
52738 else
52741 ac_ext=cpp
52742 ac_cpp='$CXXCPP $CPPFLAGS'
52743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52748 /* end confdefs.h. */
52749 #include <math.h>
52751 main ()
52753 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52755 return 0;
52757 _ACEOF
52758 if ac_fn_cxx_try_compile "$LINENO"; then :
52759 glibcxx_cv_func__float_trig_use=yes
52760 else
52761 glibcxx_cv_func__float_trig_use=no
52763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52764 ac_ext=c
52765 ac_cpp='$CPP $CPPFLAGS'
52766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52773 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52774 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52775 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52776 do :
52777 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52778 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52779 eval as_val=\$$as_ac_var
52780 if test "x$as_val" = x""yes; then :
52781 cat >>confdefs.h <<_ACEOF
52782 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52783 _ACEOF
52786 done
52795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52796 $as_echo_n "checking for float round functions... " >&6; }
52797 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52798 $as_echo_n "(cached) " >&6
52799 else
52802 ac_ext=cpp
52803 ac_cpp='$CXXCPP $CPPFLAGS'
52804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52809 /* end confdefs.h. */
52810 #include <math.h>
52812 main ()
52814 ceilf (0); floorf (0);
52816 return 0;
52818 _ACEOF
52819 if ac_fn_cxx_try_compile "$LINENO"; then :
52820 glibcxx_cv_func_float_round_use=yes
52821 else
52822 glibcxx_cv_func_float_round_use=no
52824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52825 ac_ext=c
52826 ac_cpp='$CPP $CPPFLAGS'
52827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52834 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52835 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52836 for ac_func in ceilf floorf
52837 do :
52838 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52839 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52840 eval as_val=\$$as_ac_var
52841 if test "x$as_val" = x""yes; then :
52842 cat >>confdefs.h <<_ACEOF
52843 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52844 _ACEOF
52847 done
52849 else
52850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52851 $as_echo_n "checking for _float round functions... " >&6; }
52852 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52853 $as_echo_n "(cached) " >&6
52854 else
52857 ac_ext=cpp
52858 ac_cpp='$CXXCPP $CPPFLAGS'
52859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52864 /* end confdefs.h. */
52865 #include <math.h>
52867 main ()
52869 _ceilf (0); _floorf (0);
52871 return 0;
52873 _ACEOF
52874 if ac_fn_cxx_try_compile "$LINENO"; then :
52875 glibcxx_cv_func__float_round_use=yes
52876 else
52877 glibcxx_cv_func__float_round_use=no
52879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52880 ac_ext=c
52881 ac_cpp='$CPP $CPPFLAGS'
52882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52889 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52890 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52891 for ac_func in _ceilf _floorf
52892 do :
52893 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52894 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52895 eval as_val=\$$as_ac_var
52896 if test "x$as_val" = x""yes; then :
52897 cat >>confdefs.h <<_ACEOF
52898 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52899 _ACEOF
52902 done
52912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52913 $as_echo_n "checking for expf declaration... " >&6; }
52914 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52915 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52916 $as_echo_n "(cached) " >&6
52917 else
52920 ac_ext=cpp
52921 ac_cpp='$CXXCPP $CPPFLAGS'
52922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52927 /* end confdefs.h. */
52928 #include <math.h>
52929 #ifdef HAVE_IEEEFP_H
52930 #include <ieeefp.h>
52931 #endif
52934 main ()
52936 expf(0);
52938 return 0;
52940 _ACEOF
52941 if ac_fn_cxx_try_compile "$LINENO"; then :
52942 glibcxx_cv_func_expf_use=yes
52943 else
52944 glibcxx_cv_func_expf_use=no
52946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52947 ac_ext=c
52948 ac_cpp='$CPP $CPPFLAGS'
52949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52958 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52960 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52961 for ac_func in expf
52962 do :
52963 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52964 if test "x$ac_cv_func_expf" = x""yes; then :
52965 cat >>confdefs.h <<_ACEOF
52966 #define HAVE_EXPF 1
52967 _ACEOF
52970 done
52972 else
52974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52975 $as_echo_n "checking for _expf declaration... " >&6; }
52976 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52977 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52978 $as_echo_n "(cached) " >&6
52979 else
52982 ac_ext=cpp
52983 ac_cpp='$CXXCPP $CPPFLAGS'
52984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52989 /* end confdefs.h. */
52990 #include <math.h>
52991 #ifdef HAVE_IEEEFP_H
52992 #include <ieeefp.h>
52993 #endif
52996 main ()
52998 _expf(0);
53000 return 0;
53002 _ACEOF
53003 if ac_fn_cxx_try_compile "$LINENO"; then :
53004 glibcxx_cv_func__expf_use=yes
53005 else
53006 glibcxx_cv_func__expf_use=no
53008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53009 ac_ext=c
53010 ac_cpp='$CPP $CPPFLAGS'
53011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53020 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53022 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53023 for ac_func in _expf
53024 do :
53025 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53026 if test "x$ac_cv_func__expf" = x""yes; then :
53027 cat >>confdefs.h <<_ACEOF
53028 #define HAVE__EXPF 1
53029 _ACEOF
53032 done
53041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53042 $as_echo_n "checking for isnanf declaration... " >&6; }
53043 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53044 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53045 $as_echo_n "(cached) " >&6
53046 else
53049 ac_ext=cpp
53050 ac_cpp='$CXXCPP $CPPFLAGS'
53051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53056 /* end confdefs.h. */
53057 #include <math.h>
53058 #ifdef HAVE_IEEEFP_H
53059 #include <ieeefp.h>
53060 #endif
53063 main ()
53065 isnanf(0);
53067 return 0;
53069 _ACEOF
53070 if ac_fn_cxx_try_compile "$LINENO"; then :
53071 glibcxx_cv_func_isnanf_use=yes
53072 else
53073 glibcxx_cv_func_isnanf_use=no
53075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53076 ac_ext=c
53077 ac_cpp='$CPP $CPPFLAGS'
53078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53087 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53089 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53090 for ac_func in isnanf
53091 do :
53092 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53093 if test "x$ac_cv_func_isnanf" = x""yes; then :
53094 cat >>confdefs.h <<_ACEOF
53095 #define HAVE_ISNANF 1
53096 _ACEOF
53099 done
53101 else
53103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53104 $as_echo_n "checking for _isnanf declaration... " >&6; }
53105 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53106 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53107 $as_echo_n "(cached) " >&6
53108 else
53111 ac_ext=cpp
53112 ac_cpp='$CXXCPP $CPPFLAGS'
53113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53118 /* end confdefs.h. */
53119 #include <math.h>
53120 #ifdef HAVE_IEEEFP_H
53121 #include <ieeefp.h>
53122 #endif
53125 main ()
53127 _isnanf(0);
53129 return 0;
53131 _ACEOF
53132 if ac_fn_cxx_try_compile "$LINENO"; then :
53133 glibcxx_cv_func__isnanf_use=yes
53134 else
53135 glibcxx_cv_func__isnanf_use=no
53137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53138 ac_ext=c
53139 ac_cpp='$CPP $CPPFLAGS'
53140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53149 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53151 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53152 for ac_func in _isnanf
53153 do :
53154 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53155 if test "x$ac_cv_func__isnanf" = x""yes; then :
53156 cat >>confdefs.h <<_ACEOF
53157 #define HAVE__ISNANF 1
53158 _ACEOF
53161 done
53170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53171 $as_echo_n "checking for isinff declaration... " >&6; }
53172 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53173 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53174 $as_echo_n "(cached) " >&6
53175 else
53178 ac_ext=cpp
53179 ac_cpp='$CXXCPP $CPPFLAGS'
53180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53185 /* end confdefs.h. */
53186 #include <math.h>
53187 #ifdef HAVE_IEEEFP_H
53188 #include <ieeefp.h>
53189 #endif
53192 main ()
53194 isinff(0);
53196 return 0;
53198 _ACEOF
53199 if ac_fn_cxx_try_compile "$LINENO"; then :
53200 glibcxx_cv_func_isinff_use=yes
53201 else
53202 glibcxx_cv_func_isinff_use=no
53204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53205 ac_ext=c
53206 ac_cpp='$CPP $CPPFLAGS'
53207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53216 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53218 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53219 for ac_func in isinff
53220 do :
53221 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53222 if test "x$ac_cv_func_isinff" = x""yes; then :
53223 cat >>confdefs.h <<_ACEOF
53224 #define HAVE_ISINFF 1
53225 _ACEOF
53228 done
53230 else
53232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53233 $as_echo_n "checking for _isinff declaration... " >&6; }
53234 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53235 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53236 $as_echo_n "(cached) " >&6
53237 else
53240 ac_ext=cpp
53241 ac_cpp='$CXXCPP $CPPFLAGS'
53242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53247 /* end confdefs.h. */
53248 #include <math.h>
53249 #ifdef HAVE_IEEEFP_H
53250 #include <ieeefp.h>
53251 #endif
53254 main ()
53256 _isinff(0);
53258 return 0;
53260 _ACEOF
53261 if ac_fn_cxx_try_compile "$LINENO"; then :
53262 glibcxx_cv_func__isinff_use=yes
53263 else
53264 glibcxx_cv_func__isinff_use=no
53266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53267 ac_ext=c
53268 ac_cpp='$CPP $CPPFLAGS'
53269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53278 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53280 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53281 for ac_func in _isinff
53282 do :
53283 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53284 if test "x$ac_cv_func__isinff" = x""yes; then :
53285 cat >>confdefs.h <<_ACEOF
53286 #define HAVE__ISINFF 1
53287 _ACEOF
53290 done
53299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53300 $as_echo_n "checking for atan2f declaration... " >&6; }
53301 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53302 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53303 $as_echo_n "(cached) " >&6
53304 else
53307 ac_ext=cpp
53308 ac_cpp='$CXXCPP $CPPFLAGS'
53309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53314 /* end confdefs.h. */
53315 #include <math.h>
53317 main ()
53319 atan2f(0, 0);
53321 return 0;
53323 _ACEOF
53324 if ac_fn_cxx_try_compile "$LINENO"; then :
53325 glibcxx_cv_func_atan2f_use=yes
53326 else
53327 glibcxx_cv_func_atan2f_use=no
53329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53330 ac_ext=c
53331 ac_cpp='$CPP $CPPFLAGS'
53332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53341 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53343 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53344 for ac_func in atan2f
53345 do :
53346 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53347 if test "x$ac_cv_func_atan2f" = x""yes; then :
53348 cat >>confdefs.h <<_ACEOF
53349 #define HAVE_ATAN2F 1
53350 _ACEOF
53353 done
53355 else
53357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53358 $as_echo_n "checking for _atan2f declaration... " >&6; }
53359 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53360 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53361 $as_echo_n "(cached) " >&6
53362 else
53365 ac_ext=cpp
53366 ac_cpp='$CXXCPP $CPPFLAGS'
53367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53372 /* end confdefs.h. */
53373 #include <math.h>
53375 main ()
53377 _atan2f(0, 0);
53379 return 0;
53381 _ACEOF
53382 if ac_fn_cxx_try_compile "$LINENO"; then :
53383 glibcxx_cv_func__atan2f_use=yes
53384 else
53385 glibcxx_cv_func__atan2f_use=no
53387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53388 ac_ext=c
53389 ac_cpp='$CPP $CPPFLAGS'
53390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53399 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53401 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53402 for ac_func in _atan2f
53403 do :
53404 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53405 if test "x$ac_cv_func__atan2f" = x""yes; then :
53406 cat >>confdefs.h <<_ACEOF
53407 #define HAVE__ATAN2F 1
53408 _ACEOF
53411 done
53420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53421 $as_echo_n "checking for fabsf declaration... " >&6; }
53422 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53423 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53424 $as_echo_n "(cached) " >&6
53425 else
53428 ac_ext=cpp
53429 ac_cpp='$CXXCPP $CPPFLAGS'
53430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53435 /* end confdefs.h. */
53436 #include <math.h>
53437 #ifdef HAVE_IEEEFP_H
53438 #include <ieeefp.h>
53439 #endif
53442 main ()
53444 fabsf(0);
53446 return 0;
53448 _ACEOF
53449 if ac_fn_cxx_try_compile "$LINENO"; then :
53450 glibcxx_cv_func_fabsf_use=yes
53451 else
53452 glibcxx_cv_func_fabsf_use=no
53454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53455 ac_ext=c
53456 ac_cpp='$CPP $CPPFLAGS'
53457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53466 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53468 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53469 for ac_func in fabsf
53470 do :
53471 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53472 if test "x$ac_cv_func_fabsf" = x""yes; then :
53473 cat >>confdefs.h <<_ACEOF
53474 #define HAVE_FABSF 1
53475 _ACEOF
53478 done
53480 else
53482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53483 $as_echo_n "checking for _fabsf declaration... " >&6; }
53484 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53485 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53486 $as_echo_n "(cached) " >&6
53487 else
53490 ac_ext=cpp
53491 ac_cpp='$CXXCPP $CPPFLAGS'
53492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53497 /* end confdefs.h. */
53498 #include <math.h>
53499 #ifdef HAVE_IEEEFP_H
53500 #include <ieeefp.h>
53501 #endif
53504 main ()
53506 _fabsf(0);
53508 return 0;
53510 _ACEOF
53511 if ac_fn_cxx_try_compile "$LINENO"; then :
53512 glibcxx_cv_func__fabsf_use=yes
53513 else
53514 glibcxx_cv_func__fabsf_use=no
53516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53517 ac_ext=c
53518 ac_cpp='$CPP $CPPFLAGS'
53519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53528 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53530 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53531 for ac_func in _fabsf
53532 do :
53533 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53534 if test "x$ac_cv_func__fabsf" = x""yes; then :
53535 cat >>confdefs.h <<_ACEOF
53536 #define HAVE__FABSF 1
53537 _ACEOF
53540 done
53549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53550 $as_echo_n "checking for fmodf declaration... " >&6; }
53551 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53552 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53553 $as_echo_n "(cached) " >&6
53554 else
53557 ac_ext=cpp
53558 ac_cpp='$CXXCPP $CPPFLAGS'
53559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53564 /* end confdefs.h. */
53565 #include <math.h>
53567 main ()
53569 fmodf(0, 0);
53571 return 0;
53573 _ACEOF
53574 if ac_fn_cxx_try_compile "$LINENO"; then :
53575 glibcxx_cv_func_fmodf_use=yes
53576 else
53577 glibcxx_cv_func_fmodf_use=no
53579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53580 ac_ext=c
53581 ac_cpp='$CPP $CPPFLAGS'
53582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53591 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53593 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53594 for ac_func in fmodf
53595 do :
53596 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53597 if test "x$ac_cv_func_fmodf" = x""yes; then :
53598 cat >>confdefs.h <<_ACEOF
53599 #define HAVE_FMODF 1
53600 _ACEOF
53603 done
53605 else
53607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53608 $as_echo_n "checking for _fmodf declaration... " >&6; }
53609 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53610 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53611 $as_echo_n "(cached) " >&6
53612 else
53615 ac_ext=cpp
53616 ac_cpp='$CXXCPP $CPPFLAGS'
53617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53622 /* end confdefs.h. */
53623 #include <math.h>
53625 main ()
53627 _fmodf(0, 0);
53629 return 0;
53631 _ACEOF
53632 if ac_fn_cxx_try_compile "$LINENO"; then :
53633 glibcxx_cv_func__fmodf_use=yes
53634 else
53635 glibcxx_cv_func__fmodf_use=no
53637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53638 ac_ext=c
53639 ac_cpp='$CPP $CPPFLAGS'
53640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53649 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53651 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53652 for ac_func in _fmodf
53653 do :
53654 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53655 if test "x$ac_cv_func__fmodf" = x""yes; then :
53656 cat >>confdefs.h <<_ACEOF
53657 #define HAVE__FMODF 1
53658 _ACEOF
53661 done
53670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53671 $as_echo_n "checking for frexpf declaration... " >&6; }
53672 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53673 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53674 $as_echo_n "(cached) " >&6
53675 else
53678 ac_ext=cpp
53679 ac_cpp='$CXXCPP $CPPFLAGS'
53680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53685 /* end confdefs.h. */
53686 #include <math.h>
53688 main ()
53690 frexpf(0, 0);
53692 return 0;
53694 _ACEOF
53695 if ac_fn_cxx_try_compile "$LINENO"; then :
53696 glibcxx_cv_func_frexpf_use=yes
53697 else
53698 glibcxx_cv_func_frexpf_use=no
53700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53701 ac_ext=c
53702 ac_cpp='$CPP $CPPFLAGS'
53703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53712 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53714 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53715 for ac_func in frexpf
53716 do :
53717 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53718 if test "x$ac_cv_func_frexpf" = x""yes; then :
53719 cat >>confdefs.h <<_ACEOF
53720 #define HAVE_FREXPF 1
53721 _ACEOF
53724 done
53726 else
53728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53729 $as_echo_n "checking for _frexpf declaration... " >&6; }
53730 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53731 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53732 $as_echo_n "(cached) " >&6
53733 else
53736 ac_ext=cpp
53737 ac_cpp='$CXXCPP $CPPFLAGS'
53738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53743 /* end confdefs.h. */
53744 #include <math.h>
53746 main ()
53748 _frexpf(0, 0);
53750 return 0;
53752 _ACEOF
53753 if ac_fn_cxx_try_compile "$LINENO"; then :
53754 glibcxx_cv_func__frexpf_use=yes
53755 else
53756 glibcxx_cv_func__frexpf_use=no
53758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53759 ac_ext=c
53760 ac_cpp='$CPP $CPPFLAGS'
53761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53770 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53772 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53773 for ac_func in _frexpf
53774 do :
53775 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53776 if test "x$ac_cv_func__frexpf" = x""yes; then :
53777 cat >>confdefs.h <<_ACEOF
53778 #define HAVE__FREXPF 1
53779 _ACEOF
53782 done
53791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53792 $as_echo_n "checking for hypotf declaration... " >&6; }
53793 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53794 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53795 $as_echo_n "(cached) " >&6
53796 else
53799 ac_ext=cpp
53800 ac_cpp='$CXXCPP $CPPFLAGS'
53801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53806 /* end confdefs.h. */
53807 #include <math.h>
53809 main ()
53811 hypotf(0, 0);
53813 return 0;
53815 _ACEOF
53816 if ac_fn_cxx_try_compile "$LINENO"; then :
53817 glibcxx_cv_func_hypotf_use=yes
53818 else
53819 glibcxx_cv_func_hypotf_use=no
53821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53822 ac_ext=c
53823 ac_cpp='$CPP $CPPFLAGS'
53824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53833 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53835 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53836 for ac_func in hypotf
53837 do :
53838 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53839 if test "x$ac_cv_func_hypotf" = x""yes; then :
53840 cat >>confdefs.h <<_ACEOF
53841 #define HAVE_HYPOTF 1
53842 _ACEOF
53845 done
53847 else
53849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53850 $as_echo_n "checking for _hypotf declaration... " >&6; }
53851 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53852 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53853 $as_echo_n "(cached) " >&6
53854 else
53857 ac_ext=cpp
53858 ac_cpp='$CXXCPP $CPPFLAGS'
53859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53864 /* end confdefs.h. */
53865 #include <math.h>
53867 main ()
53869 _hypotf(0, 0);
53871 return 0;
53873 _ACEOF
53874 if ac_fn_cxx_try_compile "$LINENO"; then :
53875 glibcxx_cv_func__hypotf_use=yes
53876 else
53877 glibcxx_cv_func__hypotf_use=no
53879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53880 ac_ext=c
53881 ac_cpp='$CPP $CPPFLAGS'
53882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53891 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53893 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53894 for ac_func in _hypotf
53895 do :
53896 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53897 if test "x$ac_cv_func__hypotf" = x""yes; then :
53898 cat >>confdefs.h <<_ACEOF
53899 #define HAVE__HYPOTF 1
53900 _ACEOF
53903 done
53912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53913 $as_echo_n "checking for ldexpf declaration... " >&6; }
53914 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53915 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53916 $as_echo_n "(cached) " >&6
53917 else
53920 ac_ext=cpp
53921 ac_cpp='$CXXCPP $CPPFLAGS'
53922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53927 /* end confdefs.h. */
53928 #include <math.h>
53930 main ()
53932 ldexpf(0, 0);
53934 return 0;
53936 _ACEOF
53937 if ac_fn_cxx_try_compile "$LINENO"; then :
53938 glibcxx_cv_func_ldexpf_use=yes
53939 else
53940 glibcxx_cv_func_ldexpf_use=no
53942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53943 ac_ext=c
53944 ac_cpp='$CPP $CPPFLAGS'
53945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53954 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53956 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53957 for ac_func in ldexpf
53958 do :
53959 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53960 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53961 cat >>confdefs.h <<_ACEOF
53962 #define HAVE_LDEXPF 1
53963 _ACEOF
53966 done
53968 else
53970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53971 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53972 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53973 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53974 $as_echo_n "(cached) " >&6
53975 else
53978 ac_ext=cpp
53979 ac_cpp='$CXXCPP $CPPFLAGS'
53980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53985 /* end confdefs.h. */
53986 #include <math.h>
53988 main ()
53990 _ldexpf(0, 0);
53992 return 0;
53994 _ACEOF
53995 if ac_fn_cxx_try_compile "$LINENO"; then :
53996 glibcxx_cv_func__ldexpf_use=yes
53997 else
53998 glibcxx_cv_func__ldexpf_use=no
54000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54001 ac_ext=c
54002 ac_cpp='$CPP $CPPFLAGS'
54003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54012 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54014 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54015 for ac_func in _ldexpf
54016 do :
54017 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54018 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54019 cat >>confdefs.h <<_ACEOF
54020 #define HAVE__LDEXPF 1
54021 _ACEOF
54024 done
54033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54034 $as_echo_n "checking for logf declaration... " >&6; }
54035 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54036 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54037 $as_echo_n "(cached) " >&6
54038 else
54041 ac_ext=cpp
54042 ac_cpp='$CXXCPP $CPPFLAGS'
54043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54048 /* end confdefs.h. */
54049 #include <math.h>
54050 #ifdef HAVE_IEEEFP_H
54051 #include <ieeefp.h>
54052 #endif
54055 main ()
54057 logf(0);
54059 return 0;
54061 _ACEOF
54062 if ac_fn_cxx_try_compile "$LINENO"; then :
54063 glibcxx_cv_func_logf_use=yes
54064 else
54065 glibcxx_cv_func_logf_use=no
54067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54068 ac_ext=c
54069 ac_cpp='$CPP $CPPFLAGS'
54070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54079 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54081 if test x$glibcxx_cv_func_logf_use = x"yes"; then
54082 for ac_func in logf
54083 do :
54084 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54085 if test "x$ac_cv_func_logf" = x""yes; then :
54086 cat >>confdefs.h <<_ACEOF
54087 #define HAVE_LOGF 1
54088 _ACEOF
54091 done
54093 else
54095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54096 $as_echo_n "checking for _logf declaration... " >&6; }
54097 if test x${glibcxx_cv_func__logf_use+set} != xset; then
54098 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54099 $as_echo_n "(cached) " >&6
54100 else
54103 ac_ext=cpp
54104 ac_cpp='$CXXCPP $CPPFLAGS'
54105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54110 /* end confdefs.h. */
54111 #include <math.h>
54112 #ifdef HAVE_IEEEFP_H
54113 #include <ieeefp.h>
54114 #endif
54117 main ()
54119 _logf(0);
54121 return 0;
54123 _ACEOF
54124 if ac_fn_cxx_try_compile "$LINENO"; then :
54125 glibcxx_cv_func__logf_use=yes
54126 else
54127 glibcxx_cv_func__logf_use=no
54129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54130 ac_ext=c
54131 ac_cpp='$CPP $CPPFLAGS'
54132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54141 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54143 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54144 for ac_func in _logf
54145 do :
54146 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54147 if test "x$ac_cv_func__logf" = x""yes; then :
54148 cat >>confdefs.h <<_ACEOF
54149 #define HAVE__LOGF 1
54150 _ACEOF
54153 done
54162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54163 $as_echo_n "checking for log10f declaration... " >&6; }
54164 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54165 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54166 $as_echo_n "(cached) " >&6
54167 else
54170 ac_ext=cpp
54171 ac_cpp='$CXXCPP $CPPFLAGS'
54172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54177 /* end confdefs.h. */
54178 #include <math.h>
54179 #ifdef HAVE_IEEEFP_H
54180 #include <ieeefp.h>
54181 #endif
54184 main ()
54186 log10f(0);
54188 return 0;
54190 _ACEOF
54191 if ac_fn_cxx_try_compile "$LINENO"; then :
54192 glibcxx_cv_func_log10f_use=yes
54193 else
54194 glibcxx_cv_func_log10f_use=no
54196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54197 ac_ext=c
54198 ac_cpp='$CPP $CPPFLAGS'
54199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54208 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54210 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54211 for ac_func in log10f
54212 do :
54213 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54214 if test "x$ac_cv_func_log10f" = x""yes; then :
54215 cat >>confdefs.h <<_ACEOF
54216 #define HAVE_LOG10F 1
54217 _ACEOF
54220 done
54222 else
54224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54225 $as_echo_n "checking for _log10f declaration... " >&6; }
54226 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54227 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54228 $as_echo_n "(cached) " >&6
54229 else
54232 ac_ext=cpp
54233 ac_cpp='$CXXCPP $CPPFLAGS'
54234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54239 /* end confdefs.h. */
54240 #include <math.h>
54241 #ifdef HAVE_IEEEFP_H
54242 #include <ieeefp.h>
54243 #endif
54246 main ()
54248 _log10f(0);
54250 return 0;
54252 _ACEOF
54253 if ac_fn_cxx_try_compile "$LINENO"; then :
54254 glibcxx_cv_func__log10f_use=yes
54255 else
54256 glibcxx_cv_func__log10f_use=no
54258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54259 ac_ext=c
54260 ac_cpp='$CPP $CPPFLAGS'
54261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54270 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54272 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54273 for ac_func in _log10f
54274 do :
54275 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54276 if test "x$ac_cv_func__log10f" = x""yes; then :
54277 cat >>confdefs.h <<_ACEOF
54278 #define HAVE__LOG10F 1
54279 _ACEOF
54282 done
54291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54292 $as_echo_n "checking for modff declaration... " >&6; }
54293 if test x${glibcxx_cv_func_modff_use+set} != xset; then
54294 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54295 $as_echo_n "(cached) " >&6
54296 else
54299 ac_ext=cpp
54300 ac_cpp='$CXXCPP $CPPFLAGS'
54301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54306 /* end confdefs.h. */
54307 #include <math.h>
54309 main ()
54311 modff(0, 0);
54313 return 0;
54315 _ACEOF
54316 if ac_fn_cxx_try_compile "$LINENO"; then :
54317 glibcxx_cv_func_modff_use=yes
54318 else
54319 glibcxx_cv_func_modff_use=no
54321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54322 ac_ext=c
54323 ac_cpp='$CPP $CPPFLAGS'
54324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54333 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54335 if test x$glibcxx_cv_func_modff_use = x"yes"; then
54336 for ac_func in modff
54337 do :
54338 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54339 if test "x$ac_cv_func_modff" = x""yes; then :
54340 cat >>confdefs.h <<_ACEOF
54341 #define HAVE_MODFF 1
54342 _ACEOF
54345 done
54347 else
54349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54350 $as_echo_n "checking for _modff declaration... " >&6; }
54351 if test x${glibcxx_cv_func__modff_use+set} != xset; then
54352 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54353 $as_echo_n "(cached) " >&6
54354 else
54357 ac_ext=cpp
54358 ac_cpp='$CXXCPP $CPPFLAGS'
54359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54364 /* end confdefs.h. */
54365 #include <math.h>
54367 main ()
54369 _modff(0, 0);
54371 return 0;
54373 _ACEOF
54374 if ac_fn_cxx_try_compile "$LINENO"; then :
54375 glibcxx_cv_func__modff_use=yes
54376 else
54377 glibcxx_cv_func__modff_use=no
54379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54380 ac_ext=c
54381 ac_cpp='$CPP $CPPFLAGS'
54382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54391 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54393 if test x$glibcxx_cv_func__modff_use = x"yes"; then
54394 for ac_func in _modff
54395 do :
54396 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54397 if test "x$ac_cv_func__modff" = x""yes; then :
54398 cat >>confdefs.h <<_ACEOF
54399 #define HAVE__MODFF 1
54400 _ACEOF
54403 done
54412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54413 $as_echo_n "checking for modf declaration... " >&6; }
54414 if test x${glibcxx_cv_func_modf_use+set} != xset; then
54415 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54416 $as_echo_n "(cached) " >&6
54417 else
54420 ac_ext=cpp
54421 ac_cpp='$CXXCPP $CPPFLAGS'
54422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54427 /* end confdefs.h. */
54428 #include <math.h>
54430 main ()
54432 modf(0, 0);
54434 return 0;
54436 _ACEOF
54437 if ac_fn_cxx_try_compile "$LINENO"; then :
54438 glibcxx_cv_func_modf_use=yes
54439 else
54440 glibcxx_cv_func_modf_use=no
54442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54443 ac_ext=c
54444 ac_cpp='$CPP $CPPFLAGS'
54445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54454 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54456 if test x$glibcxx_cv_func_modf_use = x"yes"; then
54457 for ac_func in modf
54458 do :
54459 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54460 if test "x$ac_cv_func_modf" = x""yes; then :
54461 cat >>confdefs.h <<_ACEOF
54462 #define HAVE_MODF 1
54463 _ACEOF
54466 done
54468 else
54470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54471 $as_echo_n "checking for _modf declaration... " >&6; }
54472 if test x${glibcxx_cv_func__modf_use+set} != xset; then
54473 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54474 $as_echo_n "(cached) " >&6
54475 else
54478 ac_ext=cpp
54479 ac_cpp='$CXXCPP $CPPFLAGS'
54480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54485 /* end confdefs.h. */
54486 #include <math.h>
54488 main ()
54490 _modf(0, 0);
54492 return 0;
54494 _ACEOF
54495 if ac_fn_cxx_try_compile "$LINENO"; then :
54496 glibcxx_cv_func__modf_use=yes
54497 else
54498 glibcxx_cv_func__modf_use=no
54500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54501 ac_ext=c
54502 ac_cpp='$CPP $CPPFLAGS'
54503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54512 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54514 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54515 for ac_func in _modf
54516 do :
54517 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54518 if test "x$ac_cv_func__modf" = x""yes; then :
54519 cat >>confdefs.h <<_ACEOF
54520 #define HAVE__MODF 1
54521 _ACEOF
54524 done
54533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54534 $as_echo_n "checking for powf declaration... " >&6; }
54535 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54536 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54537 $as_echo_n "(cached) " >&6
54538 else
54541 ac_ext=cpp
54542 ac_cpp='$CXXCPP $CPPFLAGS'
54543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54548 /* end confdefs.h. */
54549 #include <math.h>
54551 main ()
54553 powf(0, 0);
54555 return 0;
54557 _ACEOF
54558 if ac_fn_cxx_try_compile "$LINENO"; then :
54559 glibcxx_cv_func_powf_use=yes
54560 else
54561 glibcxx_cv_func_powf_use=no
54563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54564 ac_ext=c
54565 ac_cpp='$CPP $CPPFLAGS'
54566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54575 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54577 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54578 for ac_func in powf
54579 do :
54580 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54581 if test "x$ac_cv_func_powf" = x""yes; then :
54582 cat >>confdefs.h <<_ACEOF
54583 #define HAVE_POWF 1
54584 _ACEOF
54587 done
54589 else
54591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54592 $as_echo_n "checking for _powf declaration... " >&6; }
54593 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54594 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54595 $as_echo_n "(cached) " >&6
54596 else
54599 ac_ext=cpp
54600 ac_cpp='$CXXCPP $CPPFLAGS'
54601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54606 /* end confdefs.h. */
54607 #include <math.h>
54609 main ()
54611 _powf(0, 0);
54613 return 0;
54615 _ACEOF
54616 if ac_fn_cxx_try_compile "$LINENO"; then :
54617 glibcxx_cv_func__powf_use=yes
54618 else
54619 glibcxx_cv_func__powf_use=no
54621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54622 ac_ext=c
54623 ac_cpp='$CPP $CPPFLAGS'
54624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54633 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54635 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54636 for ac_func in _powf
54637 do :
54638 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54639 if test "x$ac_cv_func__powf" = x""yes; then :
54640 cat >>confdefs.h <<_ACEOF
54641 #define HAVE__POWF 1
54642 _ACEOF
54645 done
54654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54655 $as_echo_n "checking for sqrtf declaration... " >&6; }
54656 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54657 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54658 $as_echo_n "(cached) " >&6
54659 else
54662 ac_ext=cpp
54663 ac_cpp='$CXXCPP $CPPFLAGS'
54664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54669 /* end confdefs.h. */
54670 #include <math.h>
54671 #ifdef HAVE_IEEEFP_H
54672 #include <ieeefp.h>
54673 #endif
54676 main ()
54678 sqrtf(0);
54680 return 0;
54682 _ACEOF
54683 if ac_fn_cxx_try_compile "$LINENO"; then :
54684 glibcxx_cv_func_sqrtf_use=yes
54685 else
54686 glibcxx_cv_func_sqrtf_use=no
54688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54689 ac_ext=c
54690 ac_cpp='$CPP $CPPFLAGS'
54691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54700 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54702 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54703 for ac_func in sqrtf
54704 do :
54705 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54706 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54707 cat >>confdefs.h <<_ACEOF
54708 #define HAVE_SQRTF 1
54709 _ACEOF
54712 done
54714 else
54716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54717 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54718 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54719 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54720 $as_echo_n "(cached) " >&6
54721 else
54724 ac_ext=cpp
54725 ac_cpp='$CXXCPP $CPPFLAGS'
54726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54731 /* end confdefs.h. */
54732 #include <math.h>
54733 #ifdef HAVE_IEEEFP_H
54734 #include <ieeefp.h>
54735 #endif
54738 main ()
54740 _sqrtf(0);
54742 return 0;
54744 _ACEOF
54745 if ac_fn_cxx_try_compile "$LINENO"; then :
54746 glibcxx_cv_func__sqrtf_use=yes
54747 else
54748 glibcxx_cv_func__sqrtf_use=no
54750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54751 ac_ext=c
54752 ac_cpp='$CPP $CPPFLAGS'
54753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54762 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54764 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54765 for ac_func in _sqrtf
54766 do :
54767 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54768 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54769 cat >>confdefs.h <<_ACEOF
54770 #define HAVE__SQRTF 1
54771 _ACEOF
54774 done
54783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54784 $as_echo_n "checking for sincosf declaration... " >&6; }
54785 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54786 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54787 $as_echo_n "(cached) " >&6
54788 else
54791 ac_ext=cpp
54792 ac_cpp='$CXXCPP $CPPFLAGS'
54793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54798 /* end confdefs.h. */
54799 #include <math.h>
54801 main ()
54803 sincosf(0, 0, 0);
54805 return 0;
54807 _ACEOF
54808 if ac_fn_cxx_try_compile "$LINENO"; then :
54809 glibcxx_cv_func_sincosf_use=yes
54810 else
54811 glibcxx_cv_func_sincosf_use=no
54813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54814 ac_ext=c
54815 ac_cpp='$CPP $CPPFLAGS'
54816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54825 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54827 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54828 for ac_func in sincosf
54829 do :
54830 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54831 if test "x$ac_cv_func_sincosf" = x""yes; then :
54832 cat >>confdefs.h <<_ACEOF
54833 #define HAVE_SINCOSF 1
54834 _ACEOF
54837 done
54839 else
54841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54842 $as_echo_n "checking for _sincosf declaration... " >&6; }
54843 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54844 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54845 $as_echo_n "(cached) " >&6
54846 else
54849 ac_ext=cpp
54850 ac_cpp='$CXXCPP $CPPFLAGS'
54851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54856 /* end confdefs.h. */
54857 #include <math.h>
54859 main ()
54861 _sincosf(0, 0, 0);
54863 return 0;
54865 _ACEOF
54866 if ac_fn_cxx_try_compile "$LINENO"; then :
54867 glibcxx_cv_func__sincosf_use=yes
54868 else
54869 glibcxx_cv_func__sincosf_use=no
54871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54872 ac_ext=c
54873 ac_cpp='$CPP $CPPFLAGS'
54874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54883 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54885 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54886 for ac_func in _sincosf
54887 do :
54888 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54889 if test "x$ac_cv_func__sincosf" = x""yes; then :
54890 cat >>confdefs.h <<_ACEOF
54891 #define HAVE__SINCOSF 1
54892 _ACEOF
54895 done
54904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54905 $as_echo_n "checking for finitef declaration... " >&6; }
54906 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54907 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54908 $as_echo_n "(cached) " >&6
54909 else
54912 ac_ext=cpp
54913 ac_cpp='$CXXCPP $CPPFLAGS'
54914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54919 /* end confdefs.h. */
54920 #include <math.h>
54921 #ifdef HAVE_IEEEFP_H
54922 #include <ieeefp.h>
54923 #endif
54926 main ()
54928 finitef(0);
54930 return 0;
54932 _ACEOF
54933 if ac_fn_cxx_try_compile "$LINENO"; then :
54934 glibcxx_cv_func_finitef_use=yes
54935 else
54936 glibcxx_cv_func_finitef_use=no
54938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54939 ac_ext=c
54940 ac_cpp='$CPP $CPPFLAGS'
54941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54950 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54952 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54953 for ac_func in finitef
54954 do :
54955 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54956 if test "x$ac_cv_func_finitef" = x""yes; then :
54957 cat >>confdefs.h <<_ACEOF
54958 #define HAVE_FINITEF 1
54959 _ACEOF
54962 done
54964 else
54966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54967 $as_echo_n "checking for _finitef declaration... " >&6; }
54968 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54969 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54970 $as_echo_n "(cached) " >&6
54971 else
54974 ac_ext=cpp
54975 ac_cpp='$CXXCPP $CPPFLAGS'
54976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54981 /* end confdefs.h. */
54982 #include <math.h>
54983 #ifdef HAVE_IEEEFP_H
54984 #include <ieeefp.h>
54985 #endif
54988 main ()
54990 _finitef(0);
54992 return 0;
54994 _ACEOF
54995 if ac_fn_cxx_try_compile "$LINENO"; then :
54996 glibcxx_cv_func__finitef_use=yes
54997 else
54998 glibcxx_cv_func__finitef_use=no
55000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55001 ac_ext=c
55002 ac_cpp='$CPP $CPPFLAGS'
55003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55012 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55014 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55015 for ac_func in _finitef
55016 do :
55017 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55018 if test "x$ac_cv_func__finitef" = x""yes; then :
55019 cat >>confdefs.h <<_ACEOF
55020 #define HAVE__FINITEF 1
55021 _ACEOF
55024 done
55033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55034 $as_echo_n "checking for long double trig functions... " >&6; }
55035 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55036 $as_echo_n "(cached) " >&6
55037 else
55040 ac_ext=cpp
55041 ac_cpp='$CXXCPP $CPPFLAGS'
55042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55047 /* end confdefs.h. */
55048 #include <math.h>
55050 main ()
55052 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55054 return 0;
55056 _ACEOF
55057 if ac_fn_cxx_try_compile "$LINENO"; then :
55058 glibcxx_cv_func_long_double_trig_use=yes
55059 else
55060 glibcxx_cv_func_long_double_trig_use=no
55062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55063 ac_ext=c
55064 ac_cpp='$CPP $CPPFLAGS'
55065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55072 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55073 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55074 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55075 do :
55076 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55077 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55078 eval as_val=\$$as_ac_var
55079 if test "x$as_val" = x""yes; then :
55080 cat >>confdefs.h <<_ACEOF
55081 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55082 _ACEOF
55085 done
55087 else
55088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55089 $as_echo_n "checking for _long double trig functions... " >&6; }
55090 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55091 $as_echo_n "(cached) " >&6
55092 else
55095 ac_ext=cpp
55096 ac_cpp='$CXXCPP $CPPFLAGS'
55097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55102 /* end confdefs.h. */
55103 #include <math.h>
55105 main ()
55107 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55109 return 0;
55111 _ACEOF
55112 if ac_fn_cxx_try_compile "$LINENO"; then :
55113 glibcxx_cv_func__long_double_trig_use=yes
55114 else
55115 glibcxx_cv_func__long_double_trig_use=no
55117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55118 ac_ext=c
55119 ac_cpp='$CPP $CPPFLAGS'
55120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55127 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55128 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55129 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55130 do :
55131 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55132 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55133 eval as_val=\$$as_ac_var
55134 if test "x$as_val" = x""yes; then :
55135 cat >>confdefs.h <<_ACEOF
55136 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55137 _ACEOF
55140 done
55149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55150 $as_echo_n "checking for long double round functions... " >&6; }
55151 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55152 $as_echo_n "(cached) " >&6
55153 else
55156 ac_ext=cpp
55157 ac_cpp='$CXXCPP $CPPFLAGS'
55158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55163 /* end confdefs.h. */
55164 #include <math.h>
55166 main ()
55168 ceill (0); floorl (0);
55170 return 0;
55172 _ACEOF
55173 if ac_fn_cxx_try_compile "$LINENO"; then :
55174 glibcxx_cv_func_long_double_round_use=yes
55175 else
55176 glibcxx_cv_func_long_double_round_use=no
55178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55179 ac_ext=c
55180 ac_cpp='$CPP $CPPFLAGS'
55181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55188 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55189 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55190 for ac_func in ceill floorl
55191 do :
55192 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55193 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55194 eval as_val=\$$as_ac_var
55195 if test "x$as_val" = x""yes; then :
55196 cat >>confdefs.h <<_ACEOF
55197 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55198 _ACEOF
55201 done
55203 else
55204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55205 $as_echo_n "checking for _long double round functions... " >&6; }
55206 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55207 $as_echo_n "(cached) " >&6
55208 else
55211 ac_ext=cpp
55212 ac_cpp='$CXXCPP $CPPFLAGS'
55213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55218 /* end confdefs.h. */
55219 #include <math.h>
55221 main ()
55223 _ceill (0); _floorl (0);
55225 return 0;
55227 _ACEOF
55228 if ac_fn_cxx_try_compile "$LINENO"; then :
55229 glibcxx_cv_func__long_double_round_use=yes
55230 else
55231 glibcxx_cv_func__long_double_round_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
55242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55243 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55244 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55245 for ac_func in _ceill _floorl
55246 do :
55247 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55248 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55249 eval as_val=\$$as_ac_var
55250 if test "x$as_val" = x""yes; then :
55251 cat >>confdefs.h <<_ACEOF
55252 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55253 _ACEOF
55256 done
55266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55267 $as_echo_n "checking for isnanl declaration... " >&6; }
55268 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55269 if test "${glibcxx_cv_func_isnanl_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>
55283 #ifdef HAVE_IEEEFP_H
55284 #include <ieeefp.h>
55285 #endif
55288 main ()
55290 isnanl(0);
55292 return 0;
55294 _ACEOF
55295 if ac_fn_cxx_try_compile "$LINENO"; then :
55296 glibcxx_cv_func_isnanl_use=yes
55297 else
55298 glibcxx_cv_func_isnanl_use=no
55300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55301 ac_ext=c
55302 ac_cpp='$CPP $CPPFLAGS'
55303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55312 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55314 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55315 for ac_func in isnanl
55316 do :
55317 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55318 if test "x$ac_cv_func_isnanl" = x""yes; then :
55319 cat >>confdefs.h <<_ACEOF
55320 #define HAVE_ISNANL 1
55321 _ACEOF
55324 done
55326 else
55328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55329 $as_echo_n "checking for _isnanl declaration... " >&6; }
55330 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55331 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55332 $as_echo_n "(cached) " >&6
55333 else
55336 ac_ext=cpp
55337 ac_cpp='$CXXCPP $CPPFLAGS'
55338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55343 /* end confdefs.h. */
55344 #include <math.h>
55345 #ifdef HAVE_IEEEFP_H
55346 #include <ieeefp.h>
55347 #endif
55350 main ()
55352 _isnanl(0);
55354 return 0;
55356 _ACEOF
55357 if ac_fn_cxx_try_compile "$LINENO"; then :
55358 glibcxx_cv_func__isnanl_use=yes
55359 else
55360 glibcxx_cv_func__isnanl_use=no
55362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55363 ac_ext=c
55364 ac_cpp='$CPP $CPPFLAGS'
55365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55374 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55376 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55377 for ac_func in _isnanl
55378 do :
55379 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55380 if test "x$ac_cv_func__isnanl" = x""yes; then :
55381 cat >>confdefs.h <<_ACEOF
55382 #define HAVE__ISNANL 1
55383 _ACEOF
55386 done
55395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55396 $as_echo_n "checking for isinfl declaration... " >&6; }
55397 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55398 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55399 $as_echo_n "(cached) " >&6
55400 else
55403 ac_ext=cpp
55404 ac_cpp='$CXXCPP $CPPFLAGS'
55405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55410 /* end confdefs.h. */
55411 #include <math.h>
55412 #ifdef HAVE_IEEEFP_H
55413 #include <ieeefp.h>
55414 #endif
55417 main ()
55419 isinfl(0);
55421 return 0;
55423 _ACEOF
55424 if ac_fn_cxx_try_compile "$LINENO"; then :
55425 glibcxx_cv_func_isinfl_use=yes
55426 else
55427 glibcxx_cv_func_isinfl_use=no
55429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55430 ac_ext=c
55431 ac_cpp='$CPP $CPPFLAGS'
55432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55441 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55443 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55444 for ac_func in isinfl
55445 do :
55446 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55447 if test "x$ac_cv_func_isinfl" = x""yes; then :
55448 cat >>confdefs.h <<_ACEOF
55449 #define HAVE_ISINFL 1
55450 _ACEOF
55453 done
55455 else
55457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55458 $as_echo_n "checking for _isinfl declaration... " >&6; }
55459 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55460 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55461 $as_echo_n "(cached) " >&6
55462 else
55465 ac_ext=cpp
55466 ac_cpp='$CXXCPP $CPPFLAGS'
55467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55472 /* end confdefs.h. */
55473 #include <math.h>
55474 #ifdef HAVE_IEEEFP_H
55475 #include <ieeefp.h>
55476 #endif
55479 main ()
55481 _isinfl(0);
55483 return 0;
55485 _ACEOF
55486 if ac_fn_cxx_try_compile "$LINENO"; then :
55487 glibcxx_cv_func__isinfl_use=yes
55488 else
55489 glibcxx_cv_func__isinfl_use=no
55491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55492 ac_ext=c
55493 ac_cpp='$CPP $CPPFLAGS'
55494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55503 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55505 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55506 for ac_func in _isinfl
55507 do :
55508 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55509 if test "x$ac_cv_func__isinfl" = x""yes; then :
55510 cat >>confdefs.h <<_ACEOF
55511 #define HAVE__ISINFL 1
55512 _ACEOF
55515 done
55524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55525 $as_echo_n "checking for atan2l declaration... " >&6; }
55526 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55527 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55528 $as_echo_n "(cached) " >&6
55529 else
55532 ac_ext=cpp
55533 ac_cpp='$CXXCPP $CPPFLAGS'
55534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55539 /* end confdefs.h. */
55540 #include <math.h>
55542 main ()
55544 atan2l(0, 0);
55546 return 0;
55548 _ACEOF
55549 if ac_fn_cxx_try_compile "$LINENO"; then :
55550 glibcxx_cv_func_atan2l_use=yes
55551 else
55552 glibcxx_cv_func_atan2l_use=no
55554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55555 ac_ext=c
55556 ac_cpp='$CPP $CPPFLAGS'
55557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55566 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55568 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55569 for ac_func in atan2l
55570 do :
55571 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55572 if test "x$ac_cv_func_atan2l" = x""yes; then :
55573 cat >>confdefs.h <<_ACEOF
55574 #define HAVE_ATAN2L 1
55575 _ACEOF
55578 done
55580 else
55582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55583 $as_echo_n "checking for _atan2l declaration... " >&6; }
55584 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55585 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55586 $as_echo_n "(cached) " >&6
55587 else
55590 ac_ext=cpp
55591 ac_cpp='$CXXCPP $CPPFLAGS'
55592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55597 /* end confdefs.h. */
55598 #include <math.h>
55600 main ()
55602 _atan2l(0, 0);
55604 return 0;
55606 _ACEOF
55607 if ac_fn_cxx_try_compile "$LINENO"; then :
55608 glibcxx_cv_func__atan2l_use=yes
55609 else
55610 glibcxx_cv_func__atan2l_use=no
55612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55613 ac_ext=c
55614 ac_cpp='$CPP $CPPFLAGS'
55615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55624 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55626 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55627 for ac_func in _atan2l
55628 do :
55629 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55630 if test "x$ac_cv_func__atan2l" = x""yes; then :
55631 cat >>confdefs.h <<_ACEOF
55632 #define HAVE__ATAN2L 1
55633 _ACEOF
55636 done
55645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55646 $as_echo_n "checking for expl declaration... " >&6; }
55647 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55648 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55649 $as_echo_n "(cached) " >&6
55650 else
55653 ac_ext=cpp
55654 ac_cpp='$CXXCPP $CPPFLAGS'
55655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55660 /* end confdefs.h. */
55661 #include <math.h>
55662 #ifdef HAVE_IEEEFP_H
55663 #include <ieeefp.h>
55664 #endif
55667 main ()
55669 expl(0);
55671 return 0;
55673 _ACEOF
55674 if ac_fn_cxx_try_compile "$LINENO"; then :
55675 glibcxx_cv_func_expl_use=yes
55676 else
55677 glibcxx_cv_func_expl_use=no
55679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55680 ac_ext=c
55681 ac_cpp='$CPP $CPPFLAGS'
55682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55691 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55693 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55694 for ac_func in expl
55695 do :
55696 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55697 if test "x$ac_cv_func_expl" = x""yes; then :
55698 cat >>confdefs.h <<_ACEOF
55699 #define HAVE_EXPL 1
55700 _ACEOF
55703 done
55705 else
55707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55708 $as_echo_n "checking for _expl declaration... " >&6; }
55709 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55710 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55711 $as_echo_n "(cached) " >&6
55712 else
55715 ac_ext=cpp
55716 ac_cpp='$CXXCPP $CPPFLAGS'
55717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55722 /* end confdefs.h. */
55723 #include <math.h>
55724 #ifdef HAVE_IEEEFP_H
55725 #include <ieeefp.h>
55726 #endif
55729 main ()
55731 _expl(0);
55733 return 0;
55735 _ACEOF
55736 if ac_fn_cxx_try_compile "$LINENO"; then :
55737 glibcxx_cv_func__expl_use=yes
55738 else
55739 glibcxx_cv_func__expl_use=no
55741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55742 ac_ext=c
55743 ac_cpp='$CPP $CPPFLAGS'
55744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55753 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55755 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55756 for ac_func in _expl
55757 do :
55758 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55759 if test "x$ac_cv_func__expl" = x""yes; then :
55760 cat >>confdefs.h <<_ACEOF
55761 #define HAVE__EXPL 1
55762 _ACEOF
55765 done
55774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55775 $as_echo_n "checking for fabsl declaration... " >&6; }
55776 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55777 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55778 $as_echo_n "(cached) " >&6
55779 else
55782 ac_ext=cpp
55783 ac_cpp='$CXXCPP $CPPFLAGS'
55784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55789 /* end confdefs.h. */
55790 #include <math.h>
55791 #ifdef HAVE_IEEEFP_H
55792 #include <ieeefp.h>
55793 #endif
55796 main ()
55798 fabsl(0);
55800 return 0;
55802 _ACEOF
55803 if ac_fn_cxx_try_compile "$LINENO"; then :
55804 glibcxx_cv_func_fabsl_use=yes
55805 else
55806 glibcxx_cv_func_fabsl_use=no
55808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55809 ac_ext=c
55810 ac_cpp='$CPP $CPPFLAGS'
55811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55820 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55822 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55823 for ac_func in fabsl
55824 do :
55825 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55826 if test "x$ac_cv_func_fabsl" = x""yes; then :
55827 cat >>confdefs.h <<_ACEOF
55828 #define HAVE_FABSL 1
55829 _ACEOF
55832 done
55834 else
55836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55837 $as_echo_n "checking for _fabsl declaration... " >&6; }
55838 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55839 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55840 $as_echo_n "(cached) " >&6
55841 else
55844 ac_ext=cpp
55845 ac_cpp='$CXXCPP $CPPFLAGS'
55846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55851 /* end confdefs.h. */
55852 #include <math.h>
55853 #ifdef HAVE_IEEEFP_H
55854 #include <ieeefp.h>
55855 #endif
55858 main ()
55860 _fabsl(0);
55862 return 0;
55864 _ACEOF
55865 if ac_fn_cxx_try_compile "$LINENO"; then :
55866 glibcxx_cv_func__fabsl_use=yes
55867 else
55868 glibcxx_cv_func__fabsl_use=no
55870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55871 ac_ext=c
55872 ac_cpp='$CPP $CPPFLAGS'
55873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55882 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55884 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55885 for ac_func in _fabsl
55886 do :
55887 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55888 if test "x$ac_cv_func__fabsl" = x""yes; then :
55889 cat >>confdefs.h <<_ACEOF
55890 #define HAVE__FABSL 1
55891 _ACEOF
55894 done
55903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55904 $as_echo_n "checking for fmodl declaration... " >&6; }
55905 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55906 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55907 $as_echo_n "(cached) " >&6
55908 else
55911 ac_ext=cpp
55912 ac_cpp='$CXXCPP $CPPFLAGS'
55913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55918 /* end confdefs.h. */
55919 #include <math.h>
55921 main ()
55923 fmodl(0, 0);
55925 return 0;
55927 _ACEOF
55928 if ac_fn_cxx_try_compile "$LINENO"; then :
55929 glibcxx_cv_func_fmodl_use=yes
55930 else
55931 glibcxx_cv_func_fmodl_use=no
55933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55934 ac_ext=c
55935 ac_cpp='$CPP $CPPFLAGS'
55936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55945 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55947 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55948 for ac_func in fmodl
55949 do :
55950 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55951 if test "x$ac_cv_func_fmodl" = x""yes; then :
55952 cat >>confdefs.h <<_ACEOF
55953 #define HAVE_FMODL 1
55954 _ACEOF
55957 done
55959 else
55961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55962 $as_echo_n "checking for _fmodl declaration... " >&6; }
55963 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55964 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55965 $as_echo_n "(cached) " >&6
55966 else
55969 ac_ext=cpp
55970 ac_cpp='$CXXCPP $CPPFLAGS'
55971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55976 /* end confdefs.h. */
55977 #include <math.h>
55979 main ()
55981 _fmodl(0, 0);
55983 return 0;
55985 _ACEOF
55986 if ac_fn_cxx_try_compile "$LINENO"; then :
55987 glibcxx_cv_func__fmodl_use=yes
55988 else
55989 glibcxx_cv_func__fmodl_use=no
55991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55992 ac_ext=c
55993 ac_cpp='$CPP $CPPFLAGS'
55994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56003 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56005 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56006 for ac_func in _fmodl
56007 do :
56008 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56009 if test "x$ac_cv_func__fmodl" = x""yes; then :
56010 cat >>confdefs.h <<_ACEOF
56011 #define HAVE__FMODL 1
56012 _ACEOF
56015 done
56024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56025 $as_echo_n "checking for frexpl declaration... " >&6; }
56026 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56027 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56028 $as_echo_n "(cached) " >&6
56029 else
56032 ac_ext=cpp
56033 ac_cpp='$CXXCPP $CPPFLAGS'
56034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56039 /* end confdefs.h. */
56040 #include <math.h>
56042 main ()
56044 frexpl(0, 0);
56046 return 0;
56048 _ACEOF
56049 if ac_fn_cxx_try_compile "$LINENO"; then :
56050 glibcxx_cv_func_frexpl_use=yes
56051 else
56052 glibcxx_cv_func_frexpl_use=no
56054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56055 ac_ext=c
56056 ac_cpp='$CPP $CPPFLAGS'
56057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56066 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56068 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56069 for ac_func in frexpl
56070 do :
56071 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56072 if test "x$ac_cv_func_frexpl" = x""yes; then :
56073 cat >>confdefs.h <<_ACEOF
56074 #define HAVE_FREXPL 1
56075 _ACEOF
56078 done
56080 else
56082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56083 $as_echo_n "checking for _frexpl declaration... " >&6; }
56084 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56085 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56086 $as_echo_n "(cached) " >&6
56087 else
56090 ac_ext=cpp
56091 ac_cpp='$CXXCPP $CPPFLAGS'
56092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56097 /* end confdefs.h. */
56098 #include <math.h>
56100 main ()
56102 _frexpl(0, 0);
56104 return 0;
56106 _ACEOF
56107 if ac_fn_cxx_try_compile "$LINENO"; then :
56108 glibcxx_cv_func__frexpl_use=yes
56109 else
56110 glibcxx_cv_func__frexpl_use=no
56112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56113 ac_ext=c
56114 ac_cpp='$CPP $CPPFLAGS'
56115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56124 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56126 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56127 for ac_func in _frexpl
56128 do :
56129 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56130 if test "x$ac_cv_func__frexpl" = x""yes; then :
56131 cat >>confdefs.h <<_ACEOF
56132 #define HAVE__FREXPL 1
56133 _ACEOF
56136 done
56145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56146 $as_echo_n "checking for hypotl declaration... " >&6; }
56147 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56148 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56149 $as_echo_n "(cached) " >&6
56150 else
56153 ac_ext=cpp
56154 ac_cpp='$CXXCPP $CPPFLAGS'
56155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56160 /* end confdefs.h. */
56161 #include <math.h>
56163 main ()
56165 hypotl(0, 0);
56167 return 0;
56169 _ACEOF
56170 if ac_fn_cxx_try_compile "$LINENO"; then :
56171 glibcxx_cv_func_hypotl_use=yes
56172 else
56173 glibcxx_cv_func_hypotl_use=no
56175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56176 ac_ext=c
56177 ac_cpp='$CPP $CPPFLAGS'
56178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56187 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56189 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56190 for ac_func in hypotl
56191 do :
56192 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56193 if test "x$ac_cv_func_hypotl" = x""yes; then :
56194 cat >>confdefs.h <<_ACEOF
56195 #define HAVE_HYPOTL 1
56196 _ACEOF
56199 done
56201 else
56203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56204 $as_echo_n "checking for _hypotl declaration... " >&6; }
56205 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56206 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56207 $as_echo_n "(cached) " >&6
56208 else
56211 ac_ext=cpp
56212 ac_cpp='$CXXCPP $CPPFLAGS'
56213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56218 /* end confdefs.h. */
56219 #include <math.h>
56221 main ()
56223 _hypotl(0, 0);
56225 return 0;
56227 _ACEOF
56228 if ac_fn_cxx_try_compile "$LINENO"; then :
56229 glibcxx_cv_func__hypotl_use=yes
56230 else
56231 glibcxx_cv_func__hypotl_use=no
56233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56234 ac_ext=c
56235 ac_cpp='$CPP $CPPFLAGS'
56236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56245 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56247 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56248 for ac_func in _hypotl
56249 do :
56250 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56251 if test "x$ac_cv_func__hypotl" = x""yes; then :
56252 cat >>confdefs.h <<_ACEOF
56253 #define HAVE__HYPOTL 1
56254 _ACEOF
56257 done
56266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56267 $as_echo_n "checking for ldexpl declaration... " >&6; }
56268 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56269 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56270 $as_echo_n "(cached) " >&6
56271 else
56274 ac_ext=cpp
56275 ac_cpp='$CXXCPP $CPPFLAGS'
56276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56281 /* end confdefs.h. */
56282 #include <math.h>
56284 main ()
56286 ldexpl(0, 0);
56288 return 0;
56290 _ACEOF
56291 if ac_fn_cxx_try_compile "$LINENO"; then :
56292 glibcxx_cv_func_ldexpl_use=yes
56293 else
56294 glibcxx_cv_func_ldexpl_use=no
56296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56297 ac_ext=c
56298 ac_cpp='$CPP $CPPFLAGS'
56299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56308 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56310 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56311 for ac_func in ldexpl
56312 do :
56313 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56314 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56315 cat >>confdefs.h <<_ACEOF
56316 #define HAVE_LDEXPL 1
56317 _ACEOF
56320 done
56322 else
56324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56325 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56326 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56327 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56328 $as_echo_n "(cached) " >&6
56329 else
56332 ac_ext=cpp
56333 ac_cpp='$CXXCPP $CPPFLAGS'
56334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56339 /* end confdefs.h. */
56340 #include <math.h>
56342 main ()
56344 _ldexpl(0, 0);
56346 return 0;
56348 _ACEOF
56349 if ac_fn_cxx_try_compile "$LINENO"; then :
56350 glibcxx_cv_func__ldexpl_use=yes
56351 else
56352 glibcxx_cv_func__ldexpl_use=no
56354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56355 ac_ext=c
56356 ac_cpp='$CPP $CPPFLAGS'
56357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56366 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56368 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56369 for ac_func in _ldexpl
56370 do :
56371 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56372 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56373 cat >>confdefs.h <<_ACEOF
56374 #define HAVE__LDEXPL 1
56375 _ACEOF
56378 done
56387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56388 $as_echo_n "checking for logl declaration... " >&6; }
56389 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56390 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56391 $as_echo_n "(cached) " >&6
56392 else
56395 ac_ext=cpp
56396 ac_cpp='$CXXCPP $CPPFLAGS'
56397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56402 /* end confdefs.h. */
56403 #include <math.h>
56404 #ifdef HAVE_IEEEFP_H
56405 #include <ieeefp.h>
56406 #endif
56409 main ()
56411 logl(0);
56413 return 0;
56415 _ACEOF
56416 if ac_fn_cxx_try_compile "$LINENO"; then :
56417 glibcxx_cv_func_logl_use=yes
56418 else
56419 glibcxx_cv_func_logl_use=no
56421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56422 ac_ext=c
56423 ac_cpp='$CPP $CPPFLAGS'
56424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56433 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56435 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56436 for ac_func in logl
56437 do :
56438 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56439 if test "x$ac_cv_func_logl" = x""yes; then :
56440 cat >>confdefs.h <<_ACEOF
56441 #define HAVE_LOGL 1
56442 _ACEOF
56445 done
56447 else
56449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56450 $as_echo_n "checking for _logl declaration... " >&6; }
56451 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56452 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56453 $as_echo_n "(cached) " >&6
56454 else
56457 ac_ext=cpp
56458 ac_cpp='$CXXCPP $CPPFLAGS'
56459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56464 /* end confdefs.h. */
56465 #include <math.h>
56466 #ifdef HAVE_IEEEFP_H
56467 #include <ieeefp.h>
56468 #endif
56471 main ()
56473 _logl(0);
56475 return 0;
56477 _ACEOF
56478 if ac_fn_cxx_try_compile "$LINENO"; then :
56479 glibcxx_cv_func__logl_use=yes
56480 else
56481 glibcxx_cv_func__logl_use=no
56483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56484 ac_ext=c
56485 ac_cpp='$CPP $CPPFLAGS'
56486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56495 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56497 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56498 for ac_func in _logl
56499 do :
56500 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56501 if test "x$ac_cv_func__logl" = x""yes; then :
56502 cat >>confdefs.h <<_ACEOF
56503 #define HAVE__LOGL 1
56504 _ACEOF
56507 done
56516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56517 $as_echo_n "checking for log10l declaration... " >&6; }
56518 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56519 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56520 $as_echo_n "(cached) " >&6
56521 else
56524 ac_ext=cpp
56525 ac_cpp='$CXXCPP $CPPFLAGS'
56526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56531 /* end confdefs.h. */
56532 #include <math.h>
56533 #ifdef HAVE_IEEEFP_H
56534 #include <ieeefp.h>
56535 #endif
56538 main ()
56540 log10l(0);
56542 return 0;
56544 _ACEOF
56545 if ac_fn_cxx_try_compile "$LINENO"; then :
56546 glibcxx_cv_func_log10l_use=yes
56547 else
56548 glibcxx_cv_func_log10l_use=no
56550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56551 ac_ext=c
56552 ac_cpp='$CPP $CPPFLAGS'
56553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56562 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56564 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56565 for ac_func in log10l
56566 do :
56567 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56568 if test "x$ac_cv_func_log10l" = x""yes; then :
56569 cat >>confdefs.h <<_ACEOF
56570 #define HAVE_LOG10L 1
56571 _ACEOF
56574 done
56576 else
56578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56579 $as_echo_n "checking for _log10l declaration... " >&6; }
56580 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56581 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56582 $as_echo_n "(cached) " >&6
56583 else
56586 ac_ext=cpp
56587 ac_cpp='$CXXCPP $CPPFLAGS'
56588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56593 /* end confdefs.h. */
56594 #include <math.h>
56595 #ifdef HAVE_IEEEFP_H
56596 #include <ieeefp.h>
56597 #endif
56600 main ()
56602 _log10l(0);
56604 return 0;
56606 _ACEOF
56607 if ac_fn_cxx_try_compile "$LINENO"; then :
56608 glibcxx_cv_func__log10l_use=yes
56609 else
56610 glibcxx_cv_func__log10l_use=no
56612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56613 ac_ext=c
56614 ac_cpp='$CPP $CPPFLAGS'
56615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56624 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56626 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56627 for ac_func in _log10l
56628 do :
56629 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56630 if test "x$ac_cv_func__log10l" = x""yes; then :
56631 cat >>confdefs.h <<_ACEOF
56632 #define HAVE__LOG10L 1
56633 _ACEOF
56636 done
56645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56646 $as_echo_n "checking for modfl declaration... " >&6; }
56647 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56648 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56649 $as_echo_n "(cached) " >&6
56650 else
56653 ac_ext=cpp
56654 ac_cpp='$CXXCPP $CPPFLAGS'
56655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56660 /* end confdefs.h. */
56661 #include <math.h>
56663 main ()
56665 modfl(0, 0);
56667 return 0;
56669 _ACEOF
56670 if ac_fn_cxx_try_compile "$LINENO"; then :
56671 glibcxx_cv_func_modfl_use=yes
56672 else
56673 glibcxx_cv_func_modfl_use=no
56675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56676 ac_ext=c
56677 ac_cpp='$CPP $CPPFLAGS'
56678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56687 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56689 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56690 for ac_func in modfl
56691 do :
56692 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56693 if test "x$ac_cv_func_modfl" = x""yes; then :
56694 cat >>confdefs.h <<_ACEOF
56695 #define HAVE_MODFL 1
56696 _ACEOF
56699 done
56701 else
56703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56704 $as_echo_n "checking for _modfl declaration... " >&6; }
56705 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56706 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56707 $as_echo_n "(cached) " >&6
56708 else
56711 ac_ext=cpp
56712 ac_cpp='$CXXCPP $CPPFLAGS'
56713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56718 /* end confdefs.h. */
56719 #include <math.h>
56721 main ()
56723 _modfl(0, 0);
56725 return 0;
56727 _ACEOF
56728 if ac_fn_cxx_try_compile "$LINENO"; then :
56729 glibcxx_cv_func__modfl_use=yes
56730 else
56731 glibcxx_cv_func__modfl_use=no
56733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56734 ac_ext=c
56735 ac_cpp='$CPP $CPPFLAGS'
56736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56745 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56747 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56748 for ac_func in _modfl
56749 do :
56750 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56751 if test "x$ac_cv_func__modfl" = x""yes; then :
56752 cat >>confdefs.h <<_ACEOF
56753 #define HAVE__MODFL 1
56754 _ACEOF
56757 done
56766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56767 $as_echo_n "checking for powl declaration... " >&6; }
56768 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56769 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56770 $as_echo_n "(cached) " >&6
56771 else
56774 ac_ext=cpp
56775 ac_cpp='$CXXCPP $CPPFLAGS'
56776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56781 /* end confdefs.h. */
56782 #include <math.h>
56784 main ()
56786 powl(0, 0);
56788 return 0;
56790 _ACEOF
56791 if ac_fn_cxx_try_compile "$LINENO"; then :
56792 glibcxx_cv_func_powl_use=yes
56793 else
56794 glibcxx_cv_func_powl_use=no
56796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56797 ac_ext=c
56798 ac_cpp='$CPP $CPPFLAGS'
56799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56808 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56810 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56811 for ac_func in powl
56812 do :
56813 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56814 if test "x$ac_cv_func_powl" = x""yes; then :
56815 cat >>confdefs.h <<_ACEOF
56816 #define HAVE_POWL 1
56817 _ACEOF
56820 done
56822 else
56824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56825 $as_echo_n "checking for _powl declaration... " >&6; }
56826 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56827 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56828 $as_echo_n "(cached) " >&6
56829 else
56832 ac_ext=cpp
56833 ac_cpp='$CXXCPP $CPPFLAGS'
56834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56839 /* end confdefs.h. */
56840 #include <math.h>
56842 main ()
56844 _powl(0, 0);
56846 return 0;
56848 _ACEOF
56849 if ac_fn_cxx_try_compile "$LINENO"; then :
56850 glibcxx_cv_func__powl_use=yes
56851 else
56852 glibcxx_cv_func__powl_use=no
56854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56855 ac_ext=c
56856 ac_cpp='$CPP $CPPFLAGS'
56857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56866 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56868 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56869 for ac_func in _powl
56870 do :
56871 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56872 if test "x$ac_cv_func__powl" = x""yes; then :
56873 cat >>confdefs.h <<_ACEOF
56874 #define HAVE__POWL 1
56875 _ACEOF
56878 done
56887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56888 $as_echo_n "checking for sqrtl declaration... " >&6; }
56889 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56890 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56891 $as_echo_n "(cached) " >&6
56892 else
56895 ac_ext=cpp
56896 ac_cpp='$CXXCPP $CPPFLAGS'
56897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56902 /* end confdefs.h. */
56903 #include <math.h>
56904 #ifdef HAVE_IEEEFP_H
56905 #include <ieeefp.h>
56906 #endif
56909 main ()
56911 sqrtl(0);
56913 return 0;
56915 _ACEOF
56916 if ac_fn_cxx_try_compile "$LINENO"; then :
56917 glibcxx_cv_func_sqrtl_use=yes
56918 else
56919 glibcxx_cv_func_sqrtl_use=no
56921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56922 ac_ext=c
56923 ac_cpp='$CPP $CPPFLAGS'
56924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56933 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56935 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56936 for ac_func in sqrtl
56937 do :
56938 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56939 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56940 cat >>confdefs.h <<_ACEOF
56941 #define HAVE_SQRTL 1
56942 _ACEOF
56945 done
56947 else
56949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56950 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56951 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56952 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56953 $as_echo_n "(cached) " >&6
56954 else
56957 ac_ext=cpp
56958 ac_cpp='$CXXCPP $CPPFLAGS'
56959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56964 /* end confdefs.h. */
56965 #include <math.h>
56966 #ifdef HAVE_IEEEFP_H
56967 #include <ieeefp.h>
56968 #endif
56971 main ()
56973 _sqrtl(0);
56975 return 0;
56977 _ACEOF
56978 if ac_fn_cxx_try_compile "$LINENO"; then :
56979 glibcxx_cv_func__sqrtl_use=yes
56980 else
56981 glibcxx_cv_func__sqrtl_use=no
56983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56984 ac_ext=c
56985 ac_cpp='$CPP $CPPFLAGS'
56986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56995 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56997 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56998 for ac_func in _sqrtl
56999 do :
57000 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57001 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57002 cat >>confdefs.h <<_ACEOF
57003 #define HAVE__SQRTL 1
57004 _ACEOF
57007 done
57016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57017 $as_echo_n "checking for sincosl declaration... " >&6; }
57018 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57019 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57020 $as_echo_n "(cached) " >&6
57021 else
57024 ac_ext=cpp
57025 ac_cpp='$CXXCPP $CPPFLAGS'
57026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57031 /* end confdefs.h. */
57032 #include <math.h>
57034 main ()
57036 sincosl(0, 0, 0);
57038 return 0;
57040 _ACEOF
57041 if ac_fn_cxx_try_compile "$LINENO"; then :
57042 glibcxx_cv_func_sincosl_use=yes
57043 else
57044 glibcxx_cv_func_sincosl_use=no
57046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57047 ac_ext=c
57048 ac_cpp='$CPP $CPPFLAGS'
57049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57058 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57060 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57061 for ac_func in sincosl
57062 do :
57063 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57064 if test "x$ac_cv_func_sincosl" = x""yes; then :
57065 cat >>confdefs.h <<_ACEOF
57066 #define HAVE_SINCOSL 1
57067 _ACEOF
57070 done
57072 else
57074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57075 $as_echo_n "checking for _sincosl declaration... " >&6; }
57076 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57077 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57078 $as_echo_n "(cached) " >&6
57079 else
57082 ac_ext=cpp
57083 ac_cpp='$CXXCPP $CPPFLAGS'
57084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57089 /* end confdefs.h. */
57090 #include <math.h>
57092 main ()
57094 _sincosl(0, 0, 0);
57096 return 0;
57098 _ACEOF
57099 if ac_fn_cxx_try_compile "$LINENO"; then :
57100 glibcxx_cv_func__sincosl_use=yes
57101 else
57102 glibcxx_cv_func__sincosl_use=no
57104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57105 ac_ext=c
57106 ac_cpp='$CPP $CPPFLAGS'
57107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57116 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57118 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57119 for ac_func in _sincosl
57120 do :
57121 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57122 if test "x$ac_cv_func__sincosl" = x""yes; then :
57123 cat >>confdefs.h <<_ACEOF
57124 #define HAVE__SINCOSL 1
57125 _ACEOF
57128 done
57137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57138 $as_echo_n "checking for finitel declaration... " >&6; }
57139 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57140 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57141 $as_echo_n "(cached) " >&6
57142 else
57145 ac_ext=cpp
57146 ac_cpp='$CXXCPP $CPPFLAGS'
57147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57152 /* end confdefs.h. */
57153 #include <math.h>
57154 #ifdef HAVE_IEEEFP_H
57155 #include <ieeefp.h>
57156 #endif
57159 main ()
57161 finitel(0);
57163 return 0;
57165 _ACEOF
57166 if ac_fn_cxx_try_compile "$LINENO"; then :
57167 glibcxx_cv_func_finitel_use=yes
57168 else
57169 glibcxx_cv_func_finitel_use=no
57171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57172 ac_ext=c
57173 ac_cpp='$CPP $CPPFLAGS'
57174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57183 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57185 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57186 for ac_func in finitel
57187 do :
57188 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57189 if test "x$ac_cv_func_finitel" = x""yes; then :
57190 cat >>confdefs.h <<_ACEOF
57191 #define HAVE_FINITEL 1
57192 _ACEOF
57195 done
57197 else
57199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57200 $as_echo_n "checking for _finitel declaration... " >&6; }
57201 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57202 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57203 $as_echo_n "(cached) " >&6
57204 else
57207 ac_ext=cpp
57208 ac_cpp='$CXXCPP $CPPFLAGS'
57209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57214 /* end confdefs.h. */
57215 #include <math.h>
57216 #ifdef HAVE_IEEEFP_H
57217 #include <ieeefp.h>
57218 #endif
57221 main ()
57223 _finitel(0);
57225 return 0;
57227 _ACEOF
57228 if ac_fn_cxx_try_compile "$LINENO"; then :
57229 glibcxx_cv_func__finitel_use=yes
57230 else
57231 glibcxx_cv_func__finitel_use=no
57233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57234 ac_ext=c
57235 ac_cpp='$CPP $CPPFLAGS'
57236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57245 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57247 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57248 for ac_func in _finitel
57249 do :
57250 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57251 if test "x$ac_cv_func__finitel" = x""yes; then :
57252 cat >>confdefs.h <<_ACEOF
57253 #define HAVE__FINITEL 1
57254 _ACEOF
57257 done
57265 LIBS="$ac_save_LIBS"
57266 CXXFLAGS="$ac_save_CXXFLAGS"
57269 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57270 ac_save_CXXFLAGS="$CXXFLAGS"
57271 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57275 $as_echo_n "checking for strtold declaration... " >&6; }
57276 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57277 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57278 $as_echo_n "(cached) " >&6
57279 else
57282 ac_ext=cpp
57283 ac_cpp='$CXXCPP $CPPFLAGS'
57284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57289 /* end confdefs.h. */
57290 #include <stdlib.h>
57292 main ()
57294 strtold(0, 0);
57296 return 0;
57298 _ACEOF
57299 if ac_fn_cxx_try_compile "$LINENO"; then :
57300 glibcxx_cv_func_strtold_use=yes
57301 else
57302 glibcxx_cv_func_strtold_use=no
57304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57305 ac_ext=c
57306 ac_cpp='$CPP $CPPFLAGS'
57307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57316 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57317 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57318 for ac_func in strtold
57319 do :
57320 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57321 if test "x$ac_cv_func_strtold" = x""yes; then :
57322 cat >>confdefs.h <<_ACEOF
57323 #define HAVE_STRTOLD 1
57324 _ACEOF
57327 done
57334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57335 $as_echo_n "checking for strtof declaration... " >&6; }
57336 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57337 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57338 $as_echo_n "(cached) " >&6
57339 else
57342 ac_ext=cpp
57343 ac_cpp='$CXXCPP $CPPFLAGS'
57344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57349 /* end confdefs.h. */
57350 #include <stdlib.h>
57352 main ()
57354 strtof(0, 0);
57356 return 0;
57358 _ACEOF
57359 if ac_fn_cxx_try_compile "$LINENO"; then :
57360 glibcxx_cv_func_strtof_use=yes
57361 else
57362 glibcxx_cv_func_strtof_use=no
57364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57365 ac_ext=c
57366 ac_cpp='$CPP $CPPFLAGS'
57367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57376 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57377 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57378 for ac_func in strtof
57379 do :
57380 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57381 if test "x$ac_cv_func_strtof" = x""yes; then :
57382 cat >>confdefs.h <<_ACEOF
57383 #define HAVE_STRTOF 1
57384 _ACEOF
57387 done
57394 CXXFLAGS="$ac_save_CXXFLAGS"
57397 *-netbsd*)
57398 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57401 # If we're not using GNU ld, then there's no point in even trying these
57402 # tests. Check for that first. We should have already tested for gld
57403 # by now (in libtool), but require it now just to be safe...
57404 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57405 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57409 # The name set by libtool depends on the version of libtool. Shame on us
57410 # for depending on an impl detail, but c'est la vie. Older versions used
57411 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57412 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57413 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57414 # set (hence we're using an older libtool), then set it.
57415 if test x${with_gnu_ld+set} != xset; then
57416 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57417 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57418 with_gnu_ld=no
57419 else
57420 with_gnu_ld=$ac_cv_prog_gnu_ld
57424 # Start by getting the version number. I think the libtool test already
57425 # does some of this, but throws away the result.
57426 glibcxx_ld_is_gold=no
57427 if test x"$with_gnu_ld" = x"yes"; then
57428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57429 $as_echo_n "checking for ld version... " >&6; }
57431 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57432 glibcxx_ld_is_gold=yes
57434 ldver=`$LD --version 2>/dev/null |
57435 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'`
57437 glibcxx_gnu_ld_version=`echo $ldver | \
57438 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57440 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57443 # Set --gc-sections.
57444 glibcxx_have_gc_sections=no
57445 if test "$glibcxx_ld_is_gold" = "yes"; then
57446 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57447 glibcxx_have_gc_sections=yes
57449 else
57450 glibcxx_gcsections_min_ld=21602
57451 if test x"$with_gnu_ld" = x"yes" &&
57452 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57453 glibcxx_have_gc_sections=yes
57456 if test "$glibcxx_have_gc_sections" = "yes"; then
57457 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57458 # NB: This flag only works reliably after 2.16.1. Configure tests
57459 # for this are difficult, so hard wire a value that should work.
57461 ac_test_CFLAGS="${CFLAGS+set}"
57462 ac_save_CFLAGS="$CFLAGS"
57463 CFLAGS='-Wl,--gc-sections'
57465 # Check for -Wl,--gc-sections
57466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57467 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57468 if test x$gcc_no_link = xyes; then
57469 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57472 /* end confdefs.h. */
57473 int one(void) { return 1; }
57474 int two(void) { return 2; }
57477 main ()
57479 two();
57481 return 0;
57483 _ACEOF
57484 if ac_fn_c_try_link "$LINENO"; then :
57485 ac_gcsections=yes
57486 else
57487 ac_gcsections=no
57489 rm -f core conftest.err conftest.$ac_objext \
57490 conftest$ac_exeext conftest.$ac_ext
57491 if test "$ac_gcsections" = "yes"; then
57492 rm -f conftest.c
57493 touch conftest.c
57494 if $CC -c conftest.c; then
57495 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57496 grep "Warning: gc-sections option ignored" > /dev/null; then
57497 ac_gcsections=no
57500 rm -f conftest.c conftest.o conftest
57502 if test "$ac_gcsections" = "yes"; then
57503 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57506 $as_echo "$ac_gcsections" >&6; }
57508 if test "$ac_test_CFLAGS" = set; then
57509 CFLAGS="$ac_save_CFLAGS"
57510 else
57511 # this is the suspicious part
57512 CFLAGS=''
57516 # Set -z,relro.
57517 # Note this is only for shared objects.
57518 ac_ld_relro=no
57519 if test x"$with_gnu_ld" = x"yes"; then
57520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57521 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57522 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57523 if test -n "$cxx_z_relo"; then
57524 OPT_LDFLAGS="-Wl,-z,relro"
57525 ac_ld_relro=yes
57527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57528 $as_echo "$ac_ld_relro" >&6; }
57531 # Set linker optimization flags.
57532 if test x"$with_gnu_ld" = x"yes"; then
57533 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57539 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57541 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57543 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57545 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57547 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57549 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57551 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57553 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57555 if test x"long_double_math_on_this_cpu" = x"yes"; then
57556 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57558 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57560 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57564 *-qnx6.1* | *-qnx6.2*)
57565 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57568 # If we're not using GNU ld, then there's no point in even trying these
57569 # tests. Check for that first. We should have already tested for gld
57570 # by now (in libtool), but require it now just to be safe...
57571 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57572 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57576 # The name set by libtool depends on the version of libtool. Shame on us
57577 # for depending on an impl detail, but c'est la vie. Older versions used
57578 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57579 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57580 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57581 # set (hence we're using an older libtool), then set it.
57582 if test x${with_gnu_ld+set} != xset; then
57583 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57584 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57585 with_gnu_ld=no
57586 else
57587 with_gnu_ld=$ac_cv_prog_gnu_ld
57591 # Start by getting the version number. I think the libtool test already
57592 # does some of this, but throws away the result.
57593 glibcxx_ld_is_gold=no
57594 if test x"$with_gnu_ld" = x"yes"; then
57595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57596 $as_echo_n "checking for ld version... " >&6; }
57598 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57599 glibcxx_ld_is_gold=yes
57601 ldver=`$LD --version 2>/dev/null |
57602 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'`
57604 glibcxx_gnu_ld_version=`echo $ldver | \
57605 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57607 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57610 # Set --gc-sections.
57611 glibcxx_have_gc_sections=no
57612 if test "$glibcxx_ld_is_gold" = "yes"; then
57613 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57614 glibcxx_have_gc_sections=yes
57616 else
57617 glibcxx_gcsections_min_ld=21602
57618 if test x"$with_gnu_ld" = x"yes" &&
57619 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57620 glibcxx_have_gc_sections=yes
57623 if test "$glibcxx_have_gc_sections" = "yes"; then
57624 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57625 # NB: This flag only works reliably after 2.16.1. Configure tests
57626 # for this are difficult, so hard wire a value that should work.
57628 ac_test_CFLAGS="${CFLAGS+set}"
57629 ac_save_CFLAGS="$CFLAGS"
57630 CFLAGS='-Wl,--gc-sections'
57632 # Check for -Wl,--gc-sections
57633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57634 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57635 if test x$gcc_no_link = xyes; then
57636 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57639 /* end confdefs.h. */
57640 int one(void) { return 1; }
57641 int two(void) { return 2; }
57644 main ()
57646 two();
57648 return 0;
57650 _ACEOF
57651 if ac_fn_c_try_link "$LINENO"; then :
57652 ac_gcsections=yes
57653 else
57654 ac_gcsections=no
57656 rm -f core conftest.err conftest.$ac_objext \
57657 conftest$ac_exeext conftest.$ac_ext
57658 if test "$ac_gcsections" = "yes"; then
57659 rm -f conftest.c
57660 touch conftest.c
57661 if $CC -c conftest.c; then
57662 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57663 grep "Warning: gc-sections option ignored" > /dev/null; then
57664 ac_gcsections=no
57667 rm -f conftest.c conftest.o conftest
57669 if test "$ac_gcsections" = "yes"; then
57670 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57673 $as_echo "$ac_gcsections" >&6; }
57675 if test "$ac_test_CFLAGS" = set; then
57676 CFLAGS="$ac_save_CFLAGS"
57677 else
57678 # this is the suspicious part
57679 CFLAGS=''
57683 # Set -z,relro.
57684 # Note this is only for shared objects.
57685 ac_ld_relro=no
57686 if test x"$with_gnu_ld" = x"yes"; then
57687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57688 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57689 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57690 if test -n "$cxx_z_relo"; then
57691 OPT_LDFLAGS="-Wl,-z,relro"
57692 ac_ld_relro=yes
57694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57695 $as_echo "$ac_ld_relro" >&6; }
57698 # Set linker optimization flags.
57699 if test x"$with_gnu_ld" = x"yes"; then
57700 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57706 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57708 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57710 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57712 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57714 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57716 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57718 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57720 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57722 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57724 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57726 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57728 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57731 *-rtems*)
57733 # All these tests are for C++; save the language and the compiler flags.
57734 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57735 # found in GLIBCXX_CONFIGURE.
57737 ac_ext=cpp
57738 ac_cpp='$CXXCPP $CPPFLAGS'
57739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57743 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57744 ac_save_CXXFLAGS="$CXXFLAGS"
57746 # Check for maintainer-mode bits.
57747 if test x"$USE_MAINTAINER_MODE" = xno; then
57748 WERROR=''
57749 else
57750 WERROR='-Werror'
57753 # Check for -ffunction-sections -fdata-sections
57754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57755 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57756 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57758 /* end confdefs.h. */
57759 int foo; void bar() { };
57761 main ()
57765 return 0;
57767 _ACEOF
57768 if ac_fn_cxx_try_compile "$LINENO"; then :
57769 ac_fdsections=yes
57770 else
57771 ac_fdsections=no
57773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57774 if test "$ac_test_CXXFLAGS" = set; then
57775 CXXFLAGS="$ac_save_CXXFLAGS"
57776 else
57777 # this is the suspicious part
57778 CXXFLAGS=''
57780 if test x"$ac_fdsections" = x"yes"; then
57781 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57784 $as_echo "$ac_fdsections" >&6; }
57786 ac_ext=c
57787 ac_cpp='$CPP $CPPFLAGS'
57788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57796 # If we're not using GNU ld, then there's no point in even trying these
57797 # tests. Check for that first. We should have already tested for gld
57798 # by now (in libtool), but require it now just to be safe...
57799 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57800 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57804 # The name set by libtool depends on the version of libtool. Shame on us
57805 # for depending on an impl detail, but c'est la vie. Older versions used
57806 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57807 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57808 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57809 # set (hence we're using an older libtool), then set it.
57810 if test x${with_gnu_ld+set} != xset; then
57811 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57812 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57813 with_gnu_ld=no
57814 else
57815 with_gnu_ld=$ac_cv_prog_gnu_ld
57819 # Start by getting the version number. I think the libtool test already
57820 # does some of this, but throws away the result.
57821 glibcxx_ld_is_gold=no
57822 if test x"$with_gnu_ld" = x"yes"; then
57823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57824 $as_echo_n "checking for ld version... " >&6; }
57826 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57827 glibcxx_ld_is_gold=yes
57829 ldver=`$LD --version 2>/dev/null |
57830 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'`
57832 glibcxx_gnu_ld_version=`echo $ldver | \
57833 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57835 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57838 # Set --gc-sections.
57839 glibcxx_have_gc_sections=no
57840 if test "$glibcxx_ld_is_gold" = "yes"; then
57841 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57842 glibcxx_have_gc_sections=yes
57844 else
57845 glibcxx_gcsections_min_ld=21602
57846 if test x"$with_gnu_ld" = x"yes" &&
57847 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57848 glibcxx_have_gc_sections=yes
57851 if test "$glibcxx_have_gc_sections" = "yes"; then
57852 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57853 # NB: This flag only works reliably after 2.16.1. Configure tests
57854 # for this are difficult, so hard wire a value that should work.
57856 ac_test_CFLAGS="${CFLAGS+set}"
57857 ac_save_CFLAGS="$CFLAGS"
57858 CFLAGS='-Wl,--gc-sections'
57860 # Check for -Wl,--gc-sections
57861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57862 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57863 if test x$gcc_no_link = xyes; then
57864 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57867 /* end confdefs.h. */
57868 int one(void) { return 1; }
57869 int two(void) { return 2; }
57872 main ()
57874 two();
57876 return 0;
57878 _ACEOF
57879 if ac_fn_c_try_link "$LINENO"; then :
57880 ac_gcsections=yes
57881 else
57882 ac_gcsections=no
57884 rm -f core conftest.err conftest.$ac_objext \
57885 conftest$ac_exeext conftest.$ac_ext
57886 if test "$ac_gcsections" = "yes"; then
57887 rm -f conftest.c
57888 touch conftest.c
57889 if $CC -c conftest.c; then
57890 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57891 grep "Warning: gc-sections option ignored" > /dev/null; then
57892 ac_gcsections=no
57895 rm -f conftest.c conftest.o conftest
57897 if test "$ac_gcsections" = "yes"; then
57898 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57901 $as_echo "$ac_gcsections" >&6; }
57903 if test "$ac_test_CFLAGS" = set; then
57904 CFLAGS="$ac_save_CFLAGS"
57905 else
57906 # this is the suspicious part
57907 CFLAGS=''
57911 # Set -z,relro.
57912 # Note this is only for shared objects.
57913 ac_ld_relro=no
57914 if test x"$with_gnu_ld" = x"yes"; then
57915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57916 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57917 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57918 if test -n "$cxx_z_relo"; then
57919 OPT_LDFLAGS="-Wl,-z,relro"
57920 ac_ld_relro=yes
57922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57923 $as_echo "$ac_ld_relro" >&6; }
57926 # Set linker optimization flags.
57927 if test x"$with_gnu_ld" = x"yes"; then
57928 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57935 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57936 ac_save_CXXFLAGS="$CXXFLAGS"
57937 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
57940 $as_echo_n "checking for sin in -lm... " >&6; }
57941 if test "${ac_cv_lib_m_sin+set}" = set; then :
57942 $as_echo_n "(cached) " >&6
57943 else
57944 ac_check_lib_save_LIBS=$LIBS
57945 LIBS="-lm $LIBS"
57946 if test x$gcc_no_link = xyes; then
57947 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57950 /* end confdefs.h. */
57952 /* Override any GCC internal prototype to avoid an error.
57953 Use char because int might match the return type of a GCC
57954 builtin and then its argument prototype would still apply. */
57955 #ifdef __cplusplus
57956 extern "C"
57957 #endif
57958 char sin ();
57960 main ()
57962 return sin ();
57964 return 0;
57966 _ACEOF
57967 if ac_fn_c_try_link "$LINENO"; then :
57968 ac_cv_lib_m_sin=yes
57969 else
57970 ac_cv_lib_m_sin=no
57972 rm -f core conftest.err conftest.$ac_objext \
57973 conftest$ac_exeext conftest.$ac_ext
57974 LIBS=$ac_check_lib_save_LIBS
57976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
57977 $as_echo "$ac_cv_lib_m_sin" >&6; }
57978 if test "x$ac_cv_lib_m_sin" = x""yes; then :
57979 libm="-lm"
57982 ac_save_LIBS="$LIBS"
57983 LIBS="$LIBS $libm"
57987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
57988 $as_echo_n "checking for isinf declaration... " >&6; }
57989 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
57990 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
57991 $as_echo_n "(cached) " >&6
57992 else
57995 ac_ext=cpp
57996 ac_cpp='$CXXCPP $CPPFLAGS'
57997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58002 /* end confdefs.h. */
58003 #include <math.h>
58004 #ifdef HAVE_IEEEFP_H
58005 #include <ieeefp.h>
58006 #endif
58009 main ()
58011 isinf(0);
58013 return 0;
58015 _ACEOF
58016 if ac_fn_cxx_try_compile "$LINENO"; then :
58017 glibcxx_cv_func_isinf_use=yes
58018 else
58019 glibcxx_cv_func_isinf_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_isinf_use" >&5
58033 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58035 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58036 for ac_func in isinf
58037 do :
58038 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58039 if test "x$ac_cv_func_isinf" = x""yes; then :
58040 cat >>confdefs.h <<_ACEOF
58041 #define HAVE_ISINF 1
58042 _ACEOF
58045 done
58047 else
58049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58050 $as_echo_n "checking for _isinf declaration... " >&6; }
58051 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58052 if test "${glibcxx_cv_func__isinf_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>
58066 #ifdef HAVE_IEEEFP_H
58067 #include <ieeefp.h>
58068 #endif
58071 main ()
58073 _isinf(0);
58075 return 0;
58077 _ACEOF
58078 if ac_fn_cxx_try_compile "$LINENO"; then :
58079 glibcxx_cv_func__isinf_use=yes
58080 else
58081 glibcxx_cv_func__isinf_use=no
58083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58084 ac_ext=c
58085 ac_cpp='$CPP $CPPFLAGS'
58086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58095 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58097 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58098 for ac_func in _isinf
58099 do :
58100 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58101 if test "x$ac_cv_func__isinf" = x""yes; then :
58102 cat >>confdefs.h <<_ACEOF
58103 #define HAVE__ISINF 1
58104 _ACEOF
58107 done
58116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58117 $as_echo_n "checking for isnan declaration... " >&6; }
58118 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58119 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58120 $as_echo_n "(cached) " >&6
58121 else
58124 ac_ext=cpp
58125 ac_cpp='$CXXCPP $CPPFLAGS'
58126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58131 /* end confdefs.h. */
58132 #include <math.h>
58133 #ifdef HAVE_IEEEFP_H
58134 #include <ieeefp.h>
58135 #endif
58138 main ()
58140 isnan(0);
58142 return 0;
58144 _ACEOF
58145 if ac_fn_cxx_try_compile "$LINENO"; then :
58146 glibcxx_cv_func_isnan_use=yes
58147 else
58148 glibcxx_cv_func_isnan_use=no
58150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58151 ac_ext=c
58152 ac_cpp='$CPP $CPPFLAGS'
58153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58162 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58164 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58165 for ac_func in isnan
58166 do :
58167 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58168 if test "x$ac_cv_func_isnan" = x""yes; then :
58169 cat >>confdefs.h <<_ACEOF
58170 #define HAVE_ISNAN 1
58171 _ACEOF
58174 done
58176 else
58178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58179 $as_echo_n "checking for _isnan declaration... " >&6; }
58180 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58181 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58182 $as_echo_n "(cached) " >&6
58183 else
58186 ac_ext=cpp
58187 ac_cpp='$CXXCPP $CPPFLAGS'
58188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58193 /* end confdefs.h. */
58194 #include <math.h>
58195 #ifdef HAVE_IEEEFP_H
58196 #include <ieeefp.h>
58197 #endif
58200 main ()
58202 _isnan(0);
58204 return 0;
58206 _ACEOF
58207 if ac_fn_cxx_try_compile "$LINENO"; then :
58208 glibcxx_cv_func__isnan_use=yes
58209 else
58210 glibcxx_cv_func__isnan_use=no
58212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58213 ac_ext=c
58214 ac_cpp='$CPP $CPPFLAGS'
58215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58224 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58226 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58227 for ac_func in _isnan
58228 do :
58229 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58230 if test "x$ac_cv_func__isnan" = x""yes; then :
58231 cat >>confdefs.h <<_ACEOF
58232 #define HAVE__ISNAN 1
58233 _ACEOF
58236 done
58245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58246 $as_echo_n "checking for finite declaration... " >&6; }
58247 if test x${glibcxx_cv_func_finite_use+set} != xset; then
58248 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58249 $as_echo_n "(cached) " >&6
58250 else
58253 ac_ext=cpp
58254 ac_cpp='$CXXCPP $CPPFLAGS'
58255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58260 /* end confdefs.h. */
58261 #include <math.h>
58262 #ifdef HAVE_IEEEFP_H
58263 #include <ieeefp.h>
58264 #endif
58267 main ()
58269 finite(0);
58271 return 0;
58273 _ACEOF
58274 if ac_fn_cxx_try_compile "$LINENO"; then :
58275 glibcxx_cv_func_finite_use=yes
58276 else
58277 glibcxx_cv_func_finite_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_finite_use" >&5
58291 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58293 if test x$glibcxx_cv_func_finite_use = x"yes"; then
58294 for ac_func in finite
58295 do :
58296 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58297 if test "x$ac_cv_func_finite" = x""yes; then :
58298 cat >>confdefs.h <<_ACEOF
58299 #define HAVE_FINITE 1
58300 _ACEOF
58303 done
58305 else
58307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58308 $as_echo_n "checking for _finite declaration... " >&6; }
58309 if test x${glibcxx_cv_func__finite_use+set} != xset; then
58310 if test "${glibcxx_cv_func__finite_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 <math.h>
58324 #ifdef HAVE_IEEEFP_H
58325 #include <ieeefp.h>
58326 #endif
58329 main ()
58331 _finite(0);
58333 return 0;
58335 _ACEOF
58336 if ac_fn_cxx_try_compile "$LINENO"; then :
58337 glibcxx_cv_func__finite_use=yes
58338 else
58339 glibcxx_cv_func__finite_use=no
58341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58342 ac_ext=c
58343 ac_cpp='$CPP $CPPFLAGS'
58344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58353 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58355 if test x$glibcxx_cv_func__finite_use = x"yes"; then
58356 for ac_func in _finite
58357 do :
58358 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58359 if test "x$ac_cv_func__finite" = x""yes; then :
58360 cat >>confdefs.h <<_ACEOF
58361 #define HAVE__FINITE 1
58362 _ACEOF
58365 done
58374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58375 $as_echo_n "checking for sincos declaration... " >&6; }
58376 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58377 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58378 $as_echo_n "(cached) " >&6
58379 else
58382 ac_ext=cpp
58383 ac_cpp='$CXXCPP $CPPFLAGS'
58384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58389 /* end confdefs.h. */
58390 #include <math.h>
58392 main ()
58394 sincos(0, 0, 0);
58396 return 0;
58398 _ACEOF
58399 if ac_fn_cxx_try_compile "$LINENO"; then :
58400 glibcxx_cv_func_sincos_use=yes
58401 else
58402 glibcxx_cv_func_sincos_use=no
58404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58405 ac_ext=c
58406 ac_cpp='$CPP $CPPFLAGS'
58407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58416 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58418 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58419 for ac_func in sincos
58420 do :
58421 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58422 if test "x$ac_cv_func_sincos" = x""yes; then :
58423 cat >>confdefs.h <<_ACEOF
58424 #define HAVE_SINCOS 1
58425 _ACEOF
58428 done
58430 else
58432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58433 $as_echo_n "checking for _sincos declaration... " >&6; }
58434 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58435 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58436 $as_echo_n "(cached) " >&6
58437 else
58440 ac_ext=cpp
58441 ac_cpp='$CXXCPP $CPPFLAGS'
58442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58447 /* end confdefs.h. */
58448 #include <math.h>
58450 main ()
58452 _sincos(0, 0, 0);
58454 return 0;
58456 _ACEOF
58457 if ac_fn_cxx_try_compile "$LINENO"; then :
58458 glibcxx_cv_func__sincos_use=yes
58459 else
58460 glibcxx_cv_func__sincos_use=no
58462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58463 ac_ext=c
58464 ac_cpp='$CPP $CPPFLAGS'
58465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58474 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58476 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58477 for ac_func in _sincos
58478 do :
58479 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58480 if test "x$ac_cv_func__sincos" = x""yes; then :
58481 cat >>confdefs.h <<_ACEOF
58482 #define HAVE__SINCOS 1
58483 _ACEOF
58486 done
58495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58496 $as_echo_n "checking for fpclass declaration... " >&6; }
58497 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58498 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58499 $as_echo_n "(cached) " >&6
58500 else
58503 ac_ext=cpp
58504 ac_cpp='$CXXCPP $CPPFLAGS'
58505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58510 /* end confdefs.h. */
58511 #include <math.h>
58512 #ifdef HAVE_IEEEFP_H
58513 #include <ieeefp.h>
58514 #endif
58517 main ()
58519 fpclass(0);
58521 return 0;
58523 _ACEOF
58524 if ac_fn_cxx_try_compile "$LINENO"; then :
58525 glibcxx_cv_func_fpclass_use=yes
58526 else
58527 glibcxx_cv_func_fpclass_use=no
58529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58530 ac_ext=c
58531 ac_cpp='$CPP $CPPFLAGS'
58532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58541 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58543 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58544 for ac_func in fpclass
58545 do :
58546 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58547 if test "x$ac_cv_func_fpclass" = x""yes; then :
58548 cat >>confdefs.h <<_ACEOF
58549 #define HAVE_FPCLASS 1
58550 _ACEOF
58553 done
58555 else
58557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58558 $as_echo_n "checking for _fpclass declaration... " >&6; }
58559 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58560 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58561 $as_echo_n "(cached) " >&6
58562 else
58565 ac_ext=cpp
58566 ac_cpp='$CXXCPP $CPPFLAGS'
58567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58572 /* end confdefs.h. */
58573 #include <math.h>
58574 #ifdef HAVE_IEEEFP_H
58575 #include <ieeefp.h>
58576 #endif
58579 main ()
58581 _fpclass(0);
58583 return 0;
58585 _ACEOF
58586 if ac_fn_cxx_try_compile "$LINENO"; then :
58587 glibcxx_cv_func__fpclass_use=yes
58588 else
58589 glibcxx_cv_func__fpclass_use=no
58591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58592 ac_ext=c
58593 ac_cpp='$CPP $CPPFLAGS'
58594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58603 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58605 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58606 for ac_func in _fpclass
58607 do :
58608 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58609 if test "x$ac_cv_func__fpclass" = x""yes; then :
58610 cat >>confdefs.h <<_ACEOF
58611 #define HAVE__FPCLASS 1
58612 _ACEOF
58615 done
58624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58625 $as_echo_n "checking for qfpclass declaration... " >&6; }
58626 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58627 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58628 $as_echo_n "(cached) " >&6
58629 else
58632 ac_ext=cpp
58633 ac_cpp='$CXXCPP $CPPFLAGS'
58634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58639 /* end confdefs.h. */
58640 #include <math.h>
58641 #ifdef HAVE_IEEEFP_H
58642 #include <ieeefp.h>
58643 #endif
58646 main ()
58648 qfpclass(0);
58650 return 0;
58652 _ACEOF
58653 if ac_fn_cxx_try_compile "$LINENO"; then :
58654 glibcxx_cv_func_qfpclass_use=yes
58655 else
58656 glibcxx_cv_func_qfpclass_use=no
58658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58659 ac_ext=c
58660 ac_cpp='$CPP $CPPFLAGS'
58661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58670 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58672 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58673 for ac_func in qfpclass
58674 do :
58675 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58676 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58677 cat >>confdefs.h <<_ACEOF
58678 #define HAVE_QFPCLASS 1
58679 _ACEOF
58682 done
58684 else
58686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58687 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58688 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58689 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58690 $as_echo_n "(cached) " >&6
58691 else
58694 ac_ext=cpp
58695 ac_cpp='$CXXCPP $CPPFLAGS'
58696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58701 /* end confdefs.h. */
58702 #include <math.h>
58703 #ifdef HAVE_IEEEFP_H
58704 #include <ieeefp.h>
58705 #endif
58708 main ()
58710 _qfpclass(0);
58712 return 0;
58714 _ACEOF
58715 if ac_fn_cxx_try_compile "$LINENO"; then :
58716 glibcxx_cv_func__qfpclass_use=yes
58717 else
58718 glibcxx_cv_func__qfpclass_use=no
58720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58721 ac_ext=c
58722 ac_cpp='$CPP $CPPFLAGS'
58723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58732 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58734 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58735 for ac_func in _qfpclass
58736 do :
58737 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58738 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58739 cat >>confdefs.h <<_ACEOF
58740 #define HAVE__QFPCLASS 1
58741 _ACEOF
58744 done
58753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58754 $as_echo_n "checking for hypot declaration... " >&6; }
58755 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58756 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58757 $as_echo_n "(cached) " >&6
58758 else
58761 ac_ext=cpp
58762 ac_cpp='$CXXCPP $CPPFLAGS'
58763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58768 /* end confdefs.h. */
58769 #include <math.h>
58771 main ()
58773 hypot(0, 0);
58775 return 0;
58777 _ACEOF
58778 if ac_fn_cxx_try_compile "$LINENO"; then :
58779 glibcxx_cv_func_hypot_use=yes
58780 else
58781 glibcxx_cv_func_hypot_use=no
58783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58784 ac_ext=c
58785 ac_cpp='$CPP $CPPFLAGS'
58786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58795 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58797 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58798 for ac_func in hypot
58799 do :
58800 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58801 if test "x$ac_cv_func_hypot" = x""yes; then :
58802 cat >>confdefs.h <<_ACEOF
58803 #define HAVE_HYPOT 1
58804 _ACEOF
58807 done
58809 else
58811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58812 $as_echo_n "checking for _hypot declaration... " >&6; }
58813 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58814 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58815 $as_echo_n "(cached) " >&6
58816 else
58819 ac_ext=cpp
58820 ac_cpp='$CXXCPP $CPPFLAGS'
58821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58826 /* end confdefs.h. */
58827 #include <math.h>
58829 main ()
58831 _hypot(0, 0);
58833 return 0;
58835 _ACEOF
58836 if ac_fn_cxx_try_compile "$LINENO"; then :
58837 glibcxx_cv_func__hypot_use=yes
58838 else
58839 glibcxx_cv_func__hypot_use=no
58841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58842 ac_ext=c
58843 ac_cpp='$CPP $CPPFLAGS'
58844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58853 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58855 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58856 for ac_func in _hypot
58857 do :
58858 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58859 if test "x$ac_cv_func__hypot" = x""yes; then :
58860 cat >>confdefs.h <<_ACEOF
58861 #define HAVE__HYPOT 1
58862 _ACEOF
58865 done
58874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58875 $as_echo_n "checking for float trig functions... " >&6; }
58876 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58877 $as_echo_n "(cached) " >&6
58878 else
58881 ac_ext=cpp
58882 ac_cpp='$CXXCPP $CPPFLAGS'
58883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58888 /* end confdefs.h. */
58889 #include <math.h>
58891 main ()
58893 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58895 return 0;
58897 _ACEOF
58898 if ac_fn_cxx_try_compile "$LINENO"; then :
58899 glibcxx_cv_func_float_trig_use=yes
58900 else
58901 glibcxx_cv_func_float_trig_use=no
58903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58904 ac_ext=c
58905 ac_cpp='$CPP $CPPFLAGS'
58906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58913 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58914 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58915 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58916 do :
58917 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58918 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58919 eval as_val=\$$as_ac_var
58920 if test "x$as_val" = x""yes; then :
58921 cat >>confdefs.h <<_ACEOF
58922 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58923 _ACEOF
58926 done
58928 else
58929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
58930 $as_echo_n "checking for _float trig functions... " >&6; }
58931 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
58932 $as_echo_n "(cached) " >&6
58933 else
58936 ac_ext=cpp
58937 ac_cpp='$CXXCPP $CPPFLAGS'
58938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58943 /* end confdefs.h. */
58944 #include <math.h>
58946 main ()
58948 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
58950 return 0;
58952 _ACEOF
58953 if ac_fn_cxx_try_compile "$LINENO"; then :
58954 glibcxx_cv_func__float_trig_use=yes
58955 else
58956 glibcxx_cv_func__float_trig_use=no
58958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58959 ac_ext=c
58960 ac_cpp='$CPP $CPPFLAGS'
58961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
58968 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
58969 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
58970 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
58971 do :
58972 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58973 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58974 eval as_val=\$$as_ac_var
58975 if test "x$as_val" = x""yes; then :
58976 cat >>confdefs.h <<_ACEOF
58977 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58978 _ACEOF
58981 done
58990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
58991 $as_echo_n "checking for float round functions... " >&6; }
58992 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
58993 $as_echo_n "(cached) " >&6
58994 else
58997 ac_ext=cpp
58998 ac_cpp='$CXXCPP $CPPFLAGS'
58999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59004 /* end confdefs.h. */
59005 #include <math.h>
59007 main ()
59009 ceilf (0); floorf (0);
59011 return 0;
59013 _ACEOF
59014 if ac_fn_cxx_try_compile "$LINENO"; then :
59015 glibcxx_cv_func_float_round_use=yes
59016 else
59017 glibcxx_cv_func_float_round_use=no
59019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59020 ac_ext=c
59021 ac_cpp='$CPP $CPPFLAGS'
59022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59029 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59030 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59031 for ac_func in ceilf floorf
59032 do :
59033 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59034 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59035 eval as_val=\$$as_ac_var
59036 if test "x$as_val" = x""yes; then :
59037 cat >>confdefs.h <<_ACEOF
59038 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59039 _ACEOF
59042 done
59044 else
59045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59046 $as_echo_n "checking for _float round functions... " >&6; }
59047 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59048 $as_echo_n "(cached) " >&6
59049 else
59052 ac_ext=cpp
59053 ac_cpp='$CXXCPP $CPPFLAGS'
59054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59059 /* end confdefs.h. */
59060 #include <math.h>
59062 main ()
59064 _ceilf (0); _floorf (0);
59066 return 0;
59068 _ACEOF
59069 if ac_fn_cxx_try_compile "$LINENO"; then :
59070 glibcxx_cv_func__float_round_use=yes
59071 else
59072 glibcxx_cv_func__float_round_use=no
59074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59075 ac_ext=c
59076 ac_cpp='$CPP $CPPFLAGS'
59077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59084 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59085 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59086 for ac_func in _ceilf _floorf
59087 do :
59088 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59089 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59090 eval as_val=\$$as_ac_var
59091 if test "x$as_val" = x""yes; then :
59092 cat >>confdefs.h <<_ACEOF
59093 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59094 _ACEOF
59097 done
59107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59108 $as_echo_n "checking for expf declaration... " >&6; }
59109 if test x${glibcxx_cv_func_expf_use+set} != xset; then
59110 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59111 $as_echo_n "(cached) " >&6
59112 else
59115 ac_ext=cpp
59116 ac_cpp='$CXXCPP $CPPFLAGS'
59117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59122 /* end confdefs.h. */
59123 #include <math.h>
59124 #ifdef HAVE_IEEEFP_H
59125 #include <ieeefp.h>
59126 #endif
59129 main ()
59131 expf(0);
59133 return 0;
59135 _ACEOF
59136 if ac_fn_cxx_try_compile "$LINENO"; then :
59137 glibcxx_cv_func_expf_use=yes
59138 else
59139 glibcxx_cv_func_expf_use=no
59141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59142 ac_ext=c
59143 ac_cpp='$CPP $CPPFLAGS'
59144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59153 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59155 if test x$glibcxx_cv_func_expf_use = x"yes"; then
59156 for ac_func in expf
59157 do :
59158 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59159 if test "x$ac_cv_func_expf" = x""yes; then :
59160 cat >>confdefs.h <<_ACEOF
59161 #define HAVE_EXPF 1
59162 _ACEOF
59165 done
59167 else
59169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59170 $as_echo_n "checking for _expf declaration... " >&6; }
59171 if test x${glibcxx_cv_func__expf_use+set} != xset; then
59172 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59173 $as_echo_n "(cached) " >&6
59174 else
59177 ac_ext=cpp
59178 ac_cpp='$CXXCPP $CPPFLAGS'
59179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59184 /* end confdefs.h. */
59185 #include <math.h>
59186 #ifdef HAVE_IEEEFP_H
59187 #include <ieeefp.h>
59188 #endif
59191 main ()
59193 _expf(0);
59195 return 0;
59197 _ACEOF
59198 if ac_fn_cxx_try_compile "$LINENO"; then :
59199 glibcxx_cv_func__expf_use=yes
59200 else
59201 glibcxx_cv_func__expf_use=no
59203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59204 ac_ext=c
59205 ac_cpp='$CPP $CPPFLAGS'
59206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59215 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59217 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59218 for ac_func in _expf
59219 do :
59220 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59221 if test "x$ac_cv_func__expf" = x""yes; then :
59222 cat >>confdefs.h <<_ACEOF
59223 #define HAVE__EXPF 1
59224 _ACEOF
59227 done
59236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59237 $as_echo_n "checking for isnanf declaration... " >&6; }
59238 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59239 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59240 $as_echo_n "(cached) " >&6
59241 else
59244 ac_ext=cpp
59245 ac_cpp='$CXXCPP $CPPFLAGS'
59246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59251 /* end confdefs.h. */
59252 #include <math.h>
59253 #ifdef HAVE_IEEEFP_H
59254 #include <ieeefp.h>
59255 #endif
59258 main ()
59260 isnanf(0);
59262 return 0;
59264 _ACEOF
59265 if ac_fn_cxx_try_compile "$LINENO"; then :
59266 glibcxx_cv_func_isnanf_use=yes
59267 else
59268 glibcxx_cv_func_isnanf_use=no
59270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59271 ac_ext=c
59272 ac_cpp='$CPP $CPPFLAGS'
59273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59282 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59284 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59285 for ac_func in isnanf
59286 do :
59287 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59288 if test "x$ac_cv_func_isnanf" = x""yes; then :
59289 cat >>confdefs.h <<_ACEOF
59290 #define HAVE_ISNANF 1
59291 _ACEOF
59294 done
59296 else
59298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59299 $as_echo_n "checking for _isnanf declaration... " >&6; }
59300 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59301 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59302 $as_echo_n "(cached) " >&6
59303 else
59306 ac_ext=cpp
59307 ac_cpp='$CXXCPP $CPPFLAGS'
59308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59313 /* end confdefs.h. */
59314 #include <math.h>
59315 #ifdef HAVE_IEEEFP_H
59316 #include <ieeefp.h>
59317 #endif
59320 main ()
59322 _isnanf(0);
59324 return 0;
59326 _ACEOF
59327 if ac_fn_cxx_try_compile "$LINENO"; then :
59328 glibcxx_cv_func__isnanf_use=yes
59329 else
59330 glibcxx_cv_func__isnanf_use=no
59332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59333 ac_ext=c
59334 ac_cpp='$CPP $CPPFLAGS'
59335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59344 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59346 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59347 for ac_func in _isnanf
59348 do :
59349 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59350 if test "x$ac_cv_func__isnanf" = x""yes; then :
59351 cat >>confdefs.h <<_ACEOF
59352 #define HAVE__ISNANF 1
59353 _ACEOF
59356 done
59365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59366 $as_echo_n "checking for isinff declaration... " >&6; }
59367 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59368 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59369 $as_echo_n "(cached) " >&6
59370 else
59373 ac_ext=cpp
59374 ac_cpp='$CXXCPP $CPPFLAGS'
59375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59380 /* end confdefs.h. */
59381 #include <math.h>
59382 #ifdef HAVE_IEEEFP_H
59383 #include <ieeefp.h>
59384 #endif
59387 main ()
59389 isinff(0);
59391 return 0;
59393 _ACEOF
59394 if ac_fn_cxx_try_compile "$LINENO"; then :
59395 glibcxx_cv_func_isinff_use=yes
59396 else
59397 glibcxx_cv_func_isinff_use=no
59399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59400 ac_ext=c
59401 ac_cpp='$CPP $CPPFLAGS'
59402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59411 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59413 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59414 for ac_func in isinff
59415 do :
59416 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59417 if test "x$ac_cv_func_isinff" = x""yes; then :
59418 cat >>confdefs.h <<_ACEOF
59419 #define HAVE_ISINFF 1
59420 _ACEOF
59423 done
59425 else
59427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59428 $as_echo_n "checking for _isinff declaration... " >&6; }
59429 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59430 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59431 $as_echo_n "(cached) " >&6
59432 else
59435 ac_ext=cpp
59436 ac_cpp='$CXXCPP $CPPFLAGS'
59437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59442 /* end confdefs.h. */
59443 #include <math.h>
59444 #ifdef HAVE_IEEEFP_H
59445 #include <ieeefp.h>
59446 #endif
59449 main ()
59451 _isinff(0);
59453 return 0;
59455 _ACEOF
59456 if ac_fn_cxx_try_compile "$LINENO"; then :
59457 glibcxx_cv_func__isinff_use=yes
59458 else
59459 glibcxx_cv_func__isinff_use=no
59461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59462 ac_ext=c
59463 ac_cpp='$CPP $CPPFLAGS'
59464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59473 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59475 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59476 for ac_func in _isinff
59477 do :
59478 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59479 if test "x$ac_cv_func__isinff" = x""yes; then :
59480 cat >>confdefs.h <<_ACEOF
59481 #define HAVE__ISINFF 1
59482 _ACEOF
59485 done
59494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59495 $as_echo_n "checking for atan2f declaration... " >&6; }
59496 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59497 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59498 $as_echo_n "(cached) " >&6
59499 else
59502 ac_ext=cpp
59503 ac_cpp='$CXXCPP $CPPFLAGS'
59504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59509 /* end confdefs.h. */
59510 #include <math.h>
59512 main ()
59514 atan2f(0, 0);
59516 return 0;
59518 _ACEOF
59519 if ac_fn_cxx_try_compile "$LINENO"; then :
59520 glibcxx_cv_func_atan2f_use=yes
59521 else
59522 glibcxx_cv_func_atan2f_use=no
59524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59525 ac_ext=c
59526 ac_cpp='$CPP $CPPFLAGS'
59527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59536 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59538 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59539 for ac_func in atan2f
59540 do :
59541 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59542 if test "x$ac_cv_func_atan2f" = x""yes; then :
59543 cat >>confdefs.h <<_ACEOF
59544 #define HAVE_ATAN2F 1
59545 _ACEOF
59548 done
59550 else
59552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59553 $as_echo_n "checking for _atan2f declaration... " >&6; }
59554 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59555 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59556 $as_echo_n "(cached) " >&6
59557 else
59560 ac_ext=cpp
59561 ac_cpp='$CXXCPP $CPPFLAGS'
59562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59567 /* end confdefs.h. */
59568 #include <math.h>
59570 main ()
59572 _atan2f(0, 0);
59574 return 0;
59576 _ACEOF
59577 if ac_fn_cxx_try_compile "$LINENO"; then :
59578 glibcxx_cv_func__atan2f_use=yes
59579 else
59580 glibcxx_cv_func__atan2f_use=no
59582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59583 ac_ext=c
59584 ac_cpp='$CPP $CPPFLAGS'
59585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59594 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59596 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59597 for ac_func in _atan2f
59598 do :
59599 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59600 if test "x$ac_cv_func__atan2f" = x""yes; then :
59601 cat >>confdefs.h <<_ACEOF
59602 #define HAVE__ATAN2F 1
59603 _ACEOF
59606 done
59615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59616 $as_echo_n "checking for fabsf declaration... " >&6; }
59617 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59618 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59619 $as_echo_n "(cached) " >&6
59620 else
59623 ac_ext=cpp
59624 ac_cpp='$CXXCPP $CPPFLAGS'
59625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59630 /* end confdefs.h. */
59631 #include <math.h>
59632 #ifdef HAVE_IEEEFP_H
59633 #include <ieeefp.h>
59634 #endif
59637 main ()
59639 fabsf(0);
59641 return 0;
59643 _ACEOF
59644 if ac_fn_cxx_try_compile "$LINENO"; then :
59645 glibcxx_cv_func_fabsf_use=yes
59646 else
59647 glibcxx_cv_func_fabsf_use=no
59649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59650 ac_ext=c
59651 ac_cpp='$CPP $CPPFLAGS'
59652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59661 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59663 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59664 for ac_func in fabsf
59665 do :
59666 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59667 if test "x$ac_cv_func_fabsf" = x""yes; then :
59668 cat >>confdefs.h <<_ACEOF
59669 #define HAVE_FABSF 1
59670 _ACEOF
59673 done
59675 else
59677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59678 $as_echo_n "checking for _fabsf declaration... " >&6; }
59679 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59680 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59681 $as_echo_n "(cached) " >&6
59682 else
59685 ac_ext=cpp
59686 ac_cpp='$CXXCPP $CPPFLAGS'
59687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59692 /* end confdefs.h. */
59693 #include <math.h>
59694 #ifdef HAVE_IEEEFP_H
59695 #include <ieeefp.h>
59696 #endif
59699 main ()
59701 _fabsf(0);
59703 return 0;
59705 _ACEOF
59706 if ac_fn_cxx_try_compile "$LINENO"; then :
59707 glibcxx_cv_func__fabsf_use=yes
59708 else
59709 glibcxx_cv_func__fabsf_use=no
59711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59712 ac_ext=c
59713 ac_cpp='$CPP $CPPFLAGS'
59714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59723 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59725 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59726 for ac_func in _fabsf
59727 do :
59728 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59729 if test "x$ac_cv_func__fabsf" = x""yes; then :
59730 cat >>confdefs.h <<_ACEOF
59731 #define HAVE__FABSF 1
59732 _ACEOF
59735 done
59744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59745 $as_echo_n "checking for fmodf declaration... " >&6; }
59746 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59747 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59748 $as_echo_n "(cached) " >&6
59749 else
59752 ac_ext=cpp
59753 ac_cpp='$CXXCPP $CPPFLAGS'
59754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59759 /* end confdefs.h. */
59760 #include <math.h>
59762 main ()
59764 fmodf(0, 0);
59766 return 0;
59768 _ACEOF
59769 if ac_fn_cxx_try_compile "$LINENO"; then :
59770 glibcxx_cv_func_fmodf_use=yes
59771 else
59772 glibcxx_cv_func_fmodf_use=no
59774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59775 ac_ext=c
59776 ac_cpp='$CPP $CPPFLAGS'
59777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59786 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59788 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59789 for ac_func in fmodf
59790 do :
59791 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59792 if test "x$ac_cv_func_fmodf" = x""yes; then :
59793 cat >>confdefs.h <<_ACEOF
59794 #define HAVE_FMODF 1
59795 _ACEOF
59798 done
59800 else
59802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59803 $as_echo_n "checking for _fmodf declaration... " >&6; }
59804 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59805 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59806 $as_echo_n "(cached) " >&6
59807 else
59810 ac_ext=cpp
59811 ac_cpp='$CXXCPP $CPPFLAGS'
59812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59817 /* end confdefs.h. */
59818 #include <math.h>
59820 main ()
59822 _fmodf(0, 0);
59824 return 0;
59826 _ACEOF
59827 if ac_fn_cxx_try_compile "$LINENO"; then :
59828 glibcxx_cv_func__fmodf_use=yes
59829 else
59830 glibcxx_cv_func__fmodf_use=no
59832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59833 ac_ext=c
59834 ac_cpp='$CPP $CPPFLAGS'
59835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59844 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59846 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59847 for ac_func in _fmodf
59848 do :
59849 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59850 if test "x$ac_cv_func__fmodf" = x""yes; then :
59851 cat >>confdefs.h <<_ACEOF
59852 #define HAVE__FMODF 1
59853 _ACEOF
59856 done
59865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59866 $as_echo_n "checking for frexpf declaration... " >&6; }
59867 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59868 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59869 $as_echo_n "(cached) " >&6
59870 else
59873 ac_ext=cpp
59874 ac_cpp='$CXXCPP $CPPFLAGS'
59875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59880 /* end confdefs.h. */
59881 #include <math.h>
59883 main ()
59885 frexpf(0, 0);
59887 return 0;
59889 _ACEOF
59890 if ac_fn_cxx_try_compile "$LINENO"; then :
59891 glibcxx_cv_func_frexpf_use=yes
59892 else
59893 glibcxx_cv_func_frexpf_use=no
59895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59896 ac_ext=c
59897 ac_cpp='$CPP $CPPFLAGS'
59898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59907 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59909 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59910 for ac_func in frexpf
59911 do :
59912 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59913 if test "x$ac_cv_func_frexpf" = x""yes; then :
59914 cat >>confdefs.h <<_ACEOF
59915 #define HAVE_FREXPF 1
59916 _ACEOF
59919 done
59921 else
59923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59924 $as_echo_n "checking for _frexpf declaration... " >&6; }
59925 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59926 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59927 $as_echo_n "(cached) " >&6
59928 else
59931 ac_ext=cpp
59932 ac_cpp='$CXXCPP $CPPFLAGS'
59933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59938 /* end confdefs.h. */
59939 #include <math.h>
59941 main ()
59943 _frexpf(0, 0);
59945 return 0;
59947 _ACEOF
59948 if ac_fn_cxx_try_compile "$LINENO"; then :
59949 glibcxx_cv_func__frexpf_use=yes
59950 else
59951 glibcxx_cv_func__frexpf_use=no
59953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59954 ac_ext=c
59955 ac_cpp='$CPP $CPPFLAGS'
59956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
59965 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
59967 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59968 for ac_func in _frexpf
59969 do :
59970 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
59971 if test "x$ac_cv_func__frexpf" = x""yes; then :
59972 cat >>confdefs.h <<_ACEOF
59973 #define HAVE__FREXPF 1
59974 _ACEOF
59977 done
59986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
59987 $as_echo_n "checking for hypotf declaration... " >&6; }
59988 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59989 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
59990 $as_echo_n "(cached) " >&6
59991 else
59994 ac_ext=cpp
59995 ac_cpp='$CXXCPP $CPPFLAGS'
59996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60001 /* end confdefs.h. */
60002 #include <math.h>
60004 main ()
60006 hypotf(0, 0);
60008 return 0;
60010 _ACEOF
60011 if ac_fn_cxx_try_compile "$LINENO"; then :
60012 glibcxx_cv_func_hypotf_use=yes
60013 else
60014 glibcxx_cv_func_hypotf_use=no
60016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60017 ac_ext=c
60018 ac_cpp='$CPP $CPPFLAGS'
60019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60028 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60030 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60031 for ac_func in hypotf
60032 do :
60033 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60034 if test "x$ac_cv_func_hypotf" = x""yes; then :
60035 cat >>confdefs.h <<_ACEOF
60036 #define HAVE_HYPOTF 1
60037 _ACEOF
60040 done
60042 else
60044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60045 $as_echo_n "checking for _hypotf declaration... " >&6; }
60046 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60047 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60048 $as_echo_n "(cached) " >&6
60049 else
60052 ac_ext=cpp
60053 ac_cpp='$CXXCPP $CPPFLAGS'
60054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60059 /* end confdefs.h. */
60060 #include <math.h>
60062 main ()
60064 _hypotf(0, 0);
60066 return 0;
60068 _ACEOF
60069 if ac_fn_cxx_try_compile "$LINENO"; then :
60070 glibcxx_cv_func__hypotf_use=yes
60071 else
60072 glibcxx_cv_func__hypotf_use=no
60074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60075 ac_ext=c
60076 ac_cpp='$CPP $CPPFLAGS'
60077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60086 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60088 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60089 for ac_func in _hypotf
60090 do :
60091 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60092 if test "x$ac_cv_func__hypotf" = x""yes; then :
60093 cat >>confdefs.h <<_ACEOF
60094 #define HAVE__HYPOTF 1
60095 _ACEOF
60098 done
60107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60108 $as_echo_n "checking for ldexpf declaration... " >&6; }
60109 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60110 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60111 $as_echo_n "(cached) " >&6
60112 else
60115 ac_ext=cpp
60116 ac_cpp='$CXXCPP $CPPFLAGS'
60117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60122 /* end confdefs.h. */
60123 #include <math.h>
60125 main ()
60127 ldexpf(0, 0);
60129 return 0;
60131 _ACEOF
60132 if ac_fn_cxx_try_compile "$LINENO"; then :
60133 glibcxx_cv_func_ldexpf_use=yes
60134 else
60135 glibcxx_cv_func_ldexpf_use=no
60137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60138 ac_ext=c
60139 ac_cpp='$CPP $CPPFLAGS'
60140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60149 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60151 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60152 for ac_func in ldexpf
60153 do :
60154 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60155 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60156 cat >>confdefs.h <<_ACEOF
60157 #define HAVE_LDEXPF 1
60158 _ACEOF
60161 done
60163 else
60165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60166 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60167 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60168 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60169 $as_echo_n "(cached) " >&6
60170 else
60173 ac_ext=cpp
60174 ac_cpp='$CXXCPP $CPPFLAGS'
60175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60180 /* end confdefs.h. */
60181 #include <math.h>
60183 main ()
60185 _ldexpf(0, 0);
60187 return 0;
60189 _ACEOF
60190 if ac_fn_cxx_try_compile "$LINENO"; then :
60191 glibcxx_cv_func__ldexpf_use=yes
60192 else
60193 glibcxx_cv_func__ldexpf_use=no
60195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60196 ac_ext=c
60197 ac_cpp='$CPP $CPPFLAGS'
60198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60207 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60209 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60210 for ac_func in _ldexpf
60211 do :
60212 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60213 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60214 cat >>confdefs.h <<_ACEOF
60215 #define HAVE__LDEXPF 1
60216 _ACEOF
60219 done
60228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60229 $as_echo_n "checking for logf declaration... " >&6; }
60230 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60231 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60232 $as_echo_n "(cached) " >&6
60233 else
60236 ac_ext=cpp
60237 ac_cpp='$CXXCPP $CPPFLAGS'
60238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60243 /* end confdefs.h. */
60244 #include <math.h>
60245 #ifdef HAVE_IEEEFP_H
60246 #include <ieeefp.h>
60247 #endif
60250 main ()
60252 logf(0);
60254 return 0;
60256 _ACEOF
60257 if ac_fn_cxx_try_compile "$LINENO"; then :
60258 glibcxx_cv_func_logf_use=yes
60259 else
60260 glibcxx_cv_func_logf_use=no
60262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60263 ac_ext=c
60264 ac_cpp='$CPP $CPPFLAGS'
60265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60274 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60276 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60277 for ac_func in logf
60278 do :
60279 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60280 if test "x$ac_cv_func_logf" = x""yes; then :
60281 cat >>confdefs.h <<_ACEOF
60282 #define HAVE_LOGF 1
60283 _ACEOF
60286 done
60288 else
60290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60291 $as_echo_n "checking for _logf declaration... " >&6; }
60292 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60293 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60294 $as_echo_n "(cached) " >&6
60295 else
60298 ac_ext=cpp
60299 ac_cpp='$CXXCPP $CPPFLAGS'
60300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60305 /* end confdefs.h. */
60306 #include <math.h>
60307 #ifdef HAVE_IEEEFP_H
60308 #include <ieeefp.h>
60309 #endif
60312 main ()
60314 _logf(0);
60316 return 0;
60318 _ACEOF
60319 if ac_fn_cxx_try_compile "$LINENO"; then :
60320 glibcxx_cv_func__logf_use=yes
60321 else
60322 glibcxx_cv_func__logf_use=no
60324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60325 ac_ext=c
60326 ac_cpp='$CPP $CPPFLAGS'
60327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60336 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60338 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60339 for ac_func in _logf
60340 do :
60341 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60342 if test "x$ac_cv_func__logf" = x""yes; then :
60343 cat >>confdefs.h <<_ACEOF
60344 #define HAVE__LOGF 1
60345 _ACEOF
60348 done
60357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60358 $as_echo_n "checking for log10f declaration... " >&6; }
60359 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60360 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60361 $as_echo_n "(cached) " >&6
60362 else
60365 ac_ext=cpp
60366 ac_cpp='$CXXCPP $CPPFLAGS'
60367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60372 /* end confdefs.h. */
60373 #include <math.h>
60374 #ifdef HAVE_IEEEFP_H
60375 #include <ieeefp.h>
60376 #endif
60379 main ()
60381 log10f(0);
60383 return 0;
60385 _ACEOF
60386 if ac_fn_cxx_try_compile "$LINENO"; then :
60387 glibcxx_cv_func_log10f_use=yes
60388 else
60389 glibcxx_cv_func_log10f_use=no
60391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60392 ac_ext=c
60393 ac_cpp='$CPP $CPPFLAGS'
60394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60403 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60405 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60406 for ac_func in log10f
60407 do :
60408 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60409 if test "x$ac_cv_func_log10f" = x""yes; then :
60410 cat >>confdefs.h <<_ACEOF
60411 #define HAVE_LOG10F 1
60412 _ACEOF
60415 done
60417 else
60419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60420 $as_echo_n "checking for _log10f declaration... " >&6; }
60421 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60422 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60423 $as_echo_n "(cached) " >&6
60424 else
60427 ac_ext=cpp
60428 ac_cpp='$CXXCPP $CPPFLAGS'
60429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60434 /* end confdefs.h. */
60435 #include <math.h>
60436 #ifdef HAVE_IEEEFP_H
60437 #include <ieeefp.h>
60438 #endif
60441 main ()
60443 _log10f(0);
60445 return 0;
60447 _ACEOF
60448 if ac_fn_cxx_try_compile "$LINENO"; then :
60449 glibcxx_cv_func__log10f_use=yes
60450 else
60451 glibcxx_cv_func__log10f_use=no
60453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60454 ac_ext=c
60455 ac_cpp='$CPP $CPPFLAGS'
60456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60465 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60467 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60468 for ac_func in _log10f
60469 do :
60470 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60471 if test "x$ac_cv_func__log10f" = x""yes; then :
60472 cat >>confdefs.h <<_ACEOF
60473 #define HAVE__LOG10F 1
60474 _ACEOF
60477 done
60486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60487 $as_echo_n "checking for modff declaration... " >&6; }
60488 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60489 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60490 $as_echo_n "(cached) " >&6
60491 else
60494 ac_ext=cpp
60495 ac_cpp='$CXXCPP $CPPFLAGS'
60496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60501 /* end confdefs.h. */
60502 #include <math.h>
60504 main ()
60506 modff(0, 0);
60508 return 0;
60510 _ACEOF
60511 if ac_fn_cxx_try_compile "$LINENO"; then :
60512 glibcxx_cv_func_modff_use=yes
60513 else
60514 glibcxx_cv_func_modff_use=no
60516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60517 ac_ext=c
60518 ac_cpp='$CPP $CPPFLAGS'
60519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60528 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60530 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60531 for ac_func in modff
60532 do :
60533 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60534 if test "x$ac_cv_func_modff" = x""yes; then :
60535 cat >>confdefs.h <<_ACEOF
60536 #define HAVE_MODFF 1
60537 _ACEOF
60540 done
60542 else
60544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60545 $as_echo_n "checking for _modff declaration... " >&6; }
60546 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60547 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60548 $as_echo_n "(cached) " >&6
60549 else
60552 ac_ext=cpp
60553 ac_cpp='$CXXCPP $CPPFLAGS'
60554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60559 /* end confdefs.h. */
60560 #include <math.h>
60562 main ()
60564 _modff(0, 0);
60566 return 0;
60568 _ACEOF
60569 if ac_fn_cxx_try_compile "$LINENO"; then :
60570 glibcxx_cv_func__modff_use=yes
60571 else
60572 glibcxx_cv_func__modff_use=no
60574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60575 ac_ext=c
60576 ac_cpp='$CPP $CPPFLAGS'
60577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60586 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60588 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60589 for ac_func in _modff
60590 do :
60591 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60592 if test "x$ac_cv_func__modff" = x""yes; then :
60593 cat >>confdefs.h <<_ACEOF
60594 #define HAVE__MODFF 1
60595 _ACEOF
60598 done
60607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60608 $as_echo_n "checking for modf declaration... " >&6; }
60609 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60610 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60611 $as_echo_n "(cached) " >&6
60612 else
60615 ac_ext=cpp
60616 ac_cpp='$CXXCPP $CPPFLAGS'
60617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60622 /* end confdefs.h. */
60623 #include <math.h>
60625 main ()
60627 modf(0, 0);
60629 return 0;
60631 _ACEOF
60632 if ac_fn_cxx_try_compile "$LINENO"; then :
60633 glibcxx_cv_func_modf_use=yes
60634 else
60635 glibcxx_cv_func_modf_use=no
60637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60638 ac_ext=c
60639 ac_cpp='$CPP $CPPFLAGS'
60640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60649 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60651 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60652 for ac_func in modf
60653 do :
60654 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60655 if test "x$ac_cv_func_modf" = x""yes; then :
60656 cat >>confdefs.h <<_ACEOF
60657 #define HAVE_MODF 1
60658 _ACEOF
60661 done
60663 else
60665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60666 $as_echo_n "checking for _modf declaration... " >&6; }
60667 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60668 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60669 $as_echo_n "(cached) " >&6
60670 else
60673 ac_ext=cpp
60674 ac_cpp='$CXXCPP $CPPFLAGS'
60675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60680 /* end confdefs.h. */
60681 #include <math.h>
60683 main ()
60685 _modf(0, 0);
60687 return 0;
60689 _ACEOF
60690 if ac_fn_cxx_try_compile "$LINENO"; then :
60691 glibcxx_cv_func__modf_use=yes
60692 else
60693 glibcxx_cv_func__modf_use=no
60695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60696 ac_ext=c
60697 ac_cpp='$CPP $CPPFLAGS'
60698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60707 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60709 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60710 for ac_func in _modf
60711 do :
60712 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60713 if test "x$ac_cv_func__modf" = x""yes; then :
60714 cat >>confdefs.h <<_ACEOF
60715 #define HAVE__MODF 1
60716 _ACEOF
60719 done
60728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60729 $as_echo_n "checking for powf declaration... " >&6; }
60730 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60731 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60732 $as_echo_n "(cached) " >&6
60733 else
60736 ac_ext=cpp
60737 ac_cpp='$CXXCPP $CPPFLAGS'
60738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60743 /* end confdefs.h. */
60744 #include <math.h>
60746 main ()
60748 powf(0, 0);
60750 return 0;
60752 _ACEOF
60753 if ac_fn_cxx_try_compile "$LINENO"; then :
60754 glibcxx_cv_func_powf_use=yes
60755 else
60756 glibcxx_cv_func_powf_use=no
60758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60759 ac_ext=c
60760 ac_cpp='$CPP $CPPFLAGS'
60761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60770 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60772 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60773 for ac_func in powf
60774 do :
60775 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60776 if test "x$ac_cv_func_powf" = x""yes; then :
60777 cat >>confdefs.h <<_ACEOF
60778 #define HAVE_POWF 1
60779 _ACEOF
60782 done
60784 else
60786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60787 $as_echo_n "checking for _powf declaration... " >&6; }
60788 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60789 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60790 $as_echo_n "(cached) " >&6
60791 else
60794 ac_ext=cpp
60795 ac_cpp='$CXXCPP $CPPFLAGS'
60796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60801 /* end confdefs.h. */
60802 #include <math.h>
60804 main ()
60806 _powf(0, 0);
60808 return 0;
60810 _ACEOF
60811 if ac_fn_cxx_try_compile "$LINENO"; then :
60812 glibcxx_cv_func__powf_use=yes
60813 else
60814 glibcxx_cv_func__powf_use=no
60816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60817 ac_ext=c
60818 ac_cpp='$CPP $CPPFLAGS'
60819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60828 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60830 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60831 for ac_func in _powf
60832 do :
60833 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60834 if test "x$ac_cv_func__powf" = x""yes; then :
60835 cat >>confdefs.h <<_ACEOF
60836 #define HAVE__POWF 1
60837 _ACEOF
60840 done
60849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60850 $as_echo_n "checking for sqrtf declaration... " >&6; }
60851 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60852 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60853 $as_echo_n "(cached) " >&6
60854 else
60857 ac_ext=cpp
60858 ac_cpp='$CXXCPP $CPPFLAGS'
60859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60864 /* end confdefs.h. */
60865 #include <math.h>
60866 #ifdef HAVE_IEEEFP_H
60867 #include <ieeefp.h>
60868 #endif
60871 main ()
60873 sqrtf(0);
60875 return 0;
60877 _ACEOF
60878 if ac_fn_cxx_try_compile "$LINENO"; then :
60879 glibcxx_cv_func_sqrtf_use=yes
60880 else
60881 glibcxx_cv_func_sqrtf_use=no
60883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60884 ac_ext=c
60885 ac_cpp='$CPP $CPPFLAGS'
60886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60895 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60897 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60898 for ac_func in sqrtf
60899 do :
60900 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60901 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60902 cat >>confdefs.h <<_ACEOF
60903 #define HAVE_SQRTF 1
60904 _ACEOF
60907 done
60909 else
60911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60912 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60913 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60914 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60915 $as_echo_n "(cached) " >&6
60916 else
60919 ac_ext=cpp
60920 ac_cpp='$CXXCPP $CPPFLAGS'
60921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60926 /* end confdefs.h. */
60927 #include <math.h>
60928 #ifdef HAVE_IEEEFP_H
60929 #include <ieeefp.h>
60930 #endif
60933 main ()
60935 _sqrtf(0);
60937 return 0;
60939 _ACEOF
60940 if ac_fn_cxx_try_compile "$LINENO"; then :
60941 glibcxx_cv_func__sqrtf_use=yes
60942 else
60943 glibcxx_cv_func__sqrtf_use=no
60945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60946 ac_ext=c
60947 ac_cpp='$CPP $CPPFLAGS'
60948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
60957 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
60959 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
60960 for ac_func in _sqrtf
60961 do :
60962 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
60963 if test "x$ac_cv_func__sqrtf" = x""yes; then :
60964 cat >>confdefs.h <<_ACEOF
60965 #define HAVE__SQRTF 1
60966 _ACEOF
60969 done
60978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
60979 $as_echo_n "checking for sincosf declaration... " >&6; }
60980 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
60981 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
60982 $as_echo_n "(cached) " >&6
60983 else
60986 ac_ext=cpp
60987 ac_cpp='$CXXCPP $CPPFLAGS'
60988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60993 /* end confdefs.h. */
60994 #include <math.h>
60996 main ()
60998 sincosf(0, 0, 0);
61000 return 0;
61002 _ACEOF
61003 if ac_fn_cxx_try_compile "$LINENO"; then :
61004 glibcxx_cv_func_sincosf_use=yes
61005 else
61006 glibcxx_cv_func_sincosf_use=no
61008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61009 ac_ext=c
61010 ac_cpp='$CPP $CPPFLAGS'
61011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61020 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61022 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61023 for ac_func in sincosf
61024 do :
61025 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61026 if test "x$ac_cv_func_sincosf" = x""yes; then :
61027 cat >>confdefs.h <<_ACEOF
61028 #define HAVE_SINCOSF 1
61029 _ACEOF
61032 done
61034 else
61036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61037 $as_echo_n "checking for _sincosf declaration... " >&6; }
61038 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61039 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61040 $as_echo_n "(cached) " >&6
61041 else
61044 ac_ext=cpp
61045 ac_cpp='$CXXCPP $CPPFLAGS'
61046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61051 /* end confdefs.h. */
61052 #include <math.h>
61054 main ()
61056 _sincosf(0, 0, 0);
61058 return 0;
61060 _ACEOF
61061 if ac_fn_cxx_try_compile "$LINENO"; then :
61062 glibcxx_cv_func__sincosf_use=yes
61063 else
61064 glibcxx_cv_func__sincosf_use=no
61066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61067 ac_ext=c
61068 ac_cpp='$CPP $CPPFLAGS'
61069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61078 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61080 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61081 for ac_func in _sincosf
61082 do :
61083 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61084 if test "x$ac_cv_func__sincosf" = x""yes; then :
61085 cat >>confdefs.h <<_ACEOF
61086 #define HAVE__SINCOSF 1
61087 _ACEOF
61090 done
61099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61100 $as_echo_n "checking for finitef declaration... " >&6; }
61101 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61102 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61103 $as_echo_n "(cached) " >&6
61104 else
61107 ac_ext=cpp
61108 ac_cpp='$CXXCPP $CPPFLAGS'
61109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61114 /* end confdefs.h. */
61115 #include <math.h>
61116 #ifdef HAVE_IEEEFP_H
61117 #include <ieeefp.h>
61118 #endif
61121 main ()
61123 finitef(0);
61125 return 0;
61127 _ACEOF
61128 if ac_fn_cxx_try_compile "$LINENO"; then :
61129 glibcxx_cv_func_finitef_use=yes
61130 else
61131 glibcxx_cv_func_finitef_use=no
61133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61134 ac_ext=c
61135 ac_cpp='$CPP $CPPFLAGS'
61136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61145 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61147 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61148 for ac_func in finitef
61149 do :
61150 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61151 if test "x$ac_cv_func_finitef" = x""yes; then :
61152 cat >>confdefs.h <<_ACEOF
61153 #define HAVE_FINITEF 1
61154 _ACEOF
61157 done
61159 else
61161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61162 $as_echo_n "checking for _finitef declaration... " >&6; }
61163 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61164 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61165 $as_echo_n "(cached) " >&6
61166 else
61169 ac_ext=cpp
61170 ac_cpp='$CXXCPP $CPPFLAGS'
61171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61176 /* end confdefs.h. */
61177 #include <math.h>
61178 #ifdef HAVE_IEEEFP_H
61179 #include <ieeefp.h>
61180 #endif
61183 main ()
61185 _finitef(0);
61187 return 0;
61189 _ACEOF
61190 if ac_fn_cxx_try_compile "$LINENO"; then :
61191 glibcxx_cv_func__finitef_use=yes
61192 else
61193 glibcxx_cv_func__finitef_use=no
61195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61196 ac_ext=c
61197 ac_cpp='$CPP $CPPFLAGS'
61198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61207 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61209 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61210 for ac_func in _finitef
61211 do :
61212 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61213 if test "x$ac_cv_func__finitef" = x""yes; then :
61214 cat >>confdefs.h <<_ACEOF
61215 #define HAVE__FINITEF 1
61216 _ACEOF
61219 done
61228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61229 $as_echo_n "checking for long double trig functions... " >&6; }
61230 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61231 $as_echo_n "(cached) " >&6
61232 else
61235 ac_ext=cpp
61236 ac_cpp='$CXXCPP $CPPFLAGS'
61237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61242 /* end confdefs.h. */
61243 #include <math.h>
61245 main ()
61247 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61249 return 0;
61251 _ACEOF
61252 if ac_fn_cxx_try_compile "$LINENO"; then :
61253 glibcxx_cv_func_long_double_trig_use=yes
61254 else
61255 glibcxx_cv_func_long_double_trig_use=no
61257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61258 ac_ext=c
61259 ac_cpp='$CPP $CPPFLAGS'
61260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61267 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61268 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61269 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61270 do :
61271 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61272 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61273 eval as_val=\$$as_ac_var
61274 if test "x$as_val" = x""yes; then :
61275 cat >>confdefs.h <<_ACEOF
61276 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61277 _ACEOF
61280 done
61282 else
61283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61284 $as_echo_n "checking for _long double trig functions... " >&6; }
61285 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61286 $as_echo_n "(cached) " >&6
61287 else
61290 ac_ext=cpp
61291 ac_cpp='$CXXCPP $CPPFLAGS'
61292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61297 /* end confdefs.h. */
61298 #include <math.h>
61300 main ()
61302 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61304 return 0;
61306 _ACEOF
61307 if ac_fn_cxx_try_compile "$LINENO"; then :
61308 glibcxx_cv_func__long_double_trig_use=yes
61309 else
61310 glibcxx_cv_func__long_double_trig_use=no
61312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61313 ac_ext=c
61314 ac_cpp='$CPP $CPPFLAGS'
61315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61322 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61323 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61324 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61325 do :
61326 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61327 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61328 eval as_val=\$$as_ac_var
61329 if test "x$as_val" = x""yes; then :
61330 cat >>confdefs.h <<_ACEOF
61331 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61332 _ACEOF
61335 done
61344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61345 $as_echo_n "checking for long double round functions... " >&6; }
61346 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61347 $as_echo_n "(cached) " >&6
61348 else
61351 ac_ext=cpp
61352 ac_cpp='$CXXCPP $CPPFLAGS'
61353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61358 /* end confdefs.h. */
61359 #include <math.h>
61361 main ()
61363 ceill (0); floorl (0);
61365 return 0;
61367 _ACEOF
61368 if ac_fn_cxx_try_compile "$LINENO"; then :
61369 glibcxx_cv_func_long_double_round_use=yes
61370 else
61371 glibcxx_cv_func_long_double_round_use=no
61373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61374 ac_ext=c
61375 ac_cpp='$CPP $CPPFLAGS'
61376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61383 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61384 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61385 for ac_func in ceill floorl
61386 do :
61387 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61388 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61389 eval as_val=\$$as_ac_var
61390 if test "x$as_val" = x""yes; then :
61391 cat >>confdefs.h <<_ACEOF
61392 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61393 _ACEOF
61396 done
61398 else
61399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61400 $as_echo_n "checking for _long double round functions... " >&6; }
61401 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61402 $as_echo_n "(cached) " >&6
61403 else
61406 ac_ext=cpp
61407 ac_cpp='$CXXCPP $CPPFLAGS'
61408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61413 /* end confdefs.h. */
61414 #include <math.h>
61416 main ()
61418 _ceill (0); _floorl (0);
61420 return 0;
61422 _ACEOF
61423 if ac_fn_cxx_try_compile "$LINENO"; then :
61424 glibcxx_cv_func__long_double_round_use=yes
61425 else
61426 glibcxx_cv_func__long_double_round_use=no
61428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61429 ac_ext=c
61430 ac_cpp='$CPP $CPPFLAGS'
61431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61438 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61439 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61440 for ac_func in _ceill _floorl
61441 do :
61442 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61443 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61444 eval as_val=\$$as_ac_var
61445 if test "x$as_val" = x""yes; then :
61446 cat >>confdefs.h <<_ACEOF
61447 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61448 _ACEOF
61451 done
61461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61462 $as_echo_n "checking for isnanl declaration... " >&6; }
61463 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61464 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61465 $as_echo_n "(cached) " >&6
61466 else
61469 ac_ext=cpp
61470 ac_cpp='$CXXCPP $CPPFLAGS'
61471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61476 /* end confdefs.h. */
61477 #include <math.h>
61478 #ifdef HAVE_IEEEFP_H
61479 #include <ieeefp.h>
61480 #endif
61483 main ()
61485 isnanl(0);
61487 return 0;
61489 _ACEOF
61490 if ac_fn_cxx_try_compile "$LINENO"; then :
61491 glibcxx_cv_func_isnanl_use=yes
61492 else
61493 glibcxx_cv_func_isnanl_use=no
61495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61496 ac_ext=c
61497 ac_cpp='$CPP $CPPFLAGS'
61498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61507 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61509 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61510 for ac_func in isnanl
61511 do :
61512 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61513 if test "x$ac_cv_func_isnanl" = x""yes; then :
61514 cat >>confdefs.h <<_ACEOF
61515 #define HAVE_ISNANL 1
61516 _ACEOF
61519 done
61521 else
61523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61524 $as_echo_n "checking for _isnanl declaration... " >&6; }
61525 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61526 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61527 $as_echo_n "(cached) " >&6
61528 else
61531 ac_ext=cpp
61532 ac_cpp='$CXXCPP $CPPFLAGS'
61533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61538 /* end confdefs.h. */
61539 #include <math.h>
61540 #ifdef HAVE_IEEEFP_H
61541 #include <ieeefp.h>
61542 #endif
61545 main ()
61547 _isnanl(0);
61549 return 0;
61551 _ACEOF
61552 if ac_fn_cxx_try_compile "$LINENO"; then :
61553 glibcxx_cv_func__isnanl_use=yes
61554 else
61555 glibcxx_cv_func__isnanl_use=no
61557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61558 ac_ext=c
61559 ac_cpp='$CPP $CPPFLAGS'
61560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61569 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61571 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61572 for ac_func in _isnanl
61573 do :
61574 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61575 if test "x$ac_cv_func__isnanl" = x""yes; then :
61576 cat >>confdefs.h <<_ACEOF
61577 #define HAVE__ISNANL 1
61578 _ACEOF
61581 done
61590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61591 $as_echo_n "checking for isinfl declaration... " >&6; }
61592 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61593 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61594 $as_echo_n "(cached) " >&6
61595 else
61598 ac_ext=cpp
61599 ac_cpp='$CXXCPP $CPPFLAGS'
61600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61605 /* end confdefs.h. */
61606 #include <math.h>
61607 #ifdef HAVE_IEEEFP_H
61608 #include <ieeefp.h>
61609 #endif
61612 main ()
61614 isinfl(0);
61616 return 0;
61618 _ACEOF
61619 if ac_fn_cxx_try_compile "$LINENO"; then :
61620 glibcxx_cv_func_isinfl_use=yes
61621 else
61622 glibcxx_cv_func_isinfl_use=no
61624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61625 ac_ext=c
61626 ac_cpp='$CPP $CPPFLAGS'
61627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61636 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61638 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61639 for ac_func in isinfl
61640 do :
61641 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61642 if test "x$ac_cv_func_isinfl" = x""yes; then :
61643 cat >>confdefs.h <<_ACEOF
61644 #define HAVE_ISINFL 1
61645 _ACEOF
61648 done
61650 else
61652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61653 $as_echo_n "checking for _isinfl declaration... " >&6; }
61654 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61655 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61656 $as_echo_n "(cached) " >&6
61657 else
61660 ac_ext=cpp
61661 ac_cpp='$CXXCPP $CPPFLAGS'
61662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61667 /* end confdefs.h. */
61668 #include <math.h>
61669 #ifdef HAVE_IEEEFP_H
61670 #include <ieeefp.h>
61671 #endif
61674 main ()
61676 _isinfl(0);
61678 return 0;
61680 _ACEOF
61681 if ac_fn_cxx_try_compile "$LINENO"; then :
61682 glibcxx_cv_func__isinfl_use=yes
61683 else
61684 glibcxx_cv_func__isinfl_use=no
61686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61687 ac_ext=c
61688 ac_cpp='$CPP $CPPFLAGS'
61689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61698 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61700 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61701 for ac_func in _isinfl
61702 do :
61703 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61704 if test "x$ac_cv_func__isinfl" = x""yes; then :
61705 cat >>confdefs.h <<_ACEOF
61706 #define HAVE__ISINFL 1
61707 _ACEOF
61710 done
61719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61720 $as_echo_n "checking for atan2l declaration... " >&6; }
61721 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61722 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61723 $as_echo_n "(cached) " >&6
61724 else
61727 ac_ext=cpp
61728 ac_cpp='$CXXCPP $CPPFLAGS'
61729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61734 /* end confdefs.h. */
61735 #include <math.h>
61737 main ()
61739 atan2l(0, 0);
61741 return 0;
61743 _ACEOF
61744 if ac_fn_cxx_try_compile "$LINENO"; then :
61745 glibcxx_cv_func_atan2l_use=yes
61746 else
61747 glibcxx_cv_func_atan2l_use=no
61749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61750 ac_ext=c
61751 ac_cpp='$CPP $CPPFLAGS'
61752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61761 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61763 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61764 for ac_func in atan2l
61765 do :
61766 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61767 if test "x$ac_cv_func_atan2l" = x""yes; then :
61768 cat >>confdefs.h <<_ACEOF
61769 #define HAVE_ATAN2L 1
61770 _ACEOF
61773 done
61775 else
61777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61778 $as_echo_n "checking for _atan2l declaration... " >&6; }
61779 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61780 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61781 $as_echo_n "(cached) " >&6
61782 else
61785 ac_ext=cpp
61786 ac_cpp='$CXXCPP $CPPFLAGS'
61787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61792 /* end confdefs.h. */
61793 #include <math.h>
61795 main ()
61797 _atan2l(0, 0);
61799 return 0;
61801 _ACEOF
61802 if ac_fn_cxx_try_compile "$LINENO"; then :
61803 glibcxx_cv_func__atan2l_use=yes
61804 else
61805 glibcxx_cv_func__atan2l_use=no
61807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61808 ac_ext=c
61809 ac_cpp='$CPP $CPPFLAGS'
61810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61819 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61821 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61822 for ac_func in _atan2l
61823 do :
61824 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61825 if test "x$ac_cv_func__atan2l" = x""yes; then :
61826 cat >>confdefs.h <<_ACEOF
61827 #define HAVE__ATAN2L 1
61828 _ACEOF
61831 done
61840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61841 $as_echo_n "checking for expl declaration... " >&6; }
61842 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61843 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61844 $as_echo_n "(cached) " >&6
61845 else
61848 ac_ext=cpp
61849 ac_cpp='$CXXCPP $CPPFLAGS'
61850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61855 /* end confdefs.h. */
61856 #include <math.h>
61857 #ifdef HAVE_IEEEFP_H
61858 #include <ieeefp.h>
61859 #endif
61862 main ()
61864 expl(0);
61866 return 0;
61868 _ACEOF
61869 if ac_fn_cxx_try_compile "$LINENO"; then :
61870 glibcxx_cv_func_expl_use=yes
61871 else
61872 glibcxx_cv_func_expl_use=no
61874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61875 ac_ext=c
61876 ac_cpp='$CPP $CPPFLAGS'
61877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61886 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61888 if test x$glibcxx_cv_func_expl_use = x"yes"; then
61889 for ac_func in expl
61890 do :
61891 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61892 if test "x$ac_cv_func_expl" = x""yes; then :
61893 cat >>confdefs.h <<_ACEOF
61894 #define HAVE_EXPL 1
61895 _ACEOF
61898 done
61900 else
61902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61903 $as_echo_n "checking for _expl declaration... " >&6; }
61904 if test x${glibcxx_cv_func__expl_use+set} != xset; then
61905 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61906 $as_echo_n "(cached) " >&6
61907 else
61910 ac_ext=cpp
61911 ac_cpp='$CXXCPP $CPPFLAGS'
61912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61917 /* end confdefs.h. */
61918 #include <math.h>
61919 #ifdef HAVE_IEEEFP_H
61920 #include <ieeefp.h>
61921 #endif
61924 main ()
61926 _expl(0);
61928 return 0;
61930 _ACEOF
61931 if ac_fn_cxx_try_compile "$LINENO"; then :
61932 glibcxx_cv_func__expl_use=yes
61933 else
61934 glibcxx_cv_func__expl_use=no
61936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61937 ac_ext=c
61938 ac_cpp='$CPP $CPPFLAGS'
61939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
61948 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
61950 if test x$glibcxx_cv_func__expl_use = x"yes"; then
61951 for ac_func in _expl
61952 do :
61953 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
61954 if test "x$ac_cv_func__expl" = x""yes; then :
61955 cat >>confdefs.h <<_ACEOF
61956 #define HAVE__EXPL 1
61957 _ACEOF
61960 done
61969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
61970 $as_echo_n "checking for fabsl declaration... " >&6; }
61971 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
61972 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
61973 $as_echo_n "(cached) " >&6
61974 else
61977 ac_ext=cpp
61978 ac_cpp='$CXXCPP $CPPFLAGS'
61979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61984 /* end confdefs.h. */
61985 #include <math.h>
61986 #ifdef HAVE_IEEEFP_H
61987 #include <ieeefp.h>
61988 #endif
61991 main ()
61993 fabsl(0);
61995 return 0;
61997 _ACEOF
61998 if ac_fn_cxx_try_compile "$LINENO"; then :
61999 glibcxx_cv_func_fabsl_use=yes
62000 else
62001 glibcxx_cv_func_fabsl_use=no
62003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62004 ac_ext=c
62005 ac_cpp='$CPP $CPPFLAGS'
62006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62015 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62017 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62018 for ac_func in fabsl
62019 do :
62020 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62021 if test "x$ac_cv_func_fabsl" = x""yes; then :
62022 cat >>confdefs.h <<_ACEOF
62023 #define HAVE_FABSL 1
62024 _ACEOF
62027 done
62029 else
62031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62032 $as_echo_n "checking for _fabsl declaration... " >&6; }
62033 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62034 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62035 $as_echo_n "(cached) " >&6
62036 else
62039 ac_ext=cpp
62040 ac_cpp='$CXXCPP $CPPFLAGS'
62041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62046 /* end confdefs.h. */
62047 #include <math.h>
62048 #ifdef HAVE_IEEEFP_H
62049 #include <ieeefp.h>
62050 #endif
62053 main ()
62055 _fabsl(0);
62057 return 0;
62059 _ACEOF
62060 if ac_fn_cxx_try_compile "$LINENO"; then :
62061 glibcxx_cv_func__fabsl_use=yes
62062 else
62063 glibcxx_cv_func__fabsl_use=no
62065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62066 ac_ext=c
62067 ac_cpp='$CPP $CPPFLAGS'
62068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62077 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62079 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62080 for ac_func in _fabsl
62081 do :
62082 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62083 if test "x$ac_cv_func__fabsl" = x""yes; then :
62084 cat >>confdefs.h <<_ACEOF
62085 #define HAVE__FABSL 1
62086 _ACEOF
62089 done
62098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62099 $as_echo_n "checking for fmodl declaration... " >&6; }
62100 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62101 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62102 $as_echo_n "(cached) " >&6
62103 else
62106 ac_ext=cpp
62107 ac_cpp='$CXXCPP $CPPFLAGS'
62108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62113 /* end confdefs.h. */
62114 #include <math.h>
62116 main ()
62118 fmodl(0, 0);
62120 return 0;
62122 _ACEOF
62123 if ac_fn_cxx_try_compile "$LINENO"; then :
62124 glibcxx_cv_func_fmodl_use=yes
62125 else
62126 glibcxx_cv_func_fmodl_use=no
62128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62129 ac_ext=c
62130 ac_cpp='$CPP $CPPFLAGS'
62131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62140 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62142 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62143 for ac_func in fmodl
62144 do :
62145 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62146 if test "x$ac_cv_func_fmodl" = x""yes; then :
62147 cat >>confdefs.h <<_ACEOF
62148 #define HAVE_FMODL 1
62149 _ACEOF
62152 done
62154 else
62156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62157 $as_echo_n "checking for _fmodl declaration... " >&6; }
62158 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62159 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62160 $as_echo_n "(cached) " >&6
62161 else
62164 ac_ext=cpp
62165 ac_cpp='$CXXCPP $CPPFLAGS'
62166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62171 /* end confdefs.h. */
62172 #include <math.h>
62174 main ()
62176 _fmodl(0, 0);
62178 return 0;
62180 _ACEOF
62181 if ac_fn_cxx_try_compile "$LINENO"; then :
62182 glibcxx_cv_func__fmodl_use=yes
62183 else
62184 glibcxx_cv_func__fmodl_use=no
62186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62187 ac_ext=c
62188 ac_cpp='$CPP $CPPFLAGS'
62189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62198 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62200 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62201 for ac_func in _fmodl
62202 do :
62203 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62204 if test "x$ac_cv_func__fmodl" = x""yes; then :
62205 cat >>confdefs.h <<_ACEOF
62206 #define HAVE__FMODL 1
62207 _ACEOF
62210 done
62219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62220 $as_echo_n "checking for frexpl declaration... " >&6; }
62221 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62222 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62223 $as_echo_n "(cached) " >&6
62224 else
62227 ac_ext=cpp
62228 ac_cpp='$CXXCPP $CPPFLAGS'
62229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62234 /* end confdefs.h. */
62235 #include <math.h>
62237 main ()
62239 frexpl(0, 0);
62241 return 0;
62243 _ACEOF
62244 if ac_fn_cxx_try_compile "$LINENO"; then :
62245 glibcxx_cv_func_frexpl_use=yes
62246 else
62247 glibcxx_cv_func_frexpl_use=no
62249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62250 ac_ext=c
62251 ac_cpp='$CPP $CPPFLAGS'
62252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62261 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62263 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62264 for ac_func in frexpl
62265 do :
62266 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62267 if test "x$ac_cv_func_frexpl" = x""yes; then :
62268 cat >>confdefs.h <<_ACEOF
62269 #define HAVE_FREXPL 1
62270 _ACEOF
62273 done
62275 else
62277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62278 $as_echo_n "checking for _frexpl declaration... " >&6; }
62279 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62280 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62281 $as_echo_n "(cached) " >&6
62282 else
62285 ac_ext=cpp
62286 ac_cpp='$CXXCPP $CPPFLAGS'
62287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62292 /* end confdefs.h. */
62293 #include <math.h>
62295 main ()
62297 _frexpl(0, 0);
62299 return 0;
62301 _ACEOF
62302 if ac_fn_cxx_try_compile "$LINENO"; then :
62303 glibcxx_cv_func__frexpl_use=yes
62304 else
62305 glibcxx_cv_func__frexpl_use=no
62307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62308 ac_ext=c
62309 ac_cpp='$CPP $CPPFLAGS'
62310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62319 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62321 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62322 for ac_func in _frexpl
62323 do :
62324 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62325 if test "x$ac_cv_func__frexpl" = x""yes; then :
62326 cat >>confdefs.h <<_ACEOF
62327 #define HAVE__FREXPL 1
62328 _ACEOF
62331 done
62340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62341 $as_echo_n "checking for hypotl declaration... " >&6; }
62342 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62343 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62344 $as_echo_n "(cached) " >&6
62345 else
62348 ac_ext=cpp
62349 ac_cpp='$CXXCPP $CPPFLAGS'
62350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62355 /* end confdefs.h. */
62356 #include <math.h>
62358 main ()
62360 hypotl(0, 0);
62362 return 0;
62364 _ACEOF
62365 if ac_fn_cxx_try_compile "$LINENO"; then :
62366 glibcxx_cv_func_hypotl_use=yes
62367 else
62368 glibcxx_cv_func_hypotl_use=no
62370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62371 ac_ext=c
62372 ac_cpp='$CPP $CPPFLAGS'
62373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62382 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62384 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62385 for ac_func in hypotl
62386 do :
62387 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62388 if test "x$ac_cv_func_hypotl" = x""yes; then :
62389 cat >>confdefs.h <<_ACEOF
62390 #define HAVE_HYPOTL 1
62391 _ACEOF
62394 done
62396 else
62398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62399 $as_echo_n "checking for _hypotl declaration... " >&6; }
62400 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62401 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62402 $as_echo_n "(cached) " >&6
62403 else
62406 ac_ext=cpp
62407 ac_cpp='$CXXCPP $CPPFLAGS'
62408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62413 /* end confdefs.h. */
62414 #include <math.h>
62416 main ()
62418 _hypotl(0, 0);
62420 return 0;
62422 _ACEOF
62423 if ac_fn_cxx_try_compile "$LINENO"; then :
62424 glibcxx_cv_func__hypotl_use=yes
62425 else
62426 glibcxx_cv_func__hypotl_use=no
62428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62429 ac_ext=c
62430 ac_cpp='$CPP $CPPFLAGS'
62431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62440 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62442 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62443 for ac_func in _hypotl
62444 do :
62445 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62446 if test "x$ac_cv_func__hypotl" = x""yes; then :
62447 cat >>confdefs.h <<_ACEOF
62448 #define HAVE__HYPOTL 1
62449 _ACEOF
62452 done
62461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62462 $as_echo_n "checking for ldexpl declaration... " >&6; }
62463 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62464 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62465 $as_echo_n "(cached) " >&6
62466 else
62469 ac_ext=cpp
62470 ac_cpp='$CXXCPP $CPPFLAGS'
62471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62476 /* end confdefs.h. */
62477 #include <math.h>
62479 main ()
62481 ldexpl(0, 0);
62483 return 0;
62485 _ACEOF
62486 if ac_fn_cxx_try_compile "$LINENO"; then :
62487 glibcxx_cv_func_ldexpl_use=yes
62488 else
62489 glibcxx_cv_func_ldexpl_use=no
62491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62492 ac_ext=c
62493 ac_cpp='$CPP $CPPFLAGS'
62494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62503 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62505 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62506 for ac_func in ldexpl
62507 do :
62508 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62509 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62510 cat >>confdefs.h <<_ACEOF
62511 #define HAVE_LDEXPL 1
62512 _ACEOF
62515 done
62517 else
62519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62520 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62521 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62522 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62523 $as_echo_n "(cached) " >&6
62524 else
62527 ac_ext=cpp
62528 ac_cpp='$CXXCPP $CPPFLAGS'
62529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62534 /* end confdefs.h. */
62535 #include <math.h>
62537 main ()
62539 _ldexpl(0, 0);
62541 return 0;
62543 _ACEOF
62544 if ac_fn_cxx_try_compile "$LINENO"; then :
62545 glibcxx_cv_func__ldexpl_use=yes
62546 else
62547 glibcxx_cv_func__ldexpl_use=no
62549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62550 ac_ext=c
62551 ac_cpp='$CPP $CPPFLAGS'
62552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62561 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62563 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62564 for ac_func in _ldexpl
62565 do :
62566 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62567 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62568 cat >>confdefs.h <<_ACEOF
62569 #define HAVE__LDEXPL 1
62570 _ACEOF
62573 done
62582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62583 $as_echo_n "checking for logl declaration... " >&6; }
62584 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62585 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62586 $as_echo_n "(cached) " >&6
62587 else
62590 ac_ext=cpp
62591 ac_cpp='$CXXCPP $CPPFLAGS'
62592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62597 /* end confdefs.h. */
62598 #include <math.h>
62599 #ifdef HAVE_IEEEFP_H
62600 #include <ieeefp.h>
62601 #endif
62604 main ()
62606 logl(0);
62608 return 0;
62610 _ACEOF
62611 if ac_fn_cxx_try_compile "$LINENO"; then :
62612 glibcxx_cv_func_logl_use=yes
62613 else
62614 glibcxx_cv_func_logl_use=no
62616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62617 ac_ext=c
62618 ac_cpp='$CPP $CPPFLAGS'
62619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62628 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62630 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62631 for ac_func in logl
62632 do :
62633 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62634 if test "x$ac_cv_func_logl" = x""yes; then :
62635 cat >>confdefs.h <<_ACEOF
62636 #define HAVE_LOGL 1
62637 _ACEOF
62640 done
62642 else
62644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62645 $as_echo_n "checking for _logl declaration... " >&6; }
62646 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62647 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62648 $as_echo_n "(cached) " >&6
62649 else
62652 ac_ext=cpp
62653 ac_cpp='$CXXCPP $CPPFLAGS'
62654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62659 /* end confdefs.h. */
62660 #include <math.h>
62661 #ifdef HAVE_IEEEFP_H
62662 #include <ieeefp.h>
62663 #endif
62666 main ()
62668 _logl(0);
62670 return 0;
62672 _ACEOF
62673 if ac_fn_cxx_try_compile "$LINENO"; then :
62674 glibcxx_cv_func__logl_use=yes
62675 else
62676 glibcxx_cv_func__logl_use=no
62678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62679 ac_ext=c
62680 ac_cpp='$CPP $CPPFLAGS'
62681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62690 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62692 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62693 for ac_func in _logl
62694 do :
62695 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62696 if test "x$ac_cv_func__logl" = x""yes; then :
62697 cat >>confdefs.h <<_ACEOF
62698 #define HAVE__LOGL 1
62699 _ACEOF
62702 done
62711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62712 $as_echo_n "checking for log10l declaration... " >&6; }
62713 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62714 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62715 $as_echo_n "(cached) " >&6
62716 else
62719 ac_ext=cpp
62720 ac_cpp='$CXXCPP $CPPFLAGS'
62721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62726 /* end confdefs.h. */
62727 #include <math.h>
62728 #ifdef HAVE_IEEEFP_H
62729 #include <ieeefp.h>
62730 #endif
62733 main ()
62735 log10l(0);
62737 return 0;
62739 _ACEOF
62740 if ac_fn_cxx_try_compile "$LINENO"; then :
62741 glibcxx_cv_func_log10l_use=yes
62742 else
62743 glibcxx_cv_func_log10l_use=no
62745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62746 ac_ext=c
62747 ac_cpp='$CPP $CPPFLAGS'
62748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62757 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62759 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62760 for ac_func in log10l
62761 do :
62762 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62763 if test "x$ac_cv_func_log10l" = x""yes; then :
62764 cat >>confdefs.h <<_ACEOF
62765 #define HAVE_LOG10L 1
62766 _ACEOF
62769 done
62771 else
62773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62774 $as_echo_n "checking for _log10l declaration... " >&6; }
62775 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62776 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62777 $as_echo_n "(cached) " >&6
62778 else
62781 ac_ext=cpp
62782 ac_cpp='$CXXCPP $CPPFLAGS'
62783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62788 /* end confdefs.h. */
62789 #include <math.h>
62790 #ifdef HAVE_IEEEFP_H
62791 #include <ieeefp.h>
62792 #endif
62795 main ()
62797 _log10l(0);
62799 return 0;
62801 _ACEOF
62802 if ac_fn_cxx_try_compile "$LINENO"; then :
62803 glibcxx_cv_func__log10l_use=yes
62804 else
62805 glibcxx_cv_func__log10l_use=no
62807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62808 ac_ext=c
62809 ac_cpp='$CPP $CPPFLAGS'
62810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62819 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62821 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62822 for ac_func in _log10l
62823 do :
62824 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62825 if test "x$ac_cv_func__log10l" = x""yes; then :
62826 cat >>confdefs.h <<_ACEOF
62827 #define HAVE__LOG10L 1
62828 _ACEOF
62831 done
62840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62841 $as_echo_n "checking for modfl declaration... " >&6; }
62842 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62843 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62844 $as_echo_n "(cached) " >&6
62845 else
62848 ac_ext=cpp
62849 ac_cpp='$CXXCPP $CPPFLAGS'
62850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62855 /* end confdefs.h. */
62856 #include <math.h>
62858 main ()
62860 modfl(0, 0);
62862 return 0;
62864 _ACEOF
62865 if ac_fn_cxx_try_compile "$LINENO"; then :
62866 glibcxx_cv_func_modfl_use=yes
62867 else
62868 glibcxx_cv_func_modfl_use=no
62870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62871 ac_ext=c
62872 ac_cpp='$CPP $CPPFLAGS'
62873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62882 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62884 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62885 for ac_func in modfl
62886 do :
62887 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62888 if test "x$ac_cv_func_modfl" = x""yes; then :
62889 cat >>confdefs.h <<_ACEOF
62890 #define HAVE_MODFL 1
62891 _ACEOF
62894 done
62896 else
62898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62899 $as_echo_n "checking for _modfl declaration... " >&6; }
62900 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62901 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62902 $as_echo_n "(cached) " >&6
62903 else
62906 ac_ext=cpp
62907 ac_cpp='$CXXCPP $CPPFLAGS'
62908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62913 /* end confdefs.h. */
62914 #include <math.h>
62916 main ()
62918 _modfl(0, 0);
62920 return 0;
62922 _ACEOF
62923 if ac_fn_cxx_try_compile "$LINENO"; then :
62924 glibcxx_cv_func__modfl_use=yes
62925 else
62926 glibcxx_cv_func__modfl_use=no
62928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62929 ac_ext=c
62930 ac_cpp='$CPP $CPPFLAGS'
62931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
62940 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
62942 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
62943 for ac_func in _modfl
62944 do :
62945 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
62946 if test "x$ac_cv_func__modfl" = x""yes; then :
62947 cat >>confdefs.h <<_ACEOF
62948 #define HAVE__MODFL 1
62949 _ACEOF
62952 done
62961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
62962 $as_echo_n "checking for powl declaration... " >&6; }
62963 if test x${glibcxx_cv_func_powl_use+set} != xset; then
62964 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
62965 $as_echo_n "(cached) " >&6
62966 else
62969 ac_ext=cpp
62970 ac_cpp='$CXXCPP $CPPFLAGS'
62971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62976 /* end confdefs.h. */
62977 #include <math.h>
62979 main ()
62981 powl(0, 0);
62983 return 0;
62985 _ACEOF
62986 if ac_fn_cxx_try_compile "$LINENO"; then :
62987 glibcxx_cv_func_powl_use=yes
62988 else
62989 glibcxx_cv_func_powl_use=no
62991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62992 ac_ext=c
62993 ac_cpp='$CPP $CPPFLAGS'
62994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63003 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63005 if test x$glibcxx_cv_func_powl_use = x"yes"; then
63006 for ac_func in powl
63007 do :
63008 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63009 if test "x$ac_cv_func_powl" = x""yes; then :
63010 cat >>confdefs.h <<_ACEOF
63011 #define HAVE_POWL 1
63012 _ACEOF
63015 done
63017 else
63019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63020 $as_echo_n "checking for _powl declaration... " >&6; }
63021 if test x${glibcxx_cv_func__powl_use+set} != xset; then
63022 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63023 $as_echo_n "(cached) " >&6
63024 else
63027 ac_ext=cpp
63028 ac_cpp='$CXXCPP $CPPFLAGS'
63029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63034 /* end confdefs.h. */
63035 #include <math.h>
63037 main ()
63039 _powl(0, 0);
63041 return 0;
63043 _ACEOF
63044 if ac_fn_cxx_try_compile "$LINENO"; then :
63045 glibcxx_cv_func__powl_use=yes
63046 else
63047 glibcxx_cv_func__powl_use=no
63049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63050 ac_ext=c
63051 ac_cpp='$CPP $CPPFLAGS'
63052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63061 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63063 if test x$glibcxx_cv_func__powl_use = x"yes"; then
63064 for ac_func in _powl
63065 do :
63066 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63067 if test "x$ac_cv_func__powl" = x""yes; then :
63068 cat >>confdefs.h <<_ACEOF
63069 #define HAVE__POWL 1
63070 _ACEOF
63073 done
63082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63083 $as_echo_n "checking for sqrtl declaration... " >&6; }
63084 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63085 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63086 $as_echo_n "(cached) " >&6
63087 else
63090 ac_ext=cpp
63091 ac_cpp='$CXXCPP $CPPFLAGS'
63092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63097 /* end confdefs.h. */
63098 #include <math.h>
63099 #ifdef HAVE_IEEEFP_H
63100 #include <ieeefp.h>
63101 #endif
63104 main ()
63106 sqrtl(0);
63108 return 0;
63110 _ACEOF
63111 if ac_fn_cxx_try_compile "$LINENO"; then :
63112 glibcxx_cv_func_sqrtl_use=yes
63113 else
63114 glibcxx_cv_func_sqrtl_use=no
63116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63117 ac_ext=c
63118 ac_cpp='$CPP $CPPFLAGS'
63119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63128 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63130 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63131 for ac_func in sqrtl
63132 do :
63133 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63134 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63135 cat >>confdefs.h <<_ACEOF
63136 #define HAVE_SQRTL 1
63137 _ACEOF
63140 done
63142 else
63144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63145 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63146 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63147 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63148 $as_echo_n "(cached) " >&6
63149 else
63152 ac_ext=cpp
63153 ac_cpp='$CXXCPP $CPPFLAGS'
63154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63159 /* end confdefs.h. */
63160 #include <math.h>
63161 #ifdef HAVE_IEEEFP_H
63162 #include <ieeefp.h>
63163 #endif
63166 main ()
63168 _sqrtl(0);
63170 return 0;
63172 _ACEOF
63173 if ac_fn_cxx_try_compile "$LINENO"; then :
63174 glibcxx_cv_func__sqrtl_use=yes
63175 else
63176 glibcxx_cv_func__sqrtl_use=no
63178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63179 ac_ext=c
63180 ac_cpp='$CPP $CPPFLAGS'
63181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63190 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63192 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63193 for ac_func in _sqrtl
63194 do :
63195 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63196 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63197 cat >>confdefs.h <<_ACEOF
63198 #define HAVE__SQRTL 1
63199 _ACEOF
63202 done
63211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63212 $as_echo_n "checking for sincosl declaration... " >&6; }
63213 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63214 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63215 $as_echo_n "(cached) " >&6
63216 else
63219 ac_ext=cpp
63220 ac_cpp='$CXXCPP $CPPFLAGS'
63221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63226 /* end confdefs.h. */
63227 #include <math.h>
63229 main ()
63231 sincosl(0, 0, 0);
63233 return 0;
63235 _ACEOF
63236 if ac_fn_cxx_try_compile "$LINENO"; then :
63237 glibcxx_cv_func_sincosl_use=yes
63238 else
63239 glibcxx_cv_func_sincosl_use=no
63241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63242 ac_ext=c
63243 ac_cpp='$CPP $CPPFLAGS'
63244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63253 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63255 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63256 for ac_func in sincosl
63257 do :
63258 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63259 if test "x$ac_cv_func_sincosl" = x""yes; then :
63260 cat >>confdefs.h <<_ACEOF
63261 #define HAVE_SINCOSL 1
63262 _ACEOF
63265 done
63267 else
63269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63270 $as_echo_n "checking for _sincosl declaration... " >&6; }
63271 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63272 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63273 $as_echo_n "(cached) " >&6
63274 else
63277 ac_ext=cpp
63278 ac_cpp='$CXXCPP $CPPFLAGS'
63279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63284 /* end confdefs.h. */
63285 #include <math.h>
63287 main ()
63289 _sincosl(0, 0, 0);
63291 return 0;
63293 _ACEOF
63294 if ac_fn_cxx_try_compile "$LINENO"; then :
63295 glibcxx_cv_func__sincosl_use=yes
63296 else
63297 glibcxx_cv_func__sincosl_use=no
63299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63300 ac_ext=c
63301 ac_cpp='$CPP $CPPFLAGS'
63302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63311 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63313 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63314 for ac_func in _sincosl
63315 do :
63316 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63317 if test "x$ac_cv_func__sincosl" = x""yes; then :
63318 cat >>confdefs.h <<_ACEOF
63319 #define HAVE__SINCOSL 1
63320 _ACEOF
63323 done
63332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63333 $as_echo_n "checking for finitel declaration... " >&6; }
63334 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63335 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63336 $as_echo_n "(cached) " >&6
63337 else
63340 ac_ext=cpp
63341 ac_cpp='$CXXCPP $CPPFLAGS'
63342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63347 /* end confdefs.h. */
63348 #include <math.h>
63349 #ifdef HAVE_IEEEFP_H
63350 #include <ieeefp.h>
63351 #endif
63354 main ()
63356 finitel(0);
63358 return 0;
63360 _ACEOF
63361 if ac_fn_cxx_try_compile "$LINENO"; then :
63362 glibcxx_cv_func_finitel_use=yes
63363 else
63364 glibcxx_cv_func_finitel_use=no
63366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63367 ac_ext=c
63368 ac_cpp='$CPP $CPPFLAGS'
63369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63378 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63380 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63381 for ac_func in finitel
63382 do :
63383 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63384 if test "x$ac_cv_func_finitel" = x""yes; then :
63385 cat >>confdefs.h <<_ACEOF
63386 #define HAVE_FINITEL 1
63387 _ACEOF
63390 done
63392 else
63394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63395 $as_echo_n "checking for _finitel declaration... " >&6; }
63396 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63397 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63398 $as_echo_n "(cached) " >&6
63399 else
63402 ac_ext=cpp
63403 ac_cpp='$CXXCPP $CPPFLAGS'
63404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63409 /* end confdefs.h. */
63410 #include <math.h>
63411 #ifdef HAVE_IEEEFP_H
63412 #include <ieeefp.h>
63413 #endif
63416 main ()
63418 _finitel(0);
63420 return 0;
63422 _ACEOF
63423 if ac_fn_cxx_try_compile "$LINENO"; then :
63424 glibcxx_cv_func__finitel_use=yes
63425 else
63426 glibcxx_cv_func__finitel_use=no
63428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63429 ac_ext=c
63430 ac_cpp='$CPP $CPPFLAGS'
63431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63440 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63442 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63443 for ac_func in _finitel
63444 do :
63445 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63446 if test "x$ac_cv_func__finitel" = x""yes; then :
63447 cat >>confdefs.h <<_ACEOF
63448 #define HAVE__FINITEL 1
63449 _ACEOF
63452 done
63460 LIBS="$ac_save_LIBS"
63461 CXXFLAGS="$ac_save_CXXFLAGS"
63464 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63465 ac_save_CXXFLAGS="$CXXFLAGS"
63466 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63470 $as_echo_n "checking for strtold declaration... " >&6; }
63471 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63472 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63473 $as_echo_n "(cached) " >&6
63474 else
63477 ac_ext=cpp
63478 ac_cpp='$CXXCPP $CPPFLAGS'
63479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63484 /* end confdefs.h. */
63485 #include <stdlib.h>
63487 main ()
63489 strtold(0, 0);
63491 return 0;
63493 _ACEOF
63494 if ac_fn_cxx_try_compile "$LINENO"; then :
63495 glibcxx_cv_func_strtold_use=yes
63496 else
63497 glibcxx_cv_func_strtold_use=no
63499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63500 ac_ext=c
63501 ac_cpp='$CPP $CPPFLAGS'
63502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63511 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63512 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63513 for ac_func in strtold
63514 do :
63515 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63516 if test "x$ac_cv_func_strtold" = x""yes; then :
63517 cat >>confdefs.h <<_ACEOF
63518 #define HAVE_STRTOLD 1
63519 _ACEOF
63522 done
63529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63530 $as_echo_n "checking for strtof declaration... " >&6; }
63531 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63532 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63533 $as_echo_n "(cached) " >&6
63534 else
63537 ac_ext=cpp
63538 ac_cpp='$CXXCPP $CPPFLAGS'
63539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63544 /* end confdefs.h. */
63545 #include <stdlib.h>
63547 main ()
63549 strtof(0, 0);
63551 return 0;
63553 _ACEOF
63554 if ac_fn_cxx_try_compile "$LINENO"; then :
63555 glibcxx_cv_func_strtof_use=yes
63556 else
63557 glibcxx_cv_func_strtof_use=no
63559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63560 ac_ext=c
63561 ac_cpp='$CPP $CPPFLAGS'
63562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63571 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63572 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63573 for ac_func in strtof
63574 do :
63575 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63576 if test "x$ac_cv_func_strtof" = x""yes; then :
63577 cat >>confdefs.h <<_ACEOF
63578 #define HAVE_STRTOF 1
63579 _ACEOF
63582 done
63589 CXXFLAGS="$ac_save_CXXFLAGS"
63592 *-solaris*)
63593 case "$target" in
63594 *-solaris2.9 | *-solaris2.10)
63596 # If we're not using GNU ld, then there's no point in even trying these
63597 # tests. Check for that first. We should have already tested for gld
63598 # by now (in libtool), but require it now just to be safe...
63599 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63600 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63604 # The name set by libtool depends on the version of libtool. Shame on us
63605 # for depending on an impl detail, but c'est la vie. Older versions used
63606 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63607 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63608 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63609 # set (hence we're using an older libtool), then set it.
63610 if test x${with_gnu_ld+set} != xset; then
63611 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63612 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63613 with_gnu_ld=no
63614 else
63615 with_gnu_ld=$ac_cv_prog_gnu_ld
63619 # Start by getting the version number. I think the libtool test already
63620 # does some of this, but throws away the result.
63621 glibcxx_ld_is_gold=no
63622 if test x"$with_gnu_ld" = x"yes"; then
63623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63624 $as_echo_n "checking for ld version... " >&6; }
63626 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63627 glibcxx_ld_is_gold=yes
63629 ldver=`$LD --version 2>/dev/null |
63630 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'`
63632 glibcxx_gnu_ld_version=`echo $ldver | \
63633 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63635 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63638 # Set --gc-sections.
63639 glibcxx_have_gc_sections=no
63640 if test "$glibcxx_ld_is_gold" = "yes"; then
63641 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63642 glibcxx_have_gc_sections=yes
63644 else
63645 glibcxx_gcsections_min_ld=21602
63646 if test x"$with_gnu_ld" = x"yes" &&
63647 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63648 glibcxx_have_gc_sections=yes
63651 if test "$glibcxx_have_gc_sections" = "yes"; then
63652 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63653 # NB: This flag only works reliably after 2.16.1. Configure tests
63654 # for this are difficult, so hard wire a value that should work.
63656 ac_test_CFLAGS="${CFLAGS+set}"
63657 ac_save_CFLAGS="$CFLAGS"
63658 CFLAGS='-Wl,--gc-sections'
63660 # Check for -Wl,--gc-sections
63661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63662 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63663 if test x$gcc_no_link = xyes; then
63664 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63667 /* end confdefs.h. */
63668 int one(void) { return 1; }
63669 int two(void) { return 2; }
63672 main ()
63674 two();
63676 return 0;
63678 _ACEOF
63679 if ac_fn_c_try_link "$LINENO"; then :
63680 ac_gcsections=yes
63681 else
63682 ac_gcsections=no
63684 rm -f core conftest.err conftest.$ac_objext \
63685 conftest$ac_exeext conftest.$ac_ext
63686 if test "$ac_gcsections" = "yes"; then
63687 rm -f conftest.c
63688 touch conftest.c
63689 if $CC -c conftest.c; then
63690 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63691 grep "Warning: gc-sections option ignored" > /dev/null; then
63692 ac_gcsections=no
63695 rm -f conftest.c conftest.o conftest
63697 if test "$ac_gcsections" = "yes"; then
63698 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63701 $as_echo "$ac_gcsections" >&6; }
63703 if test "$ac_test_CFLAGS" = set; then
63704 CFLAGS="$ac_save_CFLAGS"
63705 else
63706 # this is the suspicious part
63707 CFLAGS=''
63711 # Set -z,relro.
63712 # Note this is only for shared objects.
63713 ac_ld_relro=no
63714 if test x"$with_gnu_ld" = x"yes"; then
63715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63716 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63717 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63718 if test -n "$cxx_z_relo"; then
63719 OPT_LDFLAGS="-Wl,-z,relro"
63720 ac_ld_relro=yes
63722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63723 $as_echo "$ac_ld_relro" >&6; }
63726 # Set linker optimization flags.
63727 if test x"$with_gnu_ld" = x"yes"; then
63728 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63734 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63736 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63738 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63740 # All of the dependencies for wide character support are here, so
63741 # turn it on.
63742 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63745 esac
63746 case "$target" in
63747 *-*-solaris2.10)
63748 # These two C99 functions are present only in Solaris >= 10
63749 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63751 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63754 esac
63755 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63757 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63759 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63761 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63764 *-tpf)
63765 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63766 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
63768 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63770 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63772 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63774 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63776 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63778 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63780 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63782 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63784 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63786 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63788 if test x"long_double_math_on_this_cpu" = x"yes"; then
63789 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63791 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63793 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63795 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63799 *-*vms*)
63800 # Check for available headers.
63801 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
63803 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63804 ac_save_CXXFLAGS="$CXXFLAGS"
63805 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
63808 $as_echo_n "checking for sin in -lm... " >&6; }
63809 if test "${ac_cv_lib_m_sin+set}" = set; then :
63810 $as_echo_n "(cached) " >&6
63811 else
63812 ac_check_lib_save_LIBS=$LIBS
63813 LIBS="-lm $LIBS"
63814 if test x$gcc_no_link = xyes; then
63815 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63818 /* end confdefs.h. */
63820 /* Override any GCC internal prototype to avoid an error.
63821 Use char because int might match the return type of a GCC
63822 builtin and then its argument prototype would still apply. */
63823 #ifdef __cplusplus
63824 extern "C"
63825 #endif
63826 char sin ();
63828 main ()
63830 return sin ();
63832 return 0;
63834 _ACEOF
63835 if ac_fn_c_try_link "$LINENO"; then :
63836 ac_cv_lib_m_sin=yes
63837 else
63838 ac_cv_lib_m_sin=no
63840 rm -f core conftest.err conftest.$ac_objext \
63841 conftest$ac_exeext conftest.$ac_ext
63842 LIBS=$ac_check_lib_save_LIBS
63844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
63845 $as_echo "$ac_cv_lib_m_sin" >&6; }
63846 if test "x$ac_cv_lib_m_sin" = x""yes; then :
63847 libm="-lm"
63850 ac_save_LIBS="$LIBS"
63851 LIBS="$LIBS $libm"
63855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
63856 $as_echo_n "checking for isinf declaration... " >&6; }
63857 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
63858 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
63859 $as_echo_n "(cached) " >&6
63860 else
63863 ac_ext=cpp
63864 ac_cpp='$CXXCPP $CPPFLAGS'
63865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63870 /* end confdefs.h. */
63871 #include <math.h>
63872 #ifdef HAVE_IEEEFP_H
63873 #include <ieeefp.h>
63874 #endif
63877 main ()
63879 isinf(0);
63881 return 0;
63883 _ACEOF
63884 if ac_fn_cxx_try_compile "$LINENO"; then :
63885 glibcxx_cv_func_isinf_use=yes
63886 else
63887 glibcxx_cv_func_isinf_use=no
63889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63890 ac_ext=c
63891 ac_cpp='$CPP $CPPFLAGS'
63892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
63901 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
63903 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
63904 for ac_func in isinf
63905 do :
63906 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
63907 if test "x$ac_cv_func_isinf" = x""yes; then :
63908 cat >>confdefs.h <<_ACEOF
63909 #define HAVE_ISINF 1
63910 _ACEOF
63913 done
63915 else
63917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
63918 $as_echo_n "checking for _isinf declaration... " >&6; }
63919 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
63920 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
63921 $as_echo_n "(cached) " >&6
63922 else
63925 ac_ext=cpp
63926 ac_cpp='$CXXCPP $CPPFLAGS'
63927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63932 /* end confdefs.h. */
63933 #include <math.h>
63934 #ifdef HAVE_IEEEFP_H
63935 #include <ieeefp.h>
63936 #endif
63939 main ()
63941 _isinf(0);
63943 return 0;
63945 _ACEOF
63946 if ac_fn_cxx_try_compile "$LINENO"; then :
63947 glibcxx_cv_func__isinf_use=yes
63948 else
63949 glibcxx_cv_func__isinf_use=no
63951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63952 ac_ext=c
63953 ac_cpp='$CPP $CPPFLAGS'
63954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
63963 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
63965 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
63966 for ac_func in _isinf
63967 do :
63968 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
63969 if test "x$ac_cv_func__isinf" = x""yes; then :
63970 cat >>confdefs.h <<_ACEOF
63971 #define HAVE__ISINF 1
63972 _ACEOF
63975 done
63984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
63985 $as_echo_n "checking for isnan declaration... " >&6; }
63986 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
63987 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
63988 $as_echo_n "(cached) " >&6
63989 else
63992 ac_ext=cpp
63993 ac_cpp='$CXXCPP $CPPFLAGS'
63994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63999 /* end confdefs.h. */
64000 #include <math.h>
64001 #ifdef HAVE_IEEEFP_H
64002 #include <ieeefp.h>
64003 #endif
64006 main ()
64008 isnan(0);
64010 return 0;
64012 _ACEOF
64013 if ac_fn_cxx_try_compile "$LINENO"; then :
64014 glibcxx_cv_func_isnan_use=yes
64015 else
64016 glibcxx_cv_func_isnan_use=no
64018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64019 ac_ext=c
64020 ac_cpp='$CPP $CPPFLAGS'
64021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
64030 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
64032 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64033 for ac_func in isnan
64034 do :
64035 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
64036 if test "x$ac_cv_func_isnan" = x""yes; then :
64037 cat >>confdefs.h <<_ACEOF
64038 #define HAVE_ISNAN 1
64039 _ACEOF
64042 done
64044 else
64046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
64047 $as_echo_n "checking for _isnan declaration... " >&6; }
64048 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64049 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
64050 $as_echo_n "(cached) " >&6
64051 else
64054 ac_ext=cpp
64055 ac_cpp='$CXXCPP $CPPFLAGS'
64056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64061 /* end confdefs.h. */
64062 #include <math.h>
64063 #ifdef HAVE_IEEEFP_H
64064 #include <ieeefp.h>
64065 #endif
64068 main ()
64070 _isnan(0);
64072 return 0;
64074 _ACEOF
64075 if ac_fn_cxx_try_compile "$LINENO"; then :
64076 glibcxx_cv_func__isnan_use=yes
64077 else
64078 glibcxx_cv_func__isnan_use=no
64080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64081 ac_ext=c
64082 ac_cpp='$CPP $CPPFLAGS'
64083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
64092 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
64094 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64095 for ac_func in _isnan
64096 do :
64097 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
64098 if test "x$ac_cv_func__isnan" = x""yes; then :
64099 cat >>confdefs.h <<_ACEOF
64100 #define HAVE__ISNAN 1
64101 _ACEOF
64104 done
64113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
64114 $as_echo_n "checking for finite declaration... " >&6; }
64115 if test x${glibcxx_cv_func_finite_use+set} != xset; then
64116 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
64117 $as_echo_n "(cached) " >&6
64118 else
64121 ac_ext=cpp
64122 ac_cpp='$CXXCPP $CPPFLAGS'
64123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64128 /* end confdefs.h. */
64129 #include <math.h>
64130 #ifdef HAVE_IEEEFP_H
64131 #include <ieeefp.h>
64132 #endif
64135 main ()
64137 finite(0);
64139 return 0;
64141 _ACEOF
64142 if ac_fn_cxx_try_compile "$LINENO"; then :
64143 glibcxx_cv_func_finite_use=yes
64144 else
64145 glibcxx_cv_func_finite_use=no
64147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64148 ac_ext=c
64149 ac_cpp='$CPP $CPPFLAGS'
64150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
64159 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
64161 if test x$glibcxx_cv_func_finite_use = x"yes"; then
64162 for ac_func in finite
64163 do :
64164 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
64165 if test "x$ac_cv_func_finite" = x""yes; then :
64166 cat >>confdefs.h <<_ACEOF
64167 #define HAVE_FINITE 1
64168 _ACEOF
64171 done
64173 else
64175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
64176 $as_echo_n "checking for _finite declaration... " >&6; }
64177 if test x${glibcxx_cv_func__finite_use+set} != xset; then
64178 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
64179 $as_echo_n "(cached) " >&6
64180 else
64183 ac_ext=cpp
64184 ac_cpp='$CXXCPP $CPPFLAGS'
64185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64190 /* end confdefs.h. */
64191 #include <math.h>
64192 #ifdef HAVE_IEEEFP_H
64193 #include <ieeefp.h>
64194 #endif
64197 main ()
64199 _finite(0);
64201 return 0;
64203 _ACEOF
64204 if ac_fn_cxx_try_compile "$LINENO"; then :
64205 glibcxx_cv_func__finite_use=yes
64206 else
64207 glibcxx_cv_func__finite_use=no
64209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64210 ac_ext=c
64211 ac_cpp='$CPP $CPPFLAGS'
64212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
64221 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
64223 if test x$glibcxx_cv_func__finite_use = x"yes"; then
64224 for ac_func in _finite
64225 do :
64226 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
64227 if test "x$ac_cv_func__finite" = x""yes; then :
64228 cat >>confdefs.h <<_ACEOF
64229 #define HAVE__FINITE 1
64230 _ACEOF
64233 done
64242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
64243 $as_echo_n "checking for sincos declaration... " >&6; }
64244 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
64245 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
64246 $as_echo_n "(cached) " >&6
64247 else
64250 ac_ext=cpp
64251 ac_cpp='$CXXCPP $CPPFLAGS'
64252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64257 /* end confdefs.h. */
64258 #include <math.h>
64260 main ()
64262 sincos(0, 0, 0);
64264 return 0;
64266 _ACEOF
64267 if ac_fn_cxx_try_compile "$LINENO"; then :
64268 glibcxx_cv_func_sincos_use=yes
64269 else
64270 glibcxx_cv_func_sincos_use=no
64272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64273 ac_ext=c
64274 ac_cpp='$CPP $CPPFLAGS'
64275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
64284 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
64286 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
64287 for ac_func in sincos
64288 do :
64289 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
64290 if test "x$ac_cv_func_sincos" = x""yes; then :
64291 cat >>confdefs.h <<_ACEOF
64292 #define HAVE_SINCOS 1
64293 _ACEOF
64296 done
64298 else
64300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
64301 $as_echo_n "checking for _sincos declaration... " >&6; }
64302 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
64303 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
64304 $as_echo_n "(cached) " >&6
64305 else
64308 ac_ext=cpp
64309 ac_cpp='$CXXCPP $CPPFLAGS'
64310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64315 /* end confdefs.h. */
64316 #include <math.h>
64318 main ()
64320 _sincos(0, 0, 0);
64322 return 0;
64324 _ACEOF
64325 if ac_fn_cxx_try_compile "$LINENO"; then :
64326 glibcxx_cv_func__sincos_use=yes
64327 else
64328 glibcxx_cv_func__sincos_use=no
64330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64331 ac_ext=c
64332 ac_cpp='$CPP $CPPFLAGS'
64333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
64342 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
64344 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
64345 for ac_func in _sincos
64346 do :
64347 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
64348 if test "x$ac_cv_func__sincos" = x""yes; then :
64349 cat >>confdefs.h <<_ACEOF
64350 #define HAVE__SINCOS 1
64351 _ACEOF
64354 done
64363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
64364 $as_echo_n "checking for fpclass declaration... " >&6; }
64365 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
64366 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
64367 $as_echo_n "(cached) " >&6
64368 else
64371 ac_ext=cpp
64372 ac_cpp='$CXXCPP $CPPFLAGS'
64373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64378 /* end confdefs.h. */
64379 #include <math.h>
64380 #ifdef HAVE_IEEEFP_H
64381 #include <ieeefp.h>
64382 #endif
64385 main ()
64387 fpclass(0);
64389 return 0;
64391 _ACEOF
64392 if ac_fn_cxx_try_compile "$LINENO"; then :
64393 glibcxx_cv_func_fpclass_use=yes
64394 else
64395 glibcxx_cv_func_fpclass_use=no
64397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64398 ac_ext=c
64399 ac_cpp='$CPP $CPPFLAGS'
64400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
64409 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
64411 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
64412 for ac_func in fpclass
64413 do :
64414 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
64415 if test "x$ac_cv_func_fpclass" = x""yes; then :
64416 cat >>confdefs.h <<_ACEOF
64417 #define HAVE_FPCLASS 1
64418 _ACEOF
64421 done
64423 else
64425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
64426 $as_echo_n "checking for _fpclass declaration... " >&6; }
64427 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
64428 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
64429 $as_echo_n "(cached) " >&6
64430 else
64433 ac_ext=cpp
64434 ac_cpp='$CXXCPP $CPPFLAGS'
64435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64440 /* end confdefs.h. */
64441 #include <math.h>
64442 #ifdef HAVE_IEEEFP_H
64443 #include <ieeefp.h>
64444 #endif
64447 main ()
64449 _fpclass(0);
64451 return 0;
64453 _ACEOF
64454 if ac_fn_cxx_try_compile "$LINENO"; then :
64455 glibcxx_cv_func__fpclass_use=yes
64456 else
64457 glibcxx_cv_func__fpclass_use=no
64459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64460 ac_ext=c
64461 ac_cpp='$CPP $CPPFLAGS'
64462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
64471 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
64473 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
64474 for ac_func in _fpclass
64475 do :
64476 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
64477 if test "x$ac_cv_func__fpclass" = x""yes; then :
64478 cat >>confdefs.h <<_ACEOF
64479 #define HAVE__FPCLASS 1
64480 _ACEOF
64483 done
64492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
64493 $as_echo_n "checking for qfpclass declaration... " >&6; }
64494 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
64495 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
64496 $as_echo_n "(cached) " >&6
64497 else
64500 ac_ext=cpp
64501 ac_cpp='$CXXCPP $CPPFLAGS'
64502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64507 /* end confdefs.h. */
64508 #include <math.h>
64509 #ifdef HAVE_IEEEFP_H
64510 #include <ieeefp.h>
64511 #endif
64514 main ()
64516 qfpclass(0);
64518 return 0;
64520 _ACEOF
64521 if ac_fn_cxx_try_compile "$LINENO"; then :
64522 glibcxx_cv_func_qfpclass_use=yes
64523 else
64524 glibcxx_cv_func_qfpclass_use=no
64526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64527 ac_ext=c
64528 ac_cpp='$CPP $CPPFLAGS'
64529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
64538 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
64540 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
64541 for ac_func in qfpclass
64542 do :
64543 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
64544 if test "x$ac_cv_func_qfpclass" = x""yes; then :
64545 cat >>confdefs.h <<_ACEOF
64546 #define HAVE_QFPCLASS 1
64547 _ACEOF
64550 done
64552 else
64554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
64555 $as_echo_n "checking for _qfpclass declaration... " >&6; }
64556 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
64557 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
64558 $as_echo_n "(cached) " >&6
64559 else
64562 ac_ext=cpp
64563 ac_cpp='$CXXCPP $CPPFLAGS'
64564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64569 /* end confdefs.h. */
64570 #include <math.h>
64571 #ifdef HAVE_IEEEFP_H
64572 #include <ieeefp.h>
64573 #endif
64576 main ()
64578 _qfpclass(0);
64580 return 0;
64582 _ACEOF
64583 if ac_fn_cxx_try_compile "$LINENO"; then :
64584 glibcxx_cv_func__qfpclass_use=yes
64585 else
64586 glibcxx_cv_func__qfpclass_use=no
64588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64589 ac_ext=c
64590 ac_cpp='$CPP $CPPFLAGS'
64591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
64600 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
64602 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
64603 for ac_func in _qfpclass
64604 do :
64605 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
64606 if test "x$ac_cv_func__qfpclass" = x""yes; then :
64607 cat >>confdefs.h <<_ACEOF
64608 #define HAVE__QFPCLASS 1
64609 _ACEOF
64612 done
64621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
64622 $as_echo_n "checking for hypot declaration... " >&6; }
64623 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
64624 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
64625 $as_echo_n "(cached) " >&6
64626 else
64629 ac_ext=cpp
64630 ac_cpp='$CXXCPP $CPPFLAGS'
64631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64636 /* end confdefs.h. */
64637 #include <math.h>
64639 main ()
64641 hypot(0, 0);
64643 return 0;
64645 _ACEOF
64646 if ac_fn_cxx_try_compile "$LINENO"; then :
64647 glibcxx_cv_func_hypot_use=yes
64648 else
64649 glibcxx_cv_func_hypot_use=no
64651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64652 ac_ext=c
64653 ac_cpp='$CPP $CPPFLAGS'
64654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
64663 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
64665 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
64666 for ac_func in hypot
64667 do :
64668 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
64669 if test "x$ac_cv_func_hypot" = x""yes; then :
64670 cat >>confdefs.h <<_ACEOF
64671 #define HAVE_HYPOT 1
64672 _ACEOF
64675 done
64677 else
64679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
64680 $as_echo_n "checking for _hypot declaration... " >&6; }
64681 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
64682 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
64683 $as_echo_n "(cached) " >&6
64684 else
64687 ac_ext=cpp
64688 ac_cpp='$CXXCPP $CPPFLAGS'
64689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64694 /* end confdefs.h. */
64695 #include <math.h>
64697 main ()
64699 _hypot(0, 0);
64701 return 0;
64703 _ACEOF
64704 if ac_fn_cxx_try_compile "$LINENO"; then :
64705 glibcxx_cv_func__hypot_use=yes
64706 else
64707 glibcxx_cv_func__hypot_use=no
64709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64710 ac_ext=c
64711 ac_cpp='$CPP $CPPFLAGS'
64712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
64721 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
64723 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
64724 for ac_func in _hypot
64725 do :
64726 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
64727 if test "x$ac_cv_func__hypot" = x""yes; then :
64728 cat >>confdefs.h <<_ACEOF
64729 #define HAVE__HYPOT 1
64730 _ACEOF
64733 done
64742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
64743 $as_echo_n "checking for float trig functions... " >&6; }
64744 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
64745 $as_echo_n "(cached) " >&6
64746 else
64749 ac_ext=cpp
64750 ac_cpp='$CXXCPP $CPPFLAGS'
64751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64756 /* end confdefs.h. */
64757 #include <math.h>
64759 main ()
64761 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
64763 return 0;
64765 _ACEOF
64766 if ac_fn_cxx_try_compile "$LINENO"; then :
64767 glibcxx_cv_func_float_trig_use=yes
64768 else
64769 glibcxx_cv_func_float_trig_use=no
64771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64772 ac_ext=c
64773 ac_cpp='$CPP $CPPFLAGS'
64774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
64781 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
64782 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
64783 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
64784 do :
64785 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64786 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64787 eval as_val=\$$as_ac_var
64788 if test "x$as_val" = x""yes; then :
64789 cat >>confdefs.h <<_ACEOF
64790 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64791 _ACEOF
64794 done
64796 else
64797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
64798 $as_echo_n "checking for _float trig functions... " >&6; }
64799 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
64800 $as_echo_n "(cached) " >&6
64801 else
64804 ac_ext=cpp
64805 ac_cpp='$CXXCPP $CPPFLAGS'
64806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64811 /* end confdefs.h. */
64812 #include <math.h>
64814 main ()
64816 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
64818 return 0;
64820 _ACEOF
64821 if ac_fn_cxx_try_compile "$LINENO"; then :
64822 glibcxx_cv_func__float_trig_use=yes
64823 else
64824 glibcxx_cv_func__float_trig_use=no
64826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64827 ac_ext=c
64828 ac_cpp='$CPP $CPPFLAGS'
64829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
64836 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
64837 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
64838 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
64839 do :
64840 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64841 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64842 eval as_val=\$$as_ac_var
64843 if test "x$as_val" = x""yes; then :
64844 cat >>confdefs.h <<_ACEOF
64845 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64846 _ACEOF
64849 done
64858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
64859 $as_echo_n "checking for float round functions... " >&6; }
64860 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
64861 $as_echo_n "(cached) " >&6
64862 else
64865 ac_ext=cpp
64866 ac_cpp='$CXXCPP $CPPFLAGS'
64867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64872 /* end confdefs.h. */
64873 #include <math.h>
64875 main ()
64877 ceilf (0); floorf (0);
64879 return 0;
64881 _ACEOF
64882 if ac_fn_cxx_try_compile "$LINENO"; then :
64883 glibcxx_cv_func_float_round_use=yes
64884 else
64885 glibcxx_cv_func_float_round_use=no
64887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64888 ac_ext=c
64889 ac_cpp='$CPP $CPPFLAGS'
64890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
64897 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
64898 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
64899 for ac_func in ceilf floorf
64900 do :
64901 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64902 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64903 eval as_val=\$$as_ac_var
64904 if test "x$as_val" = x""yes; then :
64905 cat >>confdefs.h <<_ACEOF
64906 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64907 _ACEOF
64910 done
64912 else
64913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
64914 $as_echo_n "checking for _float round functions... " >&6; }
64915 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
64916 $as_echo_n "(cached) " >&6
64917 else
64920 ac_ext=cpp
64921 ac_cpp='$CXXCPP $CPPFLAGS'
64922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64927 /* end confdefs.h. */
64928 #include <math.h>
64930 main ()
64932 _ceilf (0); _floorf (0);
64934 return 0;
64936 _ACEOF
64937 if ac_fn_cxx_try_compile "$LINENO"; then :
64938 glibcxx_cv_func__float_round_use=yes
64939 else
64940 glibcxx_cv_func__float_round_use=no
64942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64943 ac_ext=c
64944 ac_cpp='$CPP $CPPFLAGS'
64945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
64952 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
64953 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
64954 for ac_func in _ceilf _floorf
64955 do :
64956 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64957 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64958 eval as_val=\$$as_ac_var
64959 if test "x$as_val" = x""yes; then :
64960 cat >>confdefs.h <<_ACEOF
64961 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64962 _ACEOF
64965 done
64975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
64976 $as_echo_n "checking for expf declaration... " >&6; }
64977 if test x${glibcxx_cv_func_expf_use+set} != xset; then
64978 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
64979 $as_echo_n "(cached) " >&6
64980 else
64983 ac_ext=cpp
64984 ac_cpp='$CXXCPP $CPPFLAGS'
64985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64990 /* end confdefs.h. */
64991 #include <math.h>
64992 #ifdef HAVE_IEEEFP_H
64993 #include <ieeefp.h>
64994 #endif
64997 main ()
64999 expf(0);
65001 return 0;
65003 _ACEOF
65004 if ac_fn_cxx_try_compile "$LINENO"; then :
65005 glibcxx_cv_func_expf_use=yes
65006 else
65007 glibcxx_cv_func_expf_use=no
65009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65010 ac_ext=c
65011 ac_cpp='$CPP $CPPFLAGS'
65012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
65021 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
65023 if test x$glibcxx_cv_func_expf_use = x"yes"; then
65024 for ac_func in expf
65025 do :
65026 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
65027 if test "x$ac_cv_func_expf" = x""yes; then :
65028 cat >>confdefs.h <<_ACEOF
65029 #define HAVE_EXPF 1
65030 _ACEOF
65033 done
65035 else
65037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
65038 $as_echo_n "checking for _expf declaration... " >&6; }
65039 if test x${glibcxx_cv_func__expf_use+set} != xset; then
65040 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
65041 $as_echo_n "(cached) " >&6
65042 else
65045 ac_ext=cpp
65046 ac_cpp='$CXXCPP $CPPFLAGS'
65047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65052 /* end confdefs.h. */
65053 #include <math.h>
65054 #ifdef HAVE_IEEEFP_H
65055 #include <ieeefp.h>
65056 #endif
65059 main ()
65061 _expf(0);
65063 return 0;
65065 _ACEOF
65066 if ac_fn_cxx_try_compile "$LINENO"; then :
65067 glibcxx_cv_func__expf_use=yes
65068 else
65069 glibcxx_cv_func__expf_use=no
65071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65072 ac_ext=c
65073 ac_cpp='$CPP $CPPFLAGS'
65074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
65083 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
65085 if test x$glibcxx_cv_func__expf_use = x"yes"; then
65086 for ac_func in _expf
65087 do :
65088 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
65089 if test "x$ac_cv_func__expf" = x""yes; then :
65090 cat >>confdefs.h <<_ACEOF
65091 #define HAVE__EXPF 1
65092 _ACEOF
65095 done
65104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
65105 $as_echo_n "checking for isnanf declaration... " >&6; }
65106 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
65107 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
65108 $as_echo_n "(cached) " >&6
65109 else
65112 ac_ext=cpp
65113 ac_cpp='$CXXCPP $CPPFLAGS'
65114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65119 /* end confdefs.h. */
65120 #include <math.h>
65121 #ifdef HAVE_IEEEFP_H
65122 #include <ieeefp.h>
65123 #endif
65126 main ()
65128 isnanf(0);
65130 return 0;
65132 _ACEOF
65133 if ac_fn_cxx_try_compile "$LINENO"; then :
65134 glibcxx_cv_func_isnanf_use=yes
65135 else
65136 glibcxx_cv_func_isnanf_use=no
65138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65139 ac_ext=c
65140 ac_cpp='$CPP $CPPFLAGS'
65141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
65150 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
65152 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
65153 for ac_func in isnanf
65154 do :
65155 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
65156 if test "x$ac_cv_func_isnanf" = x""yes; then :
65157 cat >>confdefs.h <<_ACEOF
65158 #define HAVE_ISNANF 1
65159 _ACEOF
65162 done
65164 else
65166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
65167 $as_echo_n "checking for _isnanf declaration... " >&6; }
65168 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
65169 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
65170 $as_echo_n "(cached) " >&6
65171 else
65174 ac_ext=cpp
65175 ac_cpp='$CXXCPP $CPPFLAGS'
65176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65181 /* end confdefs.h. */
65182 #include <math.h>
65183 #ifdef HAVE_IEEEFP_H
65184 #include <ieeefp.h>
65185 #endif
65188 main ()
65190 _isnanf(0);
65192 return 0;
65194 _ACEOF
65195 if ac_fn_cxx_try_compile "$LINENO"; then :
65196 glibcxx_cv_func__isnanf_use=yes
65197 else
65198 glibcxx_cv_func__isnanf_use=no
65200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65201 ac_ext=c
65202 ac_cpp='$CPP $CPPFLAGS'
65203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
65212 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
65214 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
65215 for ac_func in _isnanf
65216 do :
65217 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
65218 if test "x$ac_cv_func__isnanf" = x""yes; then :
65219 cat >>confdefs.h <<_ACEOF
65220 #define HAVE__ISNANF 1
65221 _ACEOF
65224 done
65233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
65234 $as_echo_n "checking for isinff declaration... " >&6; }
65235 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
65236 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
65237 $as_echo_n "(cached) " >&6
65238 else
65241 ac_ext=cpp
65242 ac_cpp='$CXXCPP $CPPFLAGS'
65243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65248 /* end confdefs.h. */
65249 #include <math.h>
65250 #ifdef HAVE_IEEEFP_H
65251 #include <ieeefp.h>
65252 #endif
65255 main ()
65257 isinff(0);
65259 return 0;
65261 _ACEOF
65262 if ac_fn_cxx_try_compile "$LINENO"; then :
65263 glibcxx_cv_func_isinff_use=yes
65264 else
65265 glibcxx_cv_func_isinff_use=no
65267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65268 ac_ext=c
65269 ac_cpp='$CPP $CPPFLAGS'
65270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
65279 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
65281 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
65282 for ac_func in isinff
65283 do :
65284 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
65285 if test "x$ac_cv_func_isinff" = x""yes; then :
65286 cat >>confdefs.h <<_ACEOF
65287 #define HAVE_ISINFF 1
65288 _ACEOF
65291 done
65293 else
65295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
65296 $as_echo_n "checking for _isinff declaration... " >&6; }
65297 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
65298 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
65299 $as_echo_n "(cached) " >&6
65300 else
65303 ac_ext=cpp
65304 ac_cpp='$CXXCPP $CPPFLAGS'
65305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65310 /* end confdefs.h. */
65311 #include <math.h>
65312 #ifdef HAVE_IEEEFP_H
65313 #include <ieeefp.h>
65314 #endif
65317 main ()
65319 _isinff(0);
65321 return 0;
65323 _ACEOF
65324 if ac_fn_cxx_try_compile "$LINENO"; then :
65325 glibcxx_cv_func__isinff_use=yes
65326 else
65327 glibcxx_cv_func__isinff_use=no
65329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65330 ac_ext=c
65331 ac_cpp='$CPP $CPPFLAGS'
65332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
65341 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
65343 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
65344 for ac_func in _isinff
65345 do :
65346 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
65347 if test "x$ac_cv_func__isinff" = x""yes; then :
65348 cat >>confdefs.h <<_ACEOF
65349 #define HAVE__ISINFF 1
65350 _ACEOF
65353 done
65362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
65363 $as_echo_n "checking for atan2f declaration... " >&6; }
65364 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
65365 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
65366 $as_echo_n "(cached) " >&6
65367 else
65370 ac_ext=cpp
65371 ac_cpp='$CXXCPP $CPPFLAGS'
65372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65377 /* end confdefs.h. */
65378 #include <math.h>
65380 main ()
65382 atan2f(0, 0);
65384 return 0;
65386 _ACEOF
65387 if ac_fn_cxx_try_compile "$LINENO"; then :
65388 glibcxx_cv_func_atan2f_use=yes
65389 else
65390 glibcxx_cv_func_atan2f_use=no
65392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65393 ac_ext=c
65394 ac_cpp='$CPP $CPPFLAGS'
65395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
65404 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
65406 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
65407 for ac_func in atan2f
65408 do :
65409 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
65410 if test "x$ac_cv_func_atan2f" = x""yes; then :
65411 cat >>confdefs.h <<_ACEOF
65412 #define HAVE_ATAN2F 1
65413 _ACEOF
65416 done
65418 else
65420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
65421 $as_echo_n "checking for _atan2f declaration... " >&6; }
65422 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
65423 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
65424 $as_echo_n "(cached) " >&6
65425 else
65428 ac_ext=cpp
65429 ac_cpp='$CXXCPP $CPPFLAGS'
65430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65435 /* end confdefs.h. */
65436 #include <math.h>
65438 main ()
65440 _atan2f(0, 0);
65442 return 0;
65444 _ACEOF
65445 if ac_fn_cxx_try_compile "$LINENO"; then :
65446 glibcxx_cv_func__atan2f_use=yes
65447 else
65448 glibcxx_cv_func__atan2f_use=no
65450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65451 ac_ext=c
65452 ac_cpp='$CPP $CPPFLAGS'
65453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
65462 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
65464 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
65465 for ac_func in _atan2f
65466 do :
65467 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
65468 if test "x$ac_cv_func__atan2f" = x""yes; then :
65469 cat >>confdefs.h <<_ACEOF
65470 #define HAVE__ATAN2F 1
65471 _ACEOF
65474 done
65483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
65484 $as_echo_n "checking for fabsf declaration... " >&6; }
65485 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
65486 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
65487 $as_echo_n "(cached) " >&6
65488 else
65491 ac_ext=cpp
65492 ac_cpp='$CXXCPP $CPPFLAGS'
65493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65498 /* end confdefs.h. */
65499 #include <math.h>
65500 #ifdef HAVE_IEEEFP_H
65501 #include <ieeefp.h>
65502 #endif
65505 main ()
65507 fabsf(0);
65509 return 0;
65511 _ACEOF
65512 if ac_fn_cxx_try_compile "$LINENO"; then :
65513 glibcxx_cv_func_fabsf_use=yes
65514 else
65515 glibcxx_cv_func_fabsf_use=no
65517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65518 ac_ext=c
65519 ac_cpp='$CPP $CPPFLAGS'
65520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
65529 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
65531 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
65532 for ac_func in fabsf
65533 do :
65534 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
65535 if test "x$ac_cv_func_fabsf" = x""yes; then :
65536 cat >>confdefs.h <<_ACEOF
65537 #define HAVE_FABSF 1
65538 _ACEOF
65541 done
65543 else
65545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
65546 $as_echo_n "checking for _fabsf declaration... " >&6; }
65547 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
65548 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
65549 $as_echo_n "(cached) " >&6
65550 else
65553 ac_ext=cpp
65554 ac_cpp='$CXXCPP $CPPFLAGS'
65555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65560 /* end confdefs.h. */
65561 #include <math.h>
65562 #ifdef HAVE_IEEEFP_H
65563 #include <ieeefp.h>
65564 #endif
65567 main ()
65569 _fabsf(0);
65571 return 0;
65573 _ACEOF
65574 if ac_fn_cxx_try_compile "$LINENO"; then :
65575 glibcxx_cv_func__fabsf_use=yes
65576 else
65577 glibcxx_cv_func__fabsf_use=no
65579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65580 ac_ext=c
65581 ac_cpp='$CPP $CPPFLAGS'
65582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
65591 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
65593 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
65594 for ac_func in _fabsf
65595 do :
65596 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
65597 if test "x$ac_cv_func__fabsf" = x""yes; then :
65598 cat >>confdefs.h <<_ACEOF
65599 #define HAVE__FABSF 1
65600 _ACEOF
65603 done
65612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
65613 $as_echo_n "checking for fmodf declaration... " >&6; }
65614 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
65615 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
65616 $as_echo_n "(cached) " >&6
65617 else
65620 ac_ext=cpp
65621 ac_cpp='$CXXCPP $CPPFLAGS'
65622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65627 /* end confdefs.h. */
65628 #include <math.h>
65630 main ()
65632 fmodf(0, 0);
65634 return 0;
65636 _ACEOF
65637 if ac_fn_cxx_try_compile "$LINENO"; then :
65638 glibcxx_cv_func_fmodf_use=yes
65639 else
65640 glibcxx_cv_func_fmodf_use=no
65642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65643 ac_ext=c
65644 ac_cpp='$CPP $CPPFLAGS'
65645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
65654 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
65656 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
65657 for ac_func in fmodf
65658 do :
65659 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
65660 if test "x$ac_cv_func_fmodf" = x""yes; then :
65661 cat >>confdefs.h <<_ACEOF
65662 #define HAVE_FMODF 1
65663 _ACEOF
65666 done
65668 else
65670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
65671 $as_echo_n "checking for _fmodf declaration... " >&6; }
65672 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
65673 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
65674 $as_echo_n "(cached) " >&6
65675 else
65678 ac_ext=cpp
65679 ac_cpp='$CXXCPP $CPPFLAGS'
65680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65685 /* end confdefs.h. */
65686 #include <math.h>
65688 main ()
65690 _fmodf(0, 0);
65692 return 0;
65694 _ACEOF
65695 if ac_fn_cxx_try_compile "$LINENO"; then :
65696 glibcxx_cv_func__fmodf_use=yes
65697 else
65698 glibcxx_cv_func__fmodf_use=no
65700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65701 ac_ext=c
65702 ac_cpp='$CPP $CPPFLAGS'
65703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
65712 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
65714 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
65715 for ac_func in _fmodf
65716 do :
65717 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
65718 if test "x$ac_cv_func__fmodf" = x""yes; then :
65719 cat >>confdefs.h <<_ACEOF
65720 #define HAVE__FMODF 1
65721 _ACEOF
65724 done
65733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
65734 $as_echo_n "checking for frexpf declaration... " >&6; }
65735 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
65736 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
65737 $as_echo_n "(cached) " >&6
65738 else
65741 ac_ext=cpp
65742 ac_cpp='$CXXCPP $CPPFLAGS'
65743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65748 /* end confdefs.h. */
65749 #include <math.h>
65751 main ()
65753 frexpf(0, 0);
65755 return 0;
65757 _ACEOF
65758 if ac_fn_cxx_try_compile "$LINENO"; then :
65759 glibcxx_cv_func_frexpf_use=yes
65760 else
65761 glibcxx_cv_func_frexpf_use=no
65763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65764 ac_ext=c
65765 ac_cpp='$CPP $CPPFLAGS'
65766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
65775 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
65777 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
65778 for ac_func in frexpf
65779 do :
65780 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
65781 if test "x$ac_cv_func_frexpf" = x""yes; then :
65782 cat >>confdefs.h <<_ACEOF
65783 #define HAVE_FREXPF 1
65784 _ACEOF
65787 done
65789 else
65791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
65792 $as_echo_n "checking for _frexpf declaration... " >&6; }
65793 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
65794 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
65795 $as_echo_n "(cached) " >&6
65796 else
65799 ac_ext=cpp
65800 ac_cpp='$CXXCPP $CPPFLAGS'
65801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65806 /* end confdefs.h. */
65807 #include <math.h>
65809 main ()
65811 _frexpf(0, 0);
65813 return 0;
65815 _ACEOF
65816 if ac_fn_cxx_try_compile "$LINENO"; then :
65817 glibcxx_cv_func__frexpf_use=yes
65818 else
65819 glibcxx_cv_func__frexpf_use=no
65821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65822 ac_ext=c
65823 ac_cpp='$CPP $CPPFLAGS'
65824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
65833 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
65835 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
65836 for ac_func in _frexpf
65837 do :
65838 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
65839 if test "x$ac_cv_func__frexpf" = x""yes; then :
65840 cat >>confdefs.h <<_ACEOF
65841 #define HAVE__FREXPF 1
65842 _ACEOF
65845 done
65854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
65855 $as_echo_n "checking for hypotf declaration... " >&6; }
65856 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
65857 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
65858 $as_echo_n "(cached) " >&6
65859 else
65862 ac_ext=cpp
65863 ac_cpp='$CXXCPP $CPPFLAGS'
65864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65869 /* end confdefs.h. */
65870 #include <math.h>
65872 main ()
65874 hypotf(0, 0);
65876 return 0;
65878 _ACEOF
65879 if ac_fn_cxx_try_compile "$LINENO"; then :
65880 glibcxx_cv_func_hypotf_use=yes
65881 else
65882 glibcxx_cv_func_hypotf_use=no
65884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65885 ac_ext=c
65886 ac_cpp='$CPP $CPPFLAGS'
65887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
65896 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
65898 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
65899 for ac_func in hypotf
65900 do :
65901 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
65902 if test "x$ac_cv_func_hypotf" = x""yes; then :
65903 cat >>confdefs.h <<_ACEOF
65904 #define HAVE_HYPOTF 1
65905 _ACEOF
65908 done
65910 else
65912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
65913 $as_echo_n "checking for _hypotf declaration... " >&6; }
65914 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
65915 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
65916 $as_echo_n "(cached) " >&6
65917 else
65920 ac_ext=cpp
65921 ac_cpp='$CXXCPP $CPPFLAGS'
65922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65927 /* end confdefs.h. */
65928 #include <math.h>
65930 main ()
65932 _hypotf(0, 0);
65934 return 0;
65936 _ACEOF
65937 if ac_fn_cxx_try_compile "$LINENO"; then :
65938 glibcxx_cv_func__hypotf_use=yes
65939 else
65940 glibcxx_cv_func__hypotf_use=no
65942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65943 ac_ext=c
65944 ac_cpp='$CPP $CPPFLAGS'
65945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
65954 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
65956 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
65957 for ac_func in _hypotf
65958 do :
65959 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
65960 if test "x$ac_cv_func__hypotf" = x""yes; then :
65961 cat >>confdefs.h <<_ACEOF
65962 #define HAVE__HYPOTF 1
65963 _ACEOF
65966 done
65975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
65976 $as_echo_n "checking for ldexpf declaration... " >&6; }
65977 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
65978 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
65979 $as_echo_n "(cached) " >&6
65980 else
65983 ac_ext=cpp
65984 ac_cpp='$CXXCPP $CPPFLAGS'
65985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65990 /* end confdefs.h. */
65991 #include <math.h>
65993 main ()
65995 ldexpf(0, 0);
65997 return 0;
65999 _ACEOF
66000 if ac_fn_cxx_try_compile "$LINENO"; then :
66001 glibcxx_cv_func_ldexpf_use=yes
66002 else
66003 glibcxx_cv_func_ldexpf_use=no
66005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66006 ac_ext=c
66007 ac_cpp='$CPP $CPPFLAGS'
66008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
66017 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
66019 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
66020 for ac_func in ldexpf
66021 do :
66022 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
66023 if test "x$ac_cv_func_ldexpf" = x""yes; then :
66024 cat >>confdefs.h <<_ACEOF
66025 #define HAVE_LDEXPF 1
66026 _ACEOF
66029 done
66031 else
66033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
66034 $as_echo_n "checking for _ldexpf declaration... " >&6; }
66035 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
66036 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
66037 $as_echo_n "(cached) " >&6
66038 else
66041 ac_ext=cpp
66042 ac_cpp='$CXXCPP $CPPFLAGS'
66043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66048 /* end confdefs.h. */
66049 #include <math.h>
66051 main ()
66053 _ldexpf(0, 0);
66055 return 0;
66057 _ACEOF
66058 if ac_fn_cxx_try_compile "$LINENO"; then :
66059 glibcxx_cv_func__ldexpf_use=yes
66060 else
66061 glibcxx_cv_func__ldexpf_use=no
66063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66064 ac_ext=c
66065 ac_cpp='$CPP $CPPFLAGS'
66066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
66075 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
66077 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
66078 for ac_func in _ldexpf
66079 do :
66080 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
66081 if test "x$ac_cv_func__ldexpf" = x""yes; then :
66082 cat >>confdefs.h <<_ACEOF
66083 #define HAVE__LDEXPF 1
66084 _ACEOF
66087 done
66096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
66097 $as_echo_n "checking for logf declaration... " >&6; }
66098 if test x${glibcxx_cv_func_logf_use+set} != xset; then
66099 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
66100 $as_echo_n "(cached) " >&6
66101 else
66104 ac_ext=cpp
66105 ac_cpp='$CXXCPP $CPPFLAGS'
66106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66111 /* end confdefs.h. */
66112 #include <math.h>
66113 #ifdef HAVE_IEEEFP_H
66114 #include <ieeefp.h>
66115 #endif
66118 main ()
66120 logf(0);
66122 return 0;
66124 _ACEOF
66125 if ac_fn_cxx_try_compile "$LINENO"; then :
66126 glibcxx_cv_func_logf_use=yes
66127 else
66128 glibcxx_cv_func_logf_use=no
66130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66131 ac_ext=c
66132 ac_cpp='$CPP $CPPFLAGS'
66133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
66142 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
66144 if test x$glibcxx_cv_func_logf_use = x"yes"; then
66145 for ac_func in logf
66146 do :
66147 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
66148 if test "x$ac_cv_func_logf" = x""yes; then :
66149 cat >>confdefs.h <<_ACEOF
66150 #define HAVE_LOGF 1
66151 _ACEOF
66154 done
66156 else
66158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
66159 $as_echo_n "checking for _logf declaration... " >&6; }
66160 if test x${glibcxx_cv_func__logf_use+set} != xset; then
66161 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
66162 $as_echo_n "(cached) " >&6
66163 else
66166 ac_ext=cpp
66167 ac_cpp='$CXXCPP $CPPFLAGS'
66168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66173 /* end confdefs.h. */
66174 #include <math.h>
66175 #ifdef HAVE_IEEEFP_H
66176 #include <ieeefp.h>
66177 #endif
66180 main ()
66182 _logf(0);
66184 return 0;
66186 _ACEOF
66187 if ac_fn_cxx_try_compile "$LINENO"; then :
66188 glibcxx_cv_func__logf_use=yes
66189 else
66190 glibcxx_cv_func__logf_use=no
66192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66193 ac_ext=c
66194 ac_cpp='$CPP $CPPFLAGS'
66195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
66204 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
66206 if test x$glibcxx_cv_func__logf_use = x"yes"; then
66207 for ac_func in _logf
66208 do :
66209 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
66210 if test "x$ac_cv_func__logf" = x""yes; then :
66211 cat >>confdefs.h <<_ACEOF
66212 #define HAVE__LOGF 1
66213 _ACEOF
66216 done
66225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
66226 $as_echo_n "checking for log10f declaration... " >&6; }
66227 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
66228 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
66229 $as_echo_n "(cached) " >&6
66230 else
66233 ac_ext=cpp
66234 ac_cpp='$CXXCPP $CPPFLAGS'
66235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66240 /* end confdefs.h. */
66241 #include <math.h>
66242 #ifdef HAVE_IEEEFP_H
66243 #include <ieeefp.h>
66244 #endif
66247 main ()
66249 log10f(0);
66251 return 0;
66253 _ACEOF
66254 if ac_fn_cxx_try_compile "$LINENO"; then :
66255 glibcxx_cv_func_log10f_use=yes
66256 else
66257 glibcxx_cv_func_log10f_use=no
66259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66260 ac_ext=c
66261 ac_cpp='$CPP $CPPFLAGS'
66262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
66271 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
66273 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
66274 for ac_func in log10f
66275 do :
66276 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
66277 if test "x$ac_cv_func_log10f" = x""yes; then :
66278 cat >>confdefs.h <<_ACEOF
66279 #define HAVE_LOG10F 1
66280 _ACEOF
66283 done
66285 else
66287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
66288 $as_echo_n "checking for _log10f declaration... " >&6; }
66289 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
66290 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
66291 $as_echo_n "(cached) " >&6
66292 else
66295 ac_ext=cpp
66296 ac_cpp='$CXXCPP $CPPFLAGS'
66297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66302 /* end confdefs.h. */
66303 #include <math.h>
66304 #ifdef HAVE_IEEEFP_H
66305 #include <ieeefp.h>
66306 #endif
66309 main ()
66311 _log10f(0);
66313 return 0;
66315 _ACEOF
66316 if ac_fn_cxx_try_compile "$LINENO"; then :
66317 glibcxx_cv_func__log10f_use=yes
66318 else
66319 glibcxx_cv_func__log10f_use=no
66321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66322 ac_ext=c
66323 ac_cpp='$CPP $CPPFLAGS'
66324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
66333 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
66335 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
66336 for ac_func in _log10f
66337 do :
66338 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
66339 if test "x$ac_cv_func__log10f" = x""yes; then :
66340 cat >>confdefs.h <<_ACEOF
66341 #define HAVE__LOG10F 1
66342 _ACEOF
66345 done
66354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
66355 $as_echo_n "checking for modff declaration... " >&6; }
66356 if test x${glibcxx_cv_func_modff_use+set} != xset; then
66357 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
66358 $as_echo_n "(cached) " >&6
66359 else
66362 ac_ext=cpp
66363 ac_cpp='$CXXCPP $CPPFLAGS'
66364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66369 /* end confdefs.h. */
66370 #include <math.h>
66372 main ()
66374 modff(0, 0);
66376 return 0;
66378 _ACEOF
66379 if ac_fn_cxx_try_compile "$LINENO"; then :
66380 glibcxx_cv_func_modff_use=yes
66381 else
66382 glibcxx_cv_func_modff_use=no
66384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66385 ac_ext=c
66386 ac_cpp='$CPP $CPPFLAGS'
66387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
66396 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
66398 if test x$glibcxx_cv_func_modff_use = x"yes"; then
66399 for ac_func in modff
66400 do :
66401 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
66402 if test "x$ac_cv_func_modff" = x""yes; then :
66403 cat >>confdefs.h <<_ACEOF
66404 #define HAVE_MODFF 1
66405 _ACEOF
66408 done
66410 else
66412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
66413 $as_echo_n "checking for _modff declaration... " >&6; }
66414 if test x${glibcxx_cv_func__modff_use+set} != xset; then
66415 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
66416 $as_echo_n "(cached) " >&6
66417 else
66420 ac_ext=cpp
66421 ac_cpp='$CXXCPP $CPPFLAGS'
66422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66427 /* end confdefs.h. */
66428 #include <math.h>
66430 main ()
66432 _modff(0, 0);
66434 return 0;
66436 _ACEOF
66437 if ac_fn_cxx_try_compile "$LINENO"; then :
66438 glibcxx_cv_func__modff_use=yes
66439 else
66440 glibcxx_cv_func__modff_use=no
66442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66443 ac_ext=c
66444 ac_cpp='$CPP $CPPFLAGS'
66445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
66454 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
66456 if test x$glibcxx_cv_func__modff_use = x"yes"; then
66457 for ac_func in _modff
66458 do :
66459 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
66460 if test "x$ac_cv_func__modff" = x""yes; then :
66461 cat >>confdefs.h <<_ACEOF
66462 #define HAVE__MODFF 1
66463 _ACEOF
66466 done
66475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
66476 $as_echo_n "checking for modf declaration... " >&6; }
66477 if test x${glibcxx_cv_func_modf_use+set} != xset; then
66478 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
66479 $as_echo_n "(cached) " >&6
66480 else
66483 ac_ext=cpp
66484 ac_cpp='$CXXCPP $CPPFLAGS'
66485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66490 /* end confdefs.h. */
66491 #include <math.h>
66493 main ()
66495 modf(0, 0);
66497 return 0;
66499 _ACEOF
66500 if ac_fn_cxx_try_compile "$LINENO"; then :
66501 glibcxx_cv_func_modf_use=yes
66502 else
66503 glibcxx_cv_func_modf_use=no
66505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66506 ac_ext=c
66507 ac_cpp='$CPP $CPPFLAGS'
66508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
66517 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
66519 if test x$glibcxx_cv_func_modf_use = x"yes"; then
66520 for ac_func in modf
66521 do :
66522 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
66523 if test "x$ac_cv_func_modf" = x""yes; then :
66524 cat >>confdefs.h <<_ACEOF
66525 #define HAVE_MODF 1
66526 _ACEOF
66529 done
66531 else
66533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
66534 $as_echo_n "checking for _modf declaration... " >&6; }
66535 if test x${glibcxx_cv_func__modf_use+set} != xset; then
66536 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
66537 $as_echo_n "(cached) " >&6
66538 else
66541 ac_ext=cpp
66542 ac_cpp='$CXXCPP $CPPFLAGS'
66543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66548 /* end confdefs.h. */
66549 #include <math.h>
66551 main ()
66553 _modf(0, 0);
66555 return 0;
66557 _ACEOF
66558 if ac_fn_cxx_try_compile "$LINENO"; then :
66559 glibcxx_cv_func__modf_use=yes
66560 else
66561 glibcxx_cv_func__modf_use=no
66563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66564 ac_ext=c
66565 ac_cpp='$CPP $CPPFLAGS'
66566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
66575 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
66577 if test x$glibcxx_cv_func__modf_use = x"yes"; then
66578 for ac_func in _modf
66579 do :
66580 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
66581 if test "x$ac_cv_func__modf" = x""yes; then :
66582 cat >>confdefs.h <<_ACEOF
66583 #define HAVE__MODF 1
66584 _ACEOF
66587 done
66596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
66597 $as_echo_n "checking for powf declaration... " >&6; }
66598 if test x${glibcxx_cv_func_powf_use+set} != xset; then
66599 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
66600 $as_echo_n "(cached) " >&6
66601 else
66604 ac_ext=cpp
66605 ac_cpp='$CXXCPP $CPPFLAGS'
66606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66611 /* end confdefs.h. */
66612 #include <math.h>
66614 main ()
66616 powf(0, 0);
66618 return 0;
66620 _ACEOF
66621 if ac_fn_cxx_try_compile "$LINENO"; then :
66622 glibcxx_cv_func_powf_use=yes
66623 else
66624 glibcxx_cv_func_powf_use=no
66626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66627 ac_ext=c
66628 ac_cpp='$CPP $CPPFLAGS'
66629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
66638 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
66640 if test x$glibcxx_cv_func_powf_use = x"yes"; then
66641 for ac_func in powf
66642 do :
66643 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
66644 if test "x$ac_cv_func_powf" = x""yes; then :
66645 cat >>confdefs.h <<_ACEOF
66646 #define HAVE_POWF 1
66647 _ACEOF
66650 done
66652 else
66654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
66655 $as_echo_n "checking for _powf declaration... " >&6; }
66656 if test x${glibcxx_cv_func__powf_use+set} != xset; then
66657 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
66658 $as_echo_n "(cached) " >&6
66659 else
66662 ac_ext=cpp
66663 ac_cpp='$CXXCPP $CPPFLAGS'
66664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66669 /* end confdefs.h. */
66670 #include <math.h>
66672 main ()
66674 _powf(0, 0);
66676 return 0;
66678 _ACEOF
66679 if ac_fn_cxx_try_compile "$LINENO"; then :
66680 glibcxx_cv_func__powf_use=yes
66681 else
66682 glibcxx_cv_func__powf_use=no
66684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66685 ac_ext=c
66686 ac_cpp='$CPP $CPPFLAGS'
66687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
66696 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
66698 if test x$glibcxx_cv_func__powf_use = x"yes"; then
66699 for ac_func in _powf
66700 do :
66701 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
66702 if test "x$ac_cv_func__powf" = x""yes; then :
66703 cat >>confdefs.h <<_ACEOF
66704 #define HAVE__POWF 1
66705 _ACEOF
66708 done
66717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
66718 $as_echo_n "checking for sqrtf declaration... " >&6; }
66719 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
66720 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
66721 $as_echo_n "(cached) " >&6
66722 else
66725 ac_ext=cpp
66726 ac_cpp='$CXXCPP $CPPFLAGS'
66727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66732 /* end confdefs.h. */
66733 #include <math.h>
66734 #ifdef HAVE_IEEEFP_H
66735 #include <ieeefp.h>
66736 #endif
66739 main ()
66741 sqrtf(0);
66743 return 0;
66745 _ACEOF
66746 if ac_fn_cxx_try_compile "$LINENO"; then :
66747 glibcxx_cv_func_sqrtf_use=yes
66748 else
66749 glibcxx_cv_func_sqrtf_use=no
66751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66752 ac_ext=c
66753 ac_cpp='$CPP $CPPFLAGS'
66754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
66763 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
66765 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
66766 for ac_func in sqrtf
66767 do :
66768 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
66769 if test "x$ac_cv_func_sqrtf" = x""yes; then :
66770 cat >>confdefs.h <<_ACEOF
66771 #define HAVE_SQRTF 1
66772 _ACEOF
66775 done
66777 else
66779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
66780 $as_echo_n "checking for _sqrtf declaration... " >&6; }
66781 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
66782 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
66783 $as_echo_n "(cached) " >&6
66784 else
66787 ac_ext=cpp
66788 ac_cpp='$CXXCPP $CPPFLAGS'
66789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66794 /* end confdefs.h. */
66795 #include <math.h>
66796 #ifdef HAVE_IEEEFP_H
66797 #include <ieeefp.h>
66798 #endif
66801 main ()
66803 _sqrtf(0);
66805 return 0;
66807 _ACEOF
66808 if ac_fn_cxx_try_compile "$LINENO"; then :
66809 glibcxx_cv_func__sqrtf_use=yes
66810 else
66811 glibcxx_cv_func__sqrtf_use=no
66813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66814 ac_ext=c
66815 ac_cpp='$CPP $CPPFLAGS'
66816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
66825 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
66827 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
66828 for ac_func in _sqrtf
66829 do :
66830 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
66831 if test "x$ac_cv_func__sqrtf" = x""yes; then :
66832 cat >>confdefs.h <<_ACEOF
66833 #define HAVE__SQRTF 1
66834 _ACEOF
66837 done
66846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
66847 $as_echo_n "checking for sincosf declaration... " >&6; }
66848 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
66849 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
66850 $as_echo_n "(cached) " >&6
66851 else
66854 ac_ext=cpp
66855 ac_cpp='$CXXCPP $CPPFLAGS'
66856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66861 /* end confdefs.h. */
66862 #include <math.h>
66864 main ()
66866 sincosf(0, 0, 0);
66868 return 0;
66870 _ACEOF
66871 if ac_fn_cxx_try_compile "$LINENO"; then :
66872 glibcxx_cv_func_sincosf_use=yes
66873 else
66874 glibcxx_cv_func_sincosf_use=no
66876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66877 ac_ext=c
66878 ac_cpp='$CPP $CPPFLAGS'
66879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
66888 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
66890 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
66891 for ac_func in sincosf
66892 do :
66893 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
66894 if test "x$ac_cv_func_sincosf" = x""yes; then :
66895 cat >>confdefs.h <<_ACEOF
66896 #define HAVE_SINCOSF 1
66897 _ACEOF
66900 done
66902 else
66904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
66905 $as_echo_n "checking for _sincosf declaration... " >&6; }
66906 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
66907 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
66908 $as_echo_n "(cached) " >&6
66909 else
66912 ac_ext=cpp
66913 ac_cpp='$CXXCPP $CPPFLAGS'
66914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66919 /* end confdefs.h. */
66920 #include <math.h>
66922 main ()
66924 _sincosf(0, 0, 0);
66926 return 0;
66928 _ACEOF
66929 if ac_fn_cxx_try_compile "$LINENO"; then :
66930 glibcxx_cv_func__sincosf_use=yes
66931 else
66932 glibcxx_cv_func__sincosf_use=no
66934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66935 ac_ext=c
66936 ac_cpp='$CPP $CPPFLAGS'
66937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
66946 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
66948 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
66949 for ac_func in _sincosf
66950 do :
66951 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
66952 if test "x$ac_cv_func__sincosf" = x""yes; then :
66953 cat >>confdefs.h <<_ACEOF
66954 #define HAVE__SINCOSF 1
66955 _ACEOF
66958 done
66967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
66968 $as_echo_n "checking for finitef declaration... " >&6; }
66969 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
66970 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
66971 $as_echo_n "(cached) " >&6
66972 else
66975 ac_ext=cpp
66976 ac_cpp='$CXXCPP $CPPFLAGS'
66977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66982 /* end confdefs.h. */
66983 #include <math.h>
66984 #ifdef HAVE_IEEEFP_H
66985 #include <ieeefp.h>
66986 #endif
66989 main ()
66991 finitef(0);
66993 return 0;
66995 _ACEOF
66996 if ac_fn_cxx_try_compile "$LINENO"; then :
66997 glibcxx_cv_func_finitef_use=yes
66998 else
66999 glibcxx_cv_func_finitef_use=no
67001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67002 ac_ext=c
67003 ac_cpp='$CPP $CPPFLAGS'
67004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
67013 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
67015 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
67016 for ac_func in finitef
67017 do :
67018 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
67019 if test "x$ac_cv_func_finitef" = x""yes; then :
67020 cat >>confdefs.h <<_ACEOF
67021 #define HAVE_FINITEF 1
67022 _ACEOF
67025 done
67027 else
67029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
67030 $as_echo_n "checking for _finitef declaration... " >&6; }
67031 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
67032 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
67033 $as_echo_n "(cached) " >&6
67034 else
67037 ac_ext=cpp
67038 ac_cpp='$CXXCPP $CPPFLAGS'
67039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67044 /* end confdefs.h. */
67045 #include <math.h>
67046 #ifdef HAVE_IEEEFP_H
67047 #include <ieeefp.h>
67048 #endif
67051 main ()
67053 _finitef(0);
67055 return 0;
67057 _ACEOF
67058 if ac_fn_cxx_try_compile "$LINENO"; then :
67059 glibcxx_cv_func__finitef_use=yes
67060 else
67061 glibcxx_cv_func__finitef_use=no
67063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67064 ac_ext=c
67065 ac_cpp='$CPP $CPPFLAGS'
67066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
67075 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
67077 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
67078 for ac_func in _finitef
67079 do :
67080 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
67081 if test "x$ac_cv_func__finitef" = x""yes; then :
67082 cat >>confdefs.h <<_ACEOF
67083 #define HAVE__FINITEF 1
67084 _ACEOF
67087 done
67096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
67097 $as_echo_n "checking for long double trig functions... " >&6; }
67098 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
67099 $as_echo_n "(cached) " >&6
67100 else
67103 ac_ext=cpp
67104 ac_cpp='$CXXCPP $CPPFLAGS'
67105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67110 /* end confdefs.h. */
67111 #include <math.h>
67113 main ()
67115 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
67117 return 0;
67119 _ACEOF
67120 if ac_fn_cxx_try_compile "$LINENO"; then :
67121 glibcxx_cv_func_long_double_trig_use=yes
67122 else
67123 glibcxx_cv_func_long_double_trig_use=no
67125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67126 ac_ext=c
67127 ac_cpp='$CPP $CPPFLAGS'
67128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
67135 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
67136 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
67137 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
67138 do :
67139 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67140 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67141 eval as_val=\$$as_ac_var
67142 if test "x$as_val" = x""yes; then :
67143 cat >>confdefs.h <<_ACEOF
67144 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67145 _ACEOF
67148 done
67150 else
67151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
67152 $as_echo_n "checking for _long double trig functions... " >&6; }
67153 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
67154 $as_echo_n "(cached) " >&6
67155 else
67158 ac_ext=cpp
67159 ac_cpp='$CXXCPP $CPPFLAGS'
67160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67165 /* end confdefs.h. */
67166 #include <math.h>
67168 main ()
67170 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
67172 return 0;
67174 _ACEOF
67175 if ac_fn_cxx_try_compile "$LINENO"; then :
67176 glibcxx_cv_func__long_double_trig_use=yes
67177 else
67178 glibcxx_cv_func__long_double_trig_use=no
67180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67181 ac_ext=c
67182 ac_cpp='$CPP $CPPFLAGS'
67183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
67190 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
67191 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
67192 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
67193 do :
67194 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67195 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67196 eval as_val=\$$as_ac_var
67197 if test "x$as_val" = x""yes; then :
67198 cat >>confdefs.h <<_ACEOF
67199 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67200 _ACEOF
67203 done
67212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
67213 $as_echo_n "checking for long double round functions... " >&6; }
67214 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
67215 $as_echo_n "(cached) " >&6
67216 else
67219 ac_ext=cpp
67220 ac_cpp='$CXXCPP $CPPFLAGS'
67221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67226 /* end confdefs.h. */
67227 #include <math.h>
67229 main ()
67231 ceill (0); floorl (0);
67233 return 0;
67235 _ACEOF
67236 if ac_fn_cxx_try_compile "$LINENO"; then :
67237 glibcxx_cv_func_long_double_round_use=yes
67238 else
67239 glibcxx_cv_func_long_double_round_use=no
67241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67242 ac_ext=c
67243 ac_cpp='$CPP $CPPFLAGS'
67244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
67251 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
67252 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
67253 for ac_func in ceill floorl
67254 do :
67255 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67256 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67257 eval as_val=\$$as_ac_var
67258 if test "x$as_val" = x""yes; then :
67259 cat >>confdefs.h <<_ACEOF
67260 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67261 _ACEOF
67264 done
67266 else
67267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
67268 $as_echo_n "checking for _long double round functions... " >&6; }
67269 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
67270 $as_echo_n "(cached) " >&6
67271 else
67274 ac_ext=cpp
67275 ac_cpp='$CXXCPP $CPPFLAGS'
67276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67281 /* end confdefs.h. */
67282 #include <math.h>
67284 main ()
67286 _ceill (0); _floorl (0);
67288 return 0;
67290 _ACEOF
67291 if ac_fn_cxx_try_compile "$LINENO"; then :
67292 glibcxx_cv_func__long_double_round_use=yes
67293 else
67294 glibcxx_cv_func__long_double_round_use=no
67296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67297 ac_ext=c
67298 ac_cpp='$CPP $CPPFLAGS'
67299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
67306 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
67307 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
67308 for ac_func in _ceill _floorl
67309 do :
67310 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67311 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67312 eval as_val=\$$as_ac_var
67313 if test "x$as_val" = x""yes; then :
67314 cat >>confdefs.h <<_ACEOF
67315 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67316 _ACEOF
67319 done
67329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
67330 $as_echo_n "checking for isnanl declaration... " >&6; }
67331 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
67332 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
67333 $as_echo_n "(cached) " >&6
67334 else
67337 ac_ext=cpp
67338 ac_cpp='$CXXCPP $CPPFLAGS'
67339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67344 /* end confdefs.h. */
67345 #include <math.h>
67346 #ifdef HAVE_IEEEFP_H
67347 #include <ieeefp.h>
67348 #endif
67351 main ()
67353 isnanl(0);
67355 return 0;
67357 _ACEOF
67358 if ac_fn_cxx_try_compile "$LINENO"; then :
67359 glibcxx_cv_func_isnanl_use=yes
67360 else
67361 glibcxx_cv_func_isnanl_use=no
67363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67364 ac_ext=c
67365 ac_cpp='$CPP $CPPFLAGS'
67366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
67375 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
67377 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
67378 for ac_func in isnanl
67379 do :
67380 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
67381 if test "x$ac_cv_func_isnanl" = x""yes; then :
67382 cat >>confdefs.h <<_ACEOF
67383 #define HAVE_ISNANL 1
67384 _ACEOF
67387 done
67389 else
67391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
67392 $as_echo_n "checking for _isnanl declaration... " >&6; }
67393 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
67394 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
67395 $as_echo_n "(cached) " >&6
67396 else
67399 ac_ext=cpp
67400 ac_cpp='$CXXCPP $CPPFLAGS'
67401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67406 /* end confdefs.h. */
67407 #include <math.h>
67408 #ifdef HAVE_IEEEFP_H
67409 #include <ieeefp.h>
67410 #endif
67413 main ()
67415 _isnanl(0);
67417 return 0;
67419 _ACEOF
67420 if ac_fn_cxx_try_compile "$LINENO"; then :
67421 glibcxx_cv_func__isnanl_use=yes
67422 else
67423 glibcxx_cv_func__isnanl_use=no
67425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67426 ac_ext=c
67427 ac_cpp='$CPP $CPPFLAGS'
67428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
67437 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
67439 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
67440 for ac_func in _isnanl
67441 do :
67442 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
67443 if test "x$ac_cv_func__isnanl" = x""yes; then :
67444 cat >>confdefs.h <<_ACEOF
67445 #define HAVE__ISNANL 1
67446 _ACEOF
67449 done
67458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
67459 $as_echo_n "checking for isinfl declaration... " >&6; }
67460 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
67461 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
67462 $as_echo_n "(cached) " >&6
67463 else
67466 ac_ext=cpp
67467 ac_cpp='$CXXCPP $CPPFLAGS'
67468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67473 /* end confdefs.h. */
67474 #include <math.h>
67475 #ifdef HAVE_IEEEFP_H
67476 #include <ieeefp.h>
67477 #endif
67480 main ()
67482 isinfl(0);
67484 return 0;
67486 _ACEOF
67487 if ac_fn_cxx_try_compile "$LINENO"; then :
67488 glibcxx_cv_func_isinfl_use=yes
67489 else
67490 glibcxx_cv_func_isinfl_use=no
67492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67493 ac_ext=c
67494 ac_cpp='$CPP $CPPFLAGS'
67495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
67504 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
67506 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
67507 for ac_func in isinfl
67508 do :
67509 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
67510 if test "x$ac_cv_func_isinfl" = x""yes; then :
67511 cat >>confdefs.h <<_ACEOF
67512 #define HAVE_ISINFL 1
67513 _ACEOF
67516 done
67518 else
67520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
67521 $as_echo_n "checking for _isinfl declaration... " >&6; }
67522 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
67523 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
67524 $as_echo_n "(cached) " >&6
67525 else
67528 ac_ext=cpp
67529 ac_cpp='$CXXCPP $CPPFLAGS'
67530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67535 /* end confdefs.h. */
67536 #include <math.h>
67537 #ifdef HAVE_IEEEFP_H
67538 #include <ieeefp.h>
67539 #endif
67542 main ()
67544 _isinfl(0);
67546 return 0;
67548 _ACEOF
67549 if ac_fn_cxx_try_compile "$LINENO"; then :
67550 glibcxx_cv_func__isinfl_use=yes
67551 else
67552 glibcxx_cv_func__isinfl_use=no
67554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67555 ac_ext=c
67556 ac_cpp='$CPP $CPPFLAGS'
67557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
67566 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
67568 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
67569 for ac_func in _isinfl
67570 do :
67571 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
67572 if test "x$ac_cv_func__isinfl" = x""yes; then :
67573 cat >>confdefs.h <<_ACEOF
67574 #define HAVE__ISINFL 1
67575 _ACEOF
67578 done
67587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
67588 $as_echo_n "checking for atan2l declaration... " >&6; }
67589 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
67590 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
67591 $as_echo_n "(cached) " >&6
67592 else
67595 ac_ext=cpp
67596 ac_cpp='$CXXCPP $CPPFLAGS'
67597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67602 /* end confdefs.h. */
67603 #include <math.h>
67605 main ()
67607 atan2l(0, 0);
67609 return 0;
67611 _ACEOF
67612 if ac_fn_cxx_try_compile "$LINENO"; then :
67613 glibcxx_cv_func_atan2l_use=yes
67614 else
67615 glibcxx_cv_func_atan2l_use=no
67617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67618 ac_ext=c
67619 ac_cpp='$CPP $CPPFLAGS'
67620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
67629 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
67631 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
67632 for ac_func in atan2l
67633 do :
67634 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
67635 if test "x$ac_cv_func_atan2l" = x""yes; then :
67636 cat >>confdefs.h <<_ACEOF
67637 #define HAVE_ATAN2L 1
67638 _ACEOF
67641 done
67643 else
67645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
67646 $as_echo_n "checking for _atan2l declaration... " >&6; }
67647 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
67648 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
67649 $as_echo_n "(cached) " >&6
67650 else
67653 ac_ext=cpp
67654 ac_cpp='$CXXCPP $CPPFLAGS'
67655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67660 /* end confdefs.h. */
67661 #include <math.h>
67663 main ()
67665 _atan2l(0, 0);
67667 return 0;
67669 _ACEOF
67670 if ac_fn_cxx_try_compile "$LINENO"; then :
67671 glibcxx_cv_func__atan2l_use=yes
67672 else
67673 glibcxx_cv_func__atan2l_use=no
67675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67676 ac_ext=c
67677 ac_cpp='$CPP $CPPFLAGS'
67678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
67687 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
67689 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
67690 for ac_func in _atan2l
67691 do :
67692 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
67693 if test "x$ac_cv_func__atan2l" = x""yes; then :
67694 cat >>confdefs.h <<_ACEOF
67695 #define HAVE__ATAN2L 1
67696 _ACEOF
67699 done
67708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
67709 $as_echo_n "checking for expl declaration... " >&6; }
67710 if test x${glibcxx_cv_func_expl_use+set} != xset; then
67711 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
67712 $as_echo_n "(cached) " >&6
67713 else
67716 ac_ext=cpp
67717 ac_cpp='$CXXCPP $CPPFLAGS'
67718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67723 /* end confdefs.h. */
67724 #include <math.h>
67725 #ifdef HAVE_IEEEFP_H
67726 #include <ieeefp.h>
67727 #endif
67730 main ()
67732 expl(0);
67734 return 0;
67736 _ACEOF
67737 if ac_fn_cxx_try_compile "$LINENO"; then :
67738 glibcxx_cv_func_expl_use=yes
67739 else
67740 glibcxx_cv_func_expl_use=no
67742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67743 ac_ext=c
67744 ac_cpp='$CPP $CPPFLAGS'
67745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
67754 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
67756 if test x$glibcxx_cv_func_expl_use = x"yes"; then
67757 for ac_func in expl
67758 do :
67759 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
67760 if test "x$ac_cv_func_expl" = x""yes; then :
67761 cat >>confdefs.h <<_ACEOF
67762 #define HAVE_EXPL 1
67763 _ACEOF
67766 done
67768 else
67770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
67771 $as_echo_n "checking for _expl declaration... " >&6; }
67772 if test x${glibcxx_cv_func__expl_use+set} != xset; then
67773 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
67774 $as_echo_n "(cached) " >&6
67775 else
67778 ac_ext=cpp
67779 ac_cpp='$CXXCPP $CPPFLAGS'
67780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67785 /* end confdefs.h. */
67786 #include <math.h>
67787 #ifdef HAVE_IEEEFP_H
67788 #include <ieeefp.h>
67789 #endif
67792 main ()
67794 _expl(0);
67796 return 0;
67798 _ACEOF
67799 if ac_fn_cxx_try_compile "$LINENO"; then :
67800 glibcxx_cv_func__expl_use=yes
67801 else
67802 glibcxx_cv_func__expl_use=no
67804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67805 ac_ext=c
67806 ac_cpp='$CPP $CPPFLAGS'
67807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
67816 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
67818 if test x$glibcxx_cv_func__expl_use = x"yes"; then
67819 for ac_func in _expl
67820 do :
67821 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
67822 if test "x$ac_cv_func__expl" = x""yes; then :
67823 cat >>confdefs.h <<_ACEOF
67824 #define HAVE__EXPL 1
67825 _ACEOF
67828 done
67837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
67838 $as_echo_n "checking for fabsl declaration... " >&6; }
67839 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67840 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
67841 $as_echo_n "(cached) " >&6
67842 else
67845 ac_ext=cpp
67846 ac_cpp='$CXXCPP $CPPFLAGS'
67847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67852 /* end confdefs.h. */
67853 #include <math.h>
67854 #ifdef HAVE_IEEEFP_H
67855 #include <ieeefp.h>
67856 #endif
67859 main ()
67861 fabsl(0);
67863 return 0;
67865 _ACEOF
67866 if ac_fn_cxx_try_compile "$LINENO"; then :
67867 glibcxx_cv_func_fabsl_use=yes
67868 else
67869 glibcxx_cv_func_fabsl_use=no
67871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67872 ac_ext=c
67873 ac_cpp='$CPP $CPPFLAGS'
67874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
67883 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
67885 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67886 for ac_func in fabsl
67887 do :
67888 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
67889 if test "x$ac_cv_func_fabsl" = x""yes; then :
67890 cat >>confdefs.h <<_ACEOF
67891 #define HAVE_FABSL 1
67892 _ACEOF
67895 done
67897 else
67899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
67900 $as_echo_n "checking for _fabsl declaration... " >&6; }
67901 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67902 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
67903 $as_echo_n "(cached) " >&6
67904 else
67907 ac_ext=cpp
67908 ac_cpp='$CXXCPP $CPPFLAGS'
67909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67914 /* end confdefs.h. */
67915 #include <math.h>
67916 #ifdef HAVE_IEEEFP_H
67917 #include <ieeefp.h>
67918 #endif
67921 main ()
67923 _fabsl(0);
67925 return 0;
67927 _ACEOF
67928 if ac_fn_cxx_try_compile "$LINENO"; then :
67929 glibcxx_cv_func__fabsl_use=yes
67930 else
67931 glibcxx_cv_func__fabsl_use=no
67933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67934 ac_ext=c
67935 ac_cpp='$CPP $CPPFLAGS'
67936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
67945 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
67947 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
67948 for ac_func in _fabsl
67949 do :
67950 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
67951 if test "x$ac_cv_func__fabsl" = x""yes; then :
67952 cat >>confdefs.h <<_ACEOF
67953 #define HAVE__FABSL 1
67954 _ACEOF
67957 done
67966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
67967 $as_echo_n "checking for fmodl declaration... " >&6; }
67968 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
67969 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
67970 $as_echo_n "(cached) " >&6
67971 else
67974 ac_ext=cpp
67975 ac_cpp='$CXXCPP $CPPFLAGS'
67976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67981 /* end confdefs.h. */
67982 #include <math.h>
67984 main ()
67986 fmodl(0, 0);
67988 return 0;
67990 _ACEOF
67991 if ac_fn_cxx_try_compile "$LINENO"; then :
67992 glibcxx_cv_func_fmodl_use=yes
67993 else
67994 glibcxx_cv_func_fmodl_use=no
67996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67997 ac_ext=c
67998 ac_cpp='$CPP $CPPFLAGS'
67999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
68008 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
68010 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
68011 for ac_func in fmodl
68012 do :
68013 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
68014 if test "x$ac_cv_func_fmodl" = x""yes; then :
68015 cat >>confdefs.h <<_ACEOF
68016 #define HAVE_FMODL 1
68017 _ACEOF
68020 done
68022 else
68024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
68025 $as_echo_n "checking for _fmodl declaration... " >&6; }
68026 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
68027 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
68028 $as_echo_n "(cached) " >&6
68029 else
68032 ac_ext=cpp
68033 ac_cpp='$CXXCPP $CPPFLAGS'
68034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68039 /* end confdefs.h. */
68040 #include <math.h>
68042 main ()
68044 _fmodl(0, 0);
68046 return 0;
68048 _ACEOF
68049 if ac_fn_cxx_try_compile "$LINENO"; then :
68050 glibcxx_cv_func__fmodl_use=yes
68051 else
68052 glibcxx_cv_func__fmodl_use=no
68054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68055 ac_ext=c
68056 ac_cpp='$CPP $CPPFLAGS'
68057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
68066 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
68068 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
68069 for ac_func in _fmodl
68070 do :
68071 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
68072 if test "x$ac_cv_func__fmodl" = x""yes; then :
68073 cat >>confdefs.h <<_ACEOF
68074 #define HAVE__FMODL 1
68075 _ACEOF
68078 done
68087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
68088 $as_echo_n "checking for frexpl declaration... " >&6; }
68089 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
68090 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
68091 $as_echo_n "(cached) " >&6
68092 else
68095 ac_ext=cpp
68096 ac_cpp='$CXXCPP $CPPFLAGS'
68097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68102 /* end confdefs.h. */
68103 #include <math.h>
68105 main ()
68107 frexpl(0, 0);
68109 return 0;
68111 _ACEOF
68112 if ac_fn_cxx_try_compile "$LINENO"; then :
68113 glibcxx_cv_func_frexpl_use=yes
68114 else
68115 glibcxx_cv_func_frexpl_use=no
68117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68118 ac_ext=c
68119 ac_cpp='$CPP $CPPFLAGS'
68120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
68129 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
68131 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68132 for ac_func in frexpl
68133 do :
68134 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
68135 if test "x$ac_cv_func_frexpl" = x""yes; then :
68136 cat >>confdefs.h <<_ACEOF
68137 #define HAVE_FREXPL 1
68138 _ACEOF
68141 done
68143 else
68145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
68146 $as_echo_n "checking for _frexpl declaration... " >&6; }
68147 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68148 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
68149 $as_echo_n "(cached) " >&6
68150 else
68153 ac_ext=cpp
68154 ac_cpp='$CXXCPP $CPPFLAGS'
68155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68160 /* end confdefs.h. */
68161 #include <math.h>
68163 main ()
68165 _frexpl(0, 0);
68167 return 0;
68169 _ACEOF
68170 if ac_fn_cxx_try_compile "$LINENO"; then :
68171 glibcxx_cv_func__frexpl_use=yes
68172 else
68173 glibcxx_cv_func__frexpl_use=no
68175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68176 ac_ext=c
68177 ac_cpp='$CPP $CPPFLAGS'
68178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
68187 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
68189 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68190 for ac_func in _frexpl
68191 do :
68192 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
68193 if test "x$ac_cv_func__frexpl" = x""yes; then :
68194 cat >>confdefs.h <<_ACEOF
68195 #define HAVE__FREXPL 1
68196 _ACEOF
68199 done
68208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
68209 $as_echo_n "checking for hypotl declaration... " >&6; }
68210 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68211 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
68212 $as_echo_n "(cached) " >&6
68213 else
68216 ac_ext=cpp
68217 ac_cpp='$CXXCPP $CPPFLAGS'
68218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68223 /* end confdefs.h. */
68224 #include <math.h>
68226 main ()
68228 hypotl(0, 0);
68230 return 0;
68232 _ACEOF
68233 if ac_fn_cxx_try_compile "$LINENO"; then :
68234 glibcxx_cv_func_hypotl_use=yes
68235 else
68236 glibcxx_cv_func_hypotl_use=no
68238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68239 ac_ext=c
68240 ac_cpp='$CPP $CPPFLAGS'
68241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
68250 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
68252 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68253 for ac_func in hypotl
68254 do :
68255 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
68256 if test "x$ac_cv_func_hypotl" = x""yes; then :
68257 cat >>confdefs.h <<_ACEOF
68258 #define HAVE_HYPOTL 1
68259 _ACEOF
68262 done
68264 else
68266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
68267 $as_echo_n "checking for _hypotl declaration... " >&6; }
68268 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68269 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
68270 $as_echo_n "(cached) " >&6
68271 else
68274 ac_ext=cpp
68275 ac_cpp='$CXXCPP $CPPFLAGS'
68276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68281 /* end confdefs.h. */
68282 #include <math.h>
68284 main ()
68286 _hypotl(0, 0);
68288 return 0;
68290 _ACEOF
68291 if ac_fn_cxx_try_compile "$LINENO"; then :
68292 glibcxx_cv_func__hypotl_use=yes
68293 else
68294 glibcxx_cv_func__hypotl_use=no
68296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68297 ac_ext=c
68298 ac_cpp='$CPP $CPPFLAGS'
68299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
68308 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
68310 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68311 for ac_func in _hypotl
68312 do :
68313 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
68314 if test "x$ac_cv_func__hypotl" = x""yes; then :
68315 cat >>confdefs.h <<_ACEOF
68316 #define HAVE__HYPOTL 1
68317 _ACEOF
68320 done
68329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
68330 $as_echo_n "checking for ldexpl declaration... " >&6; }
68331 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68332 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
68333 $as_echo_n "(cached) " >&6
68334 else
68337 ac_ext=cpp
68338 ac_cpp='$CXXCPP $CPPFLAGS'
68339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68344 /* end confdefs.h. */
68345 #include <math.h>
68347 main ()
68349 ldexpl(0, 0);
68351 return 0;
68353 _ACEOF
68354 if ac_fn_cxx_try_compile "$LINENO"; then :
68355 glibcxx_cv_func_ldexpl_use=yes
68356 else
68357 glibcxx_cv_func_ldexpl_use=no
68359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68360 ac_ext=c
68361 ac_cpp='$CPP $CPPFLAGS'
68362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
68371 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
68373 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68374 for ac_func in ldexpl
68375 do :
68376 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
68377 if test "x$ac_cv_func_ldexpl" = x""yes; then :
68378 cat >>confdefs.h <<_ACEOF
68379 #define HAVE_LDEXPL 1
68380 _ACEOF
68383 done
68385 else
68387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
68388 $as_echo_n "checking for _ldexpl declaration... " >&6; }
68389 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68390 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
68391 $as_echo_n "(cached) " >&6
68392 else
68395 ac_ext=cpp
68396 ac_cpp='$CXXCPP $CPPFLAGS'
68397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68402 /* end confdefs.h. */
68403 #include <math.h>
68405 main ()
68407 _ldexpl(0, 0);
68409 return 0;
68411 _ACEOF
68412 if ac_fn_cxx_try_compile "$LINENO"; then :
68413 glibcxx_cv_func__ldexpl_use=yes
68414 else
68415 glibcxx_cv_func__ldexpl_use=no
68417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68418 ac_ext=c
68419 ac_cpp='$CPP $CPPFLAGS'
68420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
68429 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
68431 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68432 for ac_func in _ldexpl
68433 do :
68434 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
68435 if test "x$ac_cv_func__ldexpl" = x""yes; then :
68436 cat >>confdefs.h <<_ACEOF
68437 #define HAVE__LDEXPL 1
68438 _ACEOF
68441 done
68450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
68451 $as_echo_n "checking for logl declaration... " >&6; }
68452 if test x${glibcxx_cv_func_logl_use+set} != xset; then
68453 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
68454 $as_echo_n "(cached) " >&6
68455 else
68458 ac_ext=cpp
68459 ac_cpp='$CXXCPP $CPPFLAGS'
68460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68465 /* end confdefs.h. */
68466 #include <math.h>
68467 #ifdef HAVE_IEEEFP_H
68468 #include <ieeefp.h>
68469 #endif
68472 main ()
68474 logl(0);
68476 return 0;
68478 _ACEOF
68479 if ac_fn_cxx_try_compile "$LINENO"; then :
68480 glibcxx_cv_func_logl_use=yes
68481 else
68482 glibcxx_cv_func_logl_use=no
68484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68485 ac_ext=c
68486 ac_cpp='$CPP $CPPFLAGS'
68487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
68496 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
68498 if test x$glibcxx_cv_func_logl_use = x"yes"; then
68499 for ac_func in logl
68500 do :
68501 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
68502 if test "x$ac_cv_func_logl" = x""yes; then :
68503 cat >>confdefs.h <<_ACEOF
68504 #define HAVE_LOGL 1
68505 _ACEOF
68508 done
68510 else
68512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
68513 $as_echo_n "checking for _logl declaration... " >&6; }
68514 if test x${glibcxx_cv_func__logl_use+set} != xset; then
68515 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
68516 $as_echo_n "(cached) " >&6
68517 else
68520 ac_ext=cpp
68521 ac_cpp='$CXXCPP $CPPFLAGS'
68522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68527 /* end confdefs.h. */
68528 #include <math.h>
68529 #ifdef HAVE_IEEEFP_H
68530 #include <ieeefp.h>
68531 #endif
68534 main ()
68536 _logl(0);
68538 return 0;
68540 _ACEOF
68541 if ac_fn_cxx_try_compile "$LINENO"; then :
68542 glibcxx_cv_func__logl_use=yes
68543 else
68544 glibcxx_cv_func__logl_use=no
68546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68547 ac_ext=c
68548 ac_cpp='$CPP $CPPFLAGS'
68549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
68558 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
68560 if test x$glibcxx_cv_func__logl_use = x"yes"; then
68561 for ac_func in _logl
68562 do :
68563 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
68564 if test "x$ac_cv_func__logl" = x""yes; then :
68565 cat >>confdefs.h <<_ACEOF
68566 #define HAVE__LOGL 1
68567 _ACEOF
68570 done
68579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
68580 $as_echo_n "checking for log10l declaration... " >&6; }
68581 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68582 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
68583 $as_echo_n "(cached) " >&6
68584 else
68587 ac_ext=cpp
68588 ac_cpp='$CXXCPP $CPPFLAGS'
68589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68594 /* end confdefs.h. */
68595 #include <math.h>
68596 #ifdef HAVE_IEEEFP_H
68597 #include <ieeefp.h>
68598 #endif
68601 main ()
68603 log10l(0);
68605 return 0;
68607 _ACEOF
68608 if ac_fn_cxx_try_compile "$LINENO"; then :
68609 glibcxx_cv_func_log10l_use=yes
68610 else
68611 glibcxx_cv_func_log10l_use=no
68613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68614 ac_ext=c
68615 ac_cpp='$CPP $CPPFLAGS'
68616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
68625 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
68627 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68628 for ac_func in log10l
68629 do :
68630 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
68631 if test "x$ac_cv_func_log10l" = x""yes; then :
68632 cat >>confdefs.h <<_ACEOF
68633 #define HAVE_LOG10L 1
68634 _ACEOF
68637 done
68639 else
68641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
68642 $as_echo_n "checking for _log10l declaration... " >&6; }
68643 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68644 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
68645 $as_echo_n "(cached) " >&6
68646 else
68649 ac_ext=cpp
68650 ac_cpp='$CXXCPP $CPPFLAGS'
68651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68656 /* end confdefs.h. */
68657 #include <math.h>
68658 #ifdef HAVE_IEEEFP_H
68659 #include <ieeefp.h>
68660 #endif
68663 main ()
68665 _log10l(0);
68667 return 0;
68669 _ACEOF
68670 if ac_fn_cxx_try_compile "$LINENO"; then :
68671 glibcxx_cv_func__log10l_use=yes
68672 else
68673 glibcxx_cv_func__log10l_use=no
68675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68676 ac_ext=c
68677 ac_cpp='$CPP $CPPFLAGS'
68678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
68687 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
68689 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68690 for ac_func in _log10l
68691 do :
68692 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
68693 if test "x$ac_cv_func__log10l" = x""yes; then :
68694 cat >>confdefs.h <<_ACEOF
68695 #define HAVE__LOG10L 1
68696 _ACEOF
68699 done
68708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
68709 $as_echo_n "checking for modfl declaration... " >&6; }
68710 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68711 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
68712 $as_echo_n "(cached) " >&6
68713 else
68716 ac_ext=cpp
68717 ac_cpp='$CXXCPP $CPPFLAGS'
68718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68723 /* end confdefs.h. */
68724 #include <math.h>
68726 main ()
68728 modfl(0, 0);
68730 return 0;
68732 _ACEOF
68733 if ac_fn_cxx_try_compile "$LINENO"; then :
68734 glibcxx_cv_func_modfl_use=yes
68735 else
68736 glibcxx_cv_func_modfl_use=no
68738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68739 ac_ext=c
68740 ac_cpp='$CPP $CPPFLAGS'
68741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
68750 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
68752 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68753 for ac_func in modfl
68754 do :
68755 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
68756 if test "x$ac_cv_func_modfl" = x""yes; then :
68757 cat >>confdefs.h <<_ACEOF
68758 #define HAVE_MODFL 1
68759 _ACEOF
68762 done
68764 else
68766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
68767 $as_echo_n "checking for _modfl declaration... " >&6; }
68768 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68769 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
68770 $as_echo_n "(cached) " >&6
68771 else
68774 ac_ext=cpp
68775 ac_cpp='$CXXCPP $CPPFLAGS'
68776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68781 /* end confdefs.h. */
68782 #include <math.h>
68784 main ()
68786 _modfl(0, 0);
68788 return 0;
68790 _ACEOF
68791 if ac_fn_cxx_try_compile "$LINENO"; then :
68792 glibcxx_cv_func__modfl_use=yes
68793 else
68794 glibcxx_cv_func__modfl_use=no
68796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68797 ac_ext=c
68798 ac_cpp='$CPP $CPPFLAGS'
68799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
68808 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
68810 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68811 for ac_func in _modfl
68812 do :
68813 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
68814 if test "x$ac_cv_func__modfl" = x""yes; then :
68815 cat >>confdefs.h <<_ACEOF
68816 #define HAVE__MODFL 1
68817 _ACEOF
68820 done
68829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
68830 $as_echo_n "checking for powl declaration... " >&6; }
68831 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68832 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
68833 $as_echo_n "(cached) " >&6
68834 else
68837 ac_ext=cpp
68838 ac_cpp='$CXXCPP $CPPFLAGS'
68839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68844 /* end confdefs.h. */
68845 #include <math.h>
68847 main ()
68849 powl(0, 0);
68851 return 0;
68853 _ACEOF
68854 if ac_fn_cxx_try_compile "$LINENO"; then :
68855 glibcxx_cv_func_powl_use=yes
68856 else
68857 glibcxx_cv_func_powl_use=no
68859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68860 ac_ext=c
68861 ac_cpp='$CPP $CPPFLAGS'
68862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
68871 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
68873 if test x$glibcxx_cv_func_powl_use = x"yes"; then
68874 for ac_func in powl
68875 do :
68876 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
68877 if test "x$ac_cv_func_powl" = x""yes; then :
68878 cat >>confdefs.h <<_ACEOF
68879 #define HAVE_POWL 1
68880 _ACEOF
68883 done
68885 else
68887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
68888 $as_echo_n "checking for _powl declaration... " >&6; }
68889 if test x${glibcxx_cv_func__powl_use+set} != xset; then
68890 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
68891 $as_echo_n "(cached) " >&6
68892 else
68895 ac_ext=cpp
68896 ac_cpp='$CXXCPP $CPPFLAGS'
68897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68902 /* end confdefs.h. */
68903 #include <math.h>
68905 main ()
68907 _powl(0, 0);
68909 return 0;
68911 _ACEOF
68912 if ac_fn_cxx_try_compile "$LINENO"; then :
68913 glibcxx_cv_func__powl_use=yes
68914 else
68915 glibcxx_cv_func__powl_use=no
68917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68918 ac_ext=c
68919 ac_cpp='$CPP $CPPFLAGS'
68920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
68929 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
68931 if test x$glibcxx_cv_func__powl_use = x"yes"; then
68932 for ac_func in _powl
68933 do :
68934 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
68935 if test "x$ac_cv_func__powl" = x""yes; then :
68936 cat >>confdefs.h <<_ACEOF
68937 #define HAVE__POWL 1
68938 _ACEOF
68941 done
68950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
68951 $as_echo_n "checking for sqrtl declaration... " >&6; }
68952 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
68953 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
68954 $as_echo_n "(cached) " >&6
68955 else
68958 ac_ext=cpp
68959 ac_cpp='$CXXCPP $CPPFLAGS'
68960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68965 /* end confdefs.h. */
68966 #include <math.h>
68967 #ifdef HAVE_IEEEFP_H
68968 #include <ieeefp.h>
68969 #endif
68972 main ()
68974 sqrtl(0);
68976 return 0;
68978 _ACEOF
68979 if ac_fn_cxx_try_compile "$LINENO"; then :
68980 glibcxx_cv_func_sqrtl_use=yes
68981 else
68982 glibcxx_cv_func_sqrtl_use=no
68984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68985 ac_ext=c
68986 ac_cpp='$CPP $CPPFLAGS'
68987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
68996 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
68998 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
68999 for ac_func in sqrtl
69000 do :
69001 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
69002 if test "x$ac_cv_func_sqrtl" = x""yes; then :
69003 cat >>confdefs.h <<_ACEOF
69004 #define HAVE_SQRTL 1
69005 _ACEOF
69008 done
69010 else
69012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
69013 $as_echo_n "checking for _sqrtl declaration... " >&6; }
69014 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69015 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
69016 $as_echo_n "(cached) " >&6
69017 else
69020 ac_ext=cpp
69021 ac_cpp='$CXXCPP $CPPFLAGS'
69022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69027 /* end confdefs.h. */
69028 #include <math.h>
69029 #ifdef HAVE_IEEEFP_H
69030 #include <ieeefp.h>
69031 #endif
69034 main ()
69036 _sqrtl(0);
69038 return 0;
69040 _ACEOF
69041 if ac_fn_cxx_try_compile "$LINENO"; then :
69042 glibcxx_cv_func__sqrtl_use=yes
69043 else
69044 glibcxx_cv_func__sqrtl_use=no
69046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69047 ac_ext=c
69048 ac_cpp='$CPP $CPPFLAGS'
69049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
69058 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
69060 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69061 for ac_func in _sqrtl
69062 do :
69063 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
69064 if test "x$ac_cv_func__sqrtl" = x""yes; then :
69065 cat >>confdefs.h <<_ACEOF
69066 #define HAVE__SQRTL 1
69067 _ACEOF
69070 done
69079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
69080 $as_echo_n "checking for sincosl declaration... " >&6; }
69081 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69082 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
69083 $as_echo_n "(cached) " >&6
69084 else
69087 ac_ext=cpp
69088 ac_cpp='$CXXCPP $CPPFLAGS'
69089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69094 /* end confdefs.h. */
69095 #include <math.h>
69097 main ()
69099 sincosl(0, 0, 0);
69101 return 0;
69103 _ACEOF
69104 if ac_fn_cxx_try_compile "$LINENO"; then :
69105 glibcxx_cv_func_sincosl_use=yes
69106 else
69107 glibcxx_cv_func_sincosl_use=no
69109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69110 ac_ext=c
69111 ac_cpp='$CPP $CPPFLAGS'
69112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
69121 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
69123 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69124 for ac_func in sincosl
69125 do :
69126 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
69127 if test "x$ac_cv_func_sincosl" = x""yes; then :
69128 cat >>confdefs.h <<_ACEOF
69129 #define HAVE_SINCOSL 1
69130 _ACEOF
69133 done
69135 else
69137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
69138 $as_echo_n "checking for _sincosl declaration... " >&6; }
69139 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69140 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
69141 $as_echo_n "(cached) " >&6
69142 else
69145 ac_ext=cpp
69146 ac_cpp='$CXXCPP $CPPFLAGS'
69147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69152 /* end confdefs.h. */
69153 #include <math.h>
69155 main ()
69157 _sincosl(0, 0, 0);
69159 return 0;
69161 _ACEOF
69162 if ac_fn_cxx_try_compile "$LINENO"; then :
69163 glibcxx_cv_func__sincosl_use=yes
69164 else
69165 glibcxx_cv_func__sincosl_use=no
69167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69168 ac_ext=c
69169 ac_cpp='$CPP $CPPFLAGS'
69170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
69179 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
69181 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69182 for ac_func in _sincosl
69183 do :
69184 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
69185 if test "x$ac_cv_func__sincosl" = x""yes; then :
69186 cat >>confdefs.h <<_ACEOF
69187 #define HAVE__SINCOSL 1
69188 _ACEOF
69191 done
69200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
69201 $as_echo_n "checking for finitel declaration... " >&6; }
69202 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69203 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
69204 $as_echo_n "(cached) " >&6
69205 else
69208 ac_ext=cpp
69209 ac_cpp='$CXXCPP $CPPFLAGS'
69210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69215 /* end confdefs.h. */
69216 #include <math.h>
69217 #ifdef HAVE_IEEEFP_H
69218 #include <ieeefp.h>
69219 #endif
69222 main ()
69224 finitel(0);
69226 return 0;
69228 _ACEOF
69229 if ac_fn_cxx_try_compile "$LINENO"; then :
69230 glibcxx_cv_func_finitel_use=yes
69231 else
69232 glibcxx_cv_func_finitel_use=no
69234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69235 ac_ext=c
69236 ac_cpp='$CPP $CPPFLAGS'
69237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
69246 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
69248 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69249 for ac_func in finitel
69250 do :
69251 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
69252 if test "x$ac_cv_func_finitel" = x""yes; then :
69253 cat >>confdefs.h <<_ACEOF
69254 #define HAVE_FINITEL 1
69255 _ACEOF
69258 done
69260 else
69262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
69263 $as_echo_n "checking for _finitel declaration... " >&6; }
69264 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69265 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
69266 $as_echo_n "(cached) " >&6
69267 else
69270 ac_ext=cpp
69271 ac_cpp='$CXXCPP $CPPFLAGS'
69272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69277 /* end confdefs.h. */
69278 #include <math.h>
69279 #ifdef HAVE_IEEEFP_H
69280 #include <ieeefp.h>
69281 #endif
69284 main ()
69286 _finitel(0);
69288 return 0;
69290 _ACEOF
69291 if ac_fn_cxx_try_compile "$LINENO"; then :
69292 glibcxx_cv_func__finitel_use=yes
69293 else
69294 glibcxx_cv_func__finitel_use=no
69296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69297 ac_ext=c
69298 ac_cpp='$CPP $CPPFLAGS'
69299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
69308 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
69310 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69311 for ac_func in _finitel
69312 do :
69313 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
69314 if test "x$ac_cv_func__finitel" = x""yes; then :
69315 cat >>confdefs.h <<_ACEOF
69316 #define HAVE__FINITEL 1
69317 _ACEOF
69320 done
69328 LIBS="$ac_save_LIBS"
69329 CXXFLAGS="$ac_save_CXXFLAGS"
69332 ac_test_CXXFLAGS="${CXXFLAGS+set}"
69333 ac_save_CXXFLAGS="$CXXFLAGS"
69334 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
69337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
69338 $as_echo_n "checking for strtold declaration... " >&6; }
69339 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
69340 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
69341 $as_echo_n "(cached) " >&6
69342 else
69345 ac_ext=cpp
69346 ac_cpp='$CXXCPP $CPPFLAGS'
69347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69352 /* end confdefs.h. */
69353 #include <stdlib.h>
69355 main ()
69357 strtold(0, 0);
69359 return 0;
69361 _ACEOF
69362 if ac_fn_cxx_try_compile "$LINENO"; then :
69363 glibcxx_cv_func_strtold_use=yes
69364 else
69365 glibcxx_cv_func_strtold_use=no
69367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69368 ac_ext=c
69369 ac_cpp='$CPP $CPPFLAGS'
69370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
69379 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
69380 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
69381 for ac_func in strtold
69382 do :
69383 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
69384 if test "x$ac_cv_func_strtold" = x""yes; then :
69385 cat >>confdefs.h <<_ACEOF
69386 #define HAVE_STRTOLD 1
69387 _ACEOF
69390 done
69397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
69398 $as_echo_n "checking for strtof declaration... " >&6; }
69399 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
69400 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
69401 $as_echo_n "(cached) " >&6
69402 else
69405 ac_ext=cpp
69406 ac_cpp='$CXXCPP $CPPFLAGS'
69407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69412 /* end confdefs.h. */
69413 #include <stdlib.h>
69415 main ()
69417 strtof(0, 0);
69419 return 0;
69421 _ACEOF
69422 if ac_fn_cxx_try_compile "$LINENO"; then :
69423 glibcxx_cv_func_strtof_use=yes
69424 else
69425 glibcxx_cv_func_strtof_use=no
69427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69428 ac_ext=c
69429 ac_cpp='$CPP $CPPFLAGS'
69430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
69439 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
69440 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
69441 for ac_func in strtof
69442 do :
69443 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
69444 if test "x$ac_cv_func_strtof" = x""yes; then :
69445 cat >>confdefs.h <<_ACEOF
69446 #define HAVE_STRTOF 1
69447 _ACEOF
69450 done
69457 CXXFLAGS="$ac_save_CXXFLAGS"
69460 *-vxworks)
69461 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
69463 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
69465 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
69467 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
69469 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
69471 $as_echo "#define HAVE_COSF 1" >>confdefs.h
69473 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
69475 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
69477 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
69479 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
69481 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
69483 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
69485 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
69487 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
69489 $as_echo "#define HAVE_POWF 1" >>confdefs.h
69491 $as_echo "#define HAVE_SINF 1" >>confdefs.h
69493 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
69495 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
69497 $as_echo "#define HAVE_TANF 1" >>confdefs.h
69499 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
69503 as_fn_error "No support for this host/target combination." "$LINENO" 5
69505 esac
69509 # At some point, we should differentiate between architectures
69510 # like x86, which have long double versions, and alpha/powerpc/etc.,
69511 # which don't. For the time being, punt.
69512 if test x"long_double_math_on_this_cpu" = x"yes"; then
69513 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
69515 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
69517 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
69519 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
69521 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
69523 $as_echo "#define HAVE_COSL 1" >>confdefs.h
69525 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
69527 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
69529 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
69531 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
69533 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
69535 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
69537 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
69539 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
69541 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
69543 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
69545 $as_echo "#define HAVE_POWL 1" >>confdefs.h
69547 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
69549 $as_echo "#define HAVE_SINL 1" >>confdefs.h
69551 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
69553 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
69555 $as_echo "#define HAVE_TANL 1" >>confdefs.h
69557 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
69562 # Check for _Unwind_GetIPInfo.
69565 # Check whether --with-system-libunwind was given.
69566 if test "${with_system_libunwind+set}" = set; then :
69567 withval=$with_system_libunwind;
69570 # If system-libunwind was not specifically set, pick a default setting.
69571 if test x$with_system_libunwind = x; then
69572 case ${target} in
69573 ia64-*-hpux*) with_system_libunwind=yes ;;
69574 *) with_system_libunwind=no ;;
69575 esac
69577 # Based on system-libunwind and target, do we have ipinfo?
69578 if test x$with_system_libunwind = xyes; then
69579 case ${target} in
69580 ia64-*-*) have_unwind_getipinfo=no ;;
69581 *) have_unwind_getipinfo=yes ;;
69582 esac
69583 else
69584 # Darwin before version 9 does not have _Unwind_GetIPInfo.
69586 case ${target} in
69587 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
69588 *) have_unwind_getipinfo=yes ;;
69589 esac
69593 if test x$have_unwind_getipinfo = xyes; then
69595 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
69600 # Check whether --enable-linux-futex was given.
69601 if test "${enable_linux_futex+set}" = set; then :
69602 enableval=$enable_linux_futex;
69603 case "$enableval" in
69604 yes|no|default) ;;
69605 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
69606 esac
69608 else
69609 enable_linux_futex=default
69613 case "$target" in
69614 *-linux*)
69615 case "$enable_linux_futex" in
69616 default)
69617 # If headers don't have gettid/futex syscalls definition, then
69618 # default to no, otherwise there will be compile time failures.
69619 # Otherwise, default to yes. If we don't detect we are
69620 # compiled/linked against NPTL and not cross-compiling, check
69621 # if programs are run by default against NPTL and if not, issue
69622 # a warning.
69623 enable_linux_futex=no
69624 if test x$gcc_no_link = xyes; then
69625 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69628 /* end confdefs.h. */
69629 #include <sys/syscall.h>
69630 int lk;
69632 main ()
69634 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69636 return 0;
69638 _ACEOF
69639 if ac_fn_c_try_link "$LINENO"; then :
69640 save_LIBS="$LIBS"
69641 LIBS="-lpthread $LIBS"
69642 if test x$gcc_no_link = xyes; then
69643 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69646 /* end confdefs.h. */
69647 #ifndef _GNU_SOURCE
69648 #define _GNU_SOURCE 1
69649 #endif
69650 #include <pthread.h>
69651 pthread_t th; void *status;
69653 main ()
69655 pthread_tryjoin_np (th, &status);
69657 return 0;
69659 _ACEOF
69660 if ac_fn_c_try_link "$LINENO"; then :
69661 enable_linux_futex=yes
69662 else
69663 if test x$cross_compiling = xno; then
69664 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
69665 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
69666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
69667 If so, please configure with --disable-linux-futex" >&5
69668 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
69669 If so, please configure with --disable-linux-futex" >&2;}
69672 enable_linux_futex=yes
69674 rm -f core conftest.err conftest.$ac_objext \
69675 conftest$ac_exeext conftest.$ac_ext
69676 LIBS="$save_LIBS"
69678 rm -f core conftest.err conftest.$ac_objext \
69679 conftest$ac_exeext conftest.$ac_ext
69681 yes)
69682 if test x$gcc_no_link = xyes; then
69683 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69686 /* end confdefs.h. */
69687 #include <sys/syscall.h>
69688 int lk;
69690 main ()
69692 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69694 return 0;
69696 _ACEOF
69697 if ac_fn_c_try_link "$LINENO"; then :
69699 else
69700 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
69702 rm -f core conftest.err conftest.$ac_objext \
69703 conftest$ac_exeext conftest.$ac_ext
69705 esac
69708 enable_linux_futex=no
69710 esac
69711 if test x$enable_linux_futex = xyes; then
69713 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
69720 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
69722 acx_cv_header_stdint=stddef.h
69723 acx_cv_header_stdint_kind="(already complete)"
69724 for i in stdint.h $inttype_headers; do
69725 unset ac_cv_type_uintptr_t
69726 unset ac_cv_type_uintmax_t
69727 unset ac_cv_type_int_least32_t
69728 unset ac_cv_type_int_fast32_t
69729 unset ac_cv_type_uint64_t
69730 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
69731 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
69732 #include <$i>
69734 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
69735 acx_cv_header_stdint=$i
69736 else
69737 continue
69740 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69741 #include <$i>
69743 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69745 else
69746 acx_cv_header_stdint_kind="(mostly complete)"
69749 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
69750 #include <$i>
69752 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
69754 else
69755 acx_cv_header_stdint_kind="(mostly complete)"
69758 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
69759 #include <$i>
69761 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
69763 else
69764 acx_cv_header_stdint_kind="(mostly complete)"
69767 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69768 #include <$i>
69770 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69772 else
69773 acx_cv_header_stdint_kind="(lacks uint64_t)"
69776 break
69777 done
69778 if test "$acx_cv_header_stdint" = stddef.h; then
69779 acx_cv_header_stdint_kind="(lacks uintmax_t)"
69780 for i in stdint.h $inttype_headers; do
69781 unset ac_cv_type_uintptr_t
69782 unset ac_cv_type_uint32_t
69783 unset ac_cv_type_uint64_t
69784 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
69785 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
69786 #include <$i>
69788 if test "x$ac_cv_type_uint32_t" = x""yes; then :
69789 acx_cv_header_stdint=$i
69790 else
69791 continue
69794 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69795 #include <$i>
69797 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69801 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69802 #include <$i>
69804 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69808 break
69809 done
69811 if test "$acx_cv_header_stdint" = stddef.h; then
69812 acx_cv_header_stdint_kind="(u_intXX_t style)"
69813 for i in sys/types.h $inttype_headers; do
69814 unset ac_cv_type_u_int32_t
69815 unset ac_cv_type_u_int64_t
69816 $as_echo_n "looking for u_intXX_t types in $i, " >&6
69817 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
69818 #include <$i>
69820 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
69821 acx_cv_header_stdint=$i
69822 else
69823 continue
69826 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
69827 #include <$i>
69829 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
69833 break
69834 done
69836 if test "$acx_cv_header_stdint" = stddef.h; then
69837 acx_cv_header_stdint_kind="(using manual detection)"
69840 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
69841 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
69842 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
69843 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
69844 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
69846 # ----------------- Summarize what we found so far
69848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
69849 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
69851 case `$as_basename -- include/gstdint.h ||
69852 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
69853 Xinclude/gstdint.h : 'X\(//\)$' \| \
69854 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
69855 $as_echo X/include/gstdint.h |
69856 sed '/^.*\/\([^/][^/]*\)\/*$/{
69857 s//\1/
69860 /^X\/\(\/\/\)$/{
69861 s//\1/
69864 /^X\/\(\/\).*/{
69865 s//\1/
69868 s/.*/./; q'` in
69869 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
69870 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
69871 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
69872 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
69873 *) ;;
69874 esac
69876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
69877 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
69879 # ----------------- done included file, check C basic types --------
69881 # Lacking an uintptr_t? Test size of void *
69882 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
69883 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
69884 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
69885 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
69886 # This bug is HP SR number 8606223364.
69887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
69888 $as_echo_n "checking size of void *... " >&6; }
69889 if test "${ac_cv_sizeof_void_p+set}" = set; then :
69890 $as_echo_n "(cached) " >&6
69891 else
69892 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
69894 else
69895 if test "$ac_cv_type_void_p" = yes; then
69896 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
69897 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
69898 { as_fn_set_status 77
69899 as_fn_error "cannot compute sizeof (void *)
69900 See \`config.log' for more details." "$LINENO" 5; }; }
69901 else
69902 ac_cv_sizeof_void_p=0
69907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
69908 $as_echo "$ac_cv_sizeof_void_p" >&6; }
69912 cat >>confdefs.h <<_ACEOF
69913 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
69914 _ACEOF
69917 esac
69919 # Lacking an uint64_t? Test size of long
69920 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
69921 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
69922 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
69923 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
69924 # This bug is HP SR number 8606223364.
69925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
69926 $as_echo_n "checking size of long... " >&6; }
69927 if test "${ac_cv_sizeof_long+set}" = set; then :
69928 $as_echo_n "(cached) " >&6
69929 else
69930 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
69932 else
69933 if test "$ac_cv_type_long" = yes; then
69934 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
69935 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
69936 { as_fn_set_status 77
69937 as_fn_error "cannot compute sizeof (long)
69938 See \`config.log' for more details." "$LINENO" 5; }; }
69939 else
69940 ac_cv_sizeof_long=0
69945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
69946 $as_echo "$ac_cv_sizeof_long" >&6; }
69950 cat >>confdefs.h <<_ACEOF
69951 #define SIZEOF_LONG $ac_cv_sizeof_long
69952 _ACEOF
69955 esac
69957 if test $acx_cv_header_stdint = stddef.h; then
69958 # Lacking a good header? Test size of everything and deduce all types.
69959 # The cast to long int works around a bug in the HP C Compiler
69960 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
69961 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
69962 # This bug is HP SR number 8606223364.
69963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
69964 $as_echo_n "checking size of int... " >&6; }
69965 if test "${ac_cv_sizeof_int+set}" = set; then :
69966 $as_echo_n "(cached) " >&6
69967 else
69968 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
69970 else
69971 if test "$ac_cv_type_int" = yes; then
69972 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
69973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
69974 { as_fn_set_status 77
69975 as_fn_error "cannot compute sizeof (int)
69976 See \`config.log' for more details." "$LINENO" 5; }; }
69977 else
69978 ac_cv_sizeof_int=0
69983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
69984 $as_echo "$ac_cv_sizeof_int" >&6; }
69988 cat >>confdefs.h <<_ACEOF
69989 #define SIZEOF_INT $ac_cv_sizeof_int
69990 _ACEOF
69993 # The cast to long int works around a bug in the HP C Compiler
69994 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
69995 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
69996 # This bug is HP SR number 8606223364.
69997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
69998 $as_echo_n "checking size of short... " >&6; }
69999 if test "${ac_cv_sizeof_short+set}" = set; then :
70000 $as_echo_n "(cached) " >&6
70001 else
70002 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
70004 else
70005 if test "$ac_cv_type_short" = yes; then
70006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70008 { as_fn_set_status 77
70009 as_fn_error "cannot compute sizeof (short)
70010 See \`config.log' for more details." "$LINENO" 5; }; }
70011 else
70012 ac_cv_sizeof_short=0
70017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
70018 $as_echo "$ac_cv_sizeof_short" >&6; }
70022 cat >>confdefs.h <<_ACEOF
70023 #define SIZEOF_SHORT $ac_cv_sizeof_short
70024 _ACEOF
70027 # The cast to long int works around a bug in the HP C Compiler
70028 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70029 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70030 # This bug is HP SR number 8606223364.
70031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
70032 $as_echo_n "checking size of char... " >&6; }
70033 if test "${ac_cv_sizeof_char+set}" = set; then :
70034 $as_echo_n "(cached) " >&6
70035 else
70036 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
70038 else
70039 if test "$ac_cv_type_char" = yes; then
70040 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70042 { as_fn_set_status 77
70043 as_fn_error "cannot compute sizeof (char)
70044 See \`config.log' for more details." "$LINENO" 5; }; }
70045 else
70046 ac_cv_sizeof_char=0
70051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
70052 $as_echo "$ac_cv_sizeof_char" >&6; }
70056 cat >>confdefs.h <<_ACEOF
70057 #define SIZEOF_CHAR $ac_cv_sizeof_char
70058 _ACEOF
70062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
70063 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
70064 case "$ac_cv_sizeof_char" in
70065 1) acx_cv_type_int8_t=char ;;
70066 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
70067 esac
70068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
70069 $as_echo "$acx_cv_type_int8_t" >&6; }
70071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
70072 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
70073 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
70074 2:*) acx_cv_type_int16_t=int ;;
70075 *:2) acx_cv_type_int16_t=short ;;
70076 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
70077 esac
70078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
70079 $as_echo "$acx_cv_type_int16_t" >&6; }
70081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
70082 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
70083 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
70084 4:*) acx_cv_type_int32_t=int ;;
70085 *:4) acx_cv_type_int32_t=long ;;
70086 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
70087 esac
70088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
70089 $as_echo "$acx_cv_type_int32_t" >&6; }
70092 # These tests are here to make the output prettier
70094 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
70095 case "$ac_cv_sizeof_long" in
70096 8) acx_cv_type_int64_t=long ;;
70097 esac
70098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
70099 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
70100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
70101 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
70104 # Now we can use the above types
70106 if test "$ac_cv_type_uintptr_t" != yes; then
70107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
70108 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
70109 case $ac_cv_sizeof_void_p in
70110 2) acx_cv_type_intptr_t=int16_t ;;
70111 4) acx_cv_type_intptr_t=int32_t ;;
70112 8) acx_cv_type_intptr_t=int64_t ;;
70113 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
70114 esac
70115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
70116 $as_echo "$acx_cv_type_intptr_t" >&6; }
70119 # ----------------- done all checks, emit header -------------
70120 ac_config_commands="$ac_config_commands include/gstdint.h"
70126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
70127 $as_echo_n "checking for GNU c++filt... " >&6; }
70128 if test "${ac_cv_path_CXXFILT+set}" = set; then :
70129 $as_echo_n "(cached) " >&6
70130 else
70131 if test -z "$CXXFILT"; then
70132 ac_path_CXXFILT_found=false
70133 # Loop through the user's path and test for each of PROGNAME-LIST
70134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70135 for as_dir in $PATH
70137 IFS=$as_save_IFS
70138 test -z "$as_dir" && as_dir=.
70139 for ac_prog in c++filt gc++filt; do
70140 for ac_exec_ext in '' $ac_executable_extensions; do
70141 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
70142 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
70143 # Check for GNU $ac_path_CXXFILT
70144 case `"$ac_path_CXXFILT" --version 2>&1` in
70145 *GNU*)
70146 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
70147 esac
70149 $ac_path_CXXFILT_found && break 3
70150 done
70151 done
70152 done
70153 IFS=$as_save_IFS
70154 if test -z "$ac_cv_path_CXXFILT"; then
70157 else
70158 ac_cv_path_CXXFILT=$CXXFILT
70162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
70163 $as_echo "$ac_cv_path_CXXFILT" >&6; }
70164 CXXFILT=$ac_cv_path_CXXFILT
70168 # Check whether --enable-symvers was given.
70169 if test "${enable_symvers+set}" = set; then :
70170 enableval=$enable_symvers;
70171 case "$enableval" in
70172 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
70173 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
70174 esac
70176 else
70177 enable_symvers=yes
70182 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
70183 # don't know enough about $LD to do tricks...
70185 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
70186 # with extern "C++" in version scripts.
70189 # Turn a 'yes' into a suitable default.
70190 if test x$enable_symvers = xyes ; then
70191 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
70192 enable_symvers=no
70193 else
70194 if test $with_gnu_ld = yes ; then
70195 case ${target_os} in
70196 hpux*)
70197 enable_symvers=no ;;
70199 enable_symvers=gnu ;;
70200 esac
70201 else
70202 case ${target_os} in
70203 darwin*)
70204 enable_symvers=darwin ;;
70205 # Sun symbol versioning exists since Solaris 2.5.
70206 solaris2.[5-9]* | solaris2.1[0-9]*)
70207 # make_sunver.pl needs GNU c++filt to support extern "C++" in
70208 # version scripts, so disable symbol versioning if none can be
70209 # found.
70210 if test -z "$ac_cv_path_CXXFILT"; then
70211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70212 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
70214 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
70215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70216 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70217 enable_symvers=no
70218 else
70219 enable_symvers=sun
70223 enable_symvers=no ;;
70224 esac
70229 # Check to see if 'darwin' or 'darwin-export' can win.
70230 if test x$enable_symvers = xdarwin-export ; then
70231 enable_symvers=darwin
70234 # Check if 'sun' was requested on non-Solaris 2 platforms.
70235 if test x$enable_symvers = xsun ; then
70236 case ${target_os} in
70237 solaris2*)
70238 # All fine.
70241 # Unlikely to work.
70242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70243 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
70245 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
70246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70247 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70248 enable_symvers=no
70250 esac
70253 # Check to see if 'gnu' can win.
70254 if test $enable_symvers = gnu ||
70255 test $enable_symvers = gnu-versioned-namespace ||
70256 test $enable_symvers = sun; then
70257 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
70258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
70259 $as_echo_n "checking for shared libgcc... " >&6; }
70260 ac_save_CFLAGS="$CFLAGS"
70261 CFLAGS=' -lgcc_s'
70262 if test x$gcc_no_link = xyes; then
70263 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70266 /* end confdefs.h. */
70269 main ()
70271 return 0;
70273 return 0;
70275 _ACEOF
70276 if ac_fn_c_try_link "$LINENO"; then :
70277 glibcxx_shared_libgcc=yes
70278 else
70279 glibcxx_shared_libgcc=no
70281 rm -f core conftest.err conftest.$ac_objext \
70282 conftest$ac_exeext conftest.$ac_ext
70283 CFLAGS="$ac_save_CFLAGS"
70284 if test $glibcxx_shared_libgcc = no; then
70285 cat > conftest.c <<EOF
70286 int main (void) { return 0; }
70288 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
70289 -shared -shared-libgcc -o conftest.so \
70290 conftest.c -v 2>&1 >/dev/null \
70291 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
70292 rm -f conftest.c conftest.so
70293 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
70294 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
70295 if test x$gcc_no_link = xyes; then
70296 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70299 /* end confdefs.h. */
70302 main ()
70304 return 0;
70306 return 0;
70308 _ACEOF
70309 if ac_fn_c_try_link "$LINENO"; then :
70310 glibcxx_shared_libgcc=yes
70312 rm -f core conftest.err conftest.$ac_objext \
70313 conftest$ac_exeext conftest.$ac_ext
70314 CFLAGS="$ac_save_CFLAGS"
70317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
70318 $as_echo "$glibcxx_shared_libgcc" >&6; }
70320 # For GNU ld, we need at least this version. The format is described in
70321 # GLIBCXX_CHECK_LINKER_FEATURES above.
70322 glibcxx_min_gnu_ld_version=21400
70324 # If no shared libgcc, can't win.
70325 if test $glibcxx_shared_libgcc != yes; then
70326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70327 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
70329 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
70330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70331 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70332 enable_symvers=no
70333 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
70334 : All interesting versions of Sun ld support sun style symbol versioning.
70335 elif test $with_gnu_ld != yes ; then
70336 # just fail for now
70337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70338 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
70340 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
70341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70342 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70343 enable_symvers=no
70344 elif test $glibcxx_ld_is_gold = yes ; then
70345 : All versions of gold support symbol versioning.
70346 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
70347 # The right tools, the right setup, but too old. Fallbacks?
70348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
70349 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
70350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
70351 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
70352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
70353 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
70354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
70355 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
70356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70357 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70358 enable_symvers=no
70362 # For libtool versioning info, format is CURRENT:REVISION:AGE
70363 libtool_VERSION=6:17:0
70365 # Everything parsed; figure out what files and settings to use.
70366 case $enable_symvers in
70368 SYMVER_FILE=config/abi/pre/none.ver
70370 gnu)
70371 SYMVER_FILE=config/abi/pre/gnu.ver
70373 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
70376 gnu-versioned-namespace)
70377 libtool_VERSION=7:0:0
70378 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
70380 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
70383 darwin)
70384 SYMVER_FILE=config/abi/pre/gnu.ver
70386 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
70389 sun)
70390 SYMVER_FILE=config/abi/pre/gnu.ver
70392 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
70395 esac
70397 if test x$enable_symvers != xno ; then
70399 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
70403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
70404 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
70405 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
70406 $as_echo_n "(cached) " >&6
70407 else
70409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70410 /* end confdefs.h. */
70411 void foo (void); __asm (".symver foo, bar@SYMVER");
70413 main ()
70417 return 0;
70419 _ACEOF
70420 if ac_fn_c_try_compile "$LINENO"; then :
70421 glibcxx_cv_have_as_symver_directive=yes
70422 else
70423 glibcxx_cv_have_as_symver_directive=no
70425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
70428 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
70429 if test $glibcxx_cv_have_as_symver_directive = yes; then
70431 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
70442 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
70443 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
70445 if test $enable_symvers != no ; then
70446 case ${target_os} in
70447 # The Solaris 2 runtime linker doesn't support the GNU extension of
70448 # binding the same symbol to different versions
70449 solaris2*)
70451 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
70454 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
70457 esac
70460 # Now, set up compatibility support, if any.
70461 # In addition, need this to deal with std::size_t mangling in
70462 # src/compatibility.cc. In a perfect world, could use
70463 # typeid(std::size_t).name()[0] to do direct substitution.
70464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
70465 $as_echo_n "checking for size_t as unsigned int... " >&6; }
70466 ac_save_CFLAGS="$CFLAGS"
70467 CFLAGS="-Werror"
70468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70469 /* end confdefs.h. */
70472 main ()
70474 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
70476 return 0;
70478 _ACEOF
70479 if ac_fn_c_try_compile "$LINENO"; then :
70480 glibcxx_size_t_is_i=yes
70481 else
70482 glibcxx_size_t_is_i=no
70484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70485 CFLAGS=$ac_save_CFLAGS
70486 if test "$glibcxx_size_t_is_i" = yes; then
70488 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
70491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
70492 $as_echo "$glibcxx_size_t_is_i" >&6; }
70494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
70495 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
70496 ac_save_CFLAGS="$CFLAGS"
70497 CFLAGS="-Werror"
70498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70499 /* end confdefs.h. */
70502 main ()
70504 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
70506 return 0;
70508 _ACEOF
70509 if ac_fn_c_try_compile "$LINENO"; then :
70510 glibcxx_ptrdiff_t_is_i=yes
70511 else
70512 glibcxx_ptrdiff_t_is_i=no
70514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70515 CFLAGS=$ac_save_CFLAGS
70516 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
70518 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
70521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
70522 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
70527 # Check whether --enable-libstdcxx-visibility was given.
70528 if test "${enable_libstdcxx_visibility+set}" = set; then :
70529 enableval=$enable_libstdcxx_visibility;
70530 case "$enableval" in
70531 yes|no) ;;
70532 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
70533 esac
70535 else
70536 enable_libstdcxx_visibility=yes
70541 if test x$enable_libstdcxx_visibility = xyes ; then
70542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
70543 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
70544 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
70545 $as_echo_n "(cached) " >&6
70546 else
70548 save_CFLAGS="$CFLAGS"
70549 CFLAGS="$CFLAGS -Werror"
70550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70551 /* end confdefs.h. */
70552 void __attribute__((visibility("hidden"))) foo(void) { }
70554 main ()
70558 return 0;
70560 _ACEOF
70561 if ac_fn_c_try_compile "$LINENO"; then :
70562 glibcxx_cv_have_attribute_visibility=yes
70563 else
70564 glibcxx_cv_have_attribute_visibility=no
70566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70567 CFLAGS="$save_CFLAGS"
70569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
70570 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
70571 if test $glibcxx_cv_have_attribute_visibility = no; then
70572 enable_libstdcxx_visibility=no
70577 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
70578 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
70581 ac_ldbl_compat=no
70582 case "$target" in
70583 powerpc*-*-linux* | \
70584 sparc*-*-linux* | \
70585 s390*-*-linux* | \
70586 alpha*-*-linux*)
70587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70588 /* end confdefs.h. */
70591 main ()
70594 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
70595 #error no need for long double compatibility
70596 #endif
70599 return 0;
70601 _ACEOF
70602 if ac_fn_c_try_compile "$LINENO"; then :
70603 ac_ldbl_compat=yes
70604 else
70605 ac_ldbl_compat=no
70607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70608 if test "$ac_ldbl_compat" = yes; then
70610 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
70612 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
70614 esac
70617 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
70619 if $GLIBCXX_IS_NATIVE ; then
70620 # Do checks for resource limit functions.
70622 setrlimit_have_headers=yes
70623 for ac_header in unistd.h sys/time.h sys/resource.h
70624 do :
70625 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
70626 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
70627 eval as_val=\$$as_ac_Header
70628 if test "x$as_val" = x""yes; then :
70629 cat >>confdefs.h <<_ACEOF
70630 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
70631 _ACEOF
70633 else
70634 setrlimit_have_headers=no
70637 done
70639 # If don't have the headers, then we can't run the tests now, and we
70640 # won't be seeing any of these during testsuite compilation.
70641 if test $setrlimit_have_headers = yes; then
70642 # Can't do these in a loop, else the resulting syntax is wrong.
70644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
70645 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
70646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70647 /* end confdefs.h. */
70648 #include <unistd.h>
70649 #include <sys/time.h>
70650 #include <sys/resource.h>
70653 main ()
70655 int f = RLIMIT_DATA ;
70657 return 0;
70659 _ACEOF
70660 if ac_fn_c_try_compile "$LINENO"; then :
70661 glibcxx_mresult=1
70662 else
70663 glibcxx_mresult=0
70665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70667 cat >>confdefs.h <<_ACEOF
70668 #define HAVE_LIMIT_DATA $glibcxx_mresult
70669 _ACEOF
70671 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70673 $as_echo "$res" >&6; }
70676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
70677 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
70678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70679 /* end confdefs.h. */
70680 #include <unistd.h>
70681 #include <sys/time.h>
70682 #include <sys/resource.h>
70685 main ()
70687 int f = RLIMIT_RSS ;
70689 return 0;
70691 _ACEOF
70692 if ac_fn_c_try_compile "$LINENO"; then :
70693 glibcxx_mresult=1
70694 else
70695 glibcxx_mresult=0
70697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70699 cat >>confdefs.h <<_ACEOF
70700 #define HAVE_LIMIT_RSS $glibcxx_mresult
70701 _ACEOF
70703 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70705 $as_echo "$res" >&6; }
70708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
70709 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
70710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70711 /* end confdefs.h. */
70712 #include <unistd.h>
70713 #include <sys/time.h>
70714 #include <sys/resource.h>
70717 main ()
70719 int f = RLIMIT_VMEM ;
70721 return 0;
70723 _ACEOF
70724 if ac_fn_c_try_compile "$LINENO"; then :
70725 glibcxx_mresult=1
70726 else
70727 glibcxx_mresult=0
70729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70731 cat >>confdefs.h <<_ACEOF
70732 #define HAVE_LIMIT_VMEM $glibcxx_mresult
70733 _ACEOF
70735 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70737 $as_echo "$res" >&6; }
70740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
70741 $as_echo_n "checking for RLIMIT_AS... " >&6; }
70742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70743 /* end confdefs.h. */
70744 #include <unistd.h>
70745 #include <sys/time.h>
70746 #include <sys/resource.h>
70749 main ()
70751 int f = RLIMIT_AS ;
70753 return 0;
70755 _ACEOF
70756 if ac_fn_c_try_compile "$LINENO"; then :
70757 glibcxx_mresult=1
70758 else
70759 glibcxx_mresult=0
70761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70763 cat >>confdefs.h <<_ACEOF
70764 #define HAVE_LIMIT_AS $glibcxx_mresult
70765 _ACEOF
70767 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70769 $as_echo "$res" >&6; }
70772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
70773 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
70774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70775 /* end confdefs.h. */
70776 #include <unistd.h>
70777 #include <sys/time.h>
70778 #include <sys/resource.h>
70781 main ()
70783 int f = RLIMIT_FSIZE ;
70785 return 0;
70787 _ACEOF
70788 if ac_fn_c_try_compile "$LINENO"; then :
70789 glibcxx_mresult=1
70790 else
70791 glibcxx_mresult=0
70793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70795 cat >>confdefs.h <<_ACEOF
70796 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
70797 _ACEOF
70799 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70801 $as_echo "$res" >&6; }
70804 # Check for rlimit, setrlimit.
70805 if test "${glibcxx_cv_setrlimit+set}" = set; then :
70806 $as_echo_n "(cached) " >&6
70807 else
70809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70810 /* end confdefs.h. */
70811 #include <unistd.h>
70812 #include <sys/time.h>
70813 #include <sys/resource.h>
70816 main ()
70818 struct rlimit r;
70819 setrlimit(0, &r);
70821 return 0;
70823 _ACEOF
70824 if ac_fn_c_try_compile "$LINENO"; then :
70825 glibcxx_cv_setrlimit=yes
70826 else
70827 glibcxx_cv_setrlimit=no
70829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
70836 $as_echo_n "checking for testsuite resource limits support... " >&6; }
70837 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
70838 ac_res_limits=yes
70840 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
70842 else
70843 ac_res_limits=no
70845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
70846 $as_echo "$ac_res_limits" >&6; }
70849 # Look for setenv, so that extended locale tests can be performed.
70851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
70852 $as_echo_n "checking for setenv declaration... " >&6; }
70853 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
70854 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
70855 $as_echo_n "(cached) " >&6
70856 else
70859 ac_ext=cpp
70860 ac_cpp='$CXXCPP $CPPFLAGS'
70861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70866 /* end confdefs.h. */
70867 #include <stdlib.h>
70869 main ()
70871 setenv(0, 0, 0);
70873 return 0;
70875 _ACEOF
70876 if ac_fn_cxx_try_compile "$LINENO"; then :
70877 glibcxx_cv_func_setenv_use=yes
70878 else
70879 glibcxx_cv_func_setenv_use=no
70881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70882 ac_ext=c
70883 ac_cpp='$CPP $CPPFLAGS'
70884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
70893 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
70894 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
70895 for ac_func in setenv
70896 do :
70897 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
70898 if test "x$ac_cv_func_setenv" = x""yes; then :
70899 cat >>confdefs.h <<_ACEOF
70900 #define HAVE_SETENV 1
70901 _ACEOF
70904 done
70910 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
70911 test $enable_symvers != no; then
70912 case "$host" in
70913 *-*-cygwin*)
70914 enable_abi_check=no ;;
70916 enable_abi_check=yes ;;
70917 esac
70918 else
70919 # Only build this as native, since automake does not understand
70920 # CXX_FOR_BUILD.
70921 enable_abi_check=no
70924 # Export file names for ABI checking.
70925 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
70927 baseline_subdir_switch="$abi_baseline_subdir_switch"
70931 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
70933 # Check whether --enable-libstdcxx-threads was given.
70934 if test "${enable_libstdcxx_threads+set}" = set; then :
70935 enableval=$enable_libstdcxx_threads;
70936 case "$enableval" in
70937 yes|no) ;;
70938 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
70939 esac
70941 else
70942 enable_libstdcxx_threads=auto
70947 if test x$enable_libstdcxx_threads = xauto ||
70948 test x$enable_libstdcxx_threads = xyes; then
70951 ac_ext=cpp
70952 ac_cpp='$CXXCPP $CPPFLAGS'
70953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70958 ac_save_CXXFLAGS="$CXXFLAGS"
70959 CXXFLAGS="$CXXFLAGS -fno-exceptions \
70960 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
70962 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
70963 case $target_thread_file in
70964 posix)
70965 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
70966 esac
70968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
70969 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
70971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70972 /* end confdefs.h. */
70973 #include <unistd.h>
70975 main ()
70978 // In case of POSIX threads check _POSIX_TIMEOUTS.
70979 #if (defined(_PTHREADS) \
70980 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
70981 #error
70982 #endif
70985 return 0;
70987 _ACEOF
70988 if ac_fn_cxx_try_compile "$LINENO"; then :
70989 ac_gthread_use_mutex_timedlock=1
70990 else
70991 ac_gthread_use_mutex_timedlock=0
70993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70996 cat >>confdefs.h <<_ACEOF
70997 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
70998 _ACEOF
71001 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
71002 else res_mutex_timedlock=no ; fi
71003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
71004 $as_echo "$res_mutex_timedlock" >&6; }
71006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
71007 $as_echo_n "checking for gthreads library... " >&6; }
71009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71010 /* end confdefs.h. */
71011 #include "gthr.h"
71013 main ()
71016 #ifndef __GTHREADS_CXX0X
71017 #error
71018 #endif
71021 return 0;
71023 _ACEOF
71024 if ac_fn_cxx_try_compile "$LINENO"; then :
71025 case $target_os in
71026 # gthreads support breaks symbol versioning on Solaris 9 (PR
71027 # libstdc++/52189).
71028 solaris2.9*)
71029 if test x$enable_symvers = xno; then
71030 ac_has_gthreads=yes
71031 elif test x$enable_libstdcxx_threads = xyes; then
71032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
71033 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
71034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
71035 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
71036 ac_has_gthreads=yes
71037 else
71038 ac_has_gthreads=no
71042 ac_has_gthreads=yes
71044 esac
71045 else
71046 ac_has_gthreads=no
71048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71049 else
71050 ac_has_gthreads=no
71053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
71054 $as_echo "$ac_has_gthreads" >&6; }
71056 if test x"$ac_has_gthreads" = x"yes"; then
71058 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
71062 CXXFLAGS="$ac_save_CXXFLAGS"
71063 ac_ext=c
71064 ac_cpp='$CPP $CPPFLAGS'
71065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71071 # Define documentation rules conditionally.
71073 # See if makeinfo has been installed and is modern enough
71074 # that we can use it.
71076 # Extract the first word of "makeinfo", so it can be a program name with args.
71077 set dummy makeinfo; ac_word=$2
71078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71079 $as_echo_n "checking for $ac_word... " >&6; }
71080 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
71081 $as_echo_n "(cached) " >&6
71082 else
71083 if test -n "$MAKEINFO"; then
71084 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
71085 else
71086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71087 for as_dir in $PATH
71089 IFS=$as_save_IFS
71090 test -z "$as_dir" && as_dir=.
71091 for ac_exec_ext in '' $ac_executable_extensions; do
71092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71093 ac_cv_prog_MAKEINFO="makeinfo"
71094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71095 break 2
71097 done
71098 done
71099 IFS=$as_save_IFS
71103 MAKEINFO=$ac_cv_prog_MAKEINFO
71104 if test -n "$MAKEINFO"; then
71105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
71106 $as_echo "$MAKEINFO" >&6; }
71107 else
71108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71109 $as_echo "no" >&6; }
71113 if test -n "$MAKEINFO"; then
71114 # Found it, now check the version.
71115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
71116 $as_echo_n "checking for modern makeinfo... " >&6; }
71117 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
71118 $as_echo_n "(cached) " >&6
71119 else
71120 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
71121 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
71123 case $ac_prog_version in
71124 '') gcc_cv_prog_makeinfo_modern=no;;
71125 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
71126 *) gcc_cv_prog_makeinfo_modern=no;;
71127 esac
71130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
71131 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
71132 else
71133 gcc_cv_prog_makeinfo_modern=no
71135 if test $gcc_cv_prog_makeinfo_modern = no; then
71136 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
71139 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
71140 BUILD_INFO_TRUE=
71141 BUILD_INFO_FALSE='#'
71142 else
71143 BUILD_INFO_TRUE='#'
71144 BUILD_INFO_FALSE=
71148 # Check for doxygen
71149 # Extract the first word of "doxygen", so it can be a program name with args.
71150 set dummy doxygen; ac_word=$2
71151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71152 $as_echo_n "checking for $ac_word... " >&6; }
71153 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
71154 $as_echo_n "(cached) " >&6
71155 else
71156 if test -n "$DOXYGEN"; then
71157 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
71158 else
71159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71160 for as_dir in $PATH
71162 IFS=$as_save_IFS
71163 test -z "$as_dir" && as_dir=.
71164 for ac_exec_ext in '' $ac_executable_extensions; do
71165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71166 ac_cv_prog_DOXYGEN="yes"
71167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71168 break 2
71170 done
71171 done
71172 IFS=$as_save_IFS
71174 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
71177 DOXYGEN=$ac_cv_prog_DOXYGEN
71178 if test -n "$DOXYGEN"; then
71179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
71180 $as_echo "$DOXYGEN" >&6; }
71181 else
71182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71183 $as_echo "no" >&6; }
71187 # Extract the first word of "dot", so it can be a program name with args.
71188 set dummy dot; ac_word=$2
71189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71190 $as_echo_n "checking for $ac_word... " >&6; }
71191 if test "${ac_cv_prog_DOT+set}" = set; then :
71192 $as_echo_n "(cached) " >&6
71193 else
71194 if test -n "$DOT"; then
71195 ac_cv_prog_DOT="$DOT" # Let the user override the test.
71196 else
71197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71198 for as_dir in $PATH
71200 IFS=$as_save_IFS
71201 test -z "$as_dir" && as_dir=.
71202 for ac_exec_ext in '' $ac_executable_extensions; do
71203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71204 ac_cv_prog_DOT="yes"
71205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71206 break 2
71208 done
71209 done
71210 IFS=$as_save_IFS
71212 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
71215 DOT=$ac_cv_prog_DOT
71216 if test -n "$DOT"; then
71217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
71218 $as_echo "$DOT" >&6; }
71219 else
71220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71221 $as_echo "no" >&6; }
71226 # Check for docbook
71227 # Extract the first word of "xsltproc", so it can be a program name with args.
71228 set dummy xsltproc; ac_word=$2
71229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71230 $as_echo_n "checking for $ac_word... " >&6; }
71231 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
71232 $as_echo_n "(cached) " >&6
71233 else
71234 if test -n "$XSLTPROC"; then
71235 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
71236 else
71237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71238 for as_dir in $PATH
71240 IFS=$as_save_IFS
71241 test -z "$as_dir" && as_dir=.
71242 for ac_exec_ext in '' $ac_executable_extensions; do
71243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71244 ac_cv_prog_XSLTPROC="yes"
71245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71246 break 2
71248 done
71249 done
71250 IFS=$as_save_IFS
71252 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
71255 XSLTPROC=$ac_cv_prog_XSLTPROC
71256 if test -n "$XSLTPROC"; then
71257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
71258 $as_echo "$XSLTPROC" >&6; }
71259 else
71260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71261 $as_echo "no" >&6; }
71265 # Extract the first word of "xmllint", so it can be a program name with args.
71266 set dummy xmllint; ac_word=$2
71267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71268 $as_echo_n "checking for $ac_word... " >&6; }
71269 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
71270 $as_echo_n "(cached) " >&6
71271 else
71272 if test -n "$XMLLINT"; then
71273 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
71274 else
71275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71276 for as_dir in $PATH
71278 IFS=$as_save_IFS
71279 test -z "$as_dir" && as_dir=.
71280 for ac_exec_ext in '' $ac_executable_extensions; do
71281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71282 ac_cv_prog_XMLLINT="yes"
71283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71284 break 2
71286 done
71287 done
71288 IFS=$as_save_IFS
71290 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
71293 XMLLINT=$ac_cv_prog_XMLLINT
71294 if test -n "$XMLLINT"; then
71295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
71296 $as_echo "$XMLLINT" >&6; }
71297 else
71298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71299 $as_echo "no" >&6; }
71305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
71306 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
71307 glibcxx_stylesheets=no
71308 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
71309 glibcxx_stylesheets=yes
71311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
71312 $as_echo "$glibcxx_stylesheets" >&6; }
71314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
71315 $as_echo_n "checking for local stylesheet directory... " >&6; }
71316 glibcxx_local_stylesheets=no
71317 if test x"$glibcxx_stylesheets" = x"yes"; then
71318 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
71319 glibcxx_local_stylesheets=yes
71320 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
71322 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
71323 glibcxx_local_stylesheets=yes
71324 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
71327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
71328 $as_echo "$glibcxx_local_stylesheets" >&6; }
71330 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71332 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
71333 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
71334 else
71335 glibcxx_stylesheets=no
71338 # Check for epub3 dependencies.
71339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
71340 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
71341 glibcxx_epub_stylesheets=no
71342 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71343 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
71344 glibcxx_epub_stylesheets=yes
71347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
71348 $as_echo "$glibcxx_epub_stylesheets" >&6; }
71349 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
71350 BUILD_EPUB_TRUE=
71351 BUILD_EPUB_FALSE='#'
71352 else
71353 BUILD_EPUB_TRUE='#'
71354 BUILD_EPUB_FALSE=
71360 # Check for xml/html dependencies.
71361 if test $ac_cv_prog_DOXYGEN = "yes" &&
71362 test $ac_cv_prog_DOT = "yes" &&
71363 test $ac_cv_prog_XSLTPROC = "yes" &&
71364 test $ac_cv_prog_XMLLINT = "yes" &&
71365 test $glibcxx_stylesheets = "yes"; then
71366 BUILD_XML_TRUE=
71367 BUILD_XML_FALSE='#'
71368 else
71369 BUILD_XML_TRUE='#'
71370 BUILD_XML_FALSE=
71374 if test $ac_cv_prog_DOXYGEN = "yes" &&
71375 test $ac_cv_prog_DOT = "yes" &&
71376 test $ac_cv_prog_XSLTPROC = "yes" &&
71377 test $ac_cv_prog_XMLLINT = "yes" &&
71378 test $glibcxx_stylesheets = "yes"; then
71379 BUILD_HTML_TRUE=
71380 BUILD_HTML_FALSE='#'
71381 else
71382 BUILD_HTML_TRUE='#'
71383 BUILD_HTML_FALSE=
71387 # Check for man dependencies.
71388 if test $ac_cv_prog_DOXYGEN = "yes" &&
71389 test $ac_cv_prog_DOT = "yes"; then
71390 BUILD_MAN_TRUE=
71391 BUILD_MAN_FALSE='#'
71392 else
71393 BUILD_MAN_TRUE='#'
71394 BUILD_MAN_FALSE=
71398 # Check for pdf dependencies.
71399 # Extract the first word of "dblatex", so it can be a program name with args.
71400 set dummy dblatex; ac_word=$2
71401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71402 $as_echo_n "checking for $ac_word... " >&6; }
71403 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
71404 $as_echo_n "(cached) " >&6
71405 else
71406 if test -n "$DBLATEX"; then
71407 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
71408 else
71409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71410 for as_dir in $PATH
71412 IFS=$as_save_IFS
71413 test -z "$as_dir" && as_dir=.
71414 for ac_exec_ext in '' $ac_executable_extensions; do
71415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71416 ac_cv_prog_DBLATEX="yes"
71417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71418 break 2
71420 done
71421 done
71422 IFS=$as_save_IFS
71424 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
71427 DBLATEX=$ac_cv_prog_DBLATEX
71428 if test -n "$DBLATEX"; then
71429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
71430 $as_echo "$DBLATEX" >&6; }
71431 else
71432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71433 $as_echo "no" >&6; }
71437 # Extract the first word of "pdflatex", so it can be a program name with args.
71438 set dummy pdflatex; ac_word=$2
71439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71440 $as_echo_n "checking for $ac_word... " >&6; }
71441 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
71442 $as_echo_n "(cached) " >&6
71443 else
71444 if test -n "$PDFLATEX"; then
71445 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
71446 else
71447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71448 for as_dir in $PATH
71450 IFS=$as_save_IFS
71451 test -z "$as_dir" && as_dir=.
71452 for ac_exec_ext in '' $ac_executable_extensions; do
71453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71454 ac_cv_prog_PDFLATEX="yes"
71455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71456 break 2
71458 done
71459 done
71460 IFS=$as_save_IFS
71462 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
71465 PDFLATEX=$ac_cv_prog_PDFLATEX
71466 if test -n "$PDFLATEX"; then
71467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
71468 $as_echo "$PDFLATEX" >&6; }
71469 else
71470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71471 $as_echo "no" >&6; }
71475 if test $ac_cv_prog_DBLATEX = "yes" &&
71476 test $ac_cv_prog_PDFLATEX = "yes"; then
71477 BUILD_PDF_TRUE=
71478 BUILD_PDF_FALSE='#'
71479 else
71480 BUILD_PDF_TRUE='#'
71481 BUILD_PDF_FALSE=
71486 # Propagate the target-specific source directories through the build chain.
71487 ATOMICITY_SRCDIR=config/${atomicity_dir}
71488 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
71489 ATOMIC_FLAGS=${atomic_flags}
71490 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
71491 OS_INC_SRCDIR=config/${os_include_dir}
71492 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
71493 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
71503 # Determine cross-compile flags and AM_CONDITIONALs.
71504 #AC_SUBST(GLIBCXX_IS_NATIVE)
71505 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
71506 if test $is_hosted = yes; then
71507 GLIBCXX_HOSTED_TRUE=
71508 GLIBCXX_HOSTED_FALSE='#'
71509 else
71510 GLIBCXX_HOSTED_TRUE='#'
71511 GLIBCXX_HOSTED_FALSE=
71515 if test $enable_libstdcxx_pch = yes; then
71516 GLIBCXX_BUILD_PCH_TRUE=
71517 GLIBCXX_BUILD_PCH_FALSE='#'
71518 else
71519 GLIBCXX_BUILD_PCH_TRUE='#'
71520 GLIBCXX_BUILD_PCH_FALSE=
71524 if test $enable_cheaders = c; then
71525 GLIBCXX_C_HEADERS_C_TRUE=
71526 GLIBCXX_C_HEADERS_C_FALSE='#'
71527 else
71528 GLIBCXX_C_HEADERS_C_TRUE='#'
71529 GLIBCXX_C_HEADERS_C_FALSE=
71533 if test $enable_cheaders = c_std; then
71534 GLIBCXX_C_HEADERS_C_STD_TRUE=
71535 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
71536 else
71537 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
71538 GLIBCXX_C_HEADERS_C_STD_FALSE=
71542 if test $enable_cheaders = c_global; then
71543 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
71544 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
71545 else
71546 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
71547 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
71551 if test $c_compatibility = yes; then
71552 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
71553 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
71554 else
71555 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
71556 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
71560 if test $enable_libstdcxx_debug = yes; then
71561 GLIBCXX_BUILD_DEBUG_TRUE=
71562 GLIBCXX_BUILD_DEBUG_FALSE='#'
71563 else
71564 GLIBCXX_BUILD_DEBUG_TRUE='#'
71565 GLIBCXX_BUILD_DEBUG_FALSE=
71569 if test $enable_parallel = yes; then
71570 ENABLE_PARALLEL_TRUE=
71571 ENABLE_PARALLEL_FALSE='#'
71572 else
71573 ENABLE_PARALLEL_TRUE='#'
71574 ENABLE_PARALLEL_FALSE=
71578 if test $enable_extern_template = yes; then
71579 ENABLE_EXTERN_TEMPLATE_TRUE=
71580 ENABLE_EXTERN_TEMPLATE_FALSE='#'
71581 else
71582 ENABLE_EXTERN_TEMPLATE_TRUE='#'
71583 ENABLE_EXTERN_TEMPLATE_FALSE=
71587 if test $python_mod_dir != no; then
71588 ENABLE_PYTHONDIR_TRUE=
71589 ENABLE_PYTHONDIR_FALSE='#'
71590 else
71591 ENABLE_PYTHONDIR_TRUE='#'
71592 ENABLE_PYTHONDIR_FALSE=
71596 if test $enable_werror = yes; then
71597 ENABLE_WERROR_TRUE=
71598 ENABLE_WERROR_FALSE='#'
71599 else
71600 ENABLE_WERROR_TRUE='#'
71601 ENABLE_WERROR_FALSE=
71605 if test $enable_symvers != no; then
71606 ENABLE_SYMVERS_TRUE=
71607 ENABLE_SYMVERS_FALSE='#'
71608 else
71609 ENABLE_SYMVERS_TRUE='#'
71610 ENABLE_SYMVERS_FALSE=
71614 if test $enable_symvers = gnu; then
71615 ENABLE_SYMVERS_GNU_TRUE=
71616 ENABLE_SYMVERS_GNU_FALSE='#'
71617 else
71618 ENABLE_SYMVERS_GNU_TRUE='#'
71619 ENABLE_SYMVERS_GNU_FALSE=
71623 if test $enable_symvers = gnu-versioned-namespace; then
71624 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
71625 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
71626 else
71627 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
71628 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
71632 if test $enable_symvers = darwin; then
71633 ENABLE_SYMVERS_DARWIN_TRUE=
71634 ENABLE_SYMVERS_DARWIN_FALSE='#'
71635 else
71636 ENABLE_SYMVERS_DARWIN_TRUE='#'
71637 ENABLE_SYMVERS_DARWIN_FALSE=
71641 if test $enable_symvers = sun; then
71642 ENABLE_SYMVERS_SUN_TRUE=
71643 ENABLE_SYMVERS_SUN_FALSE='#'
71644 else
71645 ENABLE_SYMVERS_SUN_TRUE='#'
71646 ENABLE_SYMVERS_SUN_FALSE=
71650 if test $enable_libstdcxx_visibility = yes; then
71651 ENABLE_VISIBILITY_TRUE=
71652 ENABLE_VISIBILITY_FALSE='#'
71653 else
71654 ENABLE_VISIBILITY_TRUE='#'
71655 ENABLE_VISIBILITY_FALSE=
71659 if test $ac_ldbl_compat = yes; then
71660 GLIBCXX_LDBL_COMPAT_TRUE=
71661 GLIBCXX_LDBL_COMPAT_FALSE='#'
71662 else
71663 GLIBCXX_LDBL_COMPAT_TRUE='#'
71664 GLIBCXX_LDBL_COMPAT_FALSE=
71670 cat >confcache <<\_ACEOF
71671 # This file is a shell script that caches the results of configure
71672 # tests run on this system so they can be shared between configure
71673 # scripts and configure runs, see configure's option --config-cache.
71674 # It is not useful on other systems. If it contains results you don't
71675 # want to keep, you may remove or edit it.
71677 # config.status only pays attention to the cache file if you give it
71678 # the --recheck option to rerun configure.
71680 # `ac_cv_env_foo' variables (set or unset) will be overridden when
71681 # loading this file, other *unset* `ac_cv_foo' will be assigned the
71682 # following values.
71684 _ACEOF
71686 # The following way of writing the cache mishandles newlines in values,
71687 # but we know of no workaround that is simple, portable, and efficient.
71688 # So, we kill variables containing newlines.
71689 # Ultrix sh set writes to stderr and can't be redirected directly,
71690 # and sets the high bit in the cache file unless we assign to the vars.
71692 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
71693 eval ac_val=\$$ac_var
71694 case $ac_val in #(
71695 *${as_nl}*)
71696 case $ac_var in #(
71697 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
71698 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
71699 esac
71700 case $ac_var in #(
71701 _ | IFS | as_nl) ;; #(
71702 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
71703 *) { eval $ac_var=; unset $ac_var;} ;;
71704 esac ;;
71705 esac
71706 done
71708 (set) 2>&1 |
71709 case $as_nl`(ac_space=' '; set) 2>&1` in #(
71710 *${as_nl}ac_space=\ *)
71711 # `set' does not quote correctly, so add quotes: double-quote
71712 # substitution turns \\\\ into \\, and sed turns \\ into \.
71713 sed -n \
71714 "s/'/'\\\\''/g;
71715 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
71716 ;; #(
71718 # `set' quotes correctly as required by POSIX, so do not add quotes.
71719 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
71721 esac |
71722 sort
71724 sed '
71725 /^ac_cv_env_/b end
71726 t clear
71727 :clear
71728 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
71729 t end
71730 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
71731 :end' >>confcache
71732 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
71733 if test -w "$cache_file"; then
71734 test "x$cache_file" != "x/dev/null" &&
71735 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
71736 $as_echo "$as_me: updating cache $cache_file" >&6;}
71737 cat confcache >$cache_file
71738 else
71739 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
71740 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
71743 rm -f confcache
71745 if test ${multilib} = yes; then
71746 multilib_arg="--enable-multilib"
71747 else
71748 multilib_arg=
71751 # Export all the install information.
71753 glibcxx_toolexecdir=no
71754 glibcxx_toolexeclibdir=no
71755 glibcxx_prefixdir=$prefix
71757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
71758 $as_echo_n "checking for gxx-include-dir... " >&6; }
71760 # Check whether --with-gxx-include-dir was given.
71761 if test "${with_gxx_include_dir+set}" = set; then :
71762 withval=$with_gxx_include_dir; case "$withval" in
71763 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
71764 no) gxx_include_dir=no ;;
71765 *) gxx_include_dir=$withval ;;
71766 esac
71767 else
71768 gxx_include_dir=no
71771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71772 $as_echo "$gxx_include_dir" >&6; }
71774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
71775 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
71776 # Check whether --enable-version-specific-runtime-libs was given.
71777 if test "${enable_version_specific_runtime_libs+set}" = set; then :
71778 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
71779 yes) version_specific_libs=yes ;;
71780 no) version_specific_libs=no ;;
71781 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
71782 esac
71783 else
71784 version_specific_libs=no
71787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
71788 $as_echo "$version_specific_libs" >&6; }
71790 # Default case for install directory for include files.
71791 if test $version_specific_libs = no && test $gxx_include_dir = no; then
71792 gxx_include_dir='include/c++/${gcc_version}'
71793 if test -n "$with_cross_host" &&
71794 test x"$with_cross_host" != x"no"; then
71795 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
71796 else
71797 gxx_include_dir='${prefix}/'"$gxx_include_dir"
71801 # Version-specific runtime libs processing.
71802 if test $version_specific_libs = yes; then
71803 # Need the gcc compiler version to know where to install libraries
71804 # and header files if --enable-version-specific-runtime-libs option
71805 # is selected. FIXME: these variables are misnamed, there are
71806 # no executables installed in _toolexecdir or _toolexeclibdir.
71807 if test x"$gxx_include_dir" = x"no"; then
71808 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
71810 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71811 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
71814 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
71815 # Install a library built with a cross compiler in tooldir, not libdir.
71816 if test x"$glibcxx_toolexecdir" = x"no"; then
71817 if test -n "$with_cross_host" &&
71818 test x"$with_cross_host" != x"no"; then
71819 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
71820 glibcxx_toolexeclibdir='${toolexecdir}/lib'
71821 else
71822 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71823 glibcxx_toolexeclibdir='${libdir}'
71825 multi_os_directory=`$CXX -print-multi-os-directory`
71826 case $multi_os_directory in
71827 .) ;; # Avoid trailing /.
71828 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
71829 esac
71832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
71833 $as_echo_n "checking for install location... " >&6; }
71834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71835 $as_echo "$gxx_include_dir" >&6; }
71843 # Export all the include and flag information to Makefiles.
71845 # Used for every C++ compile we perform.
71846 GLIBCXX_INCLUDES="\
71847 -I$glibcxx_builddir/include/$host_alias \
71848 -I$glibcxx_builddir/include \
71849 -I$glibcxx_srcdir/libsupc++"
71851 # For Canadian crosses, pick this up too.
71852 if test $CANADIAN = yes; then
71853 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
71856 # Stuff in the actual top level. Currently only used by libsupc++ to
71857 # get unwind* headers from the libgcc dir.
71858 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
71859 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
71861 # Now, export this to all the little Makefiles....
71866 # Optimization flags that are probably a good idea for thrill-seekers. Just
71867 # uncomment the lines below and make, everything else is ready to go...
71868 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
71869 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
71872 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
71876 if test "$enable_shared" = yes; then
71877 PIC_CXXFLAGS="-prefer-pic"
71878 else
71879 PIC_CXXFLAGS=
71883 ac_config_files="$ac_config_files Makefile"
71885 ac_config_files="$ac_config_files scripts/testsuite_flags"
71887 ac_config_files="$ac_config_files scripts/extract_symvers"
71890 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
71891 # that multilib installs will end up installed in the correct place.
71892 # The testsuite needs it for multilib-aware ABI baseline files.
71893 # To work around this not being passed down from config-ml.in ->
71894 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
71895 # append it here. Only modify Makefiles that have just been created.
71897 # Also, get rid of this simulated-VPATH thing that automake does.
71898 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"
71901 ac_config_commands="$ac_config_commands generate-headers"
71904 cat >confcache <<\_ACEOF
71905 # This file is a shell script that caches the results of configure
71906 # tests run on this system so they can be shared between configure
71907 # scripts and configure runs, see configure's option --config-cache.
71908 # It is not useful on other systems. If it contains results you don't
71909 # want to keep, you may remove or edit it.
71911 # config.status only pays attention to the cache file if you give it
71912 # the --recheck option to rerun configure.
71914 # `ac_cv_env_foo' variables (set or unset) will be overridden when
71915 # loading this file, other *unset* `ac_cv_foo' will be assigned the
71916 # following values.
71918 _ACEOF
71920 # The following way of writing the cache mishandles newlines in values,
71921 # but we know of no workaround that is simple, portable, and efficient.
71922 # So, we kill variables containing newlines.
71923 # Ultrix sh set writes to stderr and can't be redirected directly,
71924 # and sets the high bit in the cache file unless we assign to the vars.
71926 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
71927 eval ac_val=\$$ac_var
71928 case $ac_val in #(
71929 *${as_nl}*)
71930 case $ac_var in #(
71931 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
71932 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
71933 esac
71934 case $ac_var in #(
71935 _ | IFS | as_nl) ;; #(
71936 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
71937 *) { eval $ac_var=; unset $ac_var;} ;;
71938 esac ;;
71939 esac
71940 done
71942 (set) 2>&1 |
71943 case $as_nl`(ac_space=' '; set) 2>&1` in #(
71944 *${as_nl}ac_space=\ *)
71945 # `set' does not quote correctly, so add quotes: double-quote
71946 # substitution turns \\\\ into \\, and sed turns \\ into \.
71947 sed -n \
71948 "s/'/'\\\\''/g;
71949 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
71950 ;; #(
71952 # `set' quotes correctly as required by POSIX, so do not add quotes.
71953 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
71955 esac |
71956 sort
71958 sed '
71959 /^ac_cv_env_/b end
71960 t clear
71961 :clear
71962 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
71963 t end
71964 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
71965 :end' >>confcache
71966 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
71967 if test -w "$cache_file"; then
71968 test "x$cache_file" != "x/dev/null" &&
71969 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
71970 $as_echo "$as_me: updating cache $cache_file" >&6;}
71971 cat confcache >$cache_file
71972 else
71973 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
71974 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
71977 rm -f confcache
71979 test "x$prefix" = xNONE && prefix=$ac_default_prefix
71980 # Let make expand exec_prefix.
71981 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
71983 DEFS=-DHAVE_CONFIG_H
71985 ac_libobjs=
71986 ac_ltlibobjs=
71987 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
71988 # 1. Remove the extension, and $U if already installed.
71989 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
71990 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
71991 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
71992 # will be set to the directory where LIBOBJS objects are built.
71993 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
71994 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
71995 done
71996 LIBOBJS=$ac_libobjs
71998 LTLIBOBJS=$ac_ltlibobjs
72001 if test -n "$EXEEXT"; then
72002 am__EXEEXT_TRUE=
72003 am__EXEEXT_FALSE='#'
72004 else
72005 am__EXEEXT_TRUE='#'
72006 am__EXEEXT_FALSE=
72009 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
72010 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
72011 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72013 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
72014 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
72015 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72017 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
72018 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
72019 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72021 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
72022 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
72023 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72025 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
72026 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
72027 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72029 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
72030 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
72031 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72033 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
72034 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
72035 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72037 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
72038 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
72039 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72041 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
72042 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
72043 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72045 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
72046 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
72047 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72049 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
72050 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
72051 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72053 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
72054 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
72055 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72057 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
72058 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
72059 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72061 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
72062 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
72063 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72065 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
72066 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
72067 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72069 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
72070 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
72071 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72073 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
72074 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
72075 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72077 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
72078 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
72079 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72081 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
72082 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
72083 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72085 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
72086 as_fn_error "conditional \"BUILD_INFO\" was never defined.
72087 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72089 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
72090 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
72091 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72093 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
72094 as_fn_error "conditional \"BUILD_XML\" was never defined.
72095 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72097 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
72098 as_fn_error "conditional \"BUILD_HTML\" was never defined.
72099 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72101 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
72102 as_fn_error "conditional \"BUILD_MAN\" was never defined.
72103 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72105 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
72106 as_fn_error "conditional \"BUILD_PDF\" was never defined.
72107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72110 : ${CONFIG_STATUS=./config.status}
72111 ac_write_fail=0
72112 ac_clean_files_save=$ac_clean_files
72113 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
72114 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
72115 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
72116 as_write_fail=0
72117 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
72118 #! $SHELL
72119 # Generated by $as_me.
72120 # Run this file to recreate the current configuration.
72121 # Compiler output produced by configure, useful for debugging
72122 # configure, is in config.log if it exists.
72124 debug=false
72125 ac_cs_recheck=false
72126 ac_cs_silent=false
72128 SHELL=\${CONFIG_SHELL-$SHELL}
72129 export SHELL
72130 _ASEOF
72131 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
72132 ## -------------------- ##
72133 ## M4sh Initialization. ##
72134 ## -------------------- ##
72136 # Be more Bourne compatible
72137 DUALCASE=1; export DUALCASE # for MKS sh
72138 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
72139 emulate sh
72140 NULLCMD=:
72141 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
72142 # is contrary to our usage. Disable this feature.
72143 alias -g '${1+"$@"}'='"$@"'
72144 setopt NO_GLOB_SUBST
72145 else
72146 case `(set -o) 2>/dev/null` in #(
72147 *posix*) :
72148 set -o posix ;; #(
72149 *) :
72151 esac
72155 as_nl='
72157 export as_nl
72158 # Printing a long string crashes Solaris 7 /usr/bin/printf.
72159 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
72160 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
72161 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
72162 # Prefer a ksh shell builtin over an external printf program on Solaris,
72163 # but without wasting forks for bash or zsh.
72164 if test -z "$BASH_VERSION$ZSH_VERSION" \
72165 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
72166 as_echo='print -r --'
72167 as_echo_n='print -rn --'
72168 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
72169 as_echo='printf %s\n'
72170 as_echo_n='printf %s'
72171 else
72172 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
72173 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
72174 as_echo_n='/usr/ucb/echo -n'
72175 else
72176 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
72177 as_echo_n_body='eval
72178 arg=$1;
72179 case $arg in #(
72180 *"$as_nl"*)
72181 expr "X$arg" : "X\\(.*\\)$as_nl";
72182 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
72183 esac;
72184 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
72186 export as_echo_n_body
72187 as_echo_n='sh -c $as_echo_n_body as_echo'
72189 export as_echo_body
72190 as_echo='sh -c $as_echo_body as_echo'
72193 # The user is always right.
72194 if test "${PATH_SEPARATOR+set}" != set; then
72195 PATH_SEPARATOR=:
72196 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
72197 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
72198 PATH_SEPARATOR=';'
72203 # IFS
72204 # We need space, tab and new line, in precisely that order. Quoting is
72205 # there to prevent editors from complaining about space-tab.
72206 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
72207 # splitting by setting IFS to empty value.)
72208 IFS=" "" $as_nl"
72210 # Find who we are. Look in the path if we contain no directory separator.
72211 case $0 in #((
72212 *[\\/]* ) as_myself=$0 ;;
72213 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72214 for as_dir in $PATH
72216 IFS=$as_save_IFS
72217 test -z "$as_dir" && as_dir=.
72218 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
72219 done
72220 IFS=$as_save_IFS
72223 esac
72224 # We did not find ourselves, most probably we were run as `sh COMMAND'
72225 # in which case we are not to be found in the path.
72226 if test "x$as_myself" = x; then
72227 as_myself=$0
72229 if test ! -f "$as_myself"; then
72230 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
72231 exit 1
72234 # Unset variables that we do not need and which cause bugs (e.g. in
72235 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
72236 # suppresses any "Segmentation fault" message there. '((' could
72237 # trigger a bug in pdksh 5.2.14.
72238 for as_var in BASH_ENV ENV MAIL MAILPATH
72239 do eval test x\${$as_var+set} = xset \
72240 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
72241 done
72242 PS1='$ '
72243 PS2='> '
72244 PS4='+ '
72246 # NLS nuisances.
72247 LC_ALL=C
72248 export LC_ALL
72249 LANGUAGE=C
72250 export LANGUAGE
72252 # CDPATH.
72253 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72256 # as_fn_error ERROR [LINENO LOG_FD]
72257 # ---------------------------------
72258 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
72259 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
72260 # script with status $?, using 1 if that was 0.
72261 as_fn_error ()
72263 as_status=$?; test $as_status -eq 0 && as_status=1
72264 if test "$3"; then
72265 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
72266 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
72268 $as_echo "$as_me: error: $1" >&2
72269 as_fn_exit $as_status
72270 } # as_fn_error
72273 # as_fn_set_status STATUS
72274 # -----------------------
72275 # Set $? to STATUS, without forking.
72276 as_fn_set_status ()
72278 return $1
72279 } # as_fn_set_status
72281 # as_fn_exit STATUS
72282 # -----------------
72283 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
72284 as_fn_exit ()
72286 set +e
72287 as_fn_set_status $1
72288 exit $1
72289 } # as_fn_exit
72291 # as_fn_unset VAR
72292 # ---------------
72293 # Portably unset VAR.
72294 as_fn_unset ()
72296 { eval $1=; unset $1;}
72298 as_unset=as_fn_unset
72299 # as_fn_append VAR VALUE
72300 # ----------------------
72301 # Append the text in VALUE to the end of the definition contained in VAR. Take
72302 # advantage of any shell optimizations that allow amortized linear growth over
72303 # repeated appends, instead of the typical quadratic growth present in naive
72304 # implementations.
72305 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
72306 eval 'as_fn_append ()
72308 eval $1+=\$2
72310 else
72311 as_fn_append ()
72313 eval $1=\$$1\$2
72315 fi # as_fn_append
72317 # as_fn_arith ARG...
72318 # ------------------
72319 # Perform arithmetic evaluation on the ARGs, and store the result in the
72320 # global $as_val. Take advantage of shells that can avoid forks. The arguments
72321 # must be portable across $(()) and expr.
72322 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
72323 eval 'as_fn_arith ()
72325 as_val=$(( $* ))
72327 else
72328 as_fn_arith ()
72330 as_val=`expr "$@" || test $? -eq 1`
72332 fi # as_fn_arith
72335 if expr a : '\(a\)' >/dev/null 2>&1 &&
72336 test "X`expr 00001 : '.*\(...\)'`" = X001; then
72337 as_expr=expr
72338 else
72339 as_expr=false
72342 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
72343 as_basename=basename
72344 else
72345 as_basename=false
72348 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
72349 as_dirname=dirname
72350 else
72351 as_dirname=false
72354 as_me=`$as_basename -- "$0" ||
72355 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
72356 X"$0" : 'X\(//\)$' \| \
72357 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
72358 $as_echo X/"$0" |
72359 sed '/^.*\/\([^/][^/]*\)\/*$/{
72360 s//\1/
72363 /^X\/\(\/\/\)$/{
72364 s//\1/
72367 /^X\/\(\/\).*/{
72368 s//\1/
72371 s/.*/./; q'`
72373 # Avoid depending upon Character Ranges.
72374 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
72375 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
72376 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
72377 as_cr_digits='0123456789'
72378 as_cr_alnum=$as_cr_Letters$as_cr_digits
72380 ECHO_C= ECHO_N= ECHO_T=
72381 case `echo -n x` in #(((((
72382 -n*)
72383 case `echo 'xy\c'` in
72384 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
72385 xy) ECHO_C='\c';;
72386 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
72387 ECHO_T=' ';;
72388 esac;;
72390 ECHO_N='-n';;
72391 esac
72393 rm -f conf$$ conf$$.exe conf$$.file
72394 if test -d conf$$.dir; then
72395 rm -f conf$$.dir/conf$$.file
72396 else
72397 rm -f conf$$.dir
72398 mkdir conf$$.dir 2>/dev/null
72400 if (echo >conf$$.file) 2>/dev/null; then
72401 if ln -s conf$$.file conf$$ 2>/dev/null; then
72402 as_ln_s='ln -s'
72403 # ... but there are two gotchas:
72404 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
72405 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
72406 # In both cases, we have to default to `cp -p'.
72407 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
72408 as_ln_s='cp -p'
72409 elif ln conf$$.file conf$$ 2>/dev/null; then
72410 as_ln_s=ln
72411 else
72412 as_ln_s='cp -p'
72414 else
72415 as_ln_s='cp -p'
72417 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
72418 rmdir conf$$.dir 2>/dev/null
72421 # as_fn_mkdir_p
72422 # -------------
72423 # Create "$as_dir" as a directory, including parents if necessary.
72424 as_fn_mkdir_p ()
72427 case $as_dir in #(
72428 -*) as_dir=./$as_dir;;
72429 esac
72430 test -d "$as_dir" || eval $as_mkdir_p || {
72431 as_dirs=
72432 while :; do
72433 case $as_dir in #(
72434 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
72435 *) as_qdir=$as_dir;;
72436 esac
72437 as_dirs="'$as_qdir' $as_dirs"
72438 as_dir=`$as_dirname -- "$as_dir" ||
72439 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
72440 X"$as_dir" : 'X\(//\)[^/]' \| \
72441 X"$as_dir" : 'X\(//\)$' \| \
72442 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
72443 $as_echo X"$as_dir" |
72444 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
72445 s//\1/
72448 /^X\(\/\/\)[^/].*/{
72449 s//\1/
72452 /^X\(\/\/\)$/{
72453 s//\1/
72456 /^X\(\/\).*/{
72457 s//\1/
72460 s/.*/./; q'`
72461 test -d "$as_dir" && break
72462 done
72463 test -z "$as_dirs" || eval "mkdir $as_dirs"
72464 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
72467 } # as_fn_mkdir_p
72468 if mkdir -p . 2>/dev/null; then
72469 as_mkdir_p='mkdir -p "$as_dir"'
72470 else
72471 test -d ./-p && rmdir ./-p
72472 as_mkdir_p=false
72475 if test -x / >/dev/null 2>&1; then
72476 as_test_x='test -x'
72477 else
72478 if ls -dL / >/dev/null 2>&1; then
72479 as_ls_L_option=L
72480 else
72481 as_ls_L_option=
72483 as_test_x='
72484 eval sh -c '\''
72485 if test -d "$1"; then
72486 test -d "$1/.";
72487 else
72488 case $1 in #(
72489 -*)set "./$1";;
72490 esac;
72491 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
72492 ???[sx]*):;;*)false;;esac;fi
72493 '\'' sh
72496 as_executable_p=$as_test_x
72498 # Sed expression to map a string onto a valid CPP name.
72499 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
72501 # Sed expression to map a string onto a valid variable name.
72502 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
72505 exec 6>&1
72506 ## ----------------------------------- ##
72507 ## Main body of $CONFIG_STATUS script. ##
72508 ## ----------------------------------- ##
72509 _ASEOF
72510 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
72512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72513 # Save the log message, to keep $0 and so on meaningful, and to
72514 # report actual input values of CONFIG_FILES etc. instead of their
72515 # values after options handling.
72516 ac_log="
72517 This file was extended by package-unused $as_me version-unused, which was
72518 generated by GNU Autoconf 2.64. Invocation command line was
72520 CONFIG_FILES = $CONFIG_FILES
72521 CONFIG_HEADERS = $CONFIG_HEADERS
72522 CONFIG_LINKS = $CONFIG_LINKS
72523 CONFIG_COMMANDS = $CONFIG_COMMANDS
72524 $ $0 $@
72526 on `(hostname || uname -n) 2>/dev/null | sed 1q`
72529 _ACEOF
72531 case $ac_config_files in *"
72532 "*) set x $ac_config_files; shift; ac_config_files=$*;;
72533 esac
72535 case $ac_config_headers in *"
72536 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
72537 esac
72540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72541 # Files that config.status was made for.
72542 config_files="$ac_config_files"
72543 config_headers="$ac_config_headers"
72544 config_commands="$ac_config_commands"
72546 _ACEOF
72548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72549 ac_cs_usage="\
72550 \`$as_me' instantiates files and other configuration actions
72551 from templates according to the current configuration. Unless the files
72552 and actions are specified as TAGs, all are instantiated by default.
72554 Usage: $0 [OPTION]... [TAG]...
72556 -h, --help print this help, then exit
72557 -V, --version print version number and configuration settings, then exit
72558 -q, --quiet, --silent
72559 do not print progress messages
72560 -d, --debug don't remove temporary files
72561 --recheck update $as_me by reconfiguring in the same conditions
72562 --file=FILE[:TEMPLATE]
72563 instantiate the configuration file FILE
72564 --header=FILE[:TEMPLATE]
72565 instantiate the configuration header FILE
72567 Configuration files:
72568 $config_files
72570 Configuration headers:
72571 $config_headers
72573 Configuration commands:
72574 $config_commands
72576 Report bugs to the package provider."
72578 _ACEOF
72579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72580 ac_cs_version="\\
72581 package-unused config.status version-unused
72582 configured by $0, generated by GNU Autoconf 2.64,
72583 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
72585 Copyright (C) 2009 Free Software Foundation, Inc.
72586 This config.status script is free software; the Free Software Foundation
72587 gives unlimited permission to copy, distribute and modify it."
72589 ac_pwd='$ac_pwd'
72590 srcdir='$srcdir'
72591 INSTALL='$INSTALL'
72592 MKDIR_P='$MKDIR_P'
72593 AWK='$AWK'
72594 test -n "\$AWK" || AWK=awk
72595 _ACEOF
72597 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72598 # The default lists apply if the user does not specify any file.
72599 ac_need_defaults=:
72600 while test $# != 0
72602 case $1 in
72603 --*=*)
72604 ac_option=`expr "X$1" : 'X\([^=]*\)='`
72605 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
72606 ac_shift=:
72609 ac_option=$1
72610 ac_optarg=$2
72611 ac_shift=shift
72613 esac
72615 case $ac_option in
72616 # Handling of the options.
72617 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
72618 ac_cs_recheck=: ;;
72619 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
72620 $as_echo "$ac_cs_version"; exit ;;
72621 --debug | --debu | --deb | --de | --d | -d )
72622 debug=: ;;
72623 --file | --fil | --fi | --f )
72624 $ac_shift
72625 case $ac_optarg in
72626 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72627 esac
72628 as_fn_append CONFIG_FILES " '$ac_optarg'"
72629 ac_need_defaults=false;;
72630 --header | --heade | --head | --hea )
72631 $ac_shift
72632 case $ac_optarg in
72633 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72634 esac
72635 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
72636 ac_need_defaults=false;;
72637 --he | --h)
72638 # Conflict between --help and --header
72639 as_fn_error "ambiguous option: \`$1'
72640 Try \`$0 --help' for more information.";;
72641 --help | --hel | -h )
72642 $as_echo "$ac_cs_usage"; exit ;;
72643 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
72644 | -silent | --silent | --silen | --sile | --sil | --si | --s)
72645 ac_cs_silent=: ;;
72647 # This is an error.
72648 -*) as_fn_error "unrecognized option: \`$1'
72649 Try \`$0 --help' for more information." ;;
72651 *) as_fn_append ac_config_targets " $1"
72652 ac_need_defaults=false ;;
72654 esac
72655 shift
72656 done
72658 ac_configure_extra_args=
72660 if $ac_cs_silent; then
72661 exec 6>/dev/null
72662 ac_configure_extra_args="$ac_configure_extra_args --silent"
72665 _ACEOF
72666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72667 if \$ac_cs_recheck; then
72668 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
72669 shift
72670 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
72671 CONFIG_SHELL='$SHELL'
72672 export CONFIG_SHELL
72673 exec "\$@"
72676 _ACEOF
72677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72678 exec 5>>config.log
72680 echo
72681 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
72682 ## Running $as_me. ##
72683 _ASBOX
72684 $as_echo "$ac_log"
72685 } >&5
72687 _ACEOF
72688 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72690 # INIT-COMMANDS
72693 srcdir="$srcdir"
72694 host="$host"
72695 target="$target"
72696 with_multisubdir="$with_multisubdir"
72697 with_multisrctop="$with_multisrctop"
72698 with_target_subdir="$with_target_subdir"
72699 ac_configure_args="${multilib_arg} ${ac_configure_args}"
72700 multi_basedir="$multi_basedir"
72701 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
72702 CC="$CC"
72703 CXX="$CXX"
72704 GFORTRAN="$GFORTRAN"
72705 GCJ="$GCJ"
72708 # The HP-UX ksh and POSIX shell print the target directory to stdout
72709 # if CDPATH is set.
72710 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72712 sed_quote_subst='$sed_quote_subst'
72713 double_quote_subst='$double_quote_subst'
72714 delay_variable_subst='$delay_variable_subst'
72715 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
72716 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
72717 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
72718 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
72719 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
72720 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
72721 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
72722 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
72723 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
72724 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
72725 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
72726 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
72727 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
72728 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
72729 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
72730 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
72731 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
72732 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
72733 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
72734 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
72735 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
72736 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
72737 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
72738 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
72739 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
72740 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
72741 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
72742 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
72743 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
72744 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
72745 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
72746 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
72747 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
72748 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
72749 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
72750 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
72751 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
72752 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72753 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72754 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
72755 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
72756 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
72757 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
72758 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
72759 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
72760 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
72761 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
72762 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
72763 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"`'
72764 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
72765 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
72766 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
72767 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
72768 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
72769 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
72770 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
72771 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
72772 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
72773 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
72774 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
72775 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
72776 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
72777 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
72778 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
72779 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72780 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
72781 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
72782 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
72783 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
72784 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
72785 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
72786 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72787 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
72788 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
72789 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
72790 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
72791 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
72792 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
72793 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
72794 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
72795 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
72796 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
72797 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
72798 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
72799 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
72800 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
72801 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
72802 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
72803 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
72804 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
72805 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
72806 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
72807 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
72808 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
72809 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
72810 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
72811 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
72812 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
72813 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
72814 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
72815 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
72816 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
72817 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
72818 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
72819 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
72820 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
72821 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
72822 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72823 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72824 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
72825 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
72826 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
72827 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
72828 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
72829 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
72830 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
72831 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
72832 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
72833 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
72834 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
72835 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
72836 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
72837 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
72838 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
72839 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
72840 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
72841 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
72842 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
72843 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72844 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72845 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
72846 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
72847 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
72848 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
72849 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
72850 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
72851 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
72852 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
72853 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
72854 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
72855 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
72856 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
72857 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72858 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72859 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72860 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72861 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72862 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72863 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
72864 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
72865 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
72866 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
72867 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
72868 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
72869 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
72870 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
72871 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
72872 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
72873 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
72874 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
72875 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
72876 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
72877 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
72878 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72879 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
72880 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
72881 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72882 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
72883 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
72884 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
72885 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
72886 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
72887 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
72888 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
72889 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
72891 LTCC='$LTCC'
72892 LTCFLAGS='$LTCFLAGS'
72893 compiler='$compiler_DEFAULT'
72895 # A function that is used when there is no print builtin or printf.
72896 func_fallback_echo ()
72898 eval 'cat <<_LTECHO_EOF
72900 _LTECHO_EOF'
72903 # Quote evaled strings.
72904 for var in SHELL \
72905 ECHO \
72906 SED \
72907 GREP \
72908 EGREP \
72909 FGREP \
72910 LD \
72911 NM \
72912 LN_S \
72913 lt_SP2NL \
72914 lt_NL2SP \
72915 reload_flag \
72916 OBJDUMP \
72917 deplibs_check_method \
72918 file_magic_cmd \
72919 AR \
72920 AR_FLAGS \
72921 STRIP \
72922 RANLIB \
72923 CC \
72924 CFLAGS \
72925 compiler \
72926 lt_cv_sys_global_symbol_pipe \
72927 lt_cv_sys_global_symbol_to_cdecl \
72928 lt_cv_sys_global_symbol_to_c_name_address \
72929 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
72930 lt_prog_compiler_no_builtin_flag \
72931 lt_prog_compiler_wl \
72932 lt_prog_compiler_pic \
72933 lt_prog_compiler_static \
72934 lt_cv_prog_compiler_c_o \
72935 need_locks \
72936 DSYMUTIL \
72937 NMEDIT \
72938 LIPO \
72939 OTOOL \
72940 OTOOL64 \
72941 shrext_cmds \
72942 export_dynamic_flag_spec \
72943 whole_archive_flag_spec \
72944 compiler_needs_object \
72945 with_gnu_ld \
72946 allow_undefined_flag \
72947 no_undefined_flag \
72948 hardcode_libdir_flag_spec \
72949 hardcode_libdir_flag_spec_ld \
72950 hardcode_libdir_separator \
72951 fix_srcfile_path \
72952 exclude_expsyms \
72953 include_expsyms \
72954 file_list_spec \
72955 variables_saved_for_relink \
72956 libname_spec \
72957 library_names_spec \
72958 soname_spec \
72959 install_override_mode \
72960 finish_eval \
72961 old_striplib \
72962 striplib \
72963 compiler_lib_search_dirs \
72964 predep_objects \
72965 postdep_objects \
72966 predeps \
72967 postdeps \
72968 compiler_lib_search_path \
72969 LD_CXX \
72970 reload_flag_CXX \
72971 compiler_CXX \
72972 lt_prog_compiler_no_builtin_flag_CXX \
72973 lt_prog_compiler_wl_CXX \
72974 lt_prog_compiler_pic_CXX \
72975 lt_prog_compiler_static_CXX \
72976 lt_cv_prog_compiler_c_o_CXX \
72977 export_dynamic_flag_spec_CXX \
72978 whole_archive_flag_spec_CXX \
72979 compiler_needs_object_CXX \
72980 with_gnu_ld_CXX \
72981 allow_undefined_flag_CXX \
72982 no_undefined_flag_CXX \
72983 hardcode_libdir_flag_spec_CXX \
72984 hardcode_libdir_flag_spec_ld_CXX \
72985 hardcode_libdir_separator_CXX \
72986 fix_srcfile_path_CXX \
72987 exclude_expsyms_CXX \
72988 include_expsyms_CXX \
72989 file_list_spec_CXX \
72990 compiler_lib_search_dirs_CXX \
72991 predep_objects_CXX \
72992 postdep_objects_CXX \
72993 predeps_CXX \
72994 postdeps_CXX \
72995 compiler_lib_search_path_CXX; do
72996 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
72997 *[\\\\\\\`\\"\\\$]*)
72998 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
73001 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73003 esac
73004 done
73006 # Double-quote double-evaled strings.
73007 for var in reload_cmds \
73008 old_postinstall_cmds \
73009 old_postuninstall_cmds \
73010 old_archive_cmds \
73011 extract_expsyms_cmds \
73012 old_archive_from_new_cmds \
73013 old_archive_from_expsyms_cmds \
73014 archive_cmds \
73015 archive_expsym_cmds \
73016 module_cmds \
73017 module_expsym_cmds \
73018 export_symbols_cmds \
73019 prelink_cmds \
73020 postinstall_cmds \
73021 postuninstall_cmds \
73022 finish_cmds \
73023 sys_lib_search_path_spec \
73024 sys_lib_dlsearch_path_spec \
73025 reload_cmds_CXX \
73026 old_archive_cmds_CXX \
73027 old_archive_from_new_cmds_CXX \
73028 old_archive_from_expsyms_cmds_CXX \
73029 archive_cmds_CXX \
73030 archive_expsym_cmds_CXX \
73031 module_cmds_CXX \
73032 module_expsym_cmds_CXX \
73033 export_symbols_cmds_CXX \
73034 prelink_cmds_CXX; do
73035 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73036 *[\\\\\\\`\\"\\\$]*)
73037 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
73040 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73042 esac
73043 done
73045 ac_aux_dir='$ac_aux_dir'
73046 xsi_shell='$xsi_shell'
73047 lt_shell_append='$lt_shell_append'
73049 # See if we are running on zsh, and set the options which allow our
73050 # commands through without removal of \ escapes INIT.
73051 if test -n "\${ZSH_VERSION+set}" ; then
73052 setopt NO_GLOB_SUBST
73056 PACKAGE='$PACKAGE'
73057 VERSION='$VERSION'
73058 TIMESTAMP='$TIMESTAMP'
73059 RM='$RM'
73060 ofile='$ofile'
73067 GCC="$GCC"
73068 CC="$CC"
73069 acx_cv_header_stdint="$acx_cv_header_stdint"
73070 acx_cv_type_int8_t="$acx_cv_type_int8_t"
73071 acx_cv_type_int16_t="$acx_cv_type_int16_t"
73072 acx_cv_type_int32_t="$acx_cv_type_int32_t"
73073 acx_cv_type_int64_t="$acx_cv_type_int64_t"
73074 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
73075 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
73076 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
73077 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
73078 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
73079 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
73080 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
73081 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
73082 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
73085 _ACEOF
73087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73089 # Handling of arguments.
73090 for ac_config_target in $ac_config_targets
73092 case $ac_config_target in
73093 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
73094 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
73095 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
73096 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
73097 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
73098 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
73099 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
73100 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
73101 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
73102 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
73103 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
73104 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
73105 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
73106 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
73107 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
73108 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
73109 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
73111 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
73112 esac
73113 done
73116 # If the user did not use the arguments to specify the items to instantiate,
73117 # then the envvar interface is used. Set only those that are not.
73118 # We use the long form for the default assignment because of an extremely
73119 # bizarre bug on SunOS 4.1.3.
73120 if $ac_need_defaults; then
73121 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
73122 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
73123 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
73126 # Have a temporary directory for convenience. Make it in the build tree
73127 # simply because there is no reason against having it here, and in addition,
73128 # creating and moving files from /tmp can sometimes cause problems.
73129 # Hook for its removal unless debugging.
73130 # Note that there is a small window in which the directory will not be cleaned:
73131 # after its creation but before its name has been assigned to `$tmp'.
73132 $debug ||
73134 tmp=
73135 trap 'exit_status=$?
73136 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
73138 trap 'as_fn_exit 1' 1 2 13 15
73140 # Create a (secure) tmp directory for tmp files.
73143 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
73144 test -n "$tmp" && test -d "$tmp"
73145 } ||
73147 tmp=./conf$$-$RANDOM
73148 (umask 077 && mkdir "$tmp")
73149 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
73151 # Set up the scripts for CONFIG_FILES section.
73152 # No need to generate them if there are no CONFIG_FILES.
73153 # This happens for instance with `./config.status config.h'.
73154 if test -n "$CONFIG_FILES"; then
73157 ac_cr=`echo X | tr X '\015'`
73158 # On cygwin, bash can eat \r inside `` if the user requested igncr.
73159 # But we know of no other shell where ac_cr would be empty at this
73160 # point, so we can use a bashism as a fallback.
73161 if test "x$ac_cr" = x; then
73162 eval ac_cr=\$\'\\r\'
73164 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
73165 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
73166 ac_cs_awk_cr='\r'
73167 else
73168 ac_cs_awk_cr=$ac_cr
73171 echo 'BEGIN {' >"$tmp/subs1.awk" &&
73172 _ACEOF
73176 echo "cat >conf$$subs.awk <<_ACEOF" &&
73177 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
73178 echo "_ACEOF"
73179 } >conf$$subs.sh ||
73180 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73181 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
73182 ac_delim='%!_!# '
73183 for ac_last_try in false false false false false :; do
73184 . ./conf$$subs.sh ||
73185 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73187 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
73188 if test $ac_delim_n = $ac_delim_num; then
73189 break
73190 elif $ac_last_try; then
73191 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73192 else
73193 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73195 done
73196 rm -f conf$$subs.sh
73198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73199 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
73200 _ACEOF
73201 sed -n '
73203 s/^/S["/; s/!.*/"]=/
73206 s/^[^!]*!//
73207 :repl
73208 t repl
73209 s/'"$ac_delim"'$//
73210 t delim
73213 s/\(.\{148\}\).*/\1/
73214 t more1
73215 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
73218 b repl
73219 :more1
73220 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73223 s/.\{148\}//
73224 t nl
73225 :delim
73227 s/\(.\{148\}\).*/\1/
73228 t more2
73229 s/["\\]/\\&/g; s/^/"/; s/$/"/
73232 :more2
73233 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73236 s/.\{148\}//
73237 t delim
73238 ' <conf$$subs.awk | sed '
73239 /^[^""]/{
73241 s/\n//
73243 ' >>$CONFIG_STATUS || ac_write_fail=1
73244 rm -f conf$$subs.awk
73245 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73246 _ACAWK
73247 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
73248 for (key in S) S_is_set[key] = 1
73249 FS = "\a"
73253 line = $ 0
73254 nfields = split(line, field, "@")
73255 substed = 0
73256 len = length(field[1])
73257 for (i = 2; i < nfields; i++) {
73258 key = field[i]
73259 keylen = length(key)
73260 if (S_is_set[key]) {
73261 value = S[key]
73262 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
73263 len += length(value) + length(field[++i])
73264 substed = 1
73265 } else
73266 len += 1 + keylen
73269 print line
73272 _ACAWK
73273 _ACEOF
73274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73275 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
73276 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
73277 else
73279 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
73280 || as_fn_error "could not setup config files machinery" "$LINENO" 5
73281 _ACEOF
73283 # VPATH may cause trouble with some makes, so we remove $(srcdir),
73284 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
73285 # trailing colons and then remove the whole line if VPATH becomes empty
73286 # (actually we leave an empty line to preserve line numbers).
73287 if test "x$srcdir" = x.; then
73288 ac_vpsub='/^[ ]*VPATH[ ]*=/{
73289 s/:*\$(srcdir):*/:/
73290 s/:*\${srcdir}:*/:/
73291 s/:*@srcdir@:*/:/
73292 s/^\([^=]*=[ ]*\):*/\1/
73293 s/:*$//
73294 s/^[^=]*=[ ]*$//
73298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73299 fi # test -n "$CONFIG_FILES"
73301 # Set up the scripts for CONFIG_HEADERS section.
73302 # No need to generate them if there are no CONFIG_HEADERS.
73303 # This happens for instance with `./config.status Makefile'.
73304 if test -n "$CONFIG_HEADERS"; then
73305 cat >"$tmp/defines.awk" <<\_ACAWK ||
73306 BEGIN {
73307 _ACEOF
73309 # Transform confdefs.h into an awk script `defines.awk', embedded as
73310 # here-document in config.status, that substitutes the proper values into
73311 # config.h.in to produce config.h.
73313 # Create a delimiter string that does not exist in confdefs.h, to ease
73314 # handling of long lines.
73315 ac_delim='%!_!# '
73316 for ac_last_try in false false :; do
73317 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
73318 if test -z "$ac_t"; then
73319 break
73320 elif $ac_last_try; then
73321 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
73322 else
73323 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73325 done
73327 # For the awk script, D is an array of macro values keyed by name,
73328 # likewise P contains macro parameters if any. Preserve backslash
73329 # newline sequences.
73331 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
73332 sed -n '
73333 s/.\{148\}/&'"$ac_delim"'/g
73334 t rset
73335 :rset
73336 s/^[ ]*#[ ]*define[ ][ ]*/ /
73337 t def
73339 :def
73340 s/\\$//
73341 t bsnl
73342 s/["\\]/\\&/g
73343 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73344 D["\1"]=" \3"/p
73345 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
73347 :bsnl
73348 s/["\\]/\\&/g
73349 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73350 D["\1"]=" \3\\\\\\n"\\/p
73351 t cont
73352 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
73353 t cont
73355 :cont
73357 s/.\{148\}/&'"$ac_delim"'/g
73358 t clear
73359 :clear
73360 s/\\$//
73361 t bsnlc
73362 s/["\\]/\\&/g; s/^/"/; s/$/"/p
73364 :bsnlc
73365 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
73366 b cont
73367 ' <confdefs.h | sed '
73368 s/'"$ac_delim"'/"\\\
73369 "/g' >>$CONFIG_STATUS || ac_write_fail=1
73371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73372 for (key in D) D_is_set[key] = 1
73373 FS = "\a"
73375 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
73376 line = \$ 0
73377 split(line, arg, " ")
73378 if (arg[1] == "#") {
73379 defundef = arg[2]
73380 mac1 = arg[3]
73381 } else {
73382 defundef = substr(arg[1], 2)
73383 mac1 = arg[2]
73385 split(mac1, mac2, "(") #)
73386 macro = mac2[1]
73387 prefix = substr(line, 1, index(line, defundef) - 1)
73388 if (D_is_set[macro]) {
73389 # Preserve the white space surrounding the "#".
73390 print prefix "define", macro P[macro] D[macro]
73391 next
73392 } else {
73393 # Replace #undef with comments. This is necessary, for example,
73394 # in the case of _POSIX_SOURCE, which is predefined and required
73395 # on some systems where configure will not decide to define it.
73396 if (defundef == "undef") {
73397 print "/*", prefix defundef, macro, "*/"
73398 next
73402 { print }
73403 _ACAWK
73404 _ACEOF
73405 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73406 as_fn_error "could not setup config headers machinery" "$LINENO" 5
73407 fi # test -n "$CONFIG_HEADERS"
73410 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
73411 shift
73412 for ac_tag
73414 case $ac_tag in
73415 :[FHLC]) ac_mode=$ac_tag; continue;;
73416 esac
73417 case $ac_mode$ac_tag in
73418 :[FHL]*:*);;
73419 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
73420 :[FH]-) ac_tag=-:-;;
73421 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
73422 esac
73423 ac_save_IFS=$IFS
73424 IFS=:
73425 set x $ac_tag
73426 IFS=$ac_save_IFS
73427 shift
73428 ac_file=$1
73429 shift
73431 case $ac_mode in
73432 :L) ac_source=$1;;
73433 :[FH])
73434 ac_file_inputs=
73435 for ac_f
73437 case $ac_f in
73438 -) ac_f="$tmp/stdin";;
73439 *) # Look for the file first in the build tree, then in the source tree
73440 # (if the path is not absolute). The absolute path cannot be DOS-style,
73441 # because $ac_f cannot contain `:'.
73442 test -f "$ac_f" ||
73443 case $ac_f in
73444 [\\/$]*) false;;
73445 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
73446 esac ||
73447 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
73448 esac
73449 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
73450 as_fn_append ac_file_inputs " '$ac_f'"
73451 done
73453 # Let's still pretend it is `configure' which instantiates (i.e., don't
73454 # use $as_me), people would be surprised to read:
73455 # /* config.h. Generated by config.status. */
73456 configure_input='Generated from '`
73457 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
73458 `' by configure.'
73459 if test x"$ac_file" != x-; then
73460 configure_input="$ac_file. $configure_input"
73461 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
73462 $as_echo "$as_me: creating $ac_file" >&6;}
73464 # Neutralize special characters interpreted by sed in replacement strings.
73465 case $configure_input in #(
73466 *\&* | *\|* | *\\* )
73467 ac_sed_conf_input=`$as_echo "$configure_input" |
73468 sed 's/[\\\\&|]/\\\\&/g'`;; #(
73469 *) ac_sed_conf_input=$configure_input;;
73470 esac
73472 case $ac_tag in
73473 *:-:* | *:-) cat >"$tmp/stdin" \
73474 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
73475 esac
73477 esac
73479 ac_dir=`$as_dirname -- "$ac_file" ||
73480 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73481 X"$ac_file" : 'X\(//\)[^/]' \| \
73482 X"$ac_file" : 'X\(//\)$' \| \
73483 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
73484 $as_echo X"$ac_file" |
73485 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73486 s//\1/
73489 /^X\(\/\/\)[^/].*/{
73490 s//\1/
73493 /^X\(\/\/\)$/{
73494 s//\1/
73497 /^X\(\/\).*/{
73498 s//\1/
73501 s/.*/./; q'`
73502 as_dir="$ac_dir"; as_fn_mkdir_p
73503 ac_builddir=.
73505 case "$ac_dir" in
73506 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
73508 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
73509 # A ".." for each directory in $ac_dir_suffix.
73510 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
73511 case $ac_top_builddir_sub in
73512 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
73513 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
73514 esac ;;
73515 esac
73516 ac_abs_top_builddir=$ac_pwd
73517 ac_abs_builddir=$ac_pwd$ac_dir_suffix
73518 # for backward compatibility:
73519 ac_top_builddir=$ac_top_build_prefix
73521 case $srcdir in
73522 .) # We are building in place.
73523 ac_srcdir=.
73524 ac_top_srcdir=$ac_top_builddir_sub
73525 ac_abs_top_srcdir=$ac_pwd ;;
73526 [\\/]* | ?:[\\/]* ) # Absolute name.
73527 ac_srcdir=$srcdir$ac_dir_suffix;
73528 ac_top_srcdir=$srcdir
73529 ac_abs_top_srcdir=$srcdir ;;
73530 *) # Relative name.
73531 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
73532 ac_top_srcdir=$ac_top_build_prefix$srcdir
73533 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
73534 esac
73535 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
73538 case $ac_mode in
73541 # CONFIG_FILE
73544 case $INSTALL in
73545 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
73546 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
73547 esac
73548 ac_MKDIR_P=$MKDIR_P
73549 case $MKDIR_P in
73550 [\\/$]* | ?:[\\/]* ) ;;
73551 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
73552 esac
73553 _ACEOF
73555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73556 # If the template does not know about datarootdir, expand it.
73557 # FIXME: This hack should be removed a few years after 2.60.
73558 ac_datarootdir_hack=; ac_datarootdir_seen=
73559 ac_sed_dataroot='
73560 /datarootdir/ {
73564 /@datadir@/p
73565 /@docdir@/p
73566 /@infodir@/p
73567 /@localedir@/p
73568 /@mandir@/p'
73569 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
73570 *datarootdir*) ac_datarootdir_seen=yes;;
73571 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
73572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
73573 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
73574 _ACEOF
73575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73576 ac_datarootdir_hack='
73577 s&@datadir@&$datadir&g
73578 s&@docdir@&$docdir&g
73579 s&@infodir@&$infodir&g
73580 s&@localedir@&$localedir&g
73581 s&@mandir@&$mandir&g
73582 s&\\\${datarootdir}&$datarootdir&g' ;;
73583 esac
73584 _ACEOF
73586 # Neutralize VPATH when `$srcdir' = `.'.
73587 # Shell code in configure.ac might set extrasub.
73588 # FIXME: do we really want to maintain this feature?
73589 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73590 ac_sed_extra="$ac_vpsub
73591 $extrasub
73592 _ACEOF
73593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73595 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
73596 s|@configure_input@|$ac_sed_conf_input|;t t
73597 s&@top_builddir@&$ac_top_builddir_sub&;t t
73598 s&@top_build_prefix@&$ac_top_build_prefix&;t t
73599 s&@srcdir@&$ac_srcdir&;t t
73600 s&@abs_srcdir@&$ac_abs_srcdir&;t t
73601 s&@top_srcdir@&$ac_top_srcdir&;t t
73602 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
73603 s&@builddir@&$ac_builddir&;t t
73604 s&@abs_builddir@&$ac_abs_builddir&;t t
73605 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
73606 s&@INSTALL@&$ac_INSTALL&;t t
73607 s&@MKDIR_P@&$ac_MKDIR_P&;t t
73608 $ac_datarootdir_hack
73610 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
73611 || as_fn_error "could not create $ac_file" "$LINENO" 5
73613 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
73614 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
73615 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
73616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73617 which seems to be undefined. Please make sure it is defined." >&5
73618 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73619 which seems to be undefined. Please make sure it is defined." >&2;}
73621 rm -f "$tmp/stdin"
73622 case $ac_file in
73623 -) cat "$tmp/out" && rm -f "$tmp/out";;
73624 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
73625 esac \
73626 || as_fn_error "could not create $ac_file" "$LINENO" 5
73630 # CONFIG_HEADER
73632 if test x"$ac_file" != x-; then
73634 $as_echo "/* $configure_input */" \
73635 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
73636 } >"$tmp/config.h" \
73637 || as_fn_error "could not create $ac_file" "$LINENO" 5
73638 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
73639 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
73640 $as_echo "$as_me: $ac_file is unchanged" >&6;}
73641 else
73642 rm -f "$ac_file"
73643 mv "$tmp/config.h" "$ac_file" \
73644 || as_fn_error "could not create $ac_file" "$LINENO" 5
73646 else
73647 $as_echo "/* $configure_input */" \
73648 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
73649 || as_fn_error "could not create -" "$LINENO" 5
73651 # Compute "$ac_file"'s index in $config_headers.
73652 _am_arg="$ac_file"
73653 _am_stamp_count=1
73654 for _am_header in $config_headers :; do
73655 case $_am_header in
73656 $_am_arg | $_am_arg:* )
73657 break ;;
73659 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
73660 esac
73661 done
73662 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
73663 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73664 X"$_am_arg" : 'X\(//\)[^/]' \| \
73665 X"$_am_arg" : 'X\(//\)$' \| \
73666 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
73667 $as_echo X"$_am_arg" |
73668 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73669 s//\1/
73672 /^X\(\/\/\)[^/].*/{
73673 s//\1/
73676 /^X\(\/\/\)$/{
73677 s//\1/
73680 /^X\(\/\).*/{
73681 s//\1/
73684 s/.*/./; q'`/stamp-h$_am_stamp_count
73687 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
73688 $as_echo "$as_me: executing $ac_file commands" >&6;}
73690 esac
73693 case $ac_file$ac_mode in
73694 "default-1":C)
73695 # Only add multilib support code if we just rebuilt the top-level
73696 # Makefile.
73697 case " $CONFIG_FILES " in
73698 *" Makefile "*)
73699 ac_file=Makefile . ${multi_basedir}/config-ml.in
73701 esac ;;
73702 "libtool":C)
73704 # See if we are running on zsh, and set the options which allow our
73705 # commands through without removal of \ escapes.
73706 if test -n "${ZSH_VERSION+set}" ; then
73707 setopt NO_GLOB_SUBST
73710 cfgfile="${ofile}T"
73711 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
73712 $RM "$cfgfile"
73714 cat <<_LT_EOF >> "$cfgfile"
73715 #! $SHELL
73717 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
73718 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
73719 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
73720 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
73722 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
73723 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
73724 # Written by Gordon Matzigkeit, 1996
73726 # This file is part of GNU Libtool.
73728 # GNU Libtool is free software; you can redistribute it and/or
73729 # modify it under the terms of the GNU General Public License as
73730 # published by the Free Software Foundation; either version 2 of
73731 # the License, or (at your option) any later version.
73733 # As a special exception to the GNU General Public License,
73734 # if you distribute this file as part of a program or library that
73735 # is built using GNU Libtool, you may include this file under the
73736 # same distribution terms that you use for the rest of that program.
73738 # GNU Libtool is distributed in the hope that it will be useful,
73739 # but WITHOUT ANY WARRANTY; without even the implied warranty of
73740 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
73741 # GNU General Public License for more details.
73743 # You should have received a copy of the GNU General Public License
73744 # along with GNU Libtool; see the file COPYING. If not, a copy
73745 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
73746 # obtained by writing to the Free Software Foundation, Inc.,
73747 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
73750 # The names of the tagged configurations supported by this script.
73751 available_tags="CXX "
73753 # ### BEGIN LIBTOOL CONFIG
73755 # Which release of libtool.m4 was used?
73756 macro_version=$macro_version
73757 macro_revision=$macro_revision
73759 # Whether or not to build shared libraries.
73760 build_libtool_libs=$enable_shared
73762 # Whether or not to build static libraries.
73763 build_old_libs=$enable_static
73765 # What type of objects to build.
73766 pic_mode=$pic_mode
73768 # Whether or not to optimize for fast installation.
73769 fast_install=$enable_fast_install
73771 # Shell to use when invoking shell scripts.
73772 SHELL=$lt_SHELL
73774 # An echo program that protects backslashes.
73775 ECHO=$lt_ECHO
73777 # The host system.
73778 host_alias=$host_alias
73779 host=$host
73780 host_os=$host_os
73782 # The build system.
73783 build_alias=$build_alias
73784 build=$build
73785 build_os=$build_os
73787 # A sed program that does not truncate output.
73788 SED=$lt_SED
73790 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
73791 Xsed="\$SED -e 1s/^X//"
73793 # A grep program that handles long lines.
73794 GREP=$lt_GREP
73796 # An ERE matcher.
73797 EGREP=$lt_EGREP
73799 # A literal string matcher.
73800 FGREP=$lt_FGREP
73802 # A BSD- or MS-compatible name lister.
73803 NM=$lt_NM
73805 # Whether we need soft or hard links.
73806 LN_S=$lt_LN_S
73808 # What is the maximum length of a command?
73809 max_cmd_len=$max_cmd_len
73811 # Object file suffix (normally "o").
73812 objext=$ac_objext
73814 # Executable file suffix (normally "").
73815 exeext=$exeext
73817 # whether the shell understands "unset".
73818 lt_unset=$lt_unset
73820 # turn spaces into newlines.
73821 SP2NL=$lt_lt_SP2NL
73823 # turn newlines into spaces.
73824 NL2SP=$lt_lt_NL2SP
73826 # An object symbol dumper.
73827 OBJDUMP=$lt_OBJDUMP
73829 # Method to check whether dependent libraries are shared objects.
73830 deplibs_check_method=$lt_deplibs_check_method
73832 # Command to use when deplibs_check_method == "file_magic".
73833 file_magic_cmd=$lt_file_magic_cmd
73835 # The archiver.
73836 AR=$lt_AR
73837 AR_FLAGS=$lt_AR_FLAGS
73839 # A symbol stripping program.
73840 STRIP=$lt_STRIP
73842 # Commands used to install an old-style archive.
73843 RANLIB=$lt_RANLIB
73844 old_postinstall_cmds=$lt_old_postinstall_cmds
73845 old_postuninstall_cmds=$lt_old_postuninstall_cmds
73847 # Whether to use a lock for old archive extraction.
73848 lock_old_archive_extraction=$lock_old_archive_extraction
73850 # A C compiler.
73851 LTCC=$lt_CC
73853 # LTCC compiler flags.
73854 LTCFLAGS=$lt_CFLAGS
73856 # Take the output of nm and produce a listing of raw symbols and C names.
73857 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
73859 # Transform the output of nm in a proper C declaration.
73860 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
73862 # Transform the output of nm in a C name address pair.
73863 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
73865 # Transform the output of nm in a C name address pair when lib prefix is needed.
73866 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
73868 # The name of the directory that contains temporary libtool files.
73869 objdir=$objdir
73871 # Used to examine libraries when file_magic_cmd begins with "file".
73872 MAGIC_CMD=$MAGIC_CMD
73874 # Must we lock files when doing compilation?
73875 need_locks=$lt_need_locks
73877 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
73878 DSYMUTIL=$lt_DSYMUTIL
73880 # Tool to change global to local symbols on Mac OS X.
73881 NMEDIT=$lt_NMEDIT
73883 # Tool to manipulate fat objects and archives on Mac OS X.
73884 LIPO=$lt_LIPO
73886 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
73887 OTOOL=$lt_OTOOL
73889 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
73890 OTOOL64=$lt_OTOOL64
73892 # Old archive suffix (normally "a").
73893 libext=$libext
73895 # Shared library suffix (normally ".so").
73896 shrext_cmds=$lt_shrext_cmds
73898 # The commands to extract the exported symbol list from a shared archive.
73899 extract_expsyms_cmds=$lt_extract_expsyms_cmds
73901 # Variables whose values should be saved in libtool wrapper scripts and
73902 # restored at link time.
73903 variables_saved_for_relink=$lt_variables_saved_for_relink
73905 # Do we need the "lib" prefix for modules?
73906 need_lib_prefix=$need_lib_prefix
73908 # Do we need a version for libraries?
73909 need_version=$need_version
73911 # Library versioning type.
73912 version_type=$version_type
73914 # Shared library runtime path variable.
73915 runpath_var=$runpath_var
73917 # Shared library path variable.
73918 shlibpath_var=$shlibpath_var
73920 # Is shlibpath searched before the hard-coded library search path?
73921 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
73923 # Format of library name prefix.
73924 libname_spec=$lt_libname_spec
73926 # List of archive names. First name is the real one, the rest are links.
73927 # The last name is the one that the linker finds with -lNAME
73928 library_names_spec=$lt_library_names_spec
73930 # The coded name of the library, if different from the real name.
73931 soname_spec=$lt_soname_spec
73933 # Permission mode override for installation of shared libraries.
73934 install_override_mode=$lt_install_override_mode
73936 # Command to use after installation of a shared archive.
73937 postinstall_cmds=$lt_postinstall_cmds
73939 # Command to use after uninstallation of a shared archive.
73940 postuninstall_cmds=$lt_postuninstall_cmds
73942 # Commands used to finish a libtool library installation in a directory.
73943 finish_cmds=$lt_finish_cmds
73945 # As "finish_cmds", except a single script fragment to be evaled but
73946 # not shown.
73947 finish_eval=$lt_finish_eval
73949 # Whether we should hardcode library paths into libraries.
73950 hardcode_into_libs=$hardcode_into_libs
73952 # Compile-time system search path for libraries.
73953 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
73955 # Run-time system search path for libraries.
73956 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
73958 # Whether dlopen is supported.
73959 dlopen_support=$enable_dlopen
73961 # Whether dlopen of programs is supported.
73962 dlopen_self=$enable_dlopen_self
73964 # Whether dlopen of statically linked programs is supported.
73965 dlopen_self_static=$enable_dlopen_self_static
73967 # Commands to strip libraries.
73968 old_striplib=$lt_old_striplib
73969 striplib=$lt_striplib
73972 # The linker used to build libraries.
73973 LD=$lt_LD
73975 # How to create reloadable object files.
73976 reload_flag=$lt_reload_flag
73977 reload_cmds=$lt_reload_cmds
73979 # Commands used to build an old-style archive.
73980 old_archive_cmds=$lt_old_archive_cmds
73982 # A language specific compiler.
73983 CC=$lt_compiler
73985 # Is the compiler the GNU compiler?
73986 with_gcc=$GCC
73988 # Compiler flag to turn off builtin functions.
73989 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
73991 # How to pass a linker flag through the compiler.
73992 wl=$lt_lt_prog_compiler_wl
73994 # Additional compiler flags for building library objects.
73995 pic_flag=$lt_lt_prog_compiler_pic
73997 # Compiler flag to prevent dynamic linking.
73998 link_static_flag=$lt_lt_prog_compiler_static
74000 # Does compiler simultaneously support -c and -o options?
74001 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
74003 # Whether or not to add -lc for building shared libraries.
74004 build_libtool_need_lc=$archive_cmds_need_lc
74006 # Whether or not to disallow shared libs when runtime libs are static.
74007 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
74009 # Compiler flag to allow reflexive dlopens.
74010 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
74012 # Compiler flag to generate shared objects directly from archives.
74013 whole_archive_flag_spec=$lt_whole_archive_flag_spec
74015 # Whether the compiler copes with passing no objects directly.
74016 compiler_needs_object=$lt_compiler_needs_object
74018 # Create an old-style archive from a shared archive.
74019 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
74021 # Create a temporary old-style archive to link instead of a shared archive.
74022 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
74024 # Commands used to build a shared archive.
74025 archive_cmds=$lt_archive_cmds
74026 archive_expsym_cmds=$lt_archive_expsym_cmds
74028 # Commands used to build a loadable module if different from building
74029 # a shared archive.
74030 module_cmds=$lt_module_cmds
74031 module_expsym_cmds=$lt_module_expsym_cmds
74033 # Whether we are building with GNU ld or not.
74034 with_gnu_ld=$lt_with_gnu_ld
74036 # Flag that allows shared libraries with undefined symbols to be built.
74037 allow_undefined_flag=$lt_allow_undefined_flag
74039 # Flag that enforces no undefined symbols.
74040 no_undefined_flag=$lt_no_undefined_flag
74042 # Flag to hardcode \$libdir into a binary during linking.
74043 # This must work even if \$libdir does not exist
74044 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
74046 # If ld is used when linking, flag to hardcode \$libdir into a binary
74047 # during linking. This must work even if \$libdir does not exist.
74048 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
74050 # Whether we need a single "-rpath" flag with a separated argument.
74051 hardcode_libdir_separator=$lt_hardcode_libdir_separator
74053 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74054 # DIR into the resulting binary.
74055 hardcode_direct=$hardcode_direct
74057 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74058 # DIR into the resulting binary and the resulting library dependency is
74059 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74060 # library is relocated.
74061 hardcode_direct_absolute=$hardcode_direct_absolute
74063 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74064 # into the resulting binary.
74065 hardcode_minus_L=$hardcode_minus_L
74067 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74068 # into the resulting binary.
74069 hardcode_shlibpath_var=$hardcode_shlibpath_var
74071 # Set to "yes" if building a shared library automatically hardcodes DIR
74072 # into the library and all subsequent libraries and executables linked
74073 # against it.
74074 hardcode_automatic=$hardcode_automatic
74076 # Set to yes if linker adds runtime paths of dependent libraries
74077 # to runtime path list.
74078 inherit_rpath=$inherit_rpath
74080 # Whether libtool must link a program against all its dependency libraries.
74081 link_all_deplibs=$link_all_deplibs
74083 # Fix the shell variable \$srcfile for the compiler.
74084 fix_srcfile_path=$lt_fix_srcfile_path
74086 # Set to "yes" if exported symbols are required.
74087 always_export_symbols=$always_export_symbols
74089 # The commands to list exported symbols.
74090 export_symbols_cmds=$lt_export_symbols_cmds
74092 # Symbols that should not be listed in the preloaded symbols.
74093 exclude_expsyms=$lt_exclude_expsyms
74095 # Symbols that must always be exported.
74096 include_expsyms=$lt_include_expsyms
74098 # Commands necessary for linking programs (against libraries) with templates.
74099 prelink_cmds=$lt_prelink_cmds
74101 # Specify filename containing input files.
74102 file_list_spec=$lt_file_list_spec
74104 # How to hardcode a shared library path into an executable.
74105 hardcode_action=$hardcode_action
74107 # The directories searched by this compiler when creating a shared library.
74108 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
74110 # Dependencies to place before and after the objects being linked to
74111 # create a shared library.
74112 predep_objects=$lt_predep_objects
74113 postdep_objects=$lt_postdep_objects
74114 predeps=$lt_predeps
74115 postdeps=$lt_postdeps
74117 # The library search path used internally by the compiler when linking
74118 # a shared library.
74119 compiler_lib_search_path=$lt_compiler_lib_search_path
74121 # ### END LIBTOOL CONFIG
74123 _LT_EOF
74125 case $host_os in
74126 aix3*)
74127 cat <<\_LT_EOF >> "$cfgfile"
74128 # AIX sometimes has problems with the GCC collect2 program. For some
74129 # reason, if we set the COLLECT_NAMES environment variable, the problems
74130 # vanish in a puff of smoke.
74131 if test "X${COLLECT_NAMES+set}" != Xset; then
74132 COLLECT_NAMES=
74133 export COLLECT_NAMES
74135 _LT_EOF
74137 esac
74140 ltmain="$ac_aux_dir/ltmain.sh"
74143 # We use sed instead of cat because bash on DJGPP gets confused if
74144 # if finds mixed CR/LF and LF-only lines. Since sed operates in
74145 # text mode, it properly converts lines to CR/LF. This bash problem
74146 # is reportedly fixed, but why not run on old versions too?
74147 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
74148 || (rm -f "$cfgfile"; exit 1)
74150 case $xsi_shell in
74151 yes)
74152 cat << \_LT_EOF >> "$cfgfile"
74154 # func_dirname file append nondir_replacement
74155 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74156 # otherwise set result to NONDIR_REPLACEMENT.
74157 func_dirname ()
74159 case ${1} in
74160 */*) func_dirname_result="${1%/*}${2}" ;;
74161 * ) func_dirname_result="${3}" ;;
74162 esac
74165 # func_basename file
74166 func_basename ()
74168 func_basename_result="${1##*/}"
74171 # func_dirname_and_basename file append nondir_replacement
74172 # perform func_basename and func_dirname in a single function
74173 # call:
74174 # dirname: Compute the dirname of FILE. If nonempty,
74175 # add APPEND to the result, otherwise set result
74176 # to NONDIR_REPLACEMENT.
74177 # value returned in "$func_dirname_result"
74178 # basename: Compute filename of FILE.
74179 # value retuned in "$func_basename_result"
74180 # Implementation must be kept synchronized with func_dirname
74181 # and func_basename. For efficiency, we do not delegate to
74182 # those functions but instead duplicate the functionality here.
74183 func_dirname_and_basename ()
74185 case ${1} in
74186 */*) func_dirname_result="${1%/*}${2}" ;;
74187 * ) func_dirname_result="${3}" ;;
74188 esac
74189 func_basename_result="${1##*/}"
74192 # func_stripname prefix suffix name
74193 # strip PREFIX and SUFFIX off of NAME.
74194 # PREFIX and SUFFIX must not contain globbing or regex special
74195 # characters, hashes, percent signs, but SUFFIX may contain a leading
74196 # dot (in which case that matches only a dot).
74197 func_stripname ()
74199 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
74200 # positional parameters, so assign one to ordinary parameter first.
74201 func_stripname_result=${3}
74202 func_stripname_result=${func_stripname_result#"${1}"}
74203 func_stripname_result=${func_stripname_result%"${2}"}
74206 # func_opt_split
74207 func_opt_split ()
74209 func_opt_split_opt=${1%%=*}
74210 func_opt_split_arg=${1#*=}
74213 # func_lo2o object
74214 func_lo2o ()
74216 case ${1} in
74217 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
74218 *) func_lo2o_result=${1} ;;
74219 esac
74222 # func_xform libobj-or-source
74223 func_xform ()
74225 func_xform_result=${1%.*}.lo
74228 # func_arith arithmetic-term...
74229 func_arith ()
74231 func_arith_result=$(( $* ))
74234 # func_len string
74235 # STRING may not start with a hyphen.
74236 func_len ()
74238 func_len_result=${#1}
74241 _LT_EOF
74243 *) # Bourne compatible functions.
74244 cat << \_LT_EOF >> "$cfgfile"
74246 # func_dirname file append nondir_replacement
74247 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74248 # otherwise set result to NONDIR_REPLACEMENT.
74249 func_dirname ()
74251 # Extract subdirectory from the argument.
74252 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
74253 if test "X$func_dirname_result" = "X${1}"; then
74254 func_dirname_result="${3}"
74255 else
74256 func_dirname_result="$func_dirname_result${2}"
74260 # func_basename file
74261 func_basename ()
74263 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
74267 # func_stripname prefix suffix name
74268 # strip PREFIX and SUFFIX off of NAME.
74269 # PREFIX and SUFFIX must not contain globbing or regex special
74270 # characters, hashes, percent signs, but SUFFIX may contain a leading
74271 # dot (in which case that matches only a dot).
74272 # func_strip_suffix prefix name
74273 func_stripname ()
74275 case ${2} in
74276 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
74277 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
74278 esac
74281 # sed scripts:
74282 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
74283 my_sed_long_arg='1s/^-[^=]*=//'
74285 # func_opt_split
74286 func_opt_split ()
74288 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
74289 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
74292 # func_lo2o object
74293 func_lo2o ()
74295 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
74298 # func_xform libobj-or-source
74299 func_xform ()
74301 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
74304 # func_arith arithmetic-term...
74305 func_arith ()
74307 func_arith_result=`expr "$@"`
74310 # func_len string
74311 # STRING may not start with a hyphen.
74312 func_len ()
74314 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
74317 _LT_EOF
74318 esac
74320 case $lt_shell_append in
74321 yes)
74322 cat << \_LT_EOF >> "$cfgfile"
74324 # func_append var value
74325 # Append VALUE to the end of shell variable VAR.
74326 func_append ()
74328 eval "$1+=\$2"
74330 _LT_EOF
74333 cat << \_LT_EOF >> "$cfgfile"
74335 # func_append var value
74336 # Append VALUE to the end of shell variable VAR.
74337 func_append ()
74339 eval "$1=\$$1\$2"
74342 _LT_EOF
74344 esac
74347 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
74348 || (rm -f "$cfgfile"; exit 1)
74350 mv -f "$cfgfile" "$ofile" ||
74351 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
74352 chmod +x "$ofile"
74355 cat <<_LT_EOF >> "$ofile"
74357 # ### BEGIN LIBTOOL TAG CONFIG: CXX
74359 # The linker used to build libraries.
74360 LD=$lt_LD_CXX
74362 # How to create reloadable object files.
74363 reload_flag=$lt_reload_flag_CXX
74364 reload_cmds=$lt_reload_cmds_CXX
74366 # Commands used to build an old-style archive.
74367 old_archive_cmds=$lt_old_archive_cmds_CXX
74369 # A language specific compiler.
74370 CC=$lt_compiler_CXX
74372 # Is the compiler the GNU compiler?
74373 with_gcc=$GCC_CXX
74375 # Compiler flag to turn off builtin functions.
74376 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
74378 # How to pass a linker flag through the compiler.
74379 wl=$lt_lt_prog_compiler_wl_CXX
74381 # Additional compiler flags for building library objects.
74382 pic_flag=$lt_lt_prog_compiler_pic_CXX
74384 # Compiler flag to prevent dynamic linking.
74385 link_static_flag=$lt_lt_prog_compiler_static_CXX
74387 # Does compiler simultaneously support -c and -o options?
74388 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
74390 # Whether or not to add -lc for building shared libraries.
74391 build_libtool_need_lc=$archive_cmds_need_lc_CXX
74393 # Whether or not to disallow shared libs when runtime libs are static.
74394 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
74396 # Compiler flag to allow reflexive dlopens.
74397 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
74399 # Compiler flag to generate shared objects directly from archives.
74400 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
74402 # Whether the compiler copes with passing no objects directly.
74403 compiler_needs_object=$lt_compiler_needs_object_CXX
74405 # Create an old-style archive from a shared archive.
74406 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
74408 # Create a temporary old-style archive to link instead of a shared archive.
74409 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
74411 # Commands used to build a shared archive.
74412 archive_cmds=$lt_archive_cmds_CXX
74413 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
74415 # Commands used to build a loadable module if different from building
74416 # a shared archive.
74417 module_cmds=$lt_module_cmds_CXX
74418 module_expsym_cmds=$lt_module_expsym_cmds_CXX
74420 # Whether we are building with GNU ld or not.
74421 with_gnu_ld=$lt_with_gnu_ld_CXX
74423 # Flag that allows shared libraries with undefined symbols to be built.
74424 allow_undefined_flag=$lt_allow_undefined_flag_CXX
74426 # Flag that enforces no undefined symbols.
74427 no_undefined_flag=$lt_no_undefined_flag_CXX
74429 # Flag to hardcode \$libdir into a binary during linking.
74430 # This must work even if \$libdir does not exist
74431 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
74433 # If ld is used when linking, flag to hardcode \$libdir into a binary
74434 # during linking. This must work even if \$libdir does not exist.
74435 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
74437 # Whether we need a single "-rpath" flag with a separated argument.
74438 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
74440 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74441 # DIR into the resulting binary.
74442 hardcode_direct=$hardcode_direct_CXX
74444 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74445 # DIR into the resulting binary and the resulting library dependency is
74446 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74447 # library is relocated.
74448 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
74450 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74451 # into the resulting binary.
74452 hardcode_minus_L=$hardcode_minus_L_CXX
74454 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74455 # into the resulting binary.
74456 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
74458 # Set to "yes" if building a shared library automatically hardcodes DIR
74459 # into the library and all subsequent libraries and executables linked
74460 # against it.
74461 hardcode_automatic=$hardcode_automatic_CXX
74463 # Set to yes if linker adds runtime paths of dependent libraries
74464 # to runtime path list.
74465 inherit_rpath=$inherit_rpath_CXX
74467 # Whether libtool must link a program against all its dependency libraries.
74468 link_all_deplibs=$link_all_deplibs_CXX
74470 # Fix the shell variable \$srcfile for the compiler.
74471 fix_srcfile_path=$lt_fix_srcfile_path_CXX
74473 # Set to "yes" if exported symbols are required.
74474 always_export_symbols=$always_export_symbols_CXX
74476 # The commands to list exported symbols.
74477 export_symbols_cmds=$lt_export_symbols_cmds_CXX
74479 # Symbols that should not be listed in the preloaded symbols.
74480 exclude_expsyms=$lt_exclude_expsyms_CXX
74482 # Symbols that must always be exported.
74483 include_expsyms=$lt_include_expsyms_CXX
74485 # Commands necessary for linking programs (against libraries) with templates.
74486 prelink_cmds=$lt_prelink_cmds_CXX
74488 # Specify filename containing input files.
74489 file_list_spec=$lt_file_list_spec_CXX
74491 # How to hardcode a shared library path into an executable.
74492 hardcode_action=$hardcode_action_CXX
74494 # The directories searched by this compiler when creating a shared library.
74495 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
74497 # Dependencies to place before and after the objects being linked to
74498 # create a shared library.
74499 predep_objects=$lt_predep_objects_CXX
74500 postdep_objects=$lt_postdep_objects_CXX
74501 predeps=$lt_predeps_CXX
74502 postdeps=$lt_postdeps_CXX
74504 # The library search path used internally by the compiler when linking
74505 # a shared library.
74506 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
74508 # ### END LIBTOOL TAG CONFIG: CXX
74509 _LT_EOF
74512 "include/gstdint.h":C)
74513 if test "$GCC" = yes; then
74514 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
74515 else
74516 echo "/* generated for $CC */" > tmp-stdint.h
74519 sed 's/^ *//' >> tmp-stdint.h <<EOF
74521 #ifndef GCC_GENERATED_STDINT_H
74522 #define GCC_GENERATED_STDINT_H 1
74524 #include <sys/types.h>
74527 if test "$acx_cv_header_stdint" != stdint.h; then
74528 echo "#include <stddef.h>" >> tmp-stdint.h
74530 if test "$acx_cv_header_stdint" != stddef.h; then
74531 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
74534 sed 's/^ *//' >> tmp-stdint.h <<EOF
74535 /* glibc uses these symbols as guards to prevent redefinitions. */
74536 #ifdef __int8_t_defined
74537 #define _INT8_T
74538 #define _INT16_T
74539 #define _INT32_T
74540 #endif
74541 #ifdef __uint32_t_defined
74542 #define _UINT32_T
74543 #endif
74547 # ----------------- done header, emit basic int types -------------
74548 if test "$acx_cv_header_stdint" = stddef.h; then
74549 sed 's/^ *//' >> tmp-stdint.h <<EOF
74551 #ifndef _UINT8_T
74552 #define _UINT8_T
74553 #ifndef __uint8_t_defined
74554 #define __uint8_t_defined
74555 #ifndef uint8_t
74556 typedef unsigned $acx_cv_type_int8_t uint8_t;
74557 #endif
74558 #endif
74559 #endif
74561 #ifndef _UINT16_T
74562 #define _UINT16_T
74563 #ifndef __uint16_t_defined
74564 #define __uint16_t_defined
74565 #ifndef uint16_t
74566 typedef unsigned $acx_cv_type_int16_t uint16_t;
74567 #endif
74568 #endif
74569 #endif
74571 #ifndef _UINT32_T
74572 #define _UINT32_T
74573 #ifndef __uint32_t_defined
74574 #define __uint32_t_defined
74575 #ifndef uint32_t
74576 typedef unsigned $acx_cv_type_int32_t uint32_t;
74577 #endif
74578 #endif
74579 #endif
74581 #ifndef _INT8_T
74582 #define _INT8_T
74583 #ifndef __int8_t_defined
74584 #define __int8_t_defined
74585 #ifndef int8_t
74586 typedef $acx_cv_type_int8_t int8_t;
74587 #endif
74588 #endif
74589 #endif
74591 #ifndef _INT16_T
74592 #define _INT16_T
74593 #ifndef __int16_t_defined
74594 #define __int16_t_defined
74595 #ifndef int16_t
74596 typedef $acx_cv_type_int16_t int16_t;
74597 #endif
74598 #endif
74599 #endif
74601 #ifndef _INT32_T
74602 #define _INT32_T
74603 #ifndef __int32_t_defined
74604 #define __int32_t_defined
74605 #ifndef int32_t
74606 typedef $acx_cv_type_int32_t int32_t;
74607 #endif
74608 #endif
74609 #endif
74611 elif test "$ac_cv_type_u_int32_t" = yes; then
74612 sed 's/^ *//' >> tmp-stdint.h <<EOF
74614 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
74615 #ifndef _INT8_T
74616 #define _INT8_T
74617 #endif
74618 #ifndef _INT16_T
74619 #define _INT16_T
74620 #endif
74621 #ifndef _INT32_T
74622 #define _INT32_T
74623 #endif
74625 #ifndef _UINT8_T
74626 #define _UINT8_T
74627 #ifndef __uint8_t_defined
74628 #define __uint8_t_defined
74629 #ifndef uint8_t
74630 typedef u_int8_t uint8_t;
74631 #endif
74632 #endif
74633 #endif
74635 #ifndef _UINT16_T
74636 #define _UINT16_T
74637 #ifndef __uint16_t_defined
74638 #define __uint16_t_defined
74639 #ifndef uint16_t
74640 typedef u_int16_t uint16_t;
74641 #endif
74642 #endif
74643 #endif
74645 #ifndef _UINT32_T
74646 #define _UINT32_T
74647 #ifndef __uint32_t_defined
74648 #define __uint32_t_defined
74649 #ifndef uint32_t
74650 typedef u_int32_t uint32_t;
74651 #endif
74652 #endif
74653 #endif
74655 else
74656 sed 's/^ *//' >> tmp-stdint.h <<EOF
74658 /* Some systems have guard macros to prevent redefinitions, define them. */
74659 #ifndef _INT8_T
74660 #define _INT8_T
74661 #endif
74662 #ifndef _INT16_T
74663 #define _INT16_T
74664 #endif
74665 #ifndef _INT32_T
74666 #define _INT32_T
74667 #endif
74668 #ifndef _UINT8_T
74669 #define _UINT8_T
74670 #endif
74671 #ifndef _UINT16_T
74672 #define _UINT16_T
74673 #endif
74674 #ifndef _UINT32_T
74675 #define _UINT32_T
74676 #endif
74680 # ------------- done basic int types, emit int64_t types ------------
74681 if test "$ac_cv_type_uint64_t" = yes; then
74682 sed 's/^ *//' >> tmp-stdint.h <<EOF
74684 /* system headers have good uint64_t and int64_t */
74685 #ifndef _INT64_T
74686 #define _INT64_T
74687 #endif
74688 #ifndef _UINT64_T
74689 #define _UINT64_T
74690 #endif
74692 elif test "$ac_cv_type_u_int64_t" = yes; then
74693 sed 's/^ *//' >> tmp-stdint.h <<EOF
74695 /* system headers have an u_int64_t (and int64_t) */
74696 #ifndef _INT64_T
74697 #define _INT64_T
74698 #endif
74699 #ifndef _UINT64_T
74700 #define _UINT64_T
74701 #ifndef __uint64_t_defined
74702 #define __uint64_t_defined
74703 #ifndef uint64_t
74704 typedef u_int64_t uint64_t;
74705 #endif
74706 #endif
74707 #endif
74709 elif test -n "$acx_cv_type_int64_t"; then
74710 sed 's/^ *//' >> tmp-stdint.h <<EOF
74712 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
74713 #ifndef _INT64_T
74714 #define _INT64_T
74715 #ifndef int64_t
74716 typedef $acx_cv_type_int64_t int64_t;
74717 #endif
74718 #endif
74719 #ifndef _UINT64_T
74720 #define _UINT64_T
74721 #ifndef __uint64_t_defined
74722 #define __uint64_t_defined
74723 #ifndef uint64_t
74724 typedef unsigned $acx_cv_type_int64_t uint64_t;
74725 #endif
74726 #endif
74727 #endif
74729 else
74730 sed 's/^ *//' >> tmp-stdint.h <<EOF
74732 /* some common heuristics for int64_t, using compiler-specific tests */
74733 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
74734 #ifndef _INT64_T
74735 #define _INT64_T
74736 #ifndef __int64_t_defined
74737 #ifndef int64_t
74738 typedef long long int64_t;
74739 #endif
74740 #endif
74741 #endif
74742 #ifndef _UINT64_T
74743 #define _UINT64_T
74744 #ifndef uint64_t
74745 typedef unsigned long long uint64_t;
74746 #endif
74747 #endif
74749 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
74750 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
74751 does not implement __extension__. But that compiler doesn't define
74752 __GNUC_MINOR__. */
74753 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
74754 # define __extension__
74755 # endif
74757 # ifndef _INT64_T
74758 # define _INT64_T
74759 # ifndef int64_t
74760 __extension__ typedef long long int64_t;
74761 # endif
74762 # endif
74763 # ifndef _UINT64_T
74764 # define _UINT64_T
74765 # ifndef uint64_t
74766 __extension__ typedef unsigned long long uint64_t;
74767 # endif
74768 # endif
74770 #elif !defined __STRICT_ANSI__
74771 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
74773 # ifndef _INT64_T
74774 # define _INT64_T
74775 # ifndef int64_t
74776 typedef __int64 int64_t;
74777 # endif
74778 # endif
74779 # ifndef _UINT64_T
74780 # define _UINT64_T
74781 # ifndef uint64_t
74782 typedef unsigned __int64 uint64_t;
74783 # endif
74784 # endif
74785 # endif /* compiler */
74787 #endif /* ANSI version */
74791 # ------------- done int64_t types, emit intptr types ------------
74792 if test "$ac_cv_type_uintptr_t" != yes; then
74793 sed 's/^ *//' >> tmp-stdint.h <<EOF
74795 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
74796 #ifndef __uintptr_t_defined
74797 #ifndef uintptr_t
74798 typedef u$acx_cv_type_intptr_t uintptr_t;
74799 #endif
74800 #endif
74801 #ifndef __intptr_t_defined
74802 #ifndef intptr_t
74803 typedef $acx_cv_type_intptr_t intptr_t;
74804 #endif
74805 #endif
74809 # ------------- done intptr types, emit int_least types ------------
74810 if test "$ac_cv_type_int_least32_t" != yes; then
74811 sed 's/^ *//' >> tmp-stdint.h <<EOF
74813 /* Define int_least types */
74814 typedef int8_t int_least8_t;
74815 typedef int16_t int_least16_t;
74816 typedef int32_t int_least32_t;
74817 #ifdef _INT64_T
74818 typedef int64_t int_least64_t;
74819 #endif
74821 typedef uint8_t uint_least8_t;
74822 typedef uint16_t uint_least16_t;
74823 typedef uint32_t uint_least32_t;
74824 #ifdef _UINT64_T
74825 typedef uint64_t uint_least64_t;
74826 #endif
74830 # ------------- done intptr types, emit int_fast types ------------
74831 if test "$ac_cv_type_int_fast32_t" != yes; then
74832 sed 's/^ *//' >> tmp-stdint.h <<EOF
74834 /* Define int_fast types. short is often slow */
74835 typedef int8_t int_fast8_t;
74836 typedef int int_fast16_t;
74837 typedef int32_t int_fast32_t;
74838 #ifdef _INT64_T
74839 typedef int64_t int_fast64_t;
74840 #endif
74842 typedef uint8_t uint_fast8_t;
74843 typedef unsigned int uint_fast16_t;
74844 typedef uint32_t uint_fast32_t;
74845 #ifdef _UINT64_T
74846 typedef uint64_t uint_fast64_t;
74847 #endif
74851 if test "$ac_cv_type_uintmax_t" != yes; then
74852 sed 's/^ *//' >> tmp-stdint.h <<EOF
74854 /* Define intmax based on what we found */
74855 #ifndef intmax_t
74856 #ifdef _INT64_T
74857 typedef int64_t intmax_t;
74858 #else
74859 typedef long intmax_t;
74860 #endif
74861 #endif
74862 #ifndef uintmax_t
74863 #ifdef _UINT64_T
74864 typedef uint64_t uintmax_t;
74865 #else
74866 typedef unsigned long uintmax_t;
74867 #endif
74868 #endif
74872 sed 's/^ *//' >> tmp-stdint.h <<EOF
74874 #endif /* GCC_GENERATED_STDINT_H */
74877 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
74878 rm -f tmp-stdint.h
74879 else
74880 mv -f tmp-stdint.h include/gstdint.h
74884 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
74885 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
74886 "include/Makefile":F) cat > vpsed$$ << \_EOF
74887 s!`test -f '$<' || echo '$(srcdir)/'`!!
74888 _EOF
74889 sed -f vpsed$$ $ac_file > tmp$$
74890 mv tmp$$ $ac_file
74891 rm vpsed$$
74892 echo 'MULTISUBDIR =' >> $ac_file
74893 ml_norecursion=yes
74894 . ${multi_basedir}/config-ml.in
74895 { ml_norecursion=; unset ml_norecursion;}
74897 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
74898 s!`test -f '$<' || echo '$(srcdir)/'`!!
74899 _EOF
74900 sed -f vpsed$$ $ac_file > tmp$$
74901 mv tmp$$ $ac_file
74902 rm vpsed$$
74903 echo 'MULTISUBDIR =' >> $ac_file
74904 ml_norecursion=yes
74905 . ${multi_basedir}/config-ml.in
74906 { ml_norecursion=; unset ml_norecursion;}
74908 "python/Makefile":F) cat > vpsed$$ << \_EOF
74909 s!`test -f '$<' || echo '$(srcdir)/'`!!
74910 _EOF
74911 sed -f vpsed$$ $ac_file > tmp$$
74912 mv tmp$$ $ac_file
74913 rm vpsed$$
74914 echo 'MULTISUBDIR =' >> $ac_file
74915 ml_norecursion=yes
74916 . ${multi_basedir}/config-ml.in
74917 { ml_norecursion=; unset ml_norecursion;}
74919 "src/Makefile":F) cat > vpsed$$ << \_EOF
74920 s!`test -f '$<' || echo '$(srcdir)/'`!!
74921 _EOF
74922 sed -f vpsed$$ $ac_file > tmp$$
74923 mv tmp$$ $ac_file
74924 rm vpsed$$
74925 echo 'MULTISUBDIR =' >> $ac_file
74926 ml_norecursion=yes
74927 . ${multi_basedir}/config-ml.in
74928 { ml_norecursion=; unset ml_norecursion;}
74930 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
74931 s!`test -f '$<' || echo '$(srcdir)/'`!!
74932 _EOF
74933 sed -f vpsed$$ $ac_file > tmp$$
74934 mv tmp$$ $ac_file
74935 rm vpsed$$
74936 echo 'MULTISUBDIR =' >> $ac_file
74937 ml_norecursion=yes
74938 . ${multi_basedir}/config-ml.in
74939 { ml_norecursion=; unset ml_norecursion;}
74941 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
74942 s!`test -f '$<' || echo '$(srcdir)/'`!!
74943 _EOF
74944 sed -f vpsed$$ $ac_file > tmp$$
74945 mv tmp$$ $ac_file
74946 rm vpsed$$
74947 echo 'MULTISUBDIR =' >> $ac_file
74948 ml_norecursion=yes
74949 . ${multi_basedir}/config-ml.in
74950 { ml_norecursion=; unset ml_norecursion;}
74952 "doc/Makefile":F) cat > vpsed$$ << \_EOF
74953 s!`test -f '$<' || echo '$(srcdir)/'`!!
74954 _EOF
74955 sed -f vpsed$$ $ac_file > tmp$$
74956 mv tmp$$ $ac_file
74957 rm vpsed$$
74958 echo 'MULTISUBDIR =' >> $ac_file
74959 ml_norecursion=yes
74960 . ${multi_basedir}/config-ml.in
74961 { ml_norecursion=; unset ml_norecursion;}
74963 "po/Makefile":F) cat > vpsed$$ << \_EOF
74964 s!`test -f '$<' || echo '$(srcdir)/'`!!
74965 _EOF
74966 sed -f vpsed$$ $ac_file > tmp$$
74967 mv tmp$$ $ac_file
74968 rm vpsed$$
74969 echo 'MULTISUBDIR =' >> $ac_file
74970 ml_norecursion=yes
74971 . ${multi_basedir}/config-ml.in
74972 { ml_norecursion=; unset ml_norecursion;}
74974 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
74975 s!`test -f '$<' || echo '$(srcdir)/'`!!
74976 _EOF
74977 sed -f vpsed$$ $ac_file > tmp$$
74978 mv tmp$$ $ac_file
74979 rm vpsed$$
74980 echo 'MULTISUBDIR =' >> $ac_file
74981 ml_norecursion=yes
74982 . ${multi_basedir}/config-ml.in
74983 { ml_norecursion=; unset ml_norecursion;}
74985 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
74987 esac
74988 done # for ac_tag
74991 as_fn_exit 0
74992 _ACEOF
74993 ac_clean_files=$ac_clean_files_save
74995 test $ac_write_fail = 0 ||
74996 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
74999 # configure is writing to config.log, and then calls config.status.
75000 # config.status does its own redirection, appending to config.log.
75001 # Unfortunately, on DOS this fails, as config.log is still kept open
75002 # by configure, so config.status won't be able to write to it; its
75003 # output is simply discarded. So we exec the FD to /dev/null,
75004 # effectively closing config.log, so it can be properly (re)opened and
75005 # appended to by config.status. When coming back to configure, we
75006 # need to make the FD available again.
75007 if test "$no_create" != yes; then
75008 ac_cs_success=:
75009 ac_config_status_args=
75010 test "$silent" = yes &&
75011 ac_config_status_args="$ac_config_status_args --quiet"
75012 exec 5>/dev/null
75013 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
75014 exec 5>>config.log
75015 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
75016 # would make configure fail if this is the last instruction.
75017 $ac_cs_success || as_fn_exit $?
75019 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
75020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
75021 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}